From accessd at shaw.ca Sat Oct 1 00:09:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 30 Sep 2005 22:09:34 -0700 Subject: [AccessD] The future of Access, .NET and SQL In-Reply-To: <433DD35F.1000101@shaw.ca> Message-ID: <0INO0008W0ZTXQ@l-daemon> Wow, the old one two tag-team assault... I was hoping they would provide statistics and demonstrations of inadequacies, how it is a poor performer, how difficult the product is to manage or how it took three times as long to resolve a data request. I read none of that just a rant on the evils of Cach?. I would expect better from a couple of fellows who are considered the head Gurus of the database world. (What is the old saying; Spiritual people enlighten but Religious people are just scary.) Cach? might not be a product worth considering but I guess I will have to judge on it merits. Have you ever looked at a database product named ANTS. Here is one article on the product: http://www.theregister.co.uk/2005/09/27/ants_database/ and a fully operational evaluation copy of the database can be acquired from: http://www.ants.com/index.php?option=com_content&task=view&Itemid=59&id=442 My understanding is that like Access it consumes all of the existing memory, the more the merrier. The difference Access just bleeds into all the memory. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, September 30, 2005 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL With Cache you have to read the swipes Date and Pascal take at it Against http://www.dbazine.com/ofinterest/oi-articles/pascal5 But with Fabian Pascal, you start believing in Mystic Eisegesis and start looking for notes nailed to church doors. http://www.dbdebunk.com/index.html For http://www.linuxjournal.com/article/5746 Jim Lawrence wrote: >Shamil: > >That description is a very good one. I have not seen a translation as good >as that one and I think none of the rules can be refuted. The issues arrive >when they are described in context with database normalization. I rarely >process below Form 3. > >A collogue has been saying for years that the relational database as we know >it is designed wrong. He claims that a real relational database or >post-relational database is OOP. To that end he says he can demonstrate that >a Cach? database running on a slower computer can run the same application >as an existing MS SQL DB faster and with better access to the data. It is >suppose to scale to millions of records was no apparent loss in performance. >(I am skeptical and unfortunately missed last night's demonstration but will >reserve my judgment until further observation.) > >I anticipate a carefully timed demonstration... There is a free single user >download from http://www.intersystems.com/cache/downloads/ (Windows/Linux) > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil >Salakhetdinov >Sent: Friday, September 30, 2005 10:07 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] The future of Access, .NET and SQL > >Jim, > >But I think MS SQL 2000 and MS SQL 2005 perfectly fit all the twelve >Dr.E.F. Codd rules. > >http://www.frick-cpa.com/ss7/Theory_RelationalDB.asp > >Maybe there are some small exceptions for the rules: > >#4. Database is Self-Describing >#12. Data Integrity Cannot be Subverted > >but they are not significant I think. > >Shamil > >----- Original Message ----- >From: "Jim Lawrence" >To: "'Access Developers discussion and problem solving'" > >Sent: Friday, September 30, 2005 8:40 PM >Subject: Re: [AccessD] The future of Access, .NET and SQL > > >Hi Alan: > >If all ten law/rules/guidelines were ever fully implemented on a database >the application it would grind to a halt. It has been attempted, to various >degrees, in data designs within Government Ministries for years and in ever >cases it has failed. The basic guidelines of relational databases as I see >them are as follows: >1. The data must be easy to retrieve...therefore the data should be grouped. > >2. The database must be kept as small as reasonable...therefore as little >duplication as possible. >3. A high level of performance must be maintained. > >With those three guidelines much of Codd's/Date's rules can be implemented >but the whole concept starts to fall apart when enforcing the rules start to >impact performance. > >My two cents worth >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C >Contractor/Morgan Research >Sent: Friday, September 30, 2005 7:44 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] The future of Access, .NET and SQL > >Arthur, Charlotte: > >Several years ago I recall buying (and trying to comprehend) relational >database guru Chris Date's "classic" book (it's more like a tome ...) >"An Introduction to Database Systems". (Chris Date's main claim to >fame is as a prot?g? of the late Dr. E.F. "Ted" Codd - the "father" of >the relational database model.) Date worked with Dr. Codd in the early >1970's at IBM. He is now a full time consultant and writer - mostly of >articles dealing with various topics related to database design. > >Chris Date is a relational "purist" (some might say a zealot) in arguing >that a database system (or a vendor implementation of a database system) >cannot be considered truly "relational" if it violates any of Codd's "Ten >Rules" of relational database design. (Without "naming names," Chris Date >excoriates various vendor implementations of the relational model in his >book. He accuses these vendors of committing various "unforgivable sins" >against the relational model. Chris Date implies (or in some cases flat >out states) that these "sins" [of implementation] will lead to nothing >but trouble when commercial systems are designed and built using these >"flawed" implementations. (I'm doing a lot of paraphrasing of Chris Date's >words and writing here, but I think I have the "general drift" of Date's >criticisms just about right.) > >I think part of the "problem" (from the vendors perspective) may be that >creating a [truly] "relational" database system that passes muster with >Chris Date is probably very difficult - not to mention very costly. (After >investing literally BILLIONS of dollars in research and development, a >vendor may come up with an implementation that meets the requirements of >six or seven of the ten rules - and ignores (or "violates") the other three >rules. Chris Date focuses in on the three (or four) rules that have been >violated - and declares the whole implementation "fatally flawed". > >I would have to go back and re-read "An Introduction to Database Systems," >but I have a feeling that the introduction of "Multi-choice combos" is >the kind of thing that will drive Chris Date up the wall. > >Alan C. Lawhon > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Friday, September 30, 2005 8:40 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] The future of Access, .NET and SQL > >You can add MySQL to your list of offending databases. MySQL offends in two >ways, actually, but I will leave that as an exercise for the interested >reader. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: September 29, 2005 11:05 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] The future of Access, .NET and SQL > >I haven't *seen* it. The stated concept gives me shivers because of >"databases" like Approach and FileMaker that have allowed multiple >choices stored in a single field. > >Charlotte > >-----Original Message----- >From: Arthur Fuller [mailto:artful at rogers.com] >Sent: Wednesday, September 28, 2005 8:05 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] The future of Access, .NET and SQL > > >Multi-choice combos <> relational constraints! >Case in point: I want to add N children to a parent, whose DetailType is >selected from a multi-choice combo.... i.e. add a Hotel, a CarRental, a >ConcertTicket, an AirportShuttle. The UI lets me do this as quickly as >possible, and background code takes care of the Parent-Child >relationships. I see no problem here. What are you seeing? > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: September 28, 2005 11:22 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] The future of Access, .NET and SQL > > > >>>Multi-choice combo box (M-M joins) >>> >>> > >That's the one I find scary. Does that mean they're abandoning >relational design? > >Charlotte > > >-----Original Message----- >From: Gustav Brock [mailto:Gustav at cactus.dk] >Sent: Wednesday, September 28, 2005 6:32 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] The future of Access, .NET and SQL > > >Hi all > >OK, found something in the slides at the links from Jim. >Does anyone know if "Append only" is fixed or optional? > > > >ACE - Access Data Engine > >- Engine based on Jet code-base and installed with Office, 100% >backwards compatible with Jet >- Connects to external data sources >- Foundation for richer support of complex data >- Multi-choice combo box (M-M joins) >- Attachments >- Append only >- Read and write Excel "12" file formats >- SharePoint ISAM enhancements >- OM changes to DAO and ACE OLEDB provider (ADO) > > > >I guess OM here means Object Model. >Further: > > > >New ACCDB file format > >- Can be emailed and stored in SharePoint document libraries >- Default for all new database >- Supports complex data features >- Multiple value lookups >- Attachments >- Append only >- SharePoint list offline >- Office file encryption not Jet encoding > > > >Also this summary: > > > >- Microsoft is committed to Access as a developer platform >- SharePoint Services integration allows developers to build new types >of collaborative applications >- Developers can build and deploy tracking templates > > > >Note that an Outlook code example in the presentation uses DAO, so this >seems not to be "dead" at all. > >/gustav > > > >>>>Gustav at cactus.dk 27-09-2005 21:03 >>> >>>> >>>> >Hi Susan and Martin > >Thanks! >Just wondering what this new engine should be about ... > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Oct 1 00:26:45 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 30 Sep 2005 22:26:45 -0700 Subject: [AccessD] My new web site In-Reply-To: <000501c5c644$920ae330$6c7aa8c0@ColbyM6805> Message-ID: <0INO000EL1SFXA@l-daemon> Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 1 00:51:16 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 01:51:16 -0400 Subject: [AccessD] My new web site In-Reply-To: <0INO000EL1SFXA@l-daemon> Message-ID: <000701c5c64c$268239d0$6c7aa8c0@ColbyM6805> >I did not know you were so adept at building flash or is that just one of DNN's feature/options I haven't a clue about building flash. One of the options with DNN is to apply a "skin". The skin you see is one that is free from a very popular site over in aussie land. I may someday go buy one - there are a TON of people selling skins for DNN. >Where is the link to the DBA site? The link to DBA is there. Favorite Links, second link down. >and where is the .Net versions of your downloads? Some day. ;-) Notice I didn't say someday SOON. >(Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) The font sizes need tweaking. The text editor that is used to place text on pages allow selecting fonts and sizes. I just did a quick and dirty, to get something up. I will no doubt go back in someday and tweak that further. What I really need to figure out is how to set the background color for the text. ATM it is a rather bright white. I would prefer a cool very pale gray, or even a very light royal blue. It is just too bright right now. There is a style sheet that is available, but of course I don't know anything about that or how to tweak it. Plus the skins can override the stylesheet. I also need to figure out how to put up links to my two books on the main page. The DNN default install has one for DNN but I could not for the life of me figure out how to even edit the image in that module/page. Sigh. So much to know, so little time. BTW, you didn't register. If you register and sign in you get extra content! I also need to figure out how to tell visitors that fact. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat Oct 1 02:05:26 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 01 Oct 2005 00:05:26 -0700 Subject: [AccessD] My new web site In-Reply-To: <000701c5c64c$268239d0$6c7aa8c0@ColbyM6805> Message-ID: <0INO00D5I6CWID@l-daemon> Hi John: Do you sleep? :-) > ATM it is a rather bright white. I would prefer a cool very pale > gray, or even a very light royal blue. Try placing the following option in your opening body tag I.e: or > I also need to figure out how to put up links to my two books on the main > page. Try adding the tag set in where you what to have a link to the book like, I.e.: John Colby" (watch for wrap...) Just place any url between the quotes Just is just quick off the top... it is midnight here, feel like a pumpkin and will be crashing soon. |-P HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 10:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site >I did not know you were so adept at building flash or is that just one of DNN's feature/options I haven't a clue about building flash. One of the options with DNN is to apply a "skin". The skin you see is one that is free from a very popular site over in aussie land. I may someday go buy one - there are a TON of people selling skins for DNN. >Where is the link to the DBA site? The link to DBA is there. Favorite Links, second link down. >and where is the .Net versions of your downloads? Some day. ;-) Notice I didn't say someday SOON. >(Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) The font sizes need tweaking. The text editor that is used to place text on pages allow selecting fonts and sizes. I just did a quick and dirty, to get something up. I will no doubt go back in someday and tweak that further. What I really need to figure out is how to set the background color for the text. ATM it is a rather bright white. I would prefer a cool very pale gray, or even a very light royal blue. It is just too bright right now. There is a style sheet that is available, but of course I don't know anything about that or how to tweak it. Plus the skins can override the stylesheet. I also need to figure out how to put up links to my two books on the main page. The DNN default install has one for DNN but I could not for the life of me figure out how to even edit the image in that module/page. Sigh. So much to know, so little time. BTW, you didn't register. If you register and sign in you get extra content! I also need to figure out how to tell visitors that fact. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Oct 1 04:37:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 01 Oct 2005 11:37:02 +0200 Subject: [AccessD] The future of Access, .NET and SQL Message-ID: Hi Jim So true. I get a little tired reading such academic mud-throwing discussions. It is interesting to read that Cach? is regarded as an "in-memory database". I had the opportunity at a meeting here to discuss with the mentioned Paul D. Grabscheid and the CEO "Terry" (Phillip T. Ragon) how they felt Cach? compared to the hi-speed database engine kdb (http://www.kx.com). They claimed it not to be fair to judge a full-featured engine like Cach? with specialized in-memory database engines of which - in their view - kdb is one. I still don't see a major difference between an in-memory database and a database run by a traditional engine where you have read several or all tables into a memory cache which is possible in many occasions with today's multi-gigabyte ram. Cach? is not the answer to the World's database problems but it is a truly amazing product well worth checking out if you feel the need to handle objects all the way down to the database level and in the database itself. Also, compared to most other server engines, it is very easy to install and manage and runs nicely on modest hardware and OS (they stopped support for Win95 but Win98 and WinNT are still usable). I hope to get some time to experiment a little more with it. As to the subject of the thread, I believe the latest version integrates with dot net as well. /gustav >>> accessd at shaw.ca 01-10-2005 07:09 >>> Wow, the old one two tag-team assault... I was hoping they would provide statistics and demonstrations of inadequacies, how it is a poor performer, how difficult the product is to manage or how it took three times as long to resolve a data request. I read none of that just a rant on the evils of Cach?. I would expect better from a couple of fellows who are considered the head Gurus of the database world. (What is the old saying; Spiritual people enlighten but Religious people are just scary.) Cach? might not be a product worth considering but I guess I will have to judge on it merits. Have you ever looked at a database product named ANTS. Here is one article on the product: http://www.theregister.co.uk/2005/09/27/ants_database/ and a fully operational evaluation copy of the database can be acquired from: http://www.ants.com/index.php?option=com_content&task=view&Itemid=59&id=442 My understanding is that like Access it consumes all of the existing memory, the more the merrier. The difference Access just bleeds into all the memory. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, September 30, 2005 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL With Cache you have to read the swipes Date and Pascal take at it Against http://www.dbazine.com/ofinterest/oi-articles/pascal5 But with Fabian Pascal, you start believing in Mystic Eisegesis and start looking for notes nailed to church doors. http://www.dbdebunk.com/index.html For http://www.linuxjournal.com/article/5746 From Gustav at cactus.dk Sat Oct 1 04:45:59 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 01 Oct 2005 11:45:59 +0200 Subject: [AccessD] The future of Access, .NET and SQL Message-ID: Hi Arthur Thanks, though these two violations make me feel sick - I thought that was what could be expected from FileMaker, Alpha Five, or similar. Of course, you can (should) just deny to apply such "features" but it explains some of the weird things you see when web designers start designing databases. /gustav >>> artful at rogers.com 01-10-2005 04:42 >>> The first violation, if you wish to call it that, is the ENUM column type. This type specifies that the value must be one of a collection of enumerated strings, such as "This", "That", "The other", "Nothing", etc. This is akin to Access's value-list column definition. The second violation is the SET column. Given a column definition such as MyColumn SET('one', 'two') NOT NULL Then MyColumn can have any of these values: '' 'one' 'two' 'one,two' A SET can have a maximum of 64 different members. Magic is being performed behind the scenes. You can do lightning-quick queries against such columns, not surprisingly (note the 64-member maximum). But the fact remains that this would make Dr. Codd turn over in his grave. This sort of column violates everything we have learned about relational database design. Columns should be ATOMIC -- one value per row/column. My partner Peter Brawley and I have done some benchmarks and there is no doubt about it, MySQL's set columns are fast. But what the benchmarks don't mention is the cost of adding a new item to any given set. Suppose you have 1,000 installations. You have to restructure the table, then bump it out to 1.000 database servers. Not a pretty prospect. That said, the concept does work well for small sets that are unlikely to change, such as "Potential Sexual Partners" set "male", "female", "tv", "tg". That set covers the bases for the foreseeable future (unless I am really old and really out of touch with such matters). A. From Gustav at cactus.dk Sat Oct 1 04:58:27 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 01 Oct 2005 11:58:27 +0200 Subject: [AccessD] Friday at last! Message-ID: Hi David Next time get serious and take your wife abroad - here the cost is about USD 1.7 per liter! /gustav >>> dmcafee at pacbell.net 30-09-2005 22:23 >>> My wife asked me to take to somewhere really expensive last night. So I did. I took her to the gas station. From jwcolby at colbyconsulting.com Sat Oct 1 07:13:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 08:13:06 -0400 Subject: [AccessD] My new web site In-Reply-To: <0INO00D5I6CWID@l-daemon> Message-ID: <000801c5c681$7e14f270$6c7aa8c0@ColbyM6805> >Try placing the following option in your opening body tag I.e: or What I need is a reference on what values are used for what colors. DNN does not have a color selector control 8-(. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 3:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Hi John: Do you sleep? :-) > ATM it is a rather bright white. I would prefer a cool very pale gray, > or even a very light royal blue. Try placing the following option in your opening body tag I.e: or > I also need to figure out how to put up links to my two books on the > main page. Try adding the tag set in where you what to have a link to the book like, I.e.: John Colby" (watch for wrap...) Just place any url between the quotes Just is just quick off the top... it is midnight here, feel like a pumpkin and will be crashing soon. |-P HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 10:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site >I did not know you were so adept at building flash or is that just one >of DNN's feature/options I haven't a clue about building flash. One of the options with DNN is to apply a "skin". The skin you see is one that is free from a very popular site over in aussie land. I may someday go buy one - there are a TON of people selling skins for DNN. >Where is the link to the DBA site? The link to DBA is there. Favorite Links, second link down. >and where is the .Net versions of your downloads? Some day. ;-) Notice I didn't say someday SOON. >(Could I be so bold as to suggest a smaller font size and maybe even a >text font of a dark grey instead of black... fashion is such a fickle thing.) The font sizes need tweaking. The text editor that is used to place text on pages allow selecting fonts and sizes. I just did a quick and dirty, to get something up. I will no doubt go back in someday and tweak that further. What I really need to figure out is how to set the background color for the text. ATM it is a rather bright white. I would prefer a cool very pale gray, or even a very light royal blue. It is just too bright right now. There is a style sheet that is available, but of course I don't know anything about that or how to tweak it. Plus the skins can override the stylesheet. I also need to figure out how to put up links to my two books on the main page. The DNN default install has one for DNN but I could not for the life of me figure out how to even edit the image in that module/page. Sigh. So much to know, so little time. BTW, you didn't register. If you register and sign in you get extra content! I also need to figure out how to tell visitors that fact. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat Oct 1 07:23:44 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 1 Oct 2005 08:23:44 -0400 Subject: [AccessD] My new web site In-Reply-To: <000801c5c681$7e14f270$6c7aa8c0@ColbyM6805> References: <0INO00D5I6CWID@l-daemon> <000801c5c681$7e14f270$6c7aa8c0@ColbyM6805> Message-ID: On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. DNN > does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 jwcolby at colbyconsulting.com Sat Oct 1 07:37:09 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 08:37:09 -0400 Subject: [AccessD] My new web site In-Reply-To: Message-ID: <000901c5c684$d7621800$6c7aa8c0@ColbyM6805> Do you happen to know of a calculator that allows you to choose a color like in paint and get the number? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. > DNN does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 carbonnb at gmail.com Sat Oct 1 07:48:05 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 1 Oct 2005 08:48:05 -0400 Subject: [AccessD] My new web site In-Reply-To: <000901c5c684$d7621800$6c7aa8c0@ColbyM6805> References: <000901c5c684$d7621800$6c7aa8c0@ColbyM6805> Message-ID: On 01/10/05, John W. Colby wrote: > Do you happen to know of a calculator that allows you to choose a color like > in paint and get the number? Not off the top of my head, but the second link, http://www.zspc.com/color/index-e.html, will allow you to select the colour from a limited pallette and then give you the hex codes. Also, if you are using Firefox, there is an extension called Colorzilla, http://www.iosart.com/firefox/colorzilla/, that will let you get the RGB and hex numbers from a colour in your browser window. >From Colorzilla "With ColorZilla you can get a color reading from any point in your browser, quickly adjust this color and paste it into another program. You can Zoom the page you are viewing and measure distances between any two points on the page. The built-in palette browser allows choosing colors from pre-defined color sets and saving the most used colors in custom palettes." Maybe those will help. -- 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 jwcolby at colbyconsulting.com Sat Oct 1 07:59:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 08:59:57 -0400 Subject: [AccessD] My new web site In-Reply-To: Message-ID: <000a01c5c688$098f10f0$6c7aa8c0@ColbyM6805> I downloaded and installed the colorzilla thingie. Now how do you use it? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > Do you happen to know of a calculator that allows you to choose a > color like in paint and get the number? Not off the top of my head, but the second link, http://www.zspc.com/color/index-e.html, will allow you to select the colour from a limited pallette and then give you the hex codes. Also, if you are using Firefox, there is an extension called Colorzilla, http://www.iosart.com/firefox/colorzilla/, that will let you get the RGB and hex numbers from a colour in your browser window. >From Colorzilla "With ColorZilla you can get a color reading from any point in your browser, quickly adjust this color and paste it into another program. You can Zoom the page you are viewing and measure distances between any two points on the page. The built-in palette browser allows choosing colors from pre-defined color sets and saving the most used colors in custom palettes." Maybe those will help. -- 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 carbonnb at gmail.com Sat Oct 1 08:07:43 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 1 Oct 2005 09:07:43 -0400 Subject: [AccessD] My new web site In-Reply-To: <000a01c5c688$098f10f0$6c7aa8c0@ColbyM6805> References: <000a01c5c688$098f10f0$6c7aa8c0@ColbyM6805> Message-ID: On 01/10/05, John W. Colby wrote: > I downloaded and installed the colorzilla thingie. Now how do you use it? After restarting FF, down in the lower left corner of the status bar, there is an eye dropper. Click on it and then move the mouse over various parts of the web page. In the status bar you'll get the RGB and hex codes. You can also right click in the eye dropper and get a menu of all sorts of things. I don't know what's there, since I just found it :) Once you are done getting the colours you need, just click on the page and then you'll be returned to your regular mouse pointer. -- 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 jwcolby at colbyconsulting.com Sat Oct 1 08:15:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 09:15:52 -0400 Subject: [AccessD] My new web site In-Reply-To: Message-ID: <000b01c5c68a$3f920d90$6c7aa8c0@ColbyM6805> Hmm... Well I downloaded it, and I told it to install, but no eyedropper. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > I downloaded and installed the colorzilla thingie. Now how do you use > it? After restarting FF, down in the lower left corner of the status bar, there is an eye dropper. Click on it and then move the mouse over various parts of the web page. In the status bar you'll get the RGB and hex codes. You can also right click in the eye dropper and get a menu of all sorts of things. I don't know what's there, since I just found it :) Once you are done getting the colours you need, just click on the page and then you'll be returned to your regular mouse pointer. -- 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 carbonnb at gmail.com Sat Oct 1 08:25:16 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 1 Oct 2005 09:25:16 -0400 Subject: [AccessD] My new web site In-Reply-To: <000b01c5c68a$3f920d90$6c7aa8c0@ColbyM6805> References: <000b01c5c68a$3f920d90$6c7aa8c0@ColbyM6805> Message-ID: On 01/10/05, John W. Colby wrote: > Hmm... Well I downloaded it, and I told it to install, but no eyedropper. Did you restart FF? And are you signed into MSM? -- 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 Sat Oct 1 08:29:37 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 01 Oct 2005 06:29:37 -0700 Subject: [AccessD] My new web site In-Reply-To: <000801c5c681$7e14f270$6c7aa8c0@ColbyM6805> Message-ID: <0INO00254O593L@l-daemon> Hi John: There is a (free) simple little utility that will allow you to select a colour from anywhere on your screen and translates that colour into a hex number. I use this product all the time. (http://www.freedownloadscenter.com/Web_Authoring/HTML_Color_Pickers/DotColo r.html ). It also turns off and on very easily as when running it replaces your selector. It runs on every Win product without issue. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, October 01, 2005 5:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site >Try placing the following option in your opening body tag I.e: or What I need is a reference on what values are used for what colors. DNN does not have a color selector control 8-(. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 3:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Hi John: Do you sleep? :-) > ATM it is a rather bright white. I would prefer a cool very pale gray, > or even a very light royal blue. Try placing the following option in your opening body tag I.e: or > I also need to figure out how to put up links to my two books on the > main page. Try adding the tag set in where you what to have a link to the book like, I.e.: John Colby" (watch for wrap...) Just place any url between the quotes Just is just quick off the top... it is midnight here, feel like a pumpkin and will be crashing soon. |-P HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 10:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site >I did not know you were so adept at building flash or is that just one >of DNN's feature/options I haven't a clue about building flash. One of the options with DNN is to apply a "skin". The skin you see is one that is free from a very popular site over in aussie land. I may someday go buy one - there are a TON of people selling skins for DNN. >Where is the link to the DBA site? The link to DBA is there. Favorite Links, second link down. >and where is the .Net versions of your downloads? Some day. ;-) Notice I didn't say someday SOON. >(Could I be so bold as to suggest a smaller font size and maybe even a >text font of a dark grey instead of black... fashion is such a fickle thing.) The font sizes need tweaking. The text editor that is used to place text on pages allow selecting fonts and sizes. I just did a quick and dirty, to get something up. I will no doubt go back in someday and tweak that further. What I really need to figure out is how to set the background color for the text. ATM it is a rather bright white. I would prefer a cool very pale gray, or even a very light royal blue. It is just too bright right now. There is a style sheet that is available, but of course I don't know anything about that or how to tweak it. Plus the skins can override the stylesheet. I also need to figure out how to put up links to my two books on the main page. The DNN default install has one for DNN but I could not for the life of me figure out how to even edit the image in that module/page. Sigh. So much to know, so little time. BTW, you didn't register. If you register and sign in you get extra content! I also need to figure out how to tell visitors that fact. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Oct 1 08:45:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 01 Oct 2005 15:45:05 +0200 Subject: [AccessD] My new web site Message-ID: Hi Jim Nice tool Jim, but this link is much faster and saves you from a 1.5MB stupid "download manager" preceding download: http://www.inetis.com/freeware.asp /gustav >>> accessd at shaw.ca 01-10-2005 15:29 >>> Hi John: There is a (free) simple little utility that will allow you to select a colour from anywhere on your screen and translates that colour into a hex number. I use this product all the time. (http://www.freedownloadscenter.com/Web_Authoring/HTML_Color_Pickers/DotColo r.html ). It also turns off and on very easily as when running it replaces your selector. It runs on every Win product without issue. From jwcolby at colbyconsulting.com Sat Oct 1 08:53:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 09:53:25 -0400 Subject: [AccessD] Color picker In-Reply-To: <0INO00254O593L@l-daemon> Message-ID: <000c01c5c68f$7edf6600$6c7aa8c0@ColbyM6805> One called ColorMania is perfect for what I need. Thanks John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Hi John: There is a (free) simple little utility that will allow you to select a colour from anywhere on your screen and translates that colour into a hex number. I use this product all the time. (http://www.freedownloadscenter.com/Web_Authoring/HTML_Color_Pickers/DotColo r.html ). It also turns off and on very easily as when running it replaces your selector. It runs on every Win product without issue. HTH Jim From ebarro at afsweb.com Sat Oct 1 09:19:35 2005 From: ebarro at afsweb.com (Eric Barro) Date: Sat, 1 Oct 2005 07:19:35 -0700 Subject: [AccessD] My new web site In-Reply-To: <000901c5c684$d7621800$6c7aa8c0@ColbyM6805> Message-ID: This one is pretty cool... http://www.colorschemer.com/online.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, October 01, 2005 5:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Do you happen to know of a calculator that allows you to choose a color like in paint and get the number? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. > DNN does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From jmhecht at earthlink.net Sat Oct 1 12:37:38 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 1 Oct 2005 10:37:38 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <0INN00J5HH2AZK@l-daemon> Message-ID: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ From accessd at shaw.ca Sat Oct 1 13:01:49 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 01 Oct 2005 11:01:49 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> Message-ID: <0INP0020E0QX86@l-daemon> Hi Joe: My thoughts are that the AMD would be the best bet. The chip is full-featured but is the same price as the Celeron which is a de-tuned Pentium. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Oct 1 13:11:56 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 1 Oct 2005 14:11:56 -0400 Subject: [AccessD] The future of Access, .NET and SQL In-Reply-To: <000801c5c5e1$606bfb10$6401a8c0@fincomplex.spb.ru> Message-ID: <200510011811.j91IBvT27597@databaseadvisors.com> As I see it, there are two issues here. A. The db engine itself: 1. the actual physical storage mechanisms must be hidden from the user. 2. A single language must enable you to query the system tables as well as the user tables. 3. There must be a mechanism to uniquely identify every row in every table. Absolute duplicates are forbidden. 4. There must be a way to implement constraints such as Foreign Keys, unique values and range constraints. B. The particular database that is implemented: 1. Values must be atomic (i.e. don't have a column called NamesOfChildren that contains a string such as "Jim, Arthur, Charlotte, Shamil"). 2. Don't nest tables (i.e. the give-away is columns with parallel names, such as SalesRep_1, SalesRep_2, SalesRep_3 -- this is a sure-fire indication that you need to add another table called SalesOrderSalesReps or somesuch). Of course there are more rules than these; I cite these just to indicate the turf and the division. The former set of rules is for the database vendor to develop. The latter set is for the developer to implement. If you break the rules in the latter set, it is not because the particular database product is flawed, but rather the user's understanding. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: September 30, 2005 1:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL Jim, But I think MS SQL 2000 and MS SQL 2005 perfectly fit all the twelve Dr.E.F. Codd rules. http://www.frick-cpa.com/ss7/Theory_RelationalDB.asp Maybe there are some small exceptions for the rules: #4. Database is Self-Describing #12. Data Integrity Cannot be Subverted but they are not significant I think. Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 30, 2005 8:40 PM Subject: Re: [AccessD] The future of Access, .NET and SQL Hi Alan: If all ten law/rules/guidelines were ever fully implemented on a database the application it would grind to a halt. It has been attempted, to various degrees, in data designs within Government Ministries for years and in ever cases it has failed. The basic guidelines of relational databases as I see them are as follows: 1. The data must be easy to retrieve...therefore the data should be grouped. 2. The database must be kept as small as reasonable...therefore as little duplication as possible. 3. A high level of performance must be maintained. With those three guidelines much of Codd's/Date's rules can be implemented but the whole concept starts to fall apart when enforcing the rules start to impact performance. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Friday, September 30, 2005 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL Arthur, Charlotte: Several years ago I recall buying (and trying to comprehend) relational database guru Chris Date's "classic" book (it's more like a tome ...) "An Introduction to Database Systems". (Chris Date's main claim to fame is as a prot?g? of the late Dr. E.F. "Ted" Codd - the "father" of the relational database model.) Date worked with Dr. Codd in the early 1970's at IBM. He is now a full time consultant and writer - mostly of articles dealing with various topics related to database design. Chris Date is a relational "purist" (some might say a zealot) in arguing that a database system (or a vendor implementation of a database system) cannot be considered truly "relational" if it violates any of Codd's "Ten Rules" of relational database design. (Without "naming names," Chris Date excoriates various vendor implementations of the relational model in his book. He accuses these vendors of committing various "unforgivable sins" against the relational model. Chris Date implies (or in some cases flat out states) that these "sins" [of implementation] will lead to nothing but trouble when commercial systems are designed and built using these "flawed" implementations. (I'm doing a lot of paraphrasing of Chris Date's words and writing here, but I think I have the "general drift" of Date's criticisms just about right.) I think part of the "problem" (from the vendors perspective) may be that creating a [truly] "relational" database system that passes muster with Chris Date is probably very difficult - not to mention very costly. (After investing literally BILLIONS of dollars in research and development, a vendor may come up with an implementation that meets the requirements of six or seven of the ten rules - and ignores (or "violates") the other three rules. Chris Date focuses in on the three (or four) rules that have been violated - and declares the whole implementation "fatally flawed". I would have to go back and re-read "An Introduction to Database Systems," but I have a feeling that the introduction of "Multi-choice combos" is the kind of thing that will drive Chris Date up the wall. Alan C. Lawhon -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 30, 2005 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] The future of Access, .NET and SQL You can add MySQL to your list of offending databases. MySQL offends in two ways, actually, but I will leave that as an exercise for the interested reader. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: September 29, 2005 11:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL I haven't *seen* it. The stated concept gives me shivers because of "databases" like Approach and FileMaker that have allowed multiple choices stored in a single field. Charlotte -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, September 28, 2005 8:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] The future of Access, .NET and SQL Multi-choice combos <> relational constraints! Case in point: I want to add N children to a parent, whose DetailType is selected from a multi-choice combo.... i.e. add a Hotel, a CarRental, a ConcertTicket, an AirportShuttle. The UI lets me do this as quickly as possible, and background code takes care of the Parent-Child relationships. I see no problem here. What are you seeing? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: September 28, 2005 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL >> Multi-choice combo box (M-M joins) That's the one I find scary. Does that mean they're abandoning relational design? Charlotte -----Original Message----- From: Gustav Brock [mailto:Gustav at cactus.dk] Sent: Wednesday, September 28, 2005 6:32 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] The future of Access, .NET and SQL Hi all OK, found something in the slides at the links from Jim. Does anyone know if "Append only" is fixed or optional? ACE - Access Data Engine - Engine based on Jet code-base and installed with Office, 100% backwards compatible with Jet - Connects to external data sources - Foundation for richer support of complex data - Multi-choice combo box (M-M joins) - Attachments - Append only - Read and write Excel "12" file formats - SharePoint ISAM enhancements - OM changes to DAO and ACE OLEDB provider (ADO) I guess OM here means Object Model. Further: New ACCDB file format - Can be emailed and stored in SharePoint document libraries - Default for all new database - Supports complex data features - Multiple value lookups - Attachments - Append only - SharePoint list offline - Office file encryption not Jet encoding Also this summary: - Microsoft is committed to Access as a developer platform - SharePoint Services integration allows developers to build new types of collaborative applications - Developers can build and deploy tracking templates Note that an Outlook code example in the presentation uses DAO, so this seems not to be "dead" at all. /gustav >>> Gustav at cactus.dk 27-09-2005 21:03 >>> Hi Susan and Martin Thanks! Just wondering what this new engine should be about ... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Oct 1 13:30:06 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 1 Oct 2005 14:30:06 -0400 Subject: [AccessD] Combo to Combo In-Reply-To: <200509301849.j8UInZD09063@ultradnt.com> Message-ID: <200510011830.j91IU6T02851@databaseadvisors.com> This comment is perhaps better directed at the thread on relational databases, but since here is a splendid example I will post my comment here. One of Codd's rules, I forget its number, is that you should not have two multi-valued columns in a single row. The front end is one thing, but the back end is another. Let me change examples to illustrate the point. Suppose you have three tables: Cities, Regions (provinces/states/cantons etc.) and Countries. I often see tables containing all three of these columns, and to my way of thinking that violates the rule just stated. All you really need in the table is the CityID, because London, Ontario is situated in Canada, while London, England is situated in England (I'm afraid I don't know its region). You could get away with this design by asking for the country first, then listing its regions, and finally the city in the selected region. But you at least risk the possibility that someone could enter nonsense, such as New York, Arizona, Norway. In part the reason why I prefer the "one multivalued column" approach is that then I can offload the responsibility to the db engine itself, rather than coding its logic in one or more front-ends that talk to the database. So by all means, go with the approach Steve suggests, but that occurs in the front-end. I see no reason to carry the redundancies into the back end. My $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: September 30, 2005 2:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo to Combo Virginia: You need a many-to-many table to relate the Systems to the Failure Types ... tblSystem: PK=systemID 1 (Alarm) 2 (Dryer) tblFailType: PK=FailTypeID 1 (Age) 2 (Wear) tblSystemFailType: FK1=SystemID FK2=FailTypeID Alarm Wear Alarm Shorted Dryer Wear Dryer Age Then on the form, after user selects system from combo1, requery combo 2 to show the applicable failure types Combo 2 source = "SELECT FailTypeID, FailType FROM tblFailType WHERE FailTypeID IN " & _ " (SELECT FailTypeID FROM tblSystemFailType WHERE SystemID=" & me.combo1 & ")" Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: Friday, September 30, 2005 2:27 PM To: accessD at databaseadvisors.com Subject: [AccessD] Combo to Combo I need to create a combo box that lists system identifications. When the selection is made from the system combo, the 2nd combo only lists related failures. The problem is the System and the Failure are repeated. An Alarm can have the same type of failure as a Dryer. How do I set up the tables & the form for the combos to list the Systems with the matching Failure types when they are all repeated? Example: System, Failure Alarm, Age Alarm, Normal Wear Alarm, Corrosion Battery, Overload Battery, Age Dryer, Normal Wear Dryer, Age Dryer, Obstruction Virginia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sat Oct 1 15:21:37 2005 From: john at winhaven.net (John Bartow) Date: Sat, 1 Oct 2005 15:21:37 -0500 Subject: [AccessD] OT: Need new laptop In-Reply-To: <0INP0020E0QX86@l-daemon> Message-ID: <00ee01c5c6c5$b9b6f780$6801a8c0@ScuzzPaq> Ditto from me. I've been going with Athlon 64 CPUs in all my business machines the last year and am _very_ satisfied with them. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Hi Joe: My thoughts are that the AMD would be the best bet. The chip is full-featured but is the same price as the Celeron which is a de-tuned Pentium. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 1 15:24:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 16:24:35 -0400 Subject: [AccessD] OT: Need new laptop In-Reply-To: <00ee01c5c6c5$b9b6f780$6801a8c0@ScuzzPaq> Message-ID: <000d01c5c6c6$24094a20$6c7aa8c0@ColbyM6805> Likewise. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Saturday, October 01, 2005 4:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Ditto from me. I've been going with Athlon 64 CPUs in all my business machines the last year and am _very_ satisfied with them. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Hi Joe: My thoughts are that the AMD would be the best bet. The chip is full-featured but is the same price as the Celeron which is a de-tuned Pentium. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Sat Oct 1 16:00:31 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Sat, 1 Oct 2005 16:00:31 -0500 (CDT) Subject: [AccessD] OT: Need new laptop In-Reply-To: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> References: <0INN00J5HH2AZK@l-daemon> <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> Message-ID: <2874.65.196.182.34.1128200431.squirrel@65.196.182.34> Joe, I've been looking around for a notebook to replace a desktop system, and I've come to the conclusion that I'm going to have to build one. Several manufacturers are now selling barebones notebooks including Asus and MSI starting in the mid $550's. My CPU of choice would be the AMD 64, more bang for the buck. Jim > My Dell is dying. It is time to replace it. > > Does any one have thoughts on the following: > > Pentium vs. Celeron vs. AMD > > > Mostly runs office. Some flight sim. Some Ipod support. > > Will defiantly have 512 megs of Ram looking to try for a gig depending on > $ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Sat Oct 1 16:22:22 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 1 Oct 2005 14:22:22 -0700 Subject: [AccessD] My new web site References: <000501c5c644$920ae330$6c7aa8c0@ColbyM6805> Message-ID: <00c901c5c6ce$369c6930$6501a8c0@HAL9004> John: My screen is set to 800x600 and so there's a horizontal scroll bar at the bottom, which means scrolling back and forth to read the whole line. Don't know that there's that many of us out here with that setting, though. (BTW, I was using Firefox 1.07)/ According to the "popular wisdom" for good readability a line isn't supposed to be longer than about 35 characters. My .02 Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 30, 2005 9:57 PM Subject: [AccessD] My new web site > Anyone interested please visit. I am using DotNetNuke to build my new web > site. It is still a work in progress, as is my knowledge of DNN. What > you > see on my site has been done in just about a week. > > For a side by side comparison: > > My new site: www.colbyconsulting.com > My old site: www.jwcolby.com > > I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL > Server and so you must purchase a hosting package that includes SQL > Server, > but it gives the developer (knowledgeable in Visual Studio) the ability to > write custom modules to work with data from SQL Server using plug-in > modules > that you write. DNN is written using VB in VS 2003, and I own VS 2001 so > I > am at a standstill ATM, however I am about to order the academic version > (my > wife is a teacher) of VS 2003 which will allow me to start developing > snap-in modules for DNN that can dish up data. Stand by for that. > > Any comments welcome. I am not a web site developer so do not expect a > world class web page, but I think that given my limitations it looks > pretty > good. > > Register and Log in to see additional features. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Oct 1 16:24:40 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 1 Oct 2005 14:24:40 -0700 Subject: [AccessD] OT: Need new laptop References: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> Message-ID: <00d001c5c6ce$88b2a9a0$6501a8c0@HAL9004> Joe: I got a Compaq with and MAD 64 bit in it about a year ago. It's pretty big and heavy but the keyboard is full size and the screen's big. I figured if I was going to do any real work on it I'd want that size screen and keyboard. The little ones are cute but the stuff on the screen gets pretty teensy. Processor seems OK but I don't know that I'm running anything that really takes advantage of the 64 bits. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 01, 2005 10:37 AM Subject: [AccessD] OT: Need new laptop > My Dell is dying. It is time to replace it. > > Does any one have thoughts on the following: > > Pentium vs. Celeron vs. AMD > > > Mostly runs office. Some flight sim. Some Ipod support. > > Will defiantly have 512 megs of Ram looking to try for a gig depending on > $ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Sat Oct 1 16:28:05 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 1 Oct 2005 14:28:05 -0700 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <"007b01c5c38d$9a6ff240$c 71865cb"@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004> <001c01c5c5bc$daac5de0$971865cb@winxp> Message-ID: <00dd01c5c6cf$028afc00$6501a8c0@HAL9004> A.D.: What happens if I use the pop-up form approach and the user changes the report sizing so that it no longer is in "FitToWindow" mode? I'd like to put the navigation in the custom report toolbar I made but if SndKeys won't work then that's a no go. How do you make a custom button for a toolbar anyway? Thanks and regards, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Friday, September 30, 2005 5:44 AM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > It is a tiny pop-up form (similar to a tool bar) that sits in a corner > of the screen. It gets opened via report's open event and closed via > report's close event. > > You might like to adapt the commands suitably to appropriate buttons on > your tool bar. In that case, the commands specific to the form (i.e. > hiding / un-hiding etc) can be ignored. > > After ensuring that report window is the active one and the report is > in FitToWindow mode, SendKeys arguments as summarized below, would do the > needful. > (a) Go to Next Page - "{DOWN}" > (b) Go to Prev Page - "{UP}" > (c) Go to Last Page - "^{DOWN}" > (d) Go to First Page - "^{UP}" > > It is observed that SendKeys commands do not get ported smoothly to > tool bar functions. If you find yourself stuck on this account, and wish > to avoid form based solution, you could consider experimenting with > fTurnPage feature available at Leban's site. For this, you would have to > download the file named ControlReports.zip. > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as > mentioned by Ervin, represents the pop-up form approach. > > If at any stage, you happen to need a simplified sample based upon the > code sent by me earlier, I can try to put it together. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Thursday, September 29, 2005 20:05 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > Thanks for the idea. Does this mean that the report preview appears in a > pop-up or that there's a pop-up form with the navigation buttons? > > I already have a custom toolbar with a minimum of controls on it - print, > close, & fit. I see that you can add controls for record navigation. > They look like the icons I want but of course they don't turn the pages of > a report. I'd like to put the page navigation in the toolbar. > Is there a way to change the action of those icons you can put on a > custom toolbar? Or is there a way to create a custom button for a toolbar > that would turn the pages of a report? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, September 27, 2005 11:00 AM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > Rocky, > > > > Sample code in the module of a pop-up form, as given below, enables > > page navigation of report named R_Test. Command button named CmdNext > steps > > forward through the pages while that named CmdPrev does the reverse. > > > > You might like to adapt it suitably for your specific situation. > > > > Note - For the SendKeys command (Up or Dn arrow) to be effective, it > is > > necessary that report is in FitToWindow mode and report's window is the > > active one. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > Code module for Pop Up Form > > ================================ > > ' Declarations Section > > Private RepHdw As Long, FrmHdw As Long > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > (ByVal hwnd As Long) As Long > > -------------------------------------------------------- > > Private Sub CmdNext_Click() > > DoCmd.Echo False > > Me.Visible = False > > BringWindowToTop RepHdw > > DoCmd.RunCommand acCmdFitToWindow > > SendKeys "{DOWN}", True > > DoCmd.RunCommand acCmdZoom100 > > Me.Visible = True > > BringWindowToTop FrmHdw > > DoCmd.Echo True > > End Sub > > > > Private Sub CmdPrev_Click() > > DoCmd.Echo False > > Me.Visible = False > > BringWindowToTop RepHdw > > DoCmd.RunCommand acCmdFitToWindow > > SendKeys "{UP}", True > > DoCmd.RunCommand acCmdZoom100 > > Me.Visible = True > > BringWindowToTop FrmHdw > > DoCmd.Echo True > > End Sub > > > > Private Sub Form_Activate() > > DoCmd.Restore > > End Sub > > > > Private Sub Form_Load() > > RepHdw = Reports("R_Test").hwnd > > FrmHdw = Me.hwnd > > End Sub > > ================================ > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: AccessD at databaseadvisors.com > > Sent: Monday, September 26, 2005 23:41 > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > Dear List: > > > > I have a custom toolbar for reports that get displayed in report > preview > > if the db is an mde. It has only printer icon, close button, and zoom > > control. The paging navigation is of course, at the lower left of the > > screen in preview mode, but I'm wondering if these nav buttons can be > > added to the custom toolbar where an inexperienced user might be more > > likely to see them. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 1 20:13:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 21:13:08 -0400 Subject: [AccessD] My new web site In-Reply-To: <00c901c5c6ce$369c6930$6501a8c0@HAL9004> Message-ID: <000e01c5c6ee$762e2960$6c7aa8c0@ColbyM6805> >My screen is set to 800x600 and so there's a horizontal scroll bar at the bottom, which means scrolling back and forth to read the whole line. I don't tell it how wide to make it. I have a choice of "fixed width" and "entire screen". I assumed that meant it would figure out your resolution and size it accordingly. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 01, 2005 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site John: My screen is set to 800x600 and so there's a horizontal scroll bar at the bottom, which means scrolling back and forth to read the whole line. Don't know that there's that many of us out here with that setting, though. (BTW, I was using Firefox 1.07)/ According to the "popular wisdom" for good readability a line isn't supposed to be longer than about 35 characters. My .02 Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 30, 2005 9:57 PM Subject: [AccessD] My new web site > Anyone interested please visit. I am using DotNetNuke to build my new > web site. It is still a work in progress, as is my knowledge of DNN. > What you see on my site has been done in just about a week. > > For a side by side comparison: > > My new site: www.colbyconsulting.com > My old site: www.jwcolby.com > > I am finding DNN to be a pretty cool web site framework. It REQUIRES > SQL Server and so you must purchase a hosting package that includes > SQL Server, but it gives the developer (knowledgeable in Visual > Studio) the ability to write custom modules to work with data from SQL > Server using plug-in modules > that you write. DNN is written using VB in VS 2003, and I own VS 2001 so > I > am at a standstill ATM, however I am about to order the academic version > (my > wife is a teacher) of VS 2003 which will allow me to start developing > snap-in modules for DNN that can dish up data. Stand by for that. > > Any comments welcome. I am not a web site developer so do not expect > a world class web page, but I think that given my limitations it looks > pretty good. > > Register and Log in to see additional features. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Oct 1 20:47:27 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 21:47:27 -0400 Subject: [AccessD] My new web site In-Reply-To: <00c901c5c6ce$369c6930$6501a8c0@HAL9004> Message-ID: <000f01c5c6f3$418d50a0$6c7aa8c0@ColbyM6805> Well, I just went top my desktop and resized my screen to 800x600 and sure enough, a slider. Resized again to 1024 x 768 and it is now "full width" (no slider). And of course anything wider than 768 pixels looks just fine. And of course another issue here is that you may throw in modules down each side which would reduce the width of the main data window accordingly. There seems to be no magic answer here. I can place something down the side (an advertisement for my books for example), and that reduces the size of the main window, however if the screen is "full width" then how wide the middle part is is still determined by the resolution on YOUR computer. I can likewise go with a "fixed width" which reduces it to some portion of the screen (probably designed for 800x600? Though I haven't tested that). NOW, if I put something down the side it ends up with a little tiny slice down the middle for the "main course" so to speak. This is why I don't like getting into web design. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 01, 2005 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site John: My screen is set to 800x600 and so there's a horizontal scroll bar at the bottom, which means scrolling back and forth to read the whole line. Don't know that there's that many of us out here with that setting, though. (BTW, I was using Firefox 1.07)/ According to the "popular wisdom" for good readability a line isn't supposed to be longer than about 35 characters. My .02 Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 30, 2005 9:57 PM Subject: [AccessD] My new web site > Anyone interested please visit. I am using DotNetNuke to build my new > web site. It is still a work in progress, as is my knowledge of DNN. > What you see on my site has been done in just about a week. > > For a side by side comparison: > > My new site: www.colbyconsulting.com > My old site: www.jwcolby.com > > I am finding DNN to be a pretty cool web site framework. It REQUIRES > SQL Server and so you must purchase a hosting package that includes > SQL Server, but it gives the developer (knowledgeable in Visual > Studio) the ability to write custom modules to work with data from SQL > Server using plug-in modules > that you write. DNN is written using VB in VS 2003, and I own VS 2001 so > I > am at a standstill ATM, however I am about to order the academic version > (my > wife is a teacher) of VS 2003 which will allow me to start developing > snap-in modules for DNN that can dish up data. Stand by for that. > > Any comments welcome. I am not a web site developer so do not expect > a world class web page, but I think that given my limitations it looks > pretty good. > > Register and Log in to see additional features. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Oct 1 21:56:28 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 01 Oct 2005 19:56:28 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <00d001c5c6ce$88b2a9a0$6501a8c0@HAL9004> Message-ID: <0INP00A0CPHZZZ@l-daemon> Rocky: My understanding is, as far as Microsoft is concerned, that not until the new 2005 software series are they taking advantage the 64bit chips... everything except Exchange. Maybe there is another series specifically for those chips Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 01, 2005 2:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop Joe: I got a Compaq with and MAD 64 bit in it about a year ago. It's pretty big and heavy but the keyboard is full size and the screen's big. I figured if I was going to do any real work on it I'd want that size screen and keyboard. The little ones are cute but the stuff on the screen gets pretty teensy. Processor seems OK but I don't know that I'm running anything that really takes advantage of the 64 bits. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 01, 2005 10:37 AM Subject: [AccessD] OT: Need new laptop > My Dell is dying. It is time to replace it. > > Does any one have thoughts on the following: > > Pentium vs. Celeron vs. AMD > > > Mostly runs office. Some flight sim. Some Ipod support. > > Will defiantly have 512 megs of Ram looking to try for a gig depending on > $ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Oct 2 19:20:47 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 02 Oct 2005 17:20:47 -0700 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: Message-ID: <0INR00A1PCYIYP@l-daemon> Within many web pages there is starting to appear a piece of code which is curious. It looks like encrypted imbedded coding created by some obfuscating tool. The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... and so on for, sometime 1000 plus characters. I would look it up on the internet but do not know even how to describe it. Is this the result of an obfuscating process for ASPX pages? Yes, I am designing in ASP.Net and no, I have never run across this before. (The disadvantages of being self-taught.) TIA Jim From accessd at shaw.ca Sun Oct 2 19:36:02 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 02 Oct 2005 17:36:02 -0700 Subject: [AccessD] OT Database performance In-Reply-To: Message-ID: <0INR00D5NDNXUO@l-daemon> Hi All: The latest TPC-C costs for the new MS SQL 2003 / Dell combo of $0.99 (compared with an Oracle 8i / Compaq combo results that top $52.xx): http://www.tpc.org/tpcc/results/tpcc_results.asp?print=false&orderby=pricepe rf&sortby=asc . It seems that M$ is definitely competing on price points to grab a larger market share. It is very difficult to gleam any real results from the 'tpc.org' site as the performance levels of various databases is so reliant on the hardware on which they are running. It would be nice if there was a site which had two of three set pieces of hardware, installed with a dozen of the major DBs (not 3 and sometimes 4) and ran each under the same load conditions with the same data sets... then maybe some realistic performance figures could be gathered. Does anyone know a site where there are 'real' performance figures? Jim From pcs at azizaz.com Sun Oct 2 20:18:43 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 3 Oct 2005 11:18:43 +1000 Subject: [AccessD] My new web site References: <000701c5c64c$268239d0$6c7aa8c0@ColbyM6805> Message-ID: <005901c5c7b8$65296a10$fa10a8c0@Albatross> > BTW, you didn't register. If you register and sign in you get extra > content! I also need to figure out how to tell visitors that fact. John, Being in the same situation : great need for website building skills - little knowledge now 0.000? - little time - I thought I check this out - So, I just did that ... no additional content though .... How do we get to that? regards borge From jmhecht at earthlink.net Sun Oct 2 20:32:16 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 2 Oct 2005 18:32:16 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <2874.65.196.182.34.1128200431.squirrel@65.196.182.34> Message-ID: <001501c5c7ba$4ab68fd0$0a01a8c0@desktop> Where and how do you build your own laptop? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss Sent: Saturday, October 01, 2005 2:01 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop Joe, I've been looking around for a notebook to replace a desktop system, and I've come to the conclusion that I'm going to have to build one. Several manufacturers are now selling barebones notebooks including Asus and MSI starting in the mid $550's. My CPU of choice would be the AMD 64, more bang for the buck. Jim > My Dell is dying. It is time to replace it. > > Does any one have thoughts on the following: > > Pentium vs. Celeron vs. AMD > > > Mostly runs office. Some flight sim. Some Ipod support. > > Will defiantly have 512 megs of Ram looking to try for a gig depending on > $ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Oct 2 20:58:03 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 02 Oct 2005 21:58:03 -0400 Subject: [AccessD] My new web site In-Reply-To: <005901c5c7b8$65296a10$fa10a8c0@Albatross> Message-ID: <000201c5c7bd$e7270e50$6c7aa8c0@ColbyM6805> Once you register you have to log in using that registered user name. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Sunday, October 02, 2005 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site > BTW, you didn't register. If you register and sign in you get extra > content! I also need to figure out how to tell visitors that fact. John, Being in the same situation : great need for website building skills - little knowledge now 0.000? - little time - I thought I check this out - So, I just did that ... no additional content though .... How do we get to that? regards borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Sun Oct 2 21:11:44 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sun, 2 Oct 2005 22:11:44 -0400 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <0INR00A1PCYIYP@l-daemon> References: <0INR00A1PCYIYP@l-daemon> Message-ID: On 02/10/05, Jim Lawrence wrote: > Within many web pages there is starting to appear a piece of code which is > curious. It looks like encrypted imbedded coding created by some obfuscating > tool. > > The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... and so > on for, sometime 1000 plus characters. I would look it up on the internet > but do not know even how to describe it. > > Is this the result of an obfuscating process for ASPX pages? Yes, I am > designing in ASP.Net and no, I have never run across this before. (The > disadvantages of being self-taught.) The only time that I have ever seen this is when a PostNuke site that I run was hacked. it too me about 3 days to "decode" it (don't ask me how I did it, I don't remember) and it was a redirect to or from a Warez site. -- 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 pcs at azizaz.com Sun Oct 2 21:46:27 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 3 Oct 2005 12:46:27 +1000 Subject: [AccessD] My new web site References: <000201c5c7bd$e7270e50$6c7aa8c0@ColbyM6805> Message-ID: <010901c5c7c4$a721ba10$fa10a8c0@Albatross> John, - I registered with name and password - then logged in .... no additional content appeared - exited IE and logged on again .... same story What am I missing? borge ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 11:58 AM Subject: Re: [AccessD] My new web site > Once you register you have to log in using that registered user name. > > John W. Colby > www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Oct 2 22:04:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 02 Oct 2005 23:04:34 -0400 Subject: [AccessD] My new web site In-Reply-To: <010901c5c7c4$a721ba10$fa10a8c0@Albatross> Message-ID: <000801c5c7c7$319eb0b0$6c7aa8c0@ColbyM6805> There should be the following items in the menu without logging in: Home - Resume - Contacts - Favorite Links - Feedback If you log in there should be two additional items - "Example code" and "Forums". The "Example code" menu should have three submenu items C2DbFW3G framework Withevents Demo Utilities Each of these three pages should have various things that you can download - Utilities I have written over the last few years, demos for using WithEvents, and lectures about my framework with code. The forums are a hotbed of activity. ;-) Probably never will be but they provide a place for people to discuss the stuff found on my site or even other stuff if you wish. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Sunday, October 02, 2005 10:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site John, - I registered with name and password - then logged in .... no additional content appeared - exited IE and logged on again .... same story What am I missing? borge ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 11:58 AM Subject: Re: [AccessD] My new web site > Once you register you have to log in using that registered user name. > > John W. Colby > www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Sun Oct 2 22:38:57 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 3 Oct 2005 13:38:57 +1000 Subject: [AccessD] My new web site References: <000801c5c7c7$319eb0b0$6c7aa8c0@ColbyM6805> Message-ID: <013201c5c7cb$fc4891b0$fa10a8c0@Albatross> John, Thanks for taking the time to explain what I should be looking for... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry Your C2DbFW3G framework is that a full working example of your framework? I read with interest you reply to Joe the other day about sysVars and their use, and got the impression that you were making reference to a fully working example of your Framework - so is that the one I need to have a closer look at? fyi I registered as username: borge and password: blueeyes When logging in, your system accepts both without a blink - and behaves as expected if I enter wrong password.... Why can't I see what supposedly everyone else can see? borge ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 1:04 PM Subject: Re: [AccessD] My new web site > There should be the following items in the menu without logging in: > > Home - Resume - Contacts - Favorite Links - Feedback > > If you log in there should be two additional items - "Example code" and > "Forums". The "Example code" menu should have three submenu items > > C2DbFW3G framework > Withevents Demo > Utilities > > Each of these three pages should have various things that you can download - > Utilities I have written over the last few years, demos for using > WithEvents, and lectures about my framework with code. > > The forums are a hotbed of activity. ;-) Probably never will be but they > provide a place for people to discuss the stuff found on my site or even > other stuff if you wish. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Sunday, October 02, 2005 10:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My new web site > > > John, > - I registered with name and password > - then logged in .... no additional content appeared > - exited IE and logged on again .... same story > > What am I missing? > borge > > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 03, 2005 11:58 AM > Subject: Re: [AccessD] My new web site > > > > Once you register you have to log in using that registered user name. > > > > John W. Colby > > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Oct 2 22:12:25 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Mon, 03 Oct 2005 13:12:25 +1000 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: References: <0INR00A1PCYIYP@l-daemon> Message-ID: <43412E39.2270.A5D92E@localhost> On 2 Oct 2005 at 22:11, Bryan Carbonnell wrote: > On 02/10/05, Jim Lawrence wrote: > > Within many web pages there is starting to appear a piece of code which is > > curious. It looks like encrypted imbedded coding created by some obfuscating > > tool. > > > > The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... and so > > on for, sometime 1000 plus characters. I would look it up on the internet > > but do not know even how to describe it. > > > > Is this the result of an obfuscating process for ASPX pages? Yes, I am > > designing in ASP.Net and no, I have never run across this before. (The > > disadvantages of being self-taught.) > > The only time that I have ever seen this is when a PostNuke site that > I run was hacked. it too me about 3 days to "decode" it (don't ask me > how I did it, I don't remember) and it was a redirect to or from a > Warez site. > Tell that to JC, he's got one on the Home page of his new his site :-) Thanks for taking the time to explain what I should be looking for... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry I just logged in (using FireFox) with your username and password and the menu does change. The menu looks like: Home R?sum? Contacts Example Code Favorite Links Forums Feedback (cut and pasted from the text in the menubar) This is not good that you do not see the expanded menu. I also logged in using IE6X and likewise the menubar does change. I don't have any idea why you can't see a different menu. I will put out a message asking other AccessD members to try logging in and reporting on whether the menu changes or not. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Sunday, October 02, 2005 11:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site John, Thanks for taking the time to explain what I should be looking for... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry Your C2DbFW3G framework is that a full working example of your framework? I read with interest you reply to Joe the other day about sysVars and their use, and got the impression that you were making reference to a fully working example of your Framework - so is that the one I need to have a closer look at? fyi I registered as username: borge and password: blueeyes When logging in, your system accepts both without a blink - and behaves as expected if I enter wrong password.... Why can't I see what supposedly everyone else can see? borge From jwcolby at colbyconsulting.com Sun Oct 2 23:21:11 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 03 Oct 2005 00:21:11 -0400 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <43412E39.2270.A5D92E@localhost> Message-ID: <000c01c5c7d1$e2a7fec0$6c7aa8c0@ColbyM6805> LOL, Stuart, are you SERIOUSLY saying I should worry about tens of kilobytes of useless junk moving around the web when people are downloading video and audio streams with hundreds of kbytes per SECOND, times millions of such users? Oh my, I think I'll just rush right out there and redesign my site... Or is this just a soapbox thing about how the evil empire is conquering the universe "tens of kilobytes" at a time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of stuart at lexacorp.com.pg Sent: Sunday, October 02, 2005 11:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Question that will be simple for those that know On 2 Oct 2005 at 22:11, Bryan Carbonnell wrote: > On 02/10/05, Jim Lawrence wrote: > > Within many web pages there is starting to appear a piece of code > > which is curious. It looks like encrypted imbedded coding created by > > some obfuscating tool. > > > > The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... > > and so on for, sometime 1000 plus characters. I would look it up on > > the internet but do not know even how to describe it. > > > > Is this the result of an obfuscating process for ASPX pages? Yes, I > > am designing in ASP.Net and no, I have never run across this before. > > (The disadvantages of being self-taught.) > > The only time that I have ever seen this is when a PostNuke site that > I run was hacked. it too me about 3 days to "decode" it (don't ask me > how I did it, I don't remember) and it was a redirect to or from a > Warez site. > Tell that to JC, he's got one on the Home page of his new his site :-) <"007b01c5c38d$9a6ff240$c71865cb"@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004><001c01c5c5bc$daac5de0$971865cb@win xp> <00dd01c5c6cf$028afc00$6501a8c0@HAL9004> Message-ID: <01aa01c5c7d9$790ddef0$9d1865cb@winxp> Rocky, That is not a problem. The code sent in my first post in this thread enforces FitToWindow mode for the report, before carrying out SendKeys command. For adding buttons on the print preview toolbar, you have to right click on it and choose customize. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Sunday, October 02, 2005 02:58 Subject: Re: [AccessD] Report Navigation on Custom Toolbar A.D.: What happens if I use the pop-up form approach and the user changes the report sizing so that it no longer is in "FitToWindow" mode? I'd like to put the navigation in the custom report toolbar I made but if SendKeys won't work then that's a no go. How do you make a custom button for a toolbar anyway? Thanks and regards, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Friday, September 30, 2005 5:44 AM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > It is a tiny pop-up form (similar to a tool bar) that sits in a corner of the screen. It gets opened via report's open event and closed via report's close event. > > You might like to adapt the commands suitably to appropriate buttons on your tool bar. In that case, the commands specific to the form (i.e. hiding / un-hiding etc) can be ignored. > > After ensuring that report window is the active one and the report is in FitToWindow mode, SendKeys arguments as summarized below, would do the needful. > (a) Go to Next Page - "{DOWN}" > (b) Go to Prev Page - "{UP}" > (c) Go to Last Page - "^{DOWN}" > (d) Go to First Page - "^{UP}" > > It is observed that SendKeys commands do not get ported smoothly to tool bar functions. If you find yourself stuck on this account, and wish to avoid form based solution, you could consider experimenting with fTurnPage feature available at Leban's site. For this, you would have to download the file named ControlReports.zip. > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as mentioned by Ervin, represents the pop-up form approach. > > If at any stage, you happen to need a simplified sample based upon the code sent by me earlier, I can try to put it together. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Thursday, September 29, 2005 20:05 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > A.D.: > > Thanks for the idea. Does this mean that the report preview appears in a > pop-up or that there's a pop-up form with the navigation buttons? > > I already have a custom toolbar with a minimum of controls on it - print, > close, & fit. I see that you can add controls for record navigation. > They look like the icons I want but of course they don't turn the pages of > a report. I'd like to put the page navigation in the toolbar. > Is there a way to change the action of those icons you can put on a > custom toolbar? Or is there a way to create a custom button for a toolbar > that would turn the pages of a report? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, September 27, 2005 11:00 AM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > Rocky, > > > > Sample code in the module of a pop-up form, as given below, enables > > page navigation of report named R_Test. Command button named CmdNext > steps > > forward through the pages while that named CmdPrev does the reverse. > > > > You might like to adapt it suitably for your specific situation. > > > > Note - For the SendKeys command (Up or Dn arrow) to be effective, it > is > > necessary that report is in FitToWindow mode and report's window is the > > active one. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > Code module for Pop Up Form > > ================================ > > ' Declarations Section > > Private RepHdw As Long, FrmHdw As Long > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > (ByVal hwnd As Long) As Long > > -------------------------------------------------------- > > Private Sub CmdNext_Click() > > DoCmd.Echo False > > Me.Visible = False > > BringWindowToTop RepHdw > > DoCmd.RunCommand acCmdFitToWindow > > SendKeys "{DOWN}", True > > DoCmd.RunCommand acCmdZoom100 > > Me.Visible = True > > BringWindowToTop FrmHdw > > DoCmd.Echo True > > End Sub > > > > Private Sub CmdPrev_Click() > > DoCmd.Echo False > > Me.Visible = False > > BringWindowToTop RepHdw > > DoCmd.RunCommand acCmdFitToWindow > > SendKeys "{UP}", True > > DoCmd.RunCommand acCmdZoom100 > > Me.Visible = True > > BringWindowToTop FrmHdw > > DoCmd.Echo True > > End Sub > > > > Private Sub Form_Activate() > > DoCmd.Restore > > End Sub > > > > Private Sub Form_Load() > > RepHdw = Reports("R_Test").hwnd > > FrmHdw = Me.hwnd > > End Sub > > ================================ > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: AccessD at databaseadvisors.com > > Sent: Monday, September 26, 2005 23:41 > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > Dear List: > > > > I have a custom toolbar for reports that get displayed in report > preview > > if the db is an mde. It has only printer icon, close button, and zoom > > control. The paging navigation is of course, at the lower left of the > > screen in preview mode, but I'm wondering if these nav buttons can be > > added to the custom toolbar where an inexperienced user might be more > > likely to see them. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > 858-259-4334 From accessd at shaw.ca Mon Oct 3 00:44:11 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 02 Oct 2005 22:44:11 -0700 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <43414AED.25851.65F25DA@stuart.lexacorp.com.pg> Message-ID: <000001c5c7dd$7b16f890$017ba8c0@xpserver> Thanks Bryan, Stuart and John for the information. I was initially sort of wondering what that 'value ="dDwtNjIxMjI0NzQ...' was now I am very curious. If it doesn't have a reason and is more of a problem that it is worth why is it there? Is MS really spying on us storing encrypted data in our browsers that work like cookies? Does the data block just hold state variables or can it hold code? Do I sound paranoid?... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, October 02, 2005 10:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Question that will be simple for those that know On 3 Oct 2005 at 0:21, John W. Colby wrote: > LOL, Stuart, are you SERIOUSLY saying I should worry about tens of kilobytes > of useless junk moving around the web Nope, just pointing at a website that explains what _viewstate does :-) The bit about "tell JC" was in response to Bryan's comment: "The only time that I have ever seen this is when a PostNuke site that I run was hacked. it too me about 3 days to "decode" it (don't ask me how I did it, I don't remember) and it was a redirect to or from a Warez site." -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Oct 3 00:48:27 2005 From: dmcafee at pacbell.net (David McAfee) Date: Sun, 2 Oct 2005 22:48:27 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> Message-ID: I just bought one for my 15 yr old daughter for $499 at Frys. http://www.outpost.com/entry?site=op:mfe091605&sku=4530607 About $35 to bring it up another 256MB or $42 for an additional 512MB. Surprisingly, its running great with the 256mb of RAM. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Mon Oct 3 01:21:37 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 3 Oct 2005 16:21:37 +1000 Subject: [AccessD] My new web site References: <000b01c5c7d0$7395a880$6c7aa8c0@ColbyM6805> Message-ID: <014801c5c7e2$b6212910$fa10a8c0@Albatross> <<< ... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry Why can't I see what supposedly everyone else can see? >>>> John, This is what happened: Using IE6 I have cookies privacy alert turned on and only when absolutely necessary do I allow cookies First time I visited your new website I responded no! 'do not allow cookies' - not knowing what to expect - ;) ;) I can register without cookies turned on. I can log on without cookies turned on. But I can't view additional content without cookies turned on. When I turn on cookies the extra menu items appears. Perhaps you need to let users know when registering that "no cookie - no extra content", or change the setup. Regards borge From shamil at users.mns.ru Mon Oct 3 01:38:39 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 3 Oct 2005 10:38:39 +0400 Subject: [AccessD] OT Question that will be simple for those that know References: <000001c5c7dd$7b16f890$017ba8c0@xpserver> Message-ID: <000f01c5c7e5$1daef290$6401a8c0@fincomplex.spb.ru> > Do I sound paranoid?... Yes :) You can switch this feature off. <<< ViewState is generally used for persisting form data on a page across round trips. Do not use ViewState to store information such as passwords, connection strings, and file paths. >>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconmantainingstateincontrol.asp Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 9:44 AM Subject: Re: [AccessD] OT Question that will be simple for those that know > Thanks Bryan, Stuart and John for the information. I was initially sort of > wondering what that 'value ="dDwtNjIxMjI0NzQ...' was now I am very curious. > If it doesn't have a reason and is more of a problem that it is worth why is > it there? Is MS really spying on us storing encrypted data in our browsers > that work like cookies? Does the data block just hold state variables or can > it hold code? > > Do I sound paranoid?... > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Sunday, October 02, 2005 10:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Question that will be simple for those that know > > On 3 Oct 2005 at 0:21, John W. Colby wrote: > > > LOL, Stuart, are you SERIOUSLY saying I should worry about tens of > kilobytes > > of useless junk moving around the web > > Nope, just pointing at a website that explains what _viewstate does :-) > > The bit about "tell JC" was in response to Bryan's comment: > "The only time that I have ever seen this is when a PostNuke site that > I run was hacked. it too me about 3 days to "decode" it (don't ask me > how I did it, I don't remember) and it was a redirect to or from a > Warez site." > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Oct 3 05:53:50 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 03 Oct 2005 06:53:50 -0400 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <43414AED.25851.65F25DA@stuart.lexacorp.com.pg> Message-ID: <000401c5c808$c071bc60$6c7aa8c0@ColbyM6805> Ahh.. Ok. The quoted text sounded as if you were advocating a point of view. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 03, 2005 1:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Question that will be simple for those that know On 3 Oct 2005 at 0:21, John W. Colby wrote: > LOL, Stuart, are you SERIOUSLY saying I should worry about tens of > kilobytes of useless junk moving around the web Nope, just pointing at a website that explains what _viewstate does :-) The bit about "tell JC" was in response to Bryan's comment: "The only time that I have ever seen this is when a PostNuke site that I run was hacked. it too me about 3 days to "decode" it (don't ask me how I did it, I don't remember) and it was a redirect to or from a Warez site." -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 3 06:01:51 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 03 Oct 2005 07:01:51 -0400 Subject: [AccessD] My new web site In-Reply-To: <014801c5c7e2$b6212910$fa10a8c0@Albatross> Message-ID: <000501c5c809$dba19db0$6c7aa8c0@ColbyM6805> >But I can't view additional content without cookies turned on. That is fascinating. No idea why of course. The upside of using a framework such as DotNetNuke for building a website is that you can build massive functionality rapidly without knowing the "how is that done". The downside of using a framework such as DotNetNuke for building a website is that you don't know "how is that done". I'm happy you figured that out though and I will keep that in mind. I will also go out and ask around on the "why". John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 03, 2005 2:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site <<< ... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry Why can't I see what supposedly everyone else can see? >>>> John, This is what happened: Using IE6 I have cookies privacy alert turned on and only when absolutely necessary do I allow cookies First time I visited your new website I responded no! 'do not allow cookies' - not knowing what to expect - ;) ;) I can register without cookies turned on. I can log on without cookies turned on. But I can't view additional content without cookies turned on. When I turn on cookies the extra menu items appears. Perhaps you need to let users know when registering that "no cookie - no extra content", or change the setup. Regards borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Oct 3 06:36:28 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 3 Oct 2005 04:36:28 -0700 (PDT) Subject: [AccessD] Code for Groupwise Objects Message-ID: <20051003113628.7080.qmail@web33101.mail.mud.yahoo.com> Does anyone have code to send emials via VBA for groupwise? The SendObject is not enough for what I need. I found some snippets, but none of them seem to have a .CC or .BCC parameter. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. From Gustav at cactus.dk Mon Oct 3 07:10:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 03 Oct 2005 14:10:02 +0200 Subject: [AccessD] Code for Groupwise Objects Message-ID: Hi Lonnie Did you check out Novell's site: http://developer.novell.com/wiki/index.php/Develop_to_GroupWise Tons of docs and code here. /gustav >>> prodevmg at yahoo.com 03-10-2005 13:36 >>> Does anyone have code to send emials via VBA for groupwise? The SendObject is not enough for what I need. I found some snippets, but none of them seem to have a .CC or .BCC parameter. From hollisvj at pgdp.usec.com Mon Oct 3 07:32:34 2005 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Mon, 03 Oct 2005 07:32:34 -0500 Subject: [AccessD] Combo to Combo Message-ID: <66ABA669023AE74B97746FD8E684392001516DDD@c2k3exchange.pgdp.corp.usec.com> Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia *************** This comment is perhaps better directed at the thread on relational databases, but since here is a splendid example I will post my comment here. One of Codd's rules, I forget its number, is that you should not have two multi-valued columns in a single row. The front end is one thing, but the back end is another. Let me change examples to illustrate the point. Suppose you have three tables: Cities, Regions (provinces/states/cantons etc.) and Countries. I often see tables containing all three of these columns, and to my way of thinking that violates the rule just stated. All you really need in the table is the CityID, because London, Ontario is situated in Canada, while London, England is situated in England (I'm afraid I don't know its region). You could get away with this design by asking for the country first, then listing its regions, and finally the city in the selected region. But you at least risk the possibility that someone could enter nonsense, such as New York, Arizona, Norway. In part the reason why I prefer the "one multivalued column" approach is that then I can offload the responsibility to the db engine itself, rather than coding its logic in one or more front-ends that talk to the database. So by all means, go with the approach Steve suggests, but that occurs in the front-end. I see no reason to carry the redundancies into the back end. My $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Steve Conklin Sent: September 30, 2005 2:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo to Combo Virginia: You need a many-to-many table to relate the Systems to the Failure Types ... tblSystem: PK=systemID 1 (Alarm) 2 (Dryer) tblFailType: PK=FailTypeID 1 (Age) 2 (Wear) tblSystemFailType: FK1=SystemID FK2=FailTypeID Alarm Wear Alarm Shorted Dryer Wear Dryer Age Then on the form, after user selects system from combo1, requery combo 2 to show the applicable failure types Combo 2 source = "SELECT FailTypeID, FailType FROM tblFailType WHERE FailTypeID IN " & _ " (SELECT FailTypeID FROM tblSystemFailType WHERE SystemID=" & me.combo1 & ")" Hth Steve From developer at ultradnt.com Mon Oct 3 08:03:59 2005 From: developer at ultradnt.com (Steve Conklin) Date: Mon, 3 Oct 2005 09:03:59 -0400 Subject: [AccessD] Combo to Combo In-Reply-To: <66ABA669023AE74B97746FD8E684392001516DDD@c2k3exchange.pgdp.corp.usec.com> Message-ID: <200510031304.j93D41f87668@ultradnt.com> Probably the line continuation character (" _ ") ... Its only for code, not a control property. Sorry, that's on me; as I got to the right edge of the email, I put it in out of habit. Make the whole sql string string into one line. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 8:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia *************** This comment is perhaps better directed at the thread on relational databases, but since here is a splendid example I will post my comment here. One of Codd's rules, I forget its number, is that you should not have two multi-valued columns in a single row. The front end is one thing, but the back end is another. Let me change examples to illustrate the point. Suppose you have three tables: Cities, Regions (provinces/states/cantons etc.) and Countries. I often see tables containing all three of these columns, and to my way of thinking that violates the rule just stated. All you really need in the table is the CityID, because London, Ontario is situated in Canada, while London, England is situated in England (I'm afraid I don't know its region). You could get away with this design by asking for the country first, then listing its regions, and finally the city in the selected region. But you at least risk the possibility that someone could enter nonsense, such as New York, Arizona, Norway. In part the reason why I prefer the "one multivalued column" approach is that then I can offload the responsibility to the db engine itself, rather than coding its logic in one or more front-ends that talk to the database. So by all means, go with the approach Steve suggests, but that occurs in the front-end. I see no reason to carry the redundancies into the back end. My $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Steve Conklin Sent: September 30, 2005 2:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo to Combo Virginia: You need a many-to-many table to relate the Systems to the Failure Types ... tblSystem: PK=systemID 1 (Alarm) 2 (Dryer) tblFailType: PK=FailTypeID 1 (Age) 2 (Wear) tblSystemFailType: FK1=SystemID FK2=FailTypeID Alarm Wear Alarm Shorted Dryer Wear Dryer Age Then on the form, after user selects system from combo1, requery combo 2 to show the applicable failure types Combo 2 source = "SELECT FailTypeID, FailType FROM tblFailType WHERE FailTypeID IN " & _ " (SELECT FailTypeID FROM tblSystemFailType WHERE SystemID=" & me.combo1 & ")" Hth Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hollisvj at pgdp.usec.com Mon Oct 3 08:22:00 2005 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Mon, 03 Oct 2005 08:22:00 -0500 Subject: [AccessD] Combo to Combo Message-ID: <66ABA669023AE74B97746FD8E684392001516EDA@c2k3exchange.pgdp.corp.usec.com> Still getting the same error, Invalid SQL statement. It highlights the first part of the statement. "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; ________________________________ Probably the line continuation character (" _ ") ... Its only for code, not a control property. Sorry, that's on me; as I got to the right edge of the email, I put it in out of habit. Make the whole sql string string into one line. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 8:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia From jim.moss at jlmoss.net Mon Oct 3 08:32:51 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 3 Oct 2005 08:32:51 -0500 (CDT) Subject: [AccessD] OT: Need new laptop In-Reply-To: <001501c5c7ba$4ab68fd0$0a01a8c0@desktop> References: <2874.65.196.182.34.1128200431.squirrel@65.196.182.34> <001501c5c7ba$4ab68fd0$0a01a8c0@desktop> Message-ID: <15263.65.196.182.34.1128346371.squirrel@65.196.182.34> Asus and MSI, and others build bare bones systems, which include mainboard, usually a CD-RW/DVD, and a choice of display from 12 - 15.75". You add memory, CPU and hard drive. I've had good luck with MSI products and will probably lean that way. I had no idea that anyone was building barebones notebooks til I saw a magazine article a week or so ago. I will try to remember and reply with that info when I get home. I want to replace my desktop system with a notebook but want something as powerful as my desktop. You probably aren't going to save any money but will end up with more bang for your buck. The battery life will probably suck, but that is a non issue for me, portability is the only thing that matters. Just google for barebones notebooks and you will find a good assortment of choices. Jim > Where and how do you build your own laptop? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss > Sent: Saturday, October 01, 2005 2:01 PM > To: access at joe2.endjunk.com; Access Developers discussion and problem > solving > Subject: Re: [AccessD] OT: Need new laptop > > Joe, > > I've been looking around for a notebook to replace a desktop system, and > I've come to the conclusion that I'm going to have to build one. Several > manufacturers are now selling barebones notebooks including Asus and MSI > starting in the mid $550's. My CPU of choice would be the AMD 64, more > bang for the buck. > > Jim > > >> My Dell is dying. It is time to replace it. >> >> Does any one have thoughts on the following: >> >> Pentium vs. Celeron vs. AMD >> >> >> Mostly runs office. Some flight sim. Some Ipod support. >> >> Will defiantly have 512 megs of Ram looking to try for a gig depending >> on >> $ >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jim.moss at jlmoss.net Mon Oct 3 08:38:36 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 3 Oct 2005 08:38:36 -0500 (CDT) Subject: [AccessD] Code for Groupwise Objects In-Reply-To: References: Message-ID: <15851.65.196.182.34.1128346716.squirrel@65.196.182.34> Lonnie, There is also groupwise email code on Dev Ashish's site. Jim > Hi Lonnie > > Did you check out Novell's site: > > http://developer.novell.com/wiki/index.php/Develop_to_GroupWise > > Tons of docs and code here. > > /gustav > >>>> prodevmg at yahoo.com 03-10-2005 13:36 >>> > Does anyone have code to send emials via VBA for groupwise? The SendObject > is not enough for what I need. I found some snippets, but none of them > seem to have a .CC or .BCC parameter. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From EdTesiny at oasas.state.ny.us Mon Oct 3 08:48:52 2005 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Mon, 3 Oct 2005 09:48:52 -0400 Subject: [AccessD] Option Group Message-ID: Hi All, I don't get this??? I'm creating a data entry form that for the most part contains option groups with radio buttons with Yes/No choices. I don't want a default button selected. No problem, except for the first option group where "Yes" is selected. Deleted it and copied an option group where there was no default selected (that is it was working correctly), still "Yes" is selected. Looking at the properties, there is no default value. Any suggestions? TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From ssharkins at bellsouth.net Mon Oct 3 08:56:59 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 3 Oct 2005 09:56:59 -0400 Subject: [AccessD] Combo to Combo In-Reply-To: <66ABA669023AE74B97746FD8E684392001516EDA@c2k3exchange.pgdp.corp.usec.com> Message-ID: <20051003135706.CANY24738.ibm65aec.bellsouth.net@SUSANONE> I haven't been following the thread, but Virginia, I don't think you need those inner quotations around the subquery. Susan H. Still getting the same error, Invalid SQL statement. It highlights the first part of the statement. "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; ________________________________ Probably the line continuation character (" _ ") ... Its only for code, not a control property. Sorry, that's on me; as I got to the right edge of the email, I put it in out of habit. Make the whole sql string string into one line. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 8:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 9/30/2005 From developer at ultradnt.com Mon Oct 3 09:00:07 2005 From: developer at ultradnt.com (Steve Conklin) Date: Mon, 3 Oct 2005 10:00:07 -0400 Subject: [AccessD] Combo to Combo In-Reply-To: <66ABA669023AE74B97746FD8E684392001516EDA@c2k3exchange.pgdp.corp.usec.com> Message-ID: <200510031400.j93E09f95698@ultradnt.com> It looks ok to me, but if theres a stray hard return in the propertry it could break. Paste the string into query design, you'll get better error message if its wrong SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism & ")"; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 9:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Still getting the same error, Invalid SQL statement. It highlights the first part of the statement. "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; ________________________________ Probably the line continuation character (" _ ") ... Its only for code, not a control property. Sorry, that's on me; as I got to the right edge of the email, I put it in out of habit. Make the whole sql string string into one line. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 8:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Oct 3 09:03:45 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 3 Oct 2005 10:03:45 -0400 Subject: [AccessD] Option Group Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3E8F@TTNEXCHCL2.hshhp.com> Is it bound to a data field? Check to see if that field has a value. HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed Sent: Monday, October 03, 2005 9:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Option Group Hi All, I don't get this??? I'm creating a data entry form that for the most part contains option groups with radio buttons with Yes/No choices. I don't want a default button selected. No problem, except for the first option group where "Yes" is selected. Deleted it and copied an option group where there was no default selected (that is it was working correctly), still "Yes" is selected. Looking at the properties, there is no default value. Any suggestions? TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From EdTesiny at oasas.state.ny.us Mon Oct 3 09:09:22 2005 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Mon, 3 Oct 2005 10:09:22 -0400 Subject: [AccessD] Option Group Message-ID: Jim, Thanks, overlooked the obvious, feeling stupid.... Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Monday, October 03, 2005 10:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Option Group > > Is it bound to a data field? Check to see if that field has a value. > > HTH, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed > Sent: Monday, October 03, 2005 9:49 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Option Group > > > Hi All, > I don't get this??? I'm creating a data entry form that for the most > part contains option groups with radio buttons with Yes/No choices. I > don't want a default button selected. No problem, except for > the first > option group where "Yes" is selected. Deleted it and copied an option > group where there was no default selected (that is it was working > correctly), still "Yes" is selected. Looking at the properties, there > is no default value. Any suggestions? > TIA > Ed > > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement > New York State OASAS > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************** > ********************* > "This electronic message is intended to be for the use only > of the named recipient, and may contain information from > Hudson Health Plan (HHP) that is confidential or privileged. > If you are not the intended recipient, you are hereby > notified that any disclosure, copying, distribution or use of > the contents of this message is strictly prohibited. If you > have received this message in error or are not the named > recipient, please notify us immediately, either by contacting > the sender at the electronic mail address noted above or > calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and > delete and destroy all copies of this message. Thank You". > ************************************************************** > ********************* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From GregSmith at starband.net Mon Oct 3 09:25:35 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 3 Oct 2005 09:25:35 -0500 (CDT) Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3E8F@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C74016C3E8F@TTNEXCHCL2.hshhp.com> Message-ID: <13293.65.118.249.214.1128349535.squirrel@cetus.email.starband.net> Hi everyone! Hope you all are having a GREAT day! I've got a real puzzle here. I'm using the Dir() command (Access 2003 module) to find if a filename exists in a specific directory, or not. The exact syntax is shown below. The code is checking for a specific file in two different directories (one exists at work, and one at the customer's), and if it can't find that file in either location, the application warns the user that it's not available right now and closes automatically. The code is: strFileName = Dir("c:\MyData\chkfile.ozx") strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" ... This code works perfectly at work and at the customer's. So, you may ask, what's the big deal? Well, I also work on this at home, and I just (within the last 3 weeks) reformatted my home computer (winXP), reinstalled everything (supposedly...), and service packed everything up to date. When I run this application at home, it fails on the Dir() command where the directory doesn't exist. Since I'm at home, for example, I don't have a "G" drive and it fails on that one with the message "Bad Filename or Number", and the error number is 52. The application is identical in both places...that is, I take a copy home and put it on my computer, relink all the tables to the BE and everything else is the same. Either I've not installed something correctly at home, or I've not installed something I need to have. Or both. The references are all the same and none are missing at either location. Anyone else see this before? TIA!! Greg Smith From bchacc at san.rr.com Mon Oct 3 09:48:44 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 3 Oct 2005 07:48:44 -0700 Subject: [AccessD] DIR Command Failing-but not everywhere... References: <08F823FD83787D4BA0B99CA580AD3C74016C3E8F@TTNEXCHCL2.hshhp.com> <13293.65.118.249.214.1128349535.squirrel@cetus.email.starband.net> Message-ID: <008601c5c829$8ddaaca0$6501a8c0@HAL9004> Greg: If you have no G: drive at home, wouldn't you expect the Dir command to fail on second one where it's looking for a G drive? Rocky ----- Original Message ----- From: "Greg Smith" To: Sent: Monday, October 03, 2005 7:25 AM Subject: [AccessD] DIR Command Failing-but not everywhere... > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. The > exact syntax is shown below. The code is checking for a specific file in > two different directories (one exists at work, and one at the customer's), > and if it can't find that file in either location, the application warns > the user that it's not available right now and closes automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" ... > > This code works perfectly at work and at the customer's. So, you may ask, > what's the big deal? Well, I also work on this at home, and I just > (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything up > to date. > > When I run this application at home, it fails on the Dir() command where > the directory doesn't exist. Since I'm at home, for example, I don't have > a "G" drive and it fails on that one with the message "Bad Filename or > Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy home > and put it on my computer, relink all the tables to the BE and everything > else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all the > same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at AIG.com Mon Oct 3 10:00:32 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 11:00:32 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB944A@xlivmbx21.aig.com> First of all, here's a better way to check if a file exists... Function FileExists(strFile As String) As Boolean ' Comments : Determines if the file exists ' Works for hidden files and folders ' Parameters: strFile - file to check ' Returns : True if the file exists, otherwise false Dim intAttr As Integer Dim errnum As Long On Error Resume Next 'GET THE FILE ATTRIBUTE INSTEAD OF THE LENGTH OF THE FILE NAME intAttr = GetAttr(strFile) errnum = Err.Number FileExists = (Err.Number = 0) End Function It's better in that it works for hidden filed and folder too. As for why Dir() on a non-existent folder/drive gives you the Error 52, I'm just as clueless as you are. On my (Access 2002) system Dir("G:\BHCRecorder\Scripts\chkfile.ozx") just returns an empty string (no G drive here either) - as it should do. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Monday, October 03, 2005 10:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] DIR Command Failing-but not everywhere... Hi everyone! Hope you all are having a GREAT day! I've got a real puzzle here. I'm using the Dir() command (Access 2003 module) to find if a filename exists in a specific directory, or not. The exact syntax is shown below. The code is checking for a specific file in two different directories (one exists at work, and one at the customer's), and if it can't find that file in either location, the application warns the user that it's not available right now and closes automatically. The code is: strFileName = Dir("c:\MyData\chkfile.ozx") strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" ... This code works perfectly at work and at the customer's. So, you may ask, what's the big deal? Well, I also work on this at home, and I just (within the last 3 weeks) reformatted my home computer (winXP), reinstalled everything (supposedly...), and service packed everything up to date. When I run this application at home, it fails on the Dir() command where the directory doesn't exist. Since I'm at home, for example, I don't have a "G" drive and it fails on that one with the message "Bad Filename or Number", and the error number is 52. The application is identical in both places...that is, I take a copy home and put it on my computer, relink all the tables to the BE and everything else is the same. Either I've not installed something correctly at home, or I've not installed something I need to have. Or both. The references are all the same and none are missing at either location. Anyone else see this before? TIA!! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Oct 3 10:05:31 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 11:05:31 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB945B@xlivmbx21.aig.com> Dir() does not normally choke if you pass an invalid filespec to it. Instead it just returns an empty string. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 03, 2005 10:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Greg: If you have no G: drive at home, wouldn't you expect the Dir command to fail on second one where it's looking for a G drive? Rocky From developer at ultradnt.com Mon Oct 3 10:07:43 2005 From: developer at ultradnt.com (Steve Conklin) Date: Mon, 3 Oct 2005 11:07:43 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <008601c5c829$8ddaaca0$6501a8c0@HAL9004> Message-ID: <200510031507.j93F7if06216@ultradnt.com> That error happens when an existing drive (like a CD Rom ) is emtpy; not-ever-existed drive just returns empty string to DIR. Are you sure you didn't get new letters assigned from the re-format? Or plugged in a multi-card reader (SD, CF,etc) that changed/added letters? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 03, 2005 10:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Greg: If you have no G: drive at home, wouldn't you expect the Dir command to fail on second one where it's looking for a G drive? Rocky ----- Original Message ----- From: "Greg Smith" To: Sent: Monday, October 03, 2005 7:25 AM Subject: [AccessD] DIR Command Failing-but not everywhere... > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. The > exact syntax is shown below. The code is checking for a specific file in > two different directories (one exists at work, and one at the customer's), > and if it can't find that file in either location, the application warns > the user that it's not available right now and closes automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" ... > > This code works perfectly at work and at the customer's. So, you may ask, > what's the big deal? Well, I also work on this at home, and I just > (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything up > to date. > > When I run this application at home, it fails on the Dir() command where > the directory doesn't exist. Since I'm at home, for example, I don't have > a "G" drive and it fails on that one with the message "Bad Filename or > Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy home > and put it on my computer, relink all the tables to the BE and everything > else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all the > same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 3 10:13:54 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 3 Oct 2005 08:13:54 -0700 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <007b01c5c38d$9a6ff240$c71865cb@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004> <00dd01c5c6cf$028afc00$6501a8c0@HAL9004> <01aa01c5c7d9$790ddef0$9d1865cb@winxp> Message-ID: <00c001c5c82d$11ca95e0$6501a8c0@HAL9004> A.D.: I have the magnifier control in my custom report toolbar. So the user can make it bigger for readability. What happens if subsequently the user magnifies the page so that it's no longer in FitToWindow mode? Re: adding controls to the toolbar - I used customize to get the current controls in the toolbar but I don't see any page navigation controls on the customize form. Am I missing something there? Thanks and regards, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Sunday, October 02, 2005 10:13 PM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > That is not a problem. The code sent in my first post in this thread > enforces FitToWindow mode for the report, before carrying out SendKeys > command. > > For adding buttons on the print preview toolbar, you have to right > click on it and choose customize. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Sunday, October 02, 2005 02:58 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > What happens if I use the pop-up form approach and the user changes the > report sizing so that it no longer is in "FitToWindow" mode? > > I'd like to put the navigation in the custom report toolbar I made but if > SendKeys won't work then that's a no go. How do you make a custom button > for a toolbar anyway? > > Thanks and regards, > Rocky > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 30, 2005 5:44 AM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > Rocky, > > > > It is a tiny pop-up form (similar to a tool bar) that sits in a > corner of the screen. It gets opened via report's open event and closed > via report's close event. > > > > You might like to adapt the commands suitably to appropriate buttons > on your tool bar. In that case, the commands specific to the form (i.e. > hiding / un-hiding etc) can be ignored. > > > > After ensuring that report window is the active one and the report > is in FitToWindow mode, SendKeys arguments as summarized below, would do > the needful. > > (a) Go to Next Page - "{DOWN}" > > (b) Go to Prev Page - "{UP}" > > (c) Go to Last Page - "^{DOWN}" > > (d) Go to First Page - "^{UP}" > > > > It is observed that SendKeys commands do not get ported smoothly to > tool bar functions. If you find yourself stuck on this account, and wish > to avoid form based solution, you could consider experimenting with > fTurnPage feature available at Leban's site. For this, you would have to > download the file named ControlReports.zip. > > > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as > mentioned by Ervin, represents the pop-up form approach. > > > > If at any stage, you happen to need a simplified sample based upon > the code sent by me earlier, I can try to put it together. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: Access Developers discussion and problem solving > > Sent: Thursday, September 29, 2005 20:05 > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > A.D.: > > > > Thanks for the idea. Does this mean that the report preview appears > in a > > pop-up or that there's a pop-up form with the navigation buttons? > > > > I already have a custom toolbar with a minimum of controls on it - > print, > > close, & fit. I see that you can add controls for record navigation. > > They look like the icons I want but of course they don't turn the pages > of > > a report. I'd like to put the page navigation in the toolbar. > > Is there a way to change the action of those icons you can put on a > > custom toolbar? Or is there a way to create a custom button for a > toolbar > > that would turn the pages of a report? > > > > Thanks and regards, > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > 858-259-4334 > > > > ----- Original Message ----- > > From: "A.D.Tejpal" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 27, 2005 11:00 AM > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > > Rocky, > > > > > > Sample code in the module of a pop-up form, as given below, > enables > > > page navigation of report named R_Test. Command button named CmdNext > > steps > > > forward through the pages while that named CmdPrev does the reverse. > > > > > > You might like to adapt it suitably for your specific situation. > > > > > > Note - For the SendKeys command (Up or Dn arrow) to be effective, > it > > is > > > necessary that report is in FitToWindow mode and report's window is > the > > > active one. > > > > > > Best wishes, > > > A.D.Tejpal > > > -------------- > > > > > > Code module for Pop Up Form > > > ================================ > > > ' Declarations Section > > > Private RepHdw As Long, FrmHdw As Long > > > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > > (ByVal hwnd As Long) As Long > > > -------------------------------------------------------- > > > Private Sub CmdNext_Click() > > > DoCmd.Echo False > > > Me.Visible = False > > > BringWindowToTop RepHdw > > > DoCmd.RunCommand acCmdFitToWindow > > > SendKeys "{DOWN}", True > > > DoCmd.RunCommand acCmdZoom100 > > > Me.Visible = True > > > BringWindowToTop FrmHdw > > > DoCmd.Echo True > > > End Sub > > > > > > Private Sub CmdPrev_Click() > > > DoCmd.Echo False > > > Me.Visible = False > > > BringWindowToTop RepHdw > > > DoCmd.RunCommand acCmdFitToWindow > > > SendKeys "{UP}", True > > > DoCmd.RunCommand acCmdZoom100 > > > Me.Visible = True > > > BringWindowToTop FrmHdw > > > DoCmd.Echo True > > > End Sub > > > > > > Private Sub Form_Activate() > > > DoCmd.Restore > > > End Sub > > > > > > Private Sub Form_Load() > > > RepHdw = Reports("R_Test").hwnd > > > FrmHdw = Me.hwnd > > > End Sub > > > ================================ > > > > > > ----- Original Message ----- > > > From: Rocky Smolin - Beach Access Software > > > To: AccessD at databaseadvisors.com > > > Sent: Monday, September 26, 2005 23:41 > > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > > > > Dear List: > > > > > > I have a custom toolbar for reports that get displayed in report > > preview > > > if the db is an mde. It has only printer icon, close button, and > zoom > > > control. The paging navigation is of course, at the lower left of > the > > > screen in preview mode, but I'm wondering if these nav buttons can > be > > > added to the custom toolbar where an inexperienced user might be > more > > > likely to see them. > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From GregSmith at starband.net Mon Oct 3 10:16:36 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 3 Oct 2005 10:16:36 -0500 (CDT) Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F16CB944A@xlivmbx21.aig.com> References: <1D7828CDB8350747AFE9D69E0E90DA1F16CB944A@xlivmbx21.aig.com> Message-ID: <19015.65.118.249.214.1128352596.squirrel@cetus.email.starband.net> I'm going to apologize for the ">" things now...I hate those...but my ISP's webmail only provides these... Rocky: If the Dir() command doesn't find a file, then it's "supposed" to return and empty string, "". And what's even more ODD is that I got this code from Microsoft's support in an article about Remote Shutdown of Access databases...so it's THEIR idea really... ;) Lambert: Thanks. I'll try that Function tonight when I get home to see if it fixes the issue. I'm still puzzled and worried about the fact it (my current setup) won't work at a different installation...which may crop up again when they update computers at the client's location now or if I install it at new locations later. I still wonder if it's something I've not added to the home computer (odbc functionality or something like that...) that should be there or was removed when I had to uninstall something (I had MS Office Accounting 2006 and MSDE installed but removed them both earlier). Greg > First of all, here's a better way to check if a file exists... > > Function FileExists(strFile As String) As Boolean > ' Comments : Determines if the file exists > ' Works for hidden files and folders > ' Parameters: strFile - file to check > ' Returns : True if the file exists, otherwise false > Dim intAttr As Integer > Dim errnum As Long > On Error Resume Next > 'GET THE FILE ATTRIBUTE INSTEAD OF THE LENGTH OF THE FILE NAME > intAttr = GetAttr(strFile) > errnum = Err.Number > FileExists = (Err.Number = 0) > End Function > > It's better in that it works for hidden filed and folder too. > > As for why Dir() on a non-existent folder/drive gives you the Error 52, > I'm just as clueless as you are. On my (Access 2002) system > Dir("G:\BHCRecorder\Scripts\chkfile.ozx") just returns an empty string > (no G drive here either) - as it should do. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Monday, October 03, 2005 10:26 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] DIR Command Failing-but not everywhere... > > > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. > The exact syntax is shown below. The code is checking for a specific > file in two different directories (one exists at work, and one at the > customer's), and if it can't find that file in either location, the > application warns the user that it's not available right now and closes > automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" > ... > > This code works perfectly at work and at the customer's. So, you may > ask, what's the big deal? Well, I also work on this at home, and I just > (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything up > to date. > > When I run this application at home, it fails on the Dir() command where > the directory doesn't exist. Since I'm at home, for example, I don't > have a "G" drive and it fails on that one with the message "Bad Filename > or Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy > home and put it on my computer, relink all the tables to the BE and > everything else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all > the same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith From GregSmith at starband.net Mon Oct 3 10:21:40 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 3 Oct 2005 10:21:40 -0500 (CDT) Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <200510031507.j93F7if06216@ultradnt.com> References: <008601c5c829$8ddaaca0$6501a8c0@HAL9004> <200510031507.j93F7if06216@ultradnt.com> Message-ID: <19359.65.118.249.214.1128352900.squirrel@cetus.email.starband.net> Steve: Oh crap. Maybe. That might be my DVD burner. Well, if that's it, I'll be happy and DUMB at the same time. :) I'm not at home now so I can't check that until tonight. Thanks! Greg > That error happens when an existing drive (like a CD Rom ) is emtpy; > not-ever-existed drive just returns empty string to DIR. Are you sure > you didn't get new letters assigned from the re-format? Or plugged in a > multi-card reader (SD, CF,etc) that changed/added letters? > > Steve > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, October 03, 2005 10:49 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > Greg: > > If you have no G: drive at home, wouldn't you expect the Dir command to > fail on second one where it's looking for a G drive? > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: > Sent: Monday, October 03, 2005 7:25 AM > Subject: [AccessD] DIR Command Failing-but not everywhere... > > >> Hi everyone! Hope you all are having a GREAT day! >> >> I've got a real puzzle here. I'm using the Dir() command (Access 2003 >> module) to find if a filename exists in a specific directory, or not. >> The exact syntax is shown below. The code is checking for a specific >> file in two different directories (one exists at work, and one at the >> customer's), and if it can't find that file in either location, the >> application warns the user that it's not available right now and >> closes automatically. >> >> The code is: >> >> strFileName = Dir("c:\MyData\chkfile.ozx") >> strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") >> If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" >> ... >> >> This code works perfectly at work and at the customer's. So, you may >> ask, what's the big deal? Well, I also work on this at home, and I >> just (within the last 3 weeks) reformatted my home computer (winXP), >> reinstalled everything (supposedly...), and service packed everything >> up to date. >> >> When I run this application at home, it fails on the Dir() command >> where the directory doesn't exist. Since I'm at home, for example, I >> don't have a "G" drive and it fails on that one with the message "Bad >> Filename or Number", and the error number is 52. >> >> The application is identical in both places...that is, I take a copy >> home and put it on my computer, relink all the tables to the BE and >> everything else is the same. >> >> Either I've not installed something correctly at home, or I've not >> installed something I need to have. Or both. The references are all >> the same and none are missing at either location. >> >> Anyone else see this before? >> >> TIA!! >> >> Greg Smith >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Oct 3 10:57:38 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 3 Oct 2005 08:57:38 -0700 Subject: [AccessD] OT: Need new laptop Message-ID: My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Oct 3 11:10:39 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 11:10:39 -0500 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> Ah Hah! That's the one case (?) where Dir() does not just return an empty string. Nice catch. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Monday, October 03, 2005 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DIR Command Failing-but not everywhere... That error happens when an existing drive (like a CD Rom ) is emtpy; not-ever-existed drive just returns empty string to DIR. Are you sure you didn't get new letters assigned from the re-format? Or plugged in a multi-card reader (SD, CF,etc) that changed/added letters? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 03, 2005 10:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Greg: If you have no G: drive at home, wouldn't you expect the Dir command to fail on second one where it's looking for a G drive? Rocky ----- Original Message ----- From: "Greg Smith" To: Sent: Monday, October 03, 2005 7:25 AM Subject: [AccessD] DIR Command Failing-but not everywhere... > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. > The exact syntax is shown below. The code is checking for a specific > file in two different directories (one exists at work, and one at the > customer's), and if it can't find that file in either location, the > application warns the user that it's not available right now and > closes automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" > ... > > This code works perfectly at work and at the customer's. So, you may > ask, what's the big deal? Well, I also work on this at home, and I > just (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything > up to date. > > When I run this application at home, it fails on the Dir() command > where the directory doesn't exist. Since I'm at home, for example, I > don't have a "G" drive and it fails on that one with the message "Bad > Filename or Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy > home and put it on my computer, relink all the tables to the BE and > everything else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all > the same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Oct 3 11:14:09 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 3 Oct 2005 12:14:09 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> Message-ID: <20051003161410.FVVU12154.ibm62aec.bellsouth.net@SUSANONE> Lambert, do you have a solution? Susan H. Ah Hah! That's the one case (?) where Dir() does not just return an empty string. Nice catch. From accessd at shaw.ca Mon Oct 3 11:31:00 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 03 Oct 2005 09:31:00 -0700 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <000f01c5c7e5$1daef290$6401a8c0@fincomplex.spb.ru> Message-ID: <001301c5c837$d7159700$017ba8c0@xpserver> Thanks for that Shamil... I am slowly putting all the pieces together. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 02, 2005 11:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Question that will be simple for those that know > Do I sound paranoid?... Yes :) You can switch this feature off. <<< ViewState is generally used for persisting form data on a page across round trips. Do not use ViewState to store information such as passwords, connection strings, and file paths. >>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm l/cpconmantainingstateincontrol.asp Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 9:44 AM Subject: Re: [AccessD] OT Question that will be simple for those that know > Thanks Bryan, Stuart and John for the information. I was initially sort of > wondering what that 'value ="dDwtNjIxMjI0NzQ...' was now I am very curious. > If it doesn't have a reason and is more of a problem that it is worth why is > it there? Is MS really spying on us storing encrypted data in our browsers > that work like cookies? Does the data block just hold state variables or can > it hold code? > > Do I sound paranoid?... > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Sunday, October 02, 2005 10:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Question that will be simple for those that know > > On 3 Oct 2005 at 0:21, John W. Colby wrote: > > > LOL, Stuart, are you SERIOUSLY saying I should worry about tens of > kilobytes > > of useless junk moving around the web > > Nope, just pointing at a website that explains what _viewstate does :-) > > The bit about "tell JC" was in response to Bryan's comment: > "The only time that I have ever seen this is when a PostNuke site that > I run was hacked. it too me about 3 days to "decode" it (don't ask me > how I did it, I don't remember) and it was a redirect to or from a > Warez site." > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 AIG.com Mon Oct 3 11:44:47 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 11:44:47 -0500 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB951A@xlivmbx21.aig.com> Will I suppose you could trap error 52, which seems to only happen with Dir() when you access a drive with no disk in it. If the error happens it's a safe bet to interpret it as "Drive Empty" and issue an appropriate message to the user. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, October 03, 2005 12:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Lambert, do you have a solution? Susan H. Ah Hah! That's the one case (?) where Dir() does not just return an empty string. Nice catch. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 3 12:08:38 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 03 Oct 2005 19:08:38 +0200 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: Hi all You can use a simple API function for exactly this: Private Declare Function PathIsDirectory Lib "shlwapi.dll" Alias "PathIsDirectoryA" ( _ ByVal pszPath As String) _ As Long Public Function IsDir( _ ByVal strPath As String) _ As Boolean ' Returns True if strPath exists. Dim stzPath As String stzPath = strPath & vbNullChar IsDir = CBool(PathIsDirectory(stzPath)) End Function /gustav >>> Lambert.Heenan at AIG.com 03-10-2005 18:44 >>> Will I suppose you could trap error 52, which seems to only happen with Dir() when you access a drive with no disk in it. If the error happens it's a safe bet to interpret it as "Drive Empty" and issue an appropriate message to the user. From jmhecht at earthlink.net Mon Oct 3 12:31:43 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 3 Oct 2005 10:31:43 -0700 Subject: [AccessD] OT: Outlook help (Laptop still Sick) Message-ID: <000601c5c840$52d59b80$0a01a8c0@desktop> My friend backed all my data off the Hard Drive, formatted and reinstalled XP Pro.( All patched) I reinstalled office XP Pro ( same version as before.) service pack 3 installed. I can not open my Outlook.pst. I go file open new data file point to it but it will not open the file. (145 Megs of data) Any thoughts? TIA Joe From GregSmith at starband.net Mon Oct 3 12:31:40 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 3 Oct 2005 12:31:40 -0500 (CDT) Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> References: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> Message-ID: <33626.65.118.249.214.1128360700.squirrel@cetus.email.starband.net> Yahoo! That was it. I just changed the code to read to my "D" drive (cdrom) here at work and got the same error message. So my "G" drive at home must be one of the cd/dvd drives. Like I said, happy and dumb at the same time... :) Thanks everyone!! I'll have to test the drive to make sure it's not a cd/dvd drive. Somehow. ? :) Greg > Ah Hah! That's the one case (?) where Dir() does not just return an > empty string. Nice catch. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin > Sent: Monday, October 03, 2005 11:08 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > > That error happens when an existing drive (like a CD Rom ) is emtpy; > not-ever-existed drive just returns empty string to DIR. Are you sure > you didn't get new letters assigned from the re-format? Or plugged in a > multi-card reader (SD, CF,etc) that changed/added letters? > > Steve > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, October 03, 2005 10:49 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > Greg: > > If you have no G: drive at home, wouldn't you expect the Dir command to > fail on second one where it's looking for a G drive? > > Rocky > > ----- Original Message . . . From cyx5 at cdc.gov Mon Oct 3 12:46:49 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 3 Oct 2005 13:46:49 -0400 Subject: [AccessD] OT: Outlook help (Laptop still Sick) Message-ID: What format is the .pst file? Unicode or non-unicode? Did you try to import it, or just open it? Karen S. Nicholson Progammer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, October 03, 2005 1:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Outlook help (Laptop still Sick) My friend backed all my data off the Hard Drive, formatted and reinstalled XP Pro.( All patched) I reinstalled office XP Pro ( same version as before.) service pack 3 installed. I can not open my Outlook.pst. I go file open new data file point to it but it will not open the file. (145 Megs of data) Any thoughts? TIA Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Mon Oct 3 12:53:55 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 3 Oct 2005 10:53:55 -0700 Subject: [AccessD] OT: Outlook help (Laptop still Sick) In-Reply-To: Message-ID: <000001c5c843$6cc96870$0a01a8c0@desktop> What ever the Outlook default is. Is there a way to test? I moved the file to the proper folder and tried to open it. Not import -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 03, 2005 10:47 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Outlook help (Laptop still Sick) What format is the .pst file? Unicode or non-unicode? Did you try to import it, or just open it? Karen S. Nicholson Progammer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From Lambert.Heenan at AIG.com Mon Oct 3 12:58:37 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 12:58:37 -0500 Subject: [AccessD] OT: Outlook help (Laptop still Sick) Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB958C@xlivmbx21.aig.com> What, if any, error messages do you get? Have you tried running ScanPst on it? >From the help file... "About the Inbox repair tool If you can't open your Personal Folders file (.pst) or Offline Folder file (.ost) file, or you suspect that your .pst or .ost data file is corrupt, you can use Scanpst.exe, the Inbox repair tool, to diagnose and repair errors in the file. Scanpst.exe scans only the .pst or.ost file, making sure that the file structure is intact. It doesn't scan your mailbox on the Microsoft Exchange server. Scanpst.exe is installed when you install Microsoft Outlook and is located at: drive:\Program Files\Common Files\System\Mapi\1033\ For detailed information about running the tool, see the Help file, Scanpst.hlp, at the same location." Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, October 03, 2005 1:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Outlook help (Laptop still Sick) My friend backed all my data off the Hard Drive, formatted and reinstalled XP Pro.( All patched) I reinstalled office XP Pro ( same version as before.) service pack 3 installed. I can not open my Outlook.pst. I go file open new data file point to it but it will not open the file. (145 Megs of data) Any thoughts? TIA Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Oct 3 13:06:03 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 3 Oct 2005 11:06:03 -0700 (PDT) Subject: [AccessD] Code for Groupwise Objects In-Reply-To: <15851.65.196.182.34.1128346716.squirrel@65.196.182.34> Message-ID: <20051003180603.651.qmail@web33102.mail.mud.yahoo.com> Do you have a link to that? Jim Moss wrote:Lonnie, There is also groupwise email code on Dev Ashish's site. Jim > Hi Lonnie > > Did you check out Novell's site: > > http://developer.novell.com/wiki/index.php/Develop_to_GroupWise > > Tons of docs and code here. > > /gustav > >>>> prodevmg at yahoo.com 03-10-2005 13:36 >>> > Does anyone have code to send emials via VBA for groupwise? The SendObject > is not enough for what I need. I found some snippets, but none of them > seem to have a .CC or .BCC parameter. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. From cyx5 at cdc.gov Mon Oct 3 13:10:02 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 3 Oct 2005 14:10:02 -0400 Subject: [AccessD] OT: Outlook help (Laptop still Sick) Message-ID: You have to import it, not just open it. Go to file import. Determine the Personal Folders file (.pst) format On the Tools menu, click Options. Click Mail Setup, and then click Data Files. Click the data file you want to check, and then click Settings. Check the Format field to see if it contains the string Personal Folders file or Personal Folders file (97-2002). Personal Folders file indicates the new format that supports multilingual Unicode (Unicode: A character encoding standard developed by the Unicode Consortium. By using more than one byte to represent each character, Unicode enables almost all of the written languages in the world to be represented by using a single character set.) data and offers greater storage capacity for items and folders. A file with the Personal Folders file type is not compatible with earlier versions of Microsoft Outlook. Personal Folders file (97-2002) indicates the earlier format that is compatible with earlier versions of Outlook. Personal Folders file (97-2002) does not support Unicode and offers the same storage capacity for items and folders that was available in earlier versions of Outlook. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, October 03, 2005 1:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Outlook help (Laptop still Sick) What ever the Outlook default is. Is there a way to test? I moved the file to the proper folder and tried to open it. Not import -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 03, 2005 10:47 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Outlook help (Laptop still Sick) What format is the .pst file? Unicode or non-unicode? Did you try to import it, or just open it? Karen S. Nicholson Progammer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Mon Oct 3 13:08:00 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 3 Oct 2005 13:08:00 -0500 (CDT) Subject: [AccessD] Code for Groupwise Objects In-Reply-To: <20051003180603.651.qmail@web33102.mail.mud.yahoo.com> References: <15851.65.196.182.34.1128346716.squirrel@65.196.182.34> <20051003180603.651.qmail@web33102.mail.mud.yahoo.com> Message-ID: <33299.65.196.182.34.1128362880.squirrel@65.196.182.34> Lonnie, Here is a link to the groupwise solution: http://www.mvps.org/access/modules/mdl0059.htm Jim > Do you have a link to that? > > Jim Moss wrote:Lonnie, > > There is also groupwise email code on Dev Ashish's site. > > > Jim > > >> Hi Lonnie >> >> Did you check out Novell's site: >> >> http://developer.novell.com/wiki/index.php/Develop_to_GroupWise >> >> Tons of docs and code here. >> >> /gustav >> >>>>> prodevmg at yahoo.com 03-10-2005 13:36 >>> >> Does anyone have code to send emials via VBA for groupwise? The >> SendObject >> is not enough for what I need. I found some snippets, but none of them >> seem to have a .CC or .BCC parameter. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! for Good > Click here to donate to the Hurricane Katrina relief effort. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Mon Oct 3 13:26:19 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 3 Oct 2005 14:26:19 -0400 Subject: [AccessD] OT: Outlook help (Laptop still Sick) In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAB567@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF076@ADGSERVER> In Outlook XP, I am able to open a PST from File/Open/Outlook Data File. It adds the PST file to the existing PST file(s). Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 03, 2005 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Outlook help (Laptop still Sick) You have to import it, not just open it. Go to file import. Determine the Personal Folders file (.pst) format On the Tools menu, click Options. Click Mail Setup, and then click Data Files. Click the data file you want to check, and then click Settings. Check the Format field to see if it contains the string Personal Folders file or Personal Folders file (97-2002). Personal Folders file indicates the new format that supports multilingual Unicode (Unicode: A character encoding standard developed by the Unicode Consortium. By using more than one byte to represent each character, Unicode enables almost all of the written languages in the world to be represented by using a single character set.) data and offers greater storage capacity for items and folders. A file with the Personal Folders file type is not compatible with earlier versions of Microsoft Outlook. Personal Folders file (97-2002) indicates the earlier format that is compatible with earlier versions of Outlook. Personal Folders file (97-2002) does not support Unicode and offers the same storage capacity for items and folders that was available in earlier versions of Outlook. Karen S. Nicholson From jwcolby at colbyconsulting.com Mon Oct 3 14:00:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 03 Oct 2005 15:00:08 -0400 Subject: [AccessD] DAO field - Description Message-ID: <003401c5c84c$aff64830$6c7aa8c0@ColbyM6805> When you look at a table in design view, each field has a field name, a data type, and a description. I have iterated through the field properties of a field in a table, and the various properties I can see are: Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceField;S ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;ValidationRu le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;VisibleVa lue;ColumnWidth;ColumnOrder;ColumnHidden; I am not finding the DESCRIPTION which I REALLY need to extract for building a document. Does anyone know how I get at the DESCRIPTION property of a field in a table? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From marcus at tsstech.com Mon Oct 3 14:09:53 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 3 Oct 2005 15:09:53 -0400 Subject: [AccessD] DAO field - Description Message-ID: According to the following website, the field must have a description value before it will appear in the properties... http://www.vb-helper.com/howto_dao_database_structure_to_excel.html Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, October 03, 2005 3:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DAO field - Description When you look at a table in design view, each field has a field name, a data type, and a description. I have iterated through the field properties of a field in a table, and the various properties I can see are: Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceFie ld;S ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;Validati onRu le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;Visib leVa lue;ColumnWidth;ColumnOrder;ColumnHidden; I am not finding the DESCRIPTION which I REALLY need to extract for building a document. Does anyone know how I get at the DESCRIPTION property of a field in a table? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Oct 3 14:11:19 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 3 Oct 2005 15:11:19 -0400 Subject: [AccessD] DAO field - Description Message-ID: Hope this helps... http://support.microsoft.com/?kbid=210314 Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, October 03, 2005 3:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DAO field - Description When you look at a table in design view, each field has a field name, a data type, and a description. I have iterated through the field properties of a field in a table, and the various properties I can see are: Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceFie ld;S ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;Validati onRu le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;Visib leVa lue;ColumnWidth;ColumnOrder;ColumnHidden; I am not finding the DESCRIPTION which I REALLY need to extract for building a document. Does anyone know how I get at the DESCRIPTION property of a field in a table? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Oct 3 14:19:14 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 3 Oct 2005 15:19:14 -0400 Subject: [AccessD] DAO field - Description Message-ID: Using Access97, I tried the function listed under the DAO section, and it works. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, October 03, 2005 3:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO field - Description Hope this helps... http://support.microsoft.com/?kbid=210314 Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, October 03, 2005 3:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DAO field - Description When you look at a table in design view, each field has a field name, a data type, and a description. I have iterated through the field properties of a field in a table, and the various properties I can see are: Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceFie ld;S ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;Validati onRu le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;Visib leVa lue;ColumnWidth;ColumnOrder;ColumnHidden; I am not finding the DESCRIPTION which I REALLY need to extract for building a document. Does anyone know how I get at the DESCRIPTION property of a field in a table? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Oct 3 15:36:37 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 4 Oct 2005 00:36:37 +0400 Subject: [AccessD] DAO field - Description References: <003401c5c84c$aff64830$6c7aa8c0@ColbyM6805> Message-ID: <001a01c5c85a$2a582a00$6401a8c0@fincomplex.spb.ru> If there is Description property value then property object exists, if there is no - it doesn't: Public Property Get TableFieldDescription( _ ByRef rdbs As DAO.Database, _ ByVal vstrTblName As String, _ ByVal vstrFldName As String) As String On Error GoTo HandleErr With rdbs.TableDefs(vstrTblName).Fields(vstrFldName) TableFieldDescription = _ .Properties("Description").Value End With Exit Property HandleErr: TableFieldDescription = "" End Property Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 11:00 PM Subject: [AccessD] DAO field - Description > When you look at a table in design view, each field has a field name, a data > type, and a description. I have iterated through the field properties of a > field in a table, and the various properties I can see are: > > Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceField;S > ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;ValidationRu > le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;VisibleVa > lue;ColumnWidth;ColumnOrder;ColumnHidden; > > I am not finding the DESCRIPTION which I REALLY need to extract for building > a document. > > Does anyone know how I get at the DESCRIPTION property of a field in a > table? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 3 16:35:49 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Oct 2005 14:35:49 -0700 Subject: [AccessD] DIR Command Failing-but not everywhere... References: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> <33626.65.118.249.214.1128360700.squirrel@cetus.email.starband.net> Message-ID: <4341A435.8030302@shaw.ca> There are some side effects when Dir is used in certain cases. You shouldn't use Dir to check for file existence since the Dir function has the side effect of killing any other Dir loop already running. May cause "bad things to happen" and much head scratching to trace this. Also doing it like this will still throw up 68 and 76 errors on removeable or missing drive letters fileexist = Not (Len(Dir(sFileName)) = 0 Or Len(sFileName) = 0) These methods below will work without throwing up an error on removeable drives. Public Function FileExists(ByVal FileSpec As String) As Boolean On Error Resume Next FileExists = (GetAttr(FileSpec) And vbDirectory) = vbNormal End Function Public Function DriveExists(ByVal DriveSpec As String) As Boolean On Error Resume Next DriveExists = Len(CurDir$(DriveSpec)) > 0 End Function '?folderexists("c:\access files") ' either works no need to check for trailing slash '?folderexists("c:\access filesd\") Public Function FolderExists(ByVal FolderSpec As String) As Boolean On Error Resume Next FolderExists = (GetAttr(FolderSpec) And vbDirectory) = vbDirectory End Function Greg Smith wrote: >Yahoo! That was it. I just changed the code to read to my "D" drive >(cdrom) here at work and got the same error message. So my "G" drive at >home must be one of the cd/dvd drives. Like I said, happy and dumb at the >same time... :) > >Thanks everyone!! > >I'll have to test the drive to make sure it's not a cd/dvd drive. >Somehow. ? :) > >Greg > > > >>Ah Hah! That's the one case (?) where Dir() does not just return an >>empty string. Nice catch. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin >>Sent: Monday, October 03, 2005 11:08 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] DIR Command Failing-but not everywhere... >> >> >>That error happens when an existing drive (like a CD Rom ) is emtpy; >>not-ever-existed drive just returns empty string to DIR. Are you sure >>you didn't get new letters assigned from the re-format? Or plugged in a >>multi-card reader (SD, CF,etc) that changed/added letters? >> >>Steve >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>- Beach Access Software >>Sent: Monday, October 03, 2005 10:49 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] DIR Command Failing-but not everywhere... >> >>Greg: >> >>If you have no G: drive at home, wouldn't you expect the Dir command to >>fail on second one where it's looking for a G drive? >> >>Rocky >> >>----- Original Message >> >> >. >. >. > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Oct 3 16:47:29 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Oct 2005 14:47:29 -0700 Subject: [AccessD] DIR Command Failing-but not everywhere... References: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> <33626.65.118.249.214.1128360700.squirrel@cetus.email.starband.net> <4341A435.8030302@shaw.ca> Message-ID: <4341A6F1.7030003@shaw.ca> Oh one other thing about the GetAttr function under NFTS if the user program is running under a logon that doesn't have permission to access the folder or file it will return a false existance even though the folder or file exists physically on the drive.. MartyConnelly wrote: >There are some side effects when Dir is used in certain cases. >You shouldn't use Dir to check for file existence since the Dir >function has the side effect of killing any other Dir loop already running. >May cause "bad things to happen" and much head scratching to trace this. > >Also doing it like this will still throw up 68 and 76 errors on >removeable or missing drive letters > >fileexist = Not (Len(Dir(sFileName)) = 0 Or Len(sFileName) = 0) > >These methods below will work without throwing up an error on removeable >drives. > >Public Function FileExists(ByVal FileSpec As String) As Boolean > On Error Resume Next > FileExists = (GetAttr(FileSpec) And vbDirectory) = vbNormal >End Function > > >Public Function DriveExists(ByVal DriveSpec As String) As Boolean > On Error Resume Next > DriveExists = Len(CurDir$(DriveSpec)) > 0 >End Function > >'?folderexists("c:\access files") ' either works no need to check for >trailing slash >'?folderexists("c:\access filesd\") > >Public Function FolderExists(ByVal FolderSpec As String) As Boolean > On Error Resume Next > FolderExists = (GetAttr(FolderSpec) And vbDirectory) = vbDirectory >End Function > >Greg Smith wrote: > > > >>Yahoo! That was it. I just changed the code to read to my "D" drive >>(cdrom) here at work and got the same error message. So my "G" drive at >>home must be one of the cd/dvd drives. Like I said, happy and dumb at the >>same time... :) >> >>Thanks everyone!! >> >>I'll have to test the drive to make sure it's not a cd/dvd drive. >>Somehow. ? :) >> >>Greg >> >> >> >> >> >>>Ah Hah! That's the one case (?) where Dir() does not just return an >>>empty string. Nice catch. >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin >>>Sent: Monday, October 03, 2005 11:08 AM >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] DIR Command Failing-but not everywhere... >>> >>> >>>That error happens when an existing drive (like a CD Rom ) is emtpy; >>>not-ever-existed drive just returns empty string to DIR. Are you sure >>>you didn't get new letters assigned from the re-format? Or plugged in a >>>multi-card reader (SD, CF,etc) that changed/added letters? >>> >>>Steve >>> >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>>- Beach Access Software >>>Sent: Monday, October 03, 2005 10:49 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] DIR Command Failing-but not everywhere... >>> >>>Greg: >>> >>>If you have no G: drive at home, wouldn't you expect the Dir command to >>>fail on second one where it's looking for a G drive? >>> >>>Rocky >>> >>>----- Original Message >>> >>> >>> >>> >>. >>. >>. >> >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From jim.moss at jlmoss.net Mon Oct 3 17:25:59 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 3 Oct 2005 17:25:59 -0500 (CDT) Subject: [AccessD] DAO field - Description In-Reply-To: <003401c5c84c$aff64830$6c7aa8c0@ColbyM6805> References: <003401c5c84c$aff64830$6c7aa8c0@ColbyM6805> Message-ID: <45265.65.196.182.34.1128378359.squirrel@65.196.182.34> John, According to the Microsoft Jet Database Engine Programmer's Guide and this may have changed between 3.5 and 3.6 : If the table was created via code, then there will be no Description Property created. If the table was created with Access, and then you typed a value in description, the Description property should have been added automatically. If the table was created by code and then you added data in the description, that is not covered. If you want to include a Description property in code created tables, then you must add it to the properties collection by using the CreateProperty method of the TableDef object. Jim > When you look at a table in design view, each field has a field name, a > data > type, and a description. I have iterated through the field properties of > a > field in a table, and the various properties I can see are: > > Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceField;S > ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;ValidationRu > le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;VisibleVa > lue;ColumnWidth;ColumnOrder;ColumnHidden; > > I am not finding the DESCRIPTION which I REALLY need to extract for > building > a document. > > Does anyone know how I get at the DESCRIPTION property of a field in a > table? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Mon Oct 3 20:59:20 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 3 Oct 2005 21:59:20 -0400 Subject: [AccessD] My new web site In-Reply-To: <000501c5c809$dba19db0$6c7aa8c0@ColbyM6805> References: <014801c5c7e2$b6212910$fa10a8c0@Albatross> <000501c5c809$dba19db0$6c7aa8c0@ColbyM6805> Message-ID: On 03/10/05, John W. Colby wrote: > >But I can't view additional content without cookies turned on. > > That is fascinating. No idea why of course. Not knowing DotNetNuke, but knowing other CMS systems, I suspect that it's because the login info is stored in a session cookie, and by not allowing cookies the system can't validate you to give you access to the extra goodies. -- 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 carbonnb at gmail.com Mon Oct 3 21:05:30 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 3 Oct 2005 22:05:30 -0400 Subject: [AccessD] Code for Groupwise Objects In-Reply-To: <20051003113628.7080.qmail@web33101.mail.mud.yahoo.com> References: <20051003113628.7080.qmail@web33101.mail.mud.yahoo.com> Message-ID: On 03/10/05, Lonnie Johnson wrote: > Does anyone have code to send emials via VBA for groupwise? The SendObject is not enough for what I need. I found some snippets, but none of them seem to have a .CC or .BCC parameter. Lonnie, Did the code on Dev's site give you what you need? If not, let me know and I will tyr and find the code that I'm using for one of my DBs on my laptop tomorrow night. If it isn't on my laptop, I can get it form work, but it may be another week or 2 before I can get to the DB at work. Let me know and I'll try and find it here at home for you. -- 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 jmhecht at earthlink.net Tue Oct 4 01:07:17 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 3 Oct 2005 23:07:17 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: Message-ID: <001001c5c8a9$dff068b0$0a01a8c0@desktop> Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Oct 4 05:33:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 04 Oct 2005 03:33:54 -0700 Subject: [AccessD] Slightly OT two .Net Microsoft books to download for free In-Reply-To: <4341A435.8030302@shaw.ca> Message-ID: <002e01c5c8cf$1e5fafa0$017ba8c0@xpserver> Hi All: If you are interested there are two online .Net Microsoft books you can download for free at http://msdn.microsoft.com/vbrun/staythepath/additionalresources/default.aspx Jim From becklesd at tiscali.co.uk Tue Oct 4 09:51:24 2005 From: becklesd at tiscali.co.uk (David Beckles) Date: Tue, 04 Oct 2005 14:51:24 +0000 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: References: Message-ID: <434296EC.1060601@tiscali.co.uk> Susan, Why not use the FileExists function at Randy Birch's site: http://vbnet.mvps.org/index.html?code/fileapi/fileexists.htm David B -----Original Message----- Date: Mon, 3 Oct 2005 12:14:09 -0400 From: "Susan Harkins" Subject: Re: [AccessD] DIR Command Failing-but not everywhere... To: "'Access Developers discussion and problem solving'" Message-ID: <20051003161410.FVVU12154.ibm62aec.bellsouth.net at SUSANONE> Content-Type: text/plain; charset="us-ascii" Lambert, do you have a solution? Susan H. Ah Hah! That's the one case (?) where Dir() does not just return an empty string. Nice catch. From cfoust at infostatsystems.com Tue Oct 4 10:17:11 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Oct 2005 08:17:11 -0700 Subject: [AccessD] OT: Need new laptop Message-ID: LOL I just got this one last year. I think it will hold me for a while, but thanks for the invitation. ;-} Charlotte -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Monday, October 03, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 4 10:26:37 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 11:26:37 -0400 Subject: [AccessD] OT: Need new laptop In-Reply-To: Message-ID: <005001c5c8f8$05f564e0$6c7aa8c0@ColbyM6805> Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, October 04, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop LOL I just got this one last year. I think it will hold me for a while, but thanks for the invitation. ;-} Charlotte -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Monday, October 03, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 AIG.com Tue Oct 4 11:01:09 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 4 Oct 2005 12:01:09 -0400 Subject: [AccessD] OT: Need new laptop Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB985A@xlivmbx21.aig.com> If it's getting slower at loading files up then perhaps it's time to defrag the drive? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, October 04, 2005 11:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com From cfoust at infostatsystems.com Tue Oct 4 11:10:32 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Oct 2005 09:10:32 -0700 Subject: [AccessD] OT: Need new laptop Message-ID: Five or six years is more than I expect out of them, John. If I get 4, I consider it good performance. It isn't that the machine breaks down, but the software keeps demanding bigger and better and faster processors, larger and larger hard drives and higher and higher screen resolution. Plus with laptops, you can't mix and match the components and after an indeterminate period, you can't necessarily find the memory to upgrade them or other components, like DVD-R drives. Hah! Try to find a floppy or zip drive for a laptop bay these days! ;-} Of course, I do tend to wear the letters off the keys too, so I'm ready for a new laptop when the keyboard wears out! LOL Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, October 04, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, October 04, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop LOL I just got this one last year. I think it will hold me for a while, but thanks for the invitation. ;-} Charlotte -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Monday, October 03, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 4 11:09:51 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 12:09:51 -0400 Subject: [AccessD] OT: Need new laptop In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F16CB985A@xlivmbx21.aig.com> Message-ID: <005101c5c8fe$0d694ba0$6c7aa8c0@ColbyM6805> No, I keep it defragged. The registry is the key factor in load times. I probably have 60 apps loaded on this laptop, including a dozen MAJOR apps used for development. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, October 04, 2005 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop If it's getting slower at loading files up then perhaps it's time to defrag the drive? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, October 04, 2005 11:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 4 11:28:12 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 12:28:12 -0400 Subject: [AccessD] OT: Need new laptop In-Reply-To: Message-ID: <005201c5c900$9d71c8b0$6c7aa8c0@ColbyM6805> I purchased my last laptop when in Ireland working with Mark Breen. That was November, 1997. The laptop was a PII 233 mhz with a MAXIMUM of 180mb ram, a 5 gbyte hard drive and 800x600 screen. I actually replaced the keyboard on that one because I spilled water on it. In the end, the backlight just got too dim to see it any more and it wasn't worth even thinking about fixing. I purchased my new machine about 2 years ago, so the old one lasted 5 years - but in the end it was really too slow to use for much. The new machine is an AMD64 2.8 ghz with a maximum of 2 gbytes of ram, populated with 1.25 gbytes (a 1 gig stick and one of two original 256m sticks), and I upgraded to the faster 7200 rpm drive. I can still upgrade the RAM by replacing the 256 mbyte stick with another 1 gbyte stick. In theory the processor is upgradeable as well (it is in a socket). At this point in its life it still FEELS as if it will be fast enough in three more years, OTOH I haven't had an opportunity to feel any of the 4 ghz class machines, and of course at this point they are moving away from faster clock speeds to more processors. I think in 3 more years the laptop itself will be "worn out" and I will hand it down to my son, who will be around 7 by then and should be able to lug a 7 lb. machine around the house. I paid right at $1500 for this machine so if I get 5 years out of it, that will be $300 / year - not too bad for a laptop TODAY. And in another few years the machine I will get for $1500 will be even better. Will it be as much faster than this one as this one was over the PII 233 mhz? Doubtful! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, October 04, 2005 12:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop Five or six years is more than I expect out of them, John. If I get 4, I consider it good performance. It isn't that the machine breaks down, but the software keeps demanding bigger and better and faster processors, larger and larger hard drives and higher and higher screen resolution. Plus with laptops, you can't mix and match the components and after an indeterminate period, you can't necessarily find the memory to upgrade them or other components, like DVD-R drives. Hah! Try to find a floppy or zip drive for a laptop bay these days! ;-} Of course, I do tend to wear the letters off the keys too, so I'm ready for a new laptop when the keyboard wears out! LOL Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, October 04, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, October 04, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop LOL I just got this one last year. I think it will hold me for a while, but thanks for the invitation. ;-} Charlotte -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Monday, October 03, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Oct 4 12:12:57 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 4 Oct 2005 12:12:57 -0500 Subject: [AccessD] My new web site Message-ID: <123701F54509D9119A4F00D0B7473490EA5D5E@main2.marlow.com> Microsoft's Scriting Editor does that when writing HTML. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, October 01, 2005 7:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Do you happen to know of a calculator that allows you to choose a color like in paint and get the number? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. > DNN does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Oct 4 12:25:23 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 4 Oct 2005 21:25:23 +0400 Subject: [AccessD] OT: Need new laptop References: <005201c5c900$9d71c8b0$6c7aa8c0@ColbyM6805> Message-ID: <002c01c5c908$9d924f60$6401a8c0@fincomplex.spb.ru> > Will it be as > much faster than this one as this one was > over the PII 233 mhz? Doubtful! My guess it will, John: by the time you purchase the new notebook it might be an n-core processors Intel device: http://www.intel.com/cd/ids/developer/asmo-na/eng/234550.htm And MS Windows Vista with Windows Presentation Foundation (http://en.wikipedia.org/wiki/Windows_Presentation_Foundation) and applications running on this notebook will be well tuned to take advantage of multicore processors... Shamil :) ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 04, 2005 8:28 PM Subject: Re: [AccessD] OT: Need new laptop > I purchased my last laptop when in Ireland working with Mark Breen. That > was November, 1997. The laptop was a PII 233 mhz with a MAXIMUM of 180mb > ram, a 5 gbyte hard drive and 800x600 screen. I actually replaced the > keyboard on that one because I spilled water on it. In the end, the > backlight just got too dim to see it any more and it wasn't worth even > thinking about fixing. > > I purchased my new machine about 2 years ago, so the old one lasted 5 years > - but in the end it was really too slow to use for much. > > The new machine is an AMD64 2.8 ghz with a maximum of 2 gbytes of ram, > populated with 1.25 gbytes (a 1 gig stick and one of two original 256m > sticks), and I upgraded to the faster 7200 rpm drive. I can still upgrade > the RAM by replacing the 256 mbyte stick with another 1 gbyte stick. In > theory the processor is upgradeable as well (it is in a socket). At this > point in its life it still FEELS as if it will be fast enough in three more > years, OTOH I haven't had an opportunity to feel any of the 4 ghz class > machines, and of course at this point they are moving away from faster clock > speeds to more processors. > > I think in 3 more years the laptop itself will be "worn out" and I will hand > it down to my son, who will be around 7 by then and should be able to lug a > 7 lb. machine around the house. > > I paid right at $1500 for this machine so if I get 5 years out of it, that > will be $300 / year - not too bad for a laptop TODAY. And in another few > years the machine I will get for $1500 will be even better. Will it be as > much faster than this one as this one was over the PII 233 mhz? Doubtful! > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > <<< tail trimmed>>> From jwcolby at colbyconsulting.com Tue Oct 4 12:28:09 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 13:28:09 -0400 Subject: [AccessD] My new web site In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5D5E@main2.marlow.com> Message-ID: <006001c5c908$fd8dd7e0$6c7aa8c0@ColbyM6805> I found one already. A little free app that just allows you to click around in a "color wheel" and get the hex number, slide sliders to get the colors etc. Just what I needed. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, October 04, 2005 1:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] My new web site Microsoft's Scriting Editor does that when writing HTML. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, October 01, 2005 7:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Do you happen to know of a calculator that allows you to choose a color like in paint and get the number? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. > DNN does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 4 12:32:36 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 4 Oct 2005 13:32:36 -0400 Subject: [AccessD] My new web site In-Reply-To: <006001c5c908$fd8dd7e0$6c7aa8c0@ColbyM6805> Message-ID: <20051004173237.XDHX22881.ibm66aec.bellsouth.net@SUSANONE> Um... You want to share? Susan H. I found one already. A little free app that just allows you to click around in a "color wheel" and get the hex number, slide sliders to get the colors etc. Just what I needed. From jmhecht at earthlink.net Tue Oct 4 12:42:03 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 4 Oct 2005 10:42:03 -0700 Subject: [AccessD] OT: Need new laptop Solved (Attn Hardware Folks) In-Reply-To: <005101c5c8fe$0d694ba0$6c7aa8c0@ColbyM6805> Message-ID: <000901c5c90a$ee962380$6401a8c0@laptop> My Dell is revived. Hardware folks, It was the new battery that the system was looking for at boot up that was the issue. I still need to test if was a defective battery or defective circuits but it boots like new machine with no battery in the slot. Would that define the problem as the battery and not the battery circuits? Thanks all for help and comments. Joe From jwcolby at colbyconsulting.com Tue Oct 4 12:47:53 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 13:47:53 -0400 Subject: [AccessD] My new web site In-Reply-To: <20051004173237.XDHX22881.ibm66aec.bellsouth.net@SUSANONE> Message-ID: <006101c5c90b$c3b724b0$6c7aa8c0@ColbyM6805> Here ya go. http://www.blacksunsoftware.com/colormania.html John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, October 04, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Um... You want to share? Susan H. I found one already. A little free app that just allows you to click around in a "color wheel" and get the hex number, slide sliders to get the colors etc. Just what I needed. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Tue Oct 4 13:40:21 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 5 Oct 2005 00:10:21 +0530 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004><007b01c5c38d$9a6ff240$c 71865cb@winxp><072301c5c503$0c2b8680$6501a8c0@HAL9004><00dd01c5c6cf$028afc0 0$6501a8c0@HAL9004><01aa01c5c7d9$790ddef0$9d1865cb@winxp> <00c001c5c82d$11ca95e0$6501a8c0@HAL9004> Message-ID: <007201c5c913$55c9b050$bf1865cb@winxp> Rocky, As mentioned earlier, before executing SendKeys commands, compliance with FitToWindow mode is ensured by code, irrespective of what the user might already have done. For inserting a command button, select ToolBox in Categories panel of the customize dialog box. Select command button in Commands pane and drag it to the tool bar. You can then right click the command button and either paste an image or create the desired image by clicking "Edit Button Image". Other properties can be set by opening the properties dialog box. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Monday, October 03, 2005 20:43 Subject: Re: [AccessD] Report Navigation on Custom Toolbar A.D.: I have the magnifier control in my custom report toolbar. So the user can make it bigger for readability. What happens if subsequently the user magnifies the page so that it's no longer in FitToWindow mode? Re: adding controls to the toolbar - I used customize to get the current controls in the toolbar but I don't see any page navigation controls on the customize form. Am I missing something there? Thanks and regards, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Sunday, October 02, 2005 10:13 PM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > That is not a problem. The code sent in my first post in this thread > enforces FitToWindow mode for the report, before carrying out SendKeys > command. > > For adding buttons on the print preview toolbar, you have to right > click on it and choose customize. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Sunday, October 02, 2005 02:58 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > What happens if I use the pop-up form approach and the user changes the > report sizing so that it no longer is in "FitToWindow" mode? > > I'd like to put the navigation in the custom report toolbar I made but if > SendKeys won't work then that's a no go. How do you make a custom button > for a toolbar anyway? > > Thanks and regards, > Rocky > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 30, 2005 5:44 AM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > Rocky, > > > > It is a tiny pop-up form (similar to a tool bar) that sits in a > corner of the screen. It gets opened via report's open event and closed > via report's close event. > > > > You might like to adapt the commands suitably to appropriate buttons > on your tool bar. In that case, the commands specific to the form (i.e. > hiding / un-hiding etc) can be ignored. > > > > After ensuring that report window is the active one and the report > is in FitToWindow mode, SendKeys arguments as summarized below, would do > the needful. > > (a) Go to Next Page - "{DOWN}" > > (b) Go to Prev Page - "{UP}" > > (c) Go to Last Page - "^{DOWN}" > > (d) Go to First Page - "^{UP}" > > > > It is observed that SendKeys commands do not get ported smoothly to > tool bar functions. If you find yourself stuck on this account, and wish > to avoid form based solution, you could consider experimenting with > fTurnPage feature available at Leban's site. For this, you would have to > download the file named ControlReports.zip. > > > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as > mentioned by Ervin, represents the pop-up form approach. > > > > If at any stage, you happen to need a simplified sample based upon > the code sent by me earlier, I can try to put it together. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: Access Developers discussion and problem solving > > Sent: Thursday, September 29, 2005 20:05 > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > A.D.: > > > > Thanks for the idea. Does this mean that the report preview appears > in a > > pop-up or that there's a pop-up form with the navigation buttons? > > > > I already have a custom toolbar with a minimum of controls on it - > print, > > close, & fit. I see that you can add controls for record navigation. > > They look like the icons I want but of course they don't turn the pages > of > > a report. I'd like to put the page navigation in the toolbar. > > Is there a way to change the action of those icons you can put on a > > custom toolbar? Or is there a way to create a custom button for a > toolbar > > that would turn the pages of a report? > > > > Thanks and regards, > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > 858-259-4334 > > > > ----- Original Message ----- > > From: "A.D.Tejpal" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 27, 2005 11:00 AM > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > > Rocky, > > > > > > Sample code in the module of a pop-up form, as given below, > enables > > > page navigation of report named R_Test. Command button named CmdNext > > steps > > > forward through the pages while that named CmdPrev does the reverse. > > > > > > You might like to adapt it suitably for your specific situation. > > > > > > Note - For the SendKeys command (Up or Dn arrow) to be effective, > it > > is > > > necessary that report is in FitToWindow mode and report's window is > the > > > active one. > > > > > > Best wishes, > > > A.D.Tejpal > > > -------------- > > > > > > Code module for Pop Up Form > > > ================================ > > > ' Declarations Section > > > Private RepHdw As Long, FrmHdw As Long > > > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > > (ByVal hwnd As Long) As Long > > > -------------------------------------------------------- > > > Private Sub CmdNext_Click() > > > DoCmd.Echo False > > > Me.Visible = False > > > BringWindowToTop RepHdw > > > DoCmd.RunCommand acCmdFitToWindow > > > SendKeys "{DOWN}", True > > > DoCmd.RunCommand acCmdZoom100 > > > Me.Visible = True > > > BringWindowToTop FrmHdw > > > DoCmd.Echo True > > > End Sub > > > > > > Private Sub CmdPrev_Click() > > > DoCmd.Echo False > > > Me.Visible = False > > > BringWindowToTop RepHdw > > > DoCmd.RunCommand acCmdFitToWindow > > > SendKeys "{UP}", True > > > DoCmd.RunCommand acCmdZoom100 > > > Me.Visible = True > > > BringWindowToTop FrmHdw > > > DoCmd.Echo True > > > End Sub > > > > > > Private Sub Form_Activate() > > > DoCmd.Restore > > > End Sub > > > > > > Private Sub Form_Load() > > > RepHdw = Reports("R_Test").hwnd > > > FrmHdw = Me.hwnd > > > End Sub > > > ================================ > > > > > > ----- Original Message ----- > > > From: Rocky Smolin - Beach Access Software > > > To: AccessD at databaseadvisors.com > > > Sent: Monday, September 26, 2005 23:41 > > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > > > > Dear List: > > > > > > I have a custom toolbar for reports that get displayed in report > > preview > > > if the db is an mde. It has only printer icon, close button, and > zoom > > > control. The paging navigation is of course, at the lower left of > the > > > screen in preview mode, but I'm wondering if these nav buttons can > be > > > added to the custom toolbar where an inexperienced user might be > more > > > likely to see them. > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > 858-259-4334 From newsgrps at dalyn.co.nz Tue Oct 4 22:21:59 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 05 Oct 2005 16:21:59 +1300 Subject: [AccessD] Rows limited in combo box Message-ID: <6.2.3.4.0.20051005160506.0317ad70@mail.dalyn.co.nz> Cross posted to AccessD, AccessDSQL Access XP, SQL2K I have a combo box that uses the value in the control source to link to another table and show the description (a typical 2 column combo box with the first column width set to 0) The sproc that is the row source for the combo box returns 16484 rows. Lately the box has been showing blank even though there is a valid link to a row in the row source. When I limit the number of rows the missing text appears. It seems that Access is limiting the number of rows that are being returned (similar to the Maximum Records property for a form). Is there a similar field for a combo box/stored procedure that will limit the records returned? Regards David Emerson Dalyn Software Ltd 999 Moonshine Rd, RD 1 Judgeford, Porirua New Zealand 6006 Phone 0064 4 235-6782 Fax 0064 4 235-6783 From newsgrps at dalyn.co.nz Tue Oct 4 23:59:18 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 05 Oct 2005 17:59:18 +1300 Subject: [AccessD] Rows limited in combo box In-Reply-To: <6.2.3.4.0.20051005160506.0317ad70@mail.dalyn.co.nz> References: <6.2.3.4.0.20051005160506.0317ad70@mail.dalyn.co.nz> Message-ID: <6.2.3.4.0.20051005175848.068fc9b0@mail.dalyn.co.nz> Found it - Tools ... Options ... Advanced ... Client server settings ... Default Max Records. I set this to 0. At 5/10/2005, you wrote: >Cross posted to AccessD, AccessDSQL > >Access XP, SQL2K > >I have a combo box that uses the value in the control source to link >to another table and show the description (a typical 2 column combo >box with the first column width set to 0) > >The sproc that is the row source for the combo box returns 16484 >rows. Lately the box has been showing blank even though there is a >valid link to a row in the row source. When I limit the number of >rows the missing text appears. It seems that Access is limiting the >number of rows that are being returned (similar to the Maximum >Records property for a form). > >Is there a similar field for a combo box/stored procedure that will >limit the records returned? > >Regards > >David Emerson >Dalyn Software Ltd >999 Moonshine Rd, RD 1 >Judgeford, Porirua >New Zealand 6006 >Phone 0064 4 235-6782 >Fax 0064 4 235-6783 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Oct 5 11:12:48 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Oct 2005 09:12:48 -0700 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <"007b01c5c38d$9a6ff240$c 71865cb"@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004> <"00dd01c5c6cf$028afc0 0$6501a8c0"@HAL9004> <01aa01c5c7d9$790ddef0$9d1865cb@winxp> <00c001c5c82d$11ca95e0$6501a8c0@HAL9004> <007201c5c913$55c9b050$bf1865cb@winxp> Message-ID: <00fe01c5c9c7$a0f62d10$6501a8c0@HAL9004> A.D.: Thanks for pointing me in the right direction. I got the four buttons up there now, even edited their appearance to more mimic the standard navigation buttons and I point them to one of the four public functions: Option Compare Database Option Explicit Public Function FirstPage() SendKeys "^{UP}" End Function Public Function PreviousPage() SendKeys "{UP}" End Function Public Function NextPage() SendKeys "{DOWN}" End Function Public Function LastPage() SendKeys "^{DOWN}" End Function Somewhere I read, however, that SendKeys is not good form, there's some problem with them, but I can't remember what. You think we're safe using SendKeys in this limited way? Is there an alternative? Thanks and regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 04, 2005 11:40 AM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > As mentioned earlier, before executing SendKeys commands, compliance > with FitToWindow mode is ensured by code, irrespective of what the user > might already have done. > > For inserting a command button, select ToolBox in Categories panel of > the customize dialog box. Select command button in Commands pane and drag > it to the tool bar. You can then right click the command button and either > paste an image or create the desired image by clicking "Edit Button > Image". Other properties can be set by opening the properties dialog box. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Monday, October 03, 2005 20:43 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > I have the magnifier control in my custom report toolbar. So the user > can make it bigger for readability. What happens if subsequently the user > magnifies the page so that it's no longer in FitToWindow mode? > > Re: adding controls to the toolbar - I used customize to get the current > controls in the toolbar but I don't see any page navigation controls on > the customize form. Am I missing something there? > > Thanks and regards, > > Rocky > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, October 02, 2005 10:13 PM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > Rocky, > > > > That is not a problem. The code sent in my first post in this thread > > enforces FitToWindow mode for the report, before carrying out SendKeys > > command. > > > > For adding buttons on the print preview toolbar, you have to right > > click on it and choose customize. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: Access Developers discussion and problem solving > > Sent: Sunday, October 02, 2005 02:58 > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > A.D.: > > > > What happens if I use the pop-up form approach and the user changes > the > > report sizing so that it no longer is in "FitToWindow" mode? > > > > I'd like to put the navigation in the custom report toolbar I made but > if > > SendKeys won't work then that's a no go. How do you make a custom > button > > for a toolbar anyway? > > > > Thanks and regards, > > Rocky > > > > ----- Original Message ----- > > From: "A.D.Tejpal" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, September 30, 2005 5:44 AM > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > Rocky, > > > > > > It is a tiny pop-up form (similar to a tool bar) that sits in a > > corner of the screen. It gets opened via report's open event and closed > > via report's close event. > > > > > > You might like to adapt the commands suitably to appropriate > buttons > > on your tool bar. In that case, the commands specific to the form (i.e. > > hiding / un-hiding etc) can be ignored. > > > > > > After ensuring that report window is the active one and the > report > > is in FitToWindow mode, SendKeys arguments as summarized below, would > do > > the needful. > > > (a) Go to Next Page - "{DOWN}" > > > (b) Go to Prev Page - "{UP}" > > > (c) Go to Last Page - "^{DOWN}" > > > (d) Go to First Page - "^{UP}" > > > > > > It is observed that SendKeys commands do not get ported smoothly > to > > tool bar functions. If you find yourself stuck on this account, and > wish > > to avoid form based solution, you could consider experimenting with > > fTurnPage feature available at Leban's site. For this, you would have > to > > download the file named ControlReports.zip. > > > > > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as > > mentioned by Ervin, represents the pop-up form approach. > > > > > > If at any stage, you happen to need a simplified sample based > upon > > the code sent by me earlier, I can try to put it together. > > > > > > Best wishes, > > > A.D.Tejpal > > > -------------- > > > > > > ----- Original Message ----- > > > From: Rocky Smolin - Beach Access Software > > > To: Access Developers discussion and problem solving > > > Sent: Thursday, September 29, 2005 20:05 > > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > A.D.: > > > > > > Thanks for the idea. Does this mean that the report preview > appears > > in a > > > pop-up or that there's a pop-up form with the navigation buttons? > > > > > > I already have a custom toolbar with a minimum of controls on it - > > print, > > > close, & fit. I see that you can add controls for record > navigation. > > > They look like the icons I want but of course they don't turn the > pages > > of > > > a report. I'd like to put the page navigation in the toolbar. > > > Is there a way to change the action of those icons you can put on a > > > custom toolbar? Or is there a way to create a custom button for a > > toolbar > > > that would turn the pages of a report? > > > > > > Thanks and regards, > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > 858-259-4334 > > > > > > ----- Original Message ----- > > > From: "A.D.Tejpal" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Tuesday, September 27, 2005 11:00 AM > > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > > > > > Rocky, > > > > > > > > Sample code in the module of a pop-up form, as given below, > > enables > > > > page navigation of report named R_Test. Command button named > CmdNext > > > steps > > > > forward through the pages while that named CmdPrev does the > reverse. > > > > > > > > You might like to adapt it suitably for your specific > situation. > > > > > > > > Note - For the SendKeys command (Up or Dn arrow) to be > effective, > > it > > > is > > > > necessary that report is in FitToWindow mode and report's window > is > > the > > > > active one. > > > > > > > > Best wishes, > > > > A.D.Tejpal > > > > -------------- > > > > > > > > Code module for Pop Up Form > > > > ================================ > > > > ' Declarations Section > > > > Private RepHdw As Long, FrmHdw As Long > > > > > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > > > (ByVal hwnd As Long) As Long > > > > -------------------------------------------------------- > > > > Private Sub CmdNext_Click() > > > > DoCmd.Echo False > > > > Me.Visible = False > > > > BringWindowToTop RepHdw > > > > DoCmd.RunCommand acCmdFitToWindow > > > > SendKeys "{DOWN}", True > > > > DoCmd.RunCommand acCmdZoom100 > > > > Me.Visible = True > > > > BringWindowToTop FrmHdw > > > > DoCmd.Echo True > > > > End Sub > > > > > > > > Private Sub CmdPrev_Click() > > > > DoCmd.Echo False > > > > Me.Visible = False > > > > BringWindowToTop RepHdw > > > > DoCmd.RunCommand acCmdFitToWindow > > > > SendKeys "{UP}", True > > > > DoCmd.RunCommand acCmdZoom100 > > > > Me.Visible = True > > > > BringWindowToTop FrmHdw > > > > DoCmd.Echo True > > > > End Sub > > > > > > > > Private Sub Form_Activate() > > > > DoCmd.Restore > > > > End Sub > > > > > > > > Private Sub Form_Load() > > > > RepHdw = Reports("R_Test").hwnd > > > > FrmHdw = Me.hwnd > > > > End Sub > > > > ================================ > > > > > > > > ----- Original Message ----- > > > > From: Rocky Smolin - Beach Access Software > > > > To: AccessD at databaseadvisors.com > > > > Sent: Monday, September 26, 2005 23:41 > > > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > > > > > > > Dear List: > > > > > > > > I have a custom toolbar for reports that get displayed in report > > > preview > > > > if the db is an mde. It has only printer icon, close button, and > > zoom > > > > control. The paging navigation is of course, at the lower left > of > > the > > > > screen in preview mode, but I'm wondering if these nav buttons > can > > be > > > > added to the custom toolbar where an inexperienced user might be > > more > > > > likely to see them. > > > > > > > > MTIA, > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > http://www.e-z-mrp.com > > > > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Oct 5 11:25:49 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 05 Oct 2005 12:25:49 -0400 Subject: [AccessD] Framework Articles Message-ID: <000a01c5c9c9$724ee630$6c7aa8c0@ColbyM6805> Anyone who read about, followed or is otherwise interested in the series of articles I wrote awhile back and published on the list regarding building a framework, please go to my web page, register (if not already) and log in. Click the Example Code / C2DbFW3G Lecture. The lecture series is being resurrected as a multi-page page on my site. The multi-page page is a nice little module I discovered last night, which allows me to set up a single page off the main menu which contains, embedded in that page, a series of pages, complete with a menu at the top and bottom. You will recognize the format from the Ezine sites that publish articles. Anyway, I have not pulled out all of the articles yet, but over the next few days I will do so. Additionally you can download the articles themselves in Word format, plus an associated mdb via the main/sub menu items Example Code / C2DbFW3G Framework. Any comments / feedback on this can be provided utilizing the Forum for C2DbFW3G under Access. I am way busy ATM but I will be monitoring the forums. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Lambert.Heenan at AIG.com Wed Oct 5 14:06:44 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 5 Oct 2005 15:06:44 -0400 Subject: [AccessD] Report Navigation on Custom Toolbar Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB9CA6@xlivmbx21.aig.com> The trouble with SendKeys is that is messes around with the Num lock, Caps lock and / or Scroll lock status of the keyboard. It's a bug MS never fixed since version 1.0. However, go here.. http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='ReportPrevi ewing.zip' ... and you can D/L my original 'report preview' example which includes a wrapper function "MySendKeys" which eliminates this problem. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 05, 2005 12:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Report Navigation on Custom Toolbar A.D.: Somewhere I read, however, that SendKeys is not good form, there's some problem with them, but I can't remember what. You think we're safe using SendKeys in this limited way? Is there an alternative? Thanks and regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From Jim.Hale at FleetPride.com Wed Oct 5 14:09:19 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 5 Oct 2005 14:09:19 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378D2@corp-es01.fleetpride.com> if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From bheid at appdevgrp.com Wed Oct 5 14:30:41 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 5 Oct 2005 15:30:41 -0400 Subject: [AccessD] Setting objects to nothing In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CABAE0@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF0AB@ADGSERVER> I always do. Not sure if you have to if you did not use it. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:09 PM To: 'Accessd (E-mail) Subject: [AccessD] Setting objects to nothing if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale From cfoust at infostatsystems.com Wed Oct 5 14:38:22 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Oct 2005 12:38:22 -0700 Subject: [AccessD] Setting objects to nothing Message-ID: Strictly speaking, no you don't have to unless you use Set to instantiate the object. I think a better question would be why all those objects are being dimmed if they aren't going to be used. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, October 05, 2005 12:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing I always do. Not sure if you have to if you did not use it. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:09 PM To: 'Accessd (E-mail) Subject: [AccessD] Setting objects to nothing if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From starkey at wanadoo.nl Wed Oct 5 14:39:15 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Wed, 5 Oct 2005 21:39:15 +0200 Subject: [AccessD] Setting objects to nothing In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67723378D2@corp-es01.fleetpride.com> Message-ID: <20051005194041.C9F1152ECA@smtp8.wanadoo.nl> Hi Jim, AFAIK only created objects have to be set to nothing (sounds logical, it is NOT set to anything so why set it to nothing) eg. Being dimmed with the 'new' or set as 'CreateObject'. Also the variable 'dies' once the program is no longer using the procedure it is dimensioned in unless it's public/static or private to a module ofcourse. So in your case having multiple recordsets and using 5, the sources used by the system/application will not be reduced by a 'set to nothing' but you'd better dimension less recordsets. Microsoft has a document on things to kepe in mind when programming in Access, some kind of whitepaper where you can find all about these kind of things, very interesting if you're looking for ways to improve performance and memory usage. For example; always use a var as .... If you leave out a type a variant will be used causing more memory in use. Also it seems to be better to create larger procedures in a module instead of creating several procedures over several modules though this is more readable code usually it does slow things down according to Bill:-) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/htm l/actrbOptimizingPerformanceS.asp HOWEVER, personally I always set all objects to nothing since I'd rather be safe than sorry;) Regards, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 9:09 PM To: 'Accessd (E-mail) Subject: [AccessD] Setting objects to nothing if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0540-2, 05-10-2005 Getest op: 5-10-2005 21:39:16 avast! auteursrecht (c) 1988-2005 ALWIL Software. http://www.avast.com From Jim.Hale at FleetPride.com Wed Oct 5 14:55:53 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 5 Oct 2005 14:55:53 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378D6@corp-es01.fleetpride.com> I have a function that can use up to 14 recordsets but may use as few as three depending upon which case is selected.So I typically go For x = 1 To y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x where y is the number of recordsets I actually opened. The problem is I have an Excel instance that refuses to die and the only thing I can figure is some dimensioned objects I never use still exist. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, October 05, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting objects to nothing Strictly speaking, no you don't have to unless you use Set to instantiate the object. I think a better question would be why all those objects are being dimmed if they aren't going to be used. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, October 05, 2005 12:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing I always do. Not sure if you have to if you did not use it. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:09 PM To: 'Accessd (E-mail) Subject: [AccessD] Setting objects to nothing if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Lambert.Heenan at AIG.com Wed Oct 5 15:09:08 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 5 Oct 2005 15:09:08 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB9D0B@xlivmbx21.aig.com> What's the code for setting the Excel instance, and the code you are using to close it? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing I have a function that can use up to 14 recordsets but may use as few as three depending upon which case is selected.So I typically go For x = 1 To y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x where y is the number of recordsets I actually opened. The problem is I have an Excel instance that refuses to die and the only thing I can figure is some dimensioned objects I never use still exist. Jim Hale From Jim.Hale at FleetPride.com Wed Oct 5 15:42:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 5 Oct 2005 15:42:14 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378DB@corp-es01.fleetpride.com> Here is the bottom part of the function. BTW if I change "For x = 1 To y" to "For x = 1 To 14" Excel seems to go away. Strange Jim Hale If blState = True Then .ActiveWorkbook.SaveAs FileName:=strFileSave .ActiveWorkbook.Close SaveChanges:=False End With If blState = False Then GoTo Err_Load_Financials If Err.Number <> 0 Then Load_Financials = False Else Load_Financials = True End If fm.lblFilename.Visible = False The_End: Set fm = Nothing For x = 1 To 14 'y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x If Not (dbs2 Is Nothing) Then dbs2.Close: Set dbs2 = Nothing Set Wsheet = Nothing appExcel.Quit Set appExcel = Nothing If Excel_is_running = True Then MsgBox "Excel still running" DoCmd.Hourglass False Exit Function Err_Load_Financials: Load_Financials = False If Not Err.Description = "" Then MsgBox Err.Description Resume The_End End Function -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Wednesday, October 05, 2005 3:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing What's the code for setting the Excel instance, and the code you are using to close it? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing I have a function that can use up to 14 recordsets but may use as few as three depending upon which case is selected.So I typically go For x = 1 To y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x where y is the number of recordsets I actually opened. The problem is I have an Excel instance that refuses to die and the only thing I can figure is some dimensioned objects I never use still exist. Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Lambert.Heenan at AIG.com Wed Oct 5 16:20:57 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 5 Oct 2005 16:20:57 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB9D74@xlivmbx21.aig.com> Re your comment about 14 and y: this strongly suggests that y is not being set to the correct value in the first place (or is being altered later on). In any case, where the number of elements in an array is (potentially) in doubt I always use.. For x = lBound(SomeArrayName) to uBound(SomeArrayName) ... The next thing that confuses me (very easy to do!) is... If blState = True Then .ActiveWorkbook.SaveAs FileName:=strFileSave .ActiveWorkbook.Close SaveChanges:=False End With I'm not sure why you are trying to save the workbook to some specific file name, but I assume that your code has changed the excel file that was opened and you want to then save it to a *new* file with a different path/name. If not, then why does the next line close the workbook without saving the changes? For what it's worth here is how I open and close excel workbooks... I have a routine that opens files invisibly... **************code starts ******************* Function Excel_OpenWorkBookHidden(Path As String, Optional UpdateLinks As Boolean = False, Optional password As String = "") As Excel.Application Dim xlObj As Excel.Application On Error GoTo Excel_OpenWorkBookHidden_err 'Check to see if the file name passed in to the procedure is valid If IsNull(Path) Or isDirectory(Path) Or Not FileExists(Path) Then MsgBox Path & " isn't a valid path!", vbCritical, "Open Excel Workbook" Set Excel_OpenWorkBookHidden = Nothing Exit Function Else Set xlObj = CreateObject("Excel.Application") xlObj.Workbooks.Open Path, UpdateLinks, , , password Set Excel_OpenWorkBookHidden = xlObj End If Excel_OpenWorkBookHidden_exit: Exit Function Excel_OpenWorkBookHidden_err: ' replace with your own error logging/reporting routine ReportError Err.Number, Err.Description, "Excel_OpenWorkBookHidden", "Excel_mod", "File Name=" & Path Set Excel_OpenWorkBookHidden = Nothing Resume Excel_OpenWorkBookHidden_exit End Function And another one for opening them and show them on screen... Function Excel_OpenWorkBook(Path As String, Optional UpdateLinks As Boolean = False, Optional password As String = "") As Excel.Application Dim xlObj As Excel.Application On Error GoTo Excel_OpenWorkBook_err Set xlObj = Excel_OpenWorkBookHidden(Path, UpdateLinks, password) If xlObj.Name > "" Then xlObj.Visible = True Set Excel_OpenWorkBook = xlObj Excel_OpenWorkBook_exit: Exit Function Excel_OpenWorkBook_err: ' replace with your own error logging/reporting routine ReportError Err.Number, Err.Description, "Excel_OpenWorkBook", "Excel_mod", "File Name=" & Path Set Excel_OpenWorkBook = Nothing Resume Excel_OpenWorkBook_exit End Function ... And for closing the workbook I use... Sub Excel_CloseWorkBook(xlApp As Excel.Application, Optional bSaveChanges As Boolean = False) Dim wb As Excel.Workbook On Error Resume Next If xlApp.Name > "" Then End If If Err.Number <> 0 Then Exit Sub On Error GoTo 0 For Each wb In xlApp.Workbooks 'Close all open workbooks wb.Close bSaveChanges Next wb xlApp.UserControl = False Set xlApp = Nothing End Sub And here is the isDirectory function... Function isDirectory(sDir As String) As Boolean On Error Resume Next isDirectory = (GetAttr(sDir) And vbDirectory) <> 0 If Err.Number <> 0 Then isDirectory = False On Error GoTo 0 End Function And the FieExisit function... Function FileExists(strFile As String) As Boolean ' Comments : Determines if the file exists ' Works for hidden files and folders ' Parameters: strFile - file to check ' Returns : True if the file exists, otherwise false Dim intAttr As Integer Dim errnum As Long On Error Resume Next 'GET THE FILE ATTRIBUTE INSTEAD OF THE LENGTH OF THE FILE NAME intAttr = GetAttr(strFile) errnum = Err.Number FileExists = (Err.Number = 0) End Function **************code ends ******************* Now these routines do not allow you to open one file and save it under a different name, but then I would instead copy the file to a new name first, open the copy and change it any way I want, and then close the copy, saving the changes. One other comment, you have... If blState = False Then GoTo Err_Load_Financials The only time I ever need to use Goto is in setting up an error handler, because that's the only way you can do it in VB/VBA. Otherwise I've never needed to code anything using Goto. Plus, in your code it looks like the Goto target really is an error handler, which means that if blState IS false and your code jumps there, you will get another error when the Resume line executes, because you did not enter the error handler legally (by raising an error). Hope some of this helps. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 4:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing Here is the bottom part of the function. BTW if I change "For x = 1 To y" to "For x = 1 To 14" Excel seems to go away. Strange Jim Hale If blState = True Then .ActiveWorkbook.SaveAs FileName:=strFileSave .ActiveWorkbook.Close SaveChanges:=False End With If blState = False Then GoTo Err_Load_Financials If Err.Number <> 0 Then Load_Financials = False Else Load_Financials = True End If fm.lblFilename.Visible = False The_End: Set fm = Nothing For x = 1 To 14 'y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x If Not (dbs2 Is Nothing) Then dbs2.Close: Set dbs2 = Nothing Set Wsheet = Nothing appExcel.Quit Set appExcel = Nothing If Excel_is_running = True Then MsgBox "Excel still running" DoCmd.Hourglass False Exit Function Err_Load_Financials: Load_Financials = False If Not Err.Description = "" Then MsgBox Err.Description Resume The_End End Function -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Wednesday, October 05, 2005 3:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing What's the code for setting the Excel instance, and the code you are using to close it? Lambert From robert at servicexp.com Wed Oct 5 17:17:13 2005 From: robert at servicexp.com (Robert Gracie) Date: Wed, 5 Oct 2005 18:17:13 -0400 Subject: [AccessD] Framework Articles Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F64@gbsserver.GBS.local> John, Nice... Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, October 05, 2005 12:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Framework Articles Anyone who read about, followed or is otherwise interested in the series of articles I wrote awhile back and published on the list regarding building a framework, please go to my web page, register (if not already) and log in. Click the Example Code / C2DbFW3G Lecture. The lecture series is being resurrected as a multi-page page on my site. The multi-page page is a nice little module I discovered last night, which allows me to set up a single page off the main menu which contains, embedded in that page, a series of pages, complete with a menu at the top and bottom. You will recognize the format from the Ezine sites that publish articles. Anyway, I have not pulled out all of the articles yet, but over the next few days I will do so. Additionally you can download the articles themselves in Word format, plus an associated mdb via the main/sub menu items Example Code / C2DbFW3G Framework. Any comments / feedback on this can be provided utilizing the Forum for C2DbFW3G under Access. I am way busy ATM but I will be monitoring the forums. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Oct 5 17:48:40 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 05 Oct 2005 18:48:40 -0400 Subject: [AccessD] Framework Articles In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F64@gbsserver.GBS.local> Message-ID: <001001c5c9fe$ee118950$6c7aa8c0@ColbyM6805> Isn't that cool? I soooo like DNN. I just found that module out on the net, uploaded it to my site and voila, a new kind of web control. It took me a couple of hours to pull the content out of the word docs and get it in the page. N there ya are. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Wednesday, October 05, 2005 6:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Framework Articles John, Nice... Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, October 05, 2005 12:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Framework Articles Anyone who read about, followed or is otherwise interested in the series of articles I wrote awhile back and published on the list regarding building a framework, please go to my web page, register (if not already) and log in. Click the Example Code / C2DbFW3G Lecture. The lecture series is being resurrected as a multi-page page on my site. The multi-page page is a nice little module I discovered last night, which allows me to set up a single page off the main menu which contains, embedded in that page, a series of pages, complete with a menu at the top and bottom. You will recognize the format from the Ezine sites that publish articles. Anyway, I have not pulled out all of the articles yet, but over the next few days I will do so. Additionally you can download the articles themselves in Word format, plus an associated mdb via the main/sub menu items Example Code / C2DbFW3G Framework. Any comments / feedback on this can be provided utilizing the Forum for C2DbFW3G under Access. I am way busy ATM but I will be monitoring the forums. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From paul.hartland at isharp.co.uk Thu Oct 6 04:59:44 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 6 Oct 2005 10:59:44 +0100 Subject: [AccessD] Using Treeview Control To Mimic Outlook Folders In-Reply-To: <434296EC.1060601@tiscali.co.uk> Message-ID: To all, Before I start please note that I have never used a Treeview control in my 8 years of Access/Visual Basic development. I'm working on a little project for a small department in our company, basically they have a folder in their Outlook inbox called Timesheets (so I wrote my code to only look for this folder, however somepeople in the department have called it Otimesheets and OrrTimesheets etc....Obviously the easy way would to get them to name their folders the same, but I have some time on my hands and would like to make my application more user friendly)..... What I would like is a form with a Treeview control that will look exactly like all the folders that they currently have in Outlook, then allow them to select the folder in which the Timesheets are automatically emailed, then run my code I already have developed to process the Timesheets Thanks in advance for any help, sample code etc Paul Hartland Database Developer paul.hartland at orridge.co.uk From jwcolby at colbyconsulting.com Thu Oct 6 08:08:56 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 06 Oct 2005 09:08:56 -0400 Subject: [AccessD] My new website Message-ID: <000b01c5ca77$1ed5bc50$6c7aa8c0@ColbyM6805> Borg, >John, having had a look at your new website and the features it >provides 'out of the box' - has spurred me on to once again have a look >at further developing my own website.... I am truly jazzed about DNN and what it gives me as a developer. You can see what it can do with no programming whatsoever, just what is built in, and then scouting around looking for free modules. Additionally, it provides the .Net savvy developer (which I am not yet) the ability to build new modules, and in particular (since I am in databases) modules that utilize the database to build web based database applications. DNN requires MSSQL. I use WebHost4Life just because the price was good - $9.99 / month with 2gb hard disk and 2gb MSSQL database (they share the same 2GB), and because at WH4L DNN was just clicking on a couple of buttons in your control panel to get it set up. It literally took under 5 minutes to have the basic site up and running using DNN, which I think is just awesome. Yes, you MUST have MSSQL in order to use DNN which does raise the cost of the web site. AT WH4L the cheapest site is $5 / month which includes the ability to use ASP.Net (any .net really) but because I specifically wanted to go with DNN I had to go with the $10 / month package which included the MSSQL. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Thu Oct 6 08:50:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 06 Oct 2005 09:50:06 -0400 Subject: [AccessD] OT: My web site and WebHost4Life Message-ID: <000d01c5ca7c$dc1b9dc0$6c7aa8c0@ColbyM6805> I am always a little hesitant to make recommendations on something like a web host company because whenever anything goes wrong... And things do go wrong... They always remember who recommended... However, I use WebHost4Life. The reasons are really pretty simple: I wanted to use DotNetNuke NotNetNuke requires ASP.Net and an MSSQL database I needed something inexpensive. I needed it to be EASY to get DNN set up. There are many Hosting companies providing Windows hosting, with ASP.Net capabilities, and even with MSSQL database support. However most of them provide a fairly paltry amount of disk space and / or server space. WebHost4Life provides 2 gbytes disk and 2 gbytes server (they share your 2gbytes) for $10 / month. That is my kind of price. And finally, it LITERALLY took me 5 minutes to get DNN set up. From the control panel for the admin of the web site (me) there is a hotlink that allows you to install DNN. The install works exactly as advertised. The only issue I had was that I installed DNN before my domain name pointed there, i.e. using the "temporary" url they give you to work with your site. Once my domain name pointed there I had a snafu getting the DNN site to work correctly. In the end I uninstalled and reinstalled DNN using my domain name (www.colbyconsulting.com) and it all worked like a dream. Given how easy the DNN install goes and the fact that I was just playing around at first learning how to use DNN it was a small issue, and in fact you may not have it happen to you. You should do your own research and come to your own decisions, but if you decide that WebHost4Life works for you, I get something (not sure what) for referrals so... My referral link is: http://www.webhost4life.com/default.asp?refid=jwcolby54 You can also visit my site and look under my picture for a link to WH4L using my referral. Speaking of the picture, I had that pic taken when I was working on the SQL book, and never got it in to the publisher, so my pic does not appear on the cover. What a shame eh? I decided what the heck, throw it on my web site. You guys can be honest and tell me if I should take it off. I've had a lot of good comments on the site and am quite pleased with how easy it was for me to do this stuff myself. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From ebarro at afsweb.com Thu Oct 6 10:31:36 2005 From: ebarro at afsweb.com (Eric Barro) Date: Thu, 6 Oct 2005 08:31:36 -0700 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: <000d01c5ca7c$dc1b9dc0$6c7aa8c0@ColbyM6805> Message-ID: I concur with John. I've used webhost4life.com for 2 yrs now and I've been satisfied with the service. Aside from SQL server and DotNet support they also have Sharepoint Team Sites available as part of the package. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, October 06, 2005 6:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: My web site and WebHost4Life I am always a little hesitant to make recommendations on something like a web host company because whenever anything goes wrong... And things do go wrong... They always remember who recommended... However, I use WebHost4Life. The reasons are really pretty simple: I wanted to use DotNetNuke NotNetNuke requires ASP.Net and an MSSQL database I needed something inexpensive. I needed it to be EASY to get DNN set up. There are many Hosting companies providing Windows hosting, with ASP.Net capabilities, and even with MSSQL database support. However most of them provide a fairly paltry amount of disk space and / or server space. WebHost4Life provides 2 gbytes disk and 2 gbytes server (they share your 2gbytes) for $10 / month. That is my kind of price. And finally, it LITERALLY took me 5 minutes to get DNN set up. From the control panel for the admin of the web site (me) there is a hotlink that allows you to install DNN. The install works exactly as advertised. The only issue I had was that I installed DNN before my domain name pointed there, i.e. using the "temporary" url they give you to work with your site. Once my domain name pointed there I had a snafu getting the DNN site to work correctly. In the end I uninstalled and reinstalled DNN using my domain name (www.colbyconsulting.com) and it all worked like a dream. Given how easy the DNN install goes and the fact that I was just playing around at first learning how to use DNN it was a small issue, and in fact you may not have it happen to you. You should do your own research and come to your own decisions, but if you decide that WebHost4Life works for you, I get something (not sure what) for referrals so... My referral link is: http://www.webhost4life.com/default.asp?refid=jwcolby54 You can also visit my site and look under my picture for a link to WH4L using my referral. Speaking of the picture, I had that pic taken when I was working on the SQL book, and never got it in to the publisher, so my pic does not appear on the cover. What a shame eh? I decided what the heck, throw it on my web site. You guys can be honest and tell me if I should take it off. I've had a lot of good comments on the site and am quite pleased with how easy it was for me to do this stuff myself. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From artful at rogers.com Thu Oct 6 10:58:59 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 6 Oct 2005 11:58:59 -0400 Subject: [AccessD] Question about ANPKs In-Reply-To: Message-ID: <200510061608.j96G8KT21782@databaseadvisors.com> Scenario: Database 1 -- a legacy app that is being redesigned. It contains some tables with ANPKs and some without. In addition, it suffers from numerous design problems, including nested tables. (I inherited it, don't blame me :) Database 2 -- my revised version, in which all tables contain ANPKs. In I have to import all the old data into the new design. One particular table in the old design has been refactored into six tables (no lie). Various other tables have been refactored as well, but into fewer tables. My plan is to link the tables in the old database to the new one, then perform numerous append queries with various degrees of smarts so that the old data ends up in the refactored database correctly. The basic question is this: given that a source-table is ANPK in the old app, can I do an append query and specify that the old ANPK numbers go into the new ANPK column as-is? I suppose I could build a test table and try it, but I just wondered whether anyone had the answer off the top. I know that this can be done in MS-SQL but I can't recall ever doing it in Access. ------------ A related question: given that the new database has a whole lot of referential integrity and the old database has none, I cannot do the appends in just any order. I must guarantee that all foreign keys go in first, before I attempt to import the rows depending upon their existence. Another way to say this is, I must walk the tree from its outermost leaves, progressing inwards as I go (i.e. Add sales reps, product categories, products, etc. first, then I can add sales orders and finally sales details). Given that there are about 75 tables, I can easily screw the order up, forgetting to add this or that leaf-table before trying to add its branch. Is there some way to determine a sequence in which to add them, which is guaranteed to work? Obviously, there are many possible sequences which could work: I don't want an exhaustive list -- I will settle for one sequence that works. But I cannot readily deduce how to generate such a sequence. TIA, Arthur From max at sherman.org.uk Thu Oct 6 11:15:01 2005 From: max at sherman.org.uk (Max Sherman) Date: Thu, 6 Oct 2005 17:15:01 +0100 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: Message-ID: Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Excuse my ignorance, please. Regards Max (Derby) Mob: 07990 521001 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: 06 October 2005 16:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life I concur with John. I've used webhost4life.com for 2 yrs now and I've been satisfied with the service. Aside from SQL server and DotNet support they also have Sharepoint Team Sites available as part of the package. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, October 06, 2005 6:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: My web site and WebHost4Life I am always a little hesitant to make recommendations on something like a web host company because whenever anything goes wrong... And things do go wrong... They always remember who recommended... However, I use WebHost4Life. The reasons are really pretty simple: I wanted to use DotNetNuke NotNetNuke requires ASP.Net and an MSSQL database I needed something inexpensive. I needed it to be EASY to get DNN set up. There are many Hosting companies providing Windows hosting, with ASP.Net capabilities, and even with MSSQL database support. However most of them provide a fairly paltry amount of disk space and / or server space. WebHost4Life provides 2 gbytes disk and 2 gbytes server (they share your 2gbytes) for $10 / month. That is my kind of price. And finally, it LITERALLY took me 5 minutes to get DNN set up. From the control panel for the admin of the web site (me) there is a hotlink that allows you to install DNN. The install works exactly as advertised. The only issue I had was that I installed DNN before my domain name pointed there, i.e. using the "temporary" url they give you to work with your site. Once my domain name pointed there I had a snafu getting the DNN site to work correctly. In the end I uninstalled and reinstalled DNN using my domain name (www.colbyconsulting.com) and it all worked like a dream. Given how easy the DNN install goes and the fact that I was just playing around at first learning how to use DNN it was a small issue, and in fact you may not have it happen to you. You should do your own research and come to your own decisions, but if you decide that WebHost4Life works for you, I get something (not sure what) for referrals so... My referral link is: http://www.webhost4life.com/default.asp?refid=jwcolby54 You can also visit my site and look under my picture for a link to WH4L using my referral. Speaking of the picture, I had that pic taken when I was working on the SQL book, and never got it in to the publisher, so my pic does not appear on the cover. What a shame eh? I decided what the heck, throw it on my web site. You guys can be honest and tell me if I should take it off. I've had a lot of good comments on the site and am quite pleased with how easy it was for me to do this stuff myself. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Thu Oct 6 11:54:30 2005 From: dmcafee at pacbell.net (David McAfee) Date: Thu, 6 Oct 2005 09:54:30 -0700 Subject: [AccessD] Question about ANPKs In-Reply-To: <200510061608.j96G8KT21782@databaseadvisors.com> Message-ID: Yes you can do it. This is how some people add a 0th record. As for the import, if you have access (no pun intended) to SQL server, you could always crate a DTS import package then when finished with normalization, export everything into Access (or import from SQL into Access if you prefer.) By using SQL, you can use temp tables and table variables to help out with some of the tasks. I like to import all tables as is(in their flat state) from Access, then add a new ANPK column even if it already has a PKID. When joining tables to get ParentIDs, join on as many fields as possible but include this new ANPK for your "relating". Sometimes you have to add additional INT columns to serve as links between child tables that are broken apart into many tables. Once you have everything mapped, you can move that data into your final normalized table structure. HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Thursday, October 06, 2005 8:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about ANPKs Scenario: Database 1 -- a legacy app that is being redesigned. It contains some tables with ANPKs and some without. In addition, it suffers from numerous design problems, including nested tables. (I inherited it, don't blame me :) Database 2 -- my revised version, in which all tables contain ANPKs. In I have to import all the old data into the new design. One particular table in the old design has been refactored into six tables (no lie). Various other tables have been refactored as well, but into fewer tables. My plan is to link the tables in the old database to the new one, then perform numerous append queries with various degrees of smarts so that the old data ends up in the refactored database correctly. The basic question is this: given that a source-table is ANPK in the old app, can I do an append query and specify that the old ANPK numbers go into the new ANPK column as-is? I suppose I could build a test table and try it, but I just wondered whether anyone had the answer off the top. I know that this can be done in MS-SQL but I can't recall ever doing it in Access. ------------ A related question: given that the new database has a whole lot of referential integrity and the old database has none, I cannot do the appends in just any order. I must guarantee that all foreign keys go in first, before I attempt to import the rows depending upon their existence. Another way to say this is, I must walk the tree from its outermost leaves, progressing inwards as I go (i.e. Add sales reps, product categories, products, etc. first, then I can add sales orders and finally sales details). Given that there are about 75 tables, I can easily screw the order up, forgetting to add this or that leaf-table before trying to add its branch. Is there some way to determine a sequence in which to add them, which is guaranteed to work? Obviously, there are many possible sequences which could work: I don't want an exhaustive list -- I will settle for one sequence that works. But I cannot readily deduce how to generate such a sequence. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 6 12:56:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 06 Oct 2005 13:56:13 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: Message-ID: <003c01c5ca9f$411c6d40$6c7aa8c0@ColbyM6805> >Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Max, DNN stands for DotNetNuke. It is a web site framework based on ASP.Net, VB.Net and MSSQL, which allows people to put up a web site with "out of the box" capabilities that you would otherwise have to program yourself (or go find modules for). DNN had an entire database (30 or so tables) used specifically for maintaining DNN structures, users, etc. You as a developer can add other tables in the MSSQL database and build a web enabled database application around the DNN foundation. Note that I am no expert in web design so read this with that in mind. Real web designers MAY be able to do all this stuff with little or no effort as well, once they learn their trade and tools. I am not a web designer and I can do this stuff (at least what you see) with DNN. Go to my site - www.ColbyConsulting.com . BTW, also go to my OLD web site at www.jwcolby.com to see my previous attempt at web design. Just a bit of a difference eh? At my new web site, notice the register and login. That is DotNetNuke. I did not create that. Notice the handsome guy (pic) off to the left, and the book gifs and hotlinks to buy them off to the right, with the main "Colby consulting message" in the middle. All of those are modules that come with DNN. I "fill in the content" of those modules in order to show my picture, the book gifs and the links to buy the books. Take this opportunity to register and log in. Now notice that the menu has expanded to include other menu items that are not visible for visitors who don't register and log in. There is an ExampleCode menu item with sub menu items. Pages in DNN can be "allowed to be viewed" by groups of users. I have set up my site such that the stuff you see without logging in can be seen by "all users" whereas the rest of the stuff can only bee seen by "registered users". This kind of functionality is just built in to DNN. These menu items are "pages" in DNN. I add a page by clicking a "add page" button (when logged in as an administrator) and I get a new page. DNN just creates a menu item for me, I don't have to do that. Each page has areas that are predefined by the "skin" I selected into which I can drop one or more "modules". These modules can include text / html areas, announcements, banners, events, faqs and a ton of other things that are just built in to DNN. Additionally I can go out to the web and buy or find for free other modules. On the top menu, click on Example Code / Framework Articles. The page you see is a free module I downloaded off the web which allows me to enter a "multi-page" page. That module allowed me to set up pages to put my article pages on, and built for me (no programming on my part) the little menu you see off to the left. Also down at the bottom you will see a "page n of m" kind of thing, part of the module. On the top menu, click on the Forums menu item. Forums are another module that I downloaded off the web. I just built a page and told DNN to put a Forums Module in the center area of the page and there you go. I go in and define the topic / sub topic. All "no programming on my part". On the top menu, click on the Feedback menu item. An email applet that just "snaps in", no programming on my part. DNN is the FRAMEWORK that makes all this possible, and includes enough modules to make it useable with no outside help, but which allows developers to write additional modules that do some thing. There are LOTS of modules out there, a thriving community of developers trying to build and sell modules, and many free modules as well. DotNetNuke is really about allowing you to create a web site with a presentation (the skin), the data (the pictures and text in the areas of the web page) and the business logic (the programming that causes the modules to do what they do). These three pieces are distinct from each other to a large extent. I did not write the skin, and I did not write the modules. I just found a skin I could live with, and started assembling the pages and modules, filling in the content. Only the content is mine. According to the DotNetNuke site, they now have several hundred thousand web sites running DNN. What you see on my site was completed in about two weeks it seems. In fact I just checked and I purchased my hosting there on the 20th of last month and then had to transfer my domain to them. So it took me 2 weeks to figure out how to use DNN plus get the content you see up there. The key though is that going forward, adding content is a no brainer. Of course learning to do my own modules is definitely NOT a no-brainer. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Thursday, October 06, 2005 12:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Excuse my ignorance, please. Regards Max (Derby) Mob: 07990 521001 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: 06 October 2005 16:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life I concur with John. I've used webhost4life.com for 2 yrs now and I've been satisfied with the service. Aside from SQL server and DotNet support they also have Sharepoint Team Sites available as part of the package. From jwcolby at ColbyConsulting.com Thu Oct 6 19:25:37 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 06 Oct 2005 20:25:37 -0400 Subject: [AccessD] OT: Help for Visual Studio Message-ID: <000801c5cad5$a6a51a50$6c7aa8c0@ColbyM6805> I purchased Visual Studio, only to discover that the HELP for it is only found on the MSDN disks. Is that a rip or what? On EBay I am finding a set of 3 CDs called the MSDN Library for Visual Studio.Net 2003, for about $20. Does this include the help files? And why in the world is it sold without help to begin with? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From pcantoni at erggroup.com Thu Oct 6 20:49:37 2005 From: pcantoni at erggroup.com (Paolo Cantoni) Date: Fri, 7 Oct 2005 09:49:37 +0800 Subject: [AccessD] Help stop making electrons dizzy... In-Reply-To: Message-ID: Hi, I've posted this before, but it getting very frustrating... Please please please take the extra three seconds to remove unneeded content from your replies... The electrons must be getting dizzy sending the same information back and forth. The digest of 28th September was particularly bad (you can see how far behind I am!) and prompted this second request. It was 30 pages long and contained a grand total of less than 2 pages of new content! One particular posting contained _three lines_ of new info and _four and a half pages_ of baggage!! Please please please just take that extra few seconds... and spare the electrons and the trees! The list contains great stuff, but wading through the baggage makes it tough! Paolo ERG Group 247 Balcatta Road Balcatta WA 6021 Australia Tel: + 61 8 9273 1287 Fax: +61 8 9273 1535 Email: pcantoni at erggroup.com Website: www.erggroup.com There is no such thing as an inconsistently correct system... ...Therefore, aim for consistency; in the expectation of achieving correctness! From john at winhaven.net Thu Oct 6 21:05:15 2005 From: john at winhaven.net (John Bartow) Date: Thu, 6 Oct 2005 21:05:15 -0500 Subject: [AccessD] Help stop making electrons dizzy... In-Reply-To: Message-ID: <000001c5cae3$902a37c0$6801a8c0@ScuzzPaq> Paolo, Good point. Sorry for the frustration. We are lowering the size limits of messages so that at some point people are forced to snip unneeded content. Besides making it easier on people that recieve the digest version it will also make archive searches more efficient and cut done on the cost of storage that we pay for. Remember everything sent is archived whether or not it has been repeated or not. We have already started doing this on the other lists. John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paolo Cantoni Sent: Thursday, October 06, 2005 8:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] Help stop making electrons dizzy... Hi, I've posted this before, but it getting very frustrating... Please please please take the extra three seconds to remove unneeded content from your replies... The electrons must be getting dizzy sending the same information back and forth. The digest of 28th September was particularly bad (you can see how far behind I am!) and prompted this second request. It was 30 pages long and contained a grand total of less than 2 pages of new content! One particular posting contained _three lines_ of new info and _four and a half pages_ of baggage!! Please please please just take that extra few seconds... and spare the electrons and the trees! The list contains great stuff, but wading through the baggage makes it tough! Paolo ERG Group 247 Balcatta Road Balcatta WA 6021 Australia Tel: + 61 8 9273 1287 Fax: +61 8 9273 1535 Email: pcantoni at erggroup.com Website: www.erggroup.com There is no such thing as an inconsistently correct system... ...Therefore, aim for consistency; in the expectation of achieving correctness! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Oct 6 21:25:04 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Fri, 07 Oct 2005 12:25:04 +1000 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <000801c5cad5$a6a51a50$6c7aa8c0@ColbyM6805> Message-ID: <43466920.14874.2A1D52@localhost> On 6 Oct 2005 at 20:25, John Colby wrote: > I purchased Visual Studio, only to discover that the HELP for it is only > found on the MSDN disks. Is that a rip or what? > > On EBay I am finding a set of 3 CDs called the MSDN Library for Visual > Studio.Net 2003, for about $20. Does this include the help files? And why > in the world is it sold without help to begin with? > I'm in the same situation with VB6. I know of four sets of VB Pro/Enterprise, including my own one in Port Moresby. Not one of the owners still has the MSDN disks that have the Help files - mine were stolen a few years ago when I left a CD case sitting in my car in a shopping centre for half an hour :-(. I recently had to instal VB6 on a new development machine and it consequently has no help. (If anyone has a set of the old MSDN disks containing the help files for VB6 and would be prepared to mail me a copy, I'd be more than happy to pay for them) From accessd at shaw.ca Fri Oct 7 03:38:11 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 07 Oct 2005 01:38:11 -0700 Subject: [AccessD] OT Friday In-Reply-To: <002e01c5c8cf$1e5fafa0$017ba8c0@xpserver> Message-ID: <015e01c5cb1a$73b4e3b0$017ba8c0@xpserver> Someone has dug out an ancient version of LISP, from 9 track tapes and now it is available to all as open source: http://www.heeltoe.com/retro/mit/mit_cadr_lmss.html Here is a niche market. Tired of all the traditional colognes and perfumes; try these: http://www.perfume.com/demeter/demeter-1007504.html ....and http://www.fashion-planet.com/shopping/demeter/homecollection.html Jim From shamil at users.mns.ru Fri Oct 7 04:48:12 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 7 Oct 2005 13:48:12 +0400 Subject: [AccessD] OT: Friday Humor: There's A Hole In My Sidewalk Message-ID: <005901c5cb24$6f491990$6401a8c0@fincomplex.spb.ru> Hi All, I found this story funny and I decided to post its link here - for me it looks like a "reusable pattern" real life situation, which a way too often happens in software development: http://www.storybin.com/builders/builders115.shtml Shamil :) From mikedorism at verizon.net Fri Oct 7 07:25:11 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Fri, 07 Oct 2005 08:25:11 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <43466920.14874.2A1D52@localhost> Message-ID: <000501c5cb3a$2ab342e0$2e01a8c0@dorismanning> As I told John Colby in a message on the VB List, I dug around in my software drawer and unearthed two older MDSN Library DVDs from 2003 that I'm not using. I offered one to him and you would be more than welcome to the other one. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of stuart at lexacorp.com.pg Sent: Thursday, October 06, 2005 10:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Help for Visual Studio I'm in the same situation with VB6. I know of four sets of VB Pro/Enterprise, including my own one in Port Moresby. Not one of the owners still has the MSDN disks that have the Help files - mine were stolen a few years ago when I left a CD case sitting in my car in a shopping centre for half an hour :-(. I recently had to instal VB6 on a new development machine and it consequently has no help. (If anyone has a set of the old MSDN disks containing the help files for VB6 and would be prepared to mail me a copy, I'd be more than happy to pay for them) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Oct 7 07:34:33 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 07 Oct 2005 08:34:33 -0400 Subject: [AccessD] (no subject) Message-ID: Has anyone read this article about a security flaw in Jet? http://www.securityfocus.com/news/11335 Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From Lambert.Heenan at AIG.com Fri Oct 7 08:27:34 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 7 Oct 2005 09:27:34 -0400 Subject: [AccessD] Help stop making electrons dizzy... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F171F0107@xlivmbx21.aig.com> But isn't reposting his entire message, complete with two AccessD footers exactly the kind of baggage Paolo was talking about? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, October 06, 2005 10:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Help stop making electrons dizzy... Paolo, Good point. Sorry for the frustration. From Gustav at cactus.dk Fri Oct 7 08:38:52 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 07 Oct 2005 15:38:52 +0200 Subject: [AccessD] LINQ Message-ID: Hi all This is hot: http://msdn.microsoft.com/netframework/future/linq/ Note the link to sample code. /gustav From bchacc at san.rr.com Fri Oct 7 08:46:51 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Oct 2005 06:46:51 -0700 Subject: [AccessD] Fw: [dba-Tech] Toll Free Number Message-ID: <004201c5cb45$929753a0$6501a8c0@HAL9004> Posted on dba-tech but I think I need a bigger audience and it's Friday so maybe I can get away with it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "dba-tech" Sent: Thursday, October 06, 2005 3:25 PM Subject: [dba-Tech] Toll Free Number > This is about as far off topic as it gets. But it's still tech, so... > > I need a toll-free number. I was going to call SBC, the local company. > But found this: > > http://www.gotvmail.com/solutions/index.html > > Does anybody know this outfit? > > Any recommendations an a toll-free number? > > TIA > > Rocky > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Oct 7 08:56:46 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 07 Oct 2005 15:56:46 +0200 Subject: [AccessD] Fw: [dba-Tech] Toll Free Number Message-ID: Hi Rocky Did you study this site: http://www.fcc.gov/wcb/tapd/toll_free/888faq.html /gustav >>> bchacc at san.rr.com 07-10-2005 15:46 >>> Posted on dba-tech but I think I need a bigger audience and it's Friday so maybe I can get away with it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "dba-tech" Sent: Thursday, October 06, 2005 3:25 PM Subject: [dba-Tech] Toll Free Number > This is about as far off topic as it gets. But it's still tech, so... > > I need a toll-free number. I was going to call SBC, the local company. > But found this: > > http://www.gotvmail.com/solutions/index.html > > Does anybody know this outfit? > > Any recommendations an a toll-free number? From markamatte at hotmail.com Fri Oct 7 09:06:33 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 07 Oct 2005 14:06:33 +0000 Subject: [AccessD] (no subject) In-Reply-To: Message-ID: I may be over simplifying this...but the wording of the following snip caught my attention: "The Hesive Trojan can be disguised as a Microsoft Access file. Once opened in Access, infected .mdb files take advantage of a five-month old buffer overflow flaw in Microsoft's Jet Database Engine software to seize control of vulnerable machines. "... Would this actually be a virus 'disguised'...or is it just a database written to be a virus. The article states that the virus takes advantages of the bug...AFTER you open it with access...from what I know about access...you don't need a bug...if you can get someone to open the db...it will run all of your code, good or bad, regardless. I'm not sure what my point was...but something didn't seem entirely clear when I read that article... Any feedback? Thanks, Mark A. Matte >From: "Julie Reardon-Taylor" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] (no subject) >Date: Fri, 07 Oct 2005 08:34:33 -0400 > >Has anyone read this article about a security flaw in Jet? > >http://www.securityfocus.com/news/11335 > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone/Fax: (315) 785-0319 >www.pro-soft.net > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Oct 7 09:23:35 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Oct 2005 07:23:35 -0700 Subject: [AccessD] Fw: [dba-Tech] Toll Free Number References: Message-ID: <00a401c5cb4a$b3ba5a00$6501a8c0@HAL9004> Bless my government. They've now told me all the things they can't do for me. And they told me where to go (as is their wont). So I guess I'll start searching for RespOrgs (quite an Orwellian word, wouldn't you say?). Thanks GB. Rocky ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, October 07, 2005 6:56 AM Subject: Re: [AccessD] Fw: [dba-Tech] Toll Free Number > Hi Rocky > > Did you study this site: > > http://www.fcc.gov/wcb/tapd/toll_free/888faq.html > > /gustav > >>>> bchacc at san.rr.com 07-10-2005 15:46 >>> > Posted on dba-tech but I think I need a bigger audience and it's Friday so > maybe I can get away with it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "dba-tech" > Sent: Thursday, October 06, 2005 3:25 PM > Subject: [dba-Tech] Toll Free Number > > >> This is about as far off topic as it gets. But it's still tech, so... >> >> I need a toll-free number. I was going to call SBC, the local company. >> But found this: >> >> http://www.gotvmail.com/solutions/index.html >> >> Does anybody know this outfit? >> >> Any recommendations an a toll-free number? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Fri Oct 7 08:57:01 2005 From: john at winhaven.net (John Bartow) Date: Fri, 7 Oct 2005 08:57:01 -0500 Subject: [AccessD] Help stop making electrons dizzy... In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F171F0107@xlivmbx21.aig.com> Message-ID: <004001c5cb46$fe21e2b0$6801a8c0@ScuzzPaq> Yes it is. Slap! Lambert nails me . I generally snip replies as I have with yours (below). If every one would do this it would be great! But your retort does bring up the fact that everyone is going to slip up now and again. Just go through the last couple of weeks and look for messages over 10kb in size. They are that size due to lack of snipping. (I won't slap anyone individual's wrist, Lambert, but I see that just about everyone forgets to snip occasionally ;o) My excuse - I was just plain tired. Been working 15 hour days and if you note the time that was near the end of one of them. Sometimes the fact that someone replies quickly to a plea for help is more important than the reply's cleanliness - not in my case though, I hang my head in shame... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert But isn't reposting his entire message, complete with two AccessD footers exactly the kind of baggage Paolo was talking about? Lambert From Lambert.Heenan at AIG.com Fri Oct 7 10:10:17 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 7 Oct 2005 11:10:17 -0400 Subject: [AccessD] Help stop making electrons dizzy... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F171F01C4@xlivmbx21.aig.com> Mea Culpa also. I got a post rejected just the other day because it was over 32k. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 07, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Help stop making electrons dizzy... Yes it is. Slap! Lambert nails me . From cfoust at infostatsystems.com Fri Oct 7 10:19:49 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 08:19:49 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: If you have any recent version of MSDN disks, they have the help on them. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 06, 2005 5:26 PM To: 'Access Developers discussion and problem solving'; dba-vb at databaseadvisors.com Subject: [AccessD] OT: Help for Visual Studio I purchased Visual Studio, only to discover that the HELP for it is only found on the MSDN disks. Is that a rip or what? On EBay I am finding a set of 3 CDs called the MSDN Library for Visual Studio.Net 2003, for about $20. Does this include the help files? And why in the world is it sold without help to begin with? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Fri Oct 7 10:47:39 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 7 Oct 2005 11:47:39 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: Message-ID: <20051007154739.OKFZ463.ibm61aec.bellsouth.net@SUSANONE> I thought you got a year's sub to MSDN with your initial purchase? Susan H. If you have any recent version of MSDN disks, they have the help on them. From cfoust at infostatsystems.com Fri Oct 7 10:54:01 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 08:54:01 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: I didn't. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio I thought you got a year's sub to MSDN with your initial purchase? Susan H. If you have any recent version of MSDN disks, they have the help on them. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Fri Oct 7 10:56:55 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 7 Oct 2005 11:56:55 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: Message-ID: <20051007155655.HKQX14361.ibm68aec.bellsouth.net@SUSANONE> Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. From Jim.Hale at FleetPride.com Fri Oct 7 11:00:37 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 7 Oct 2005 11:00:37 -0500 Subject: [AccessD] OT: Friday Humor Texas Chili Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378E6@corp-es01.fleetpride.com> A Texas Chili Contest For those of you who have lived in Texas, you know how true this is. They actually have a chili cook-off about the time Halloween comes around. It takes up a major portion of a parking lot at the San Antonio city park. The notes are from an inexperienced chili taster named Frank, who was visiting from Springfield, IL. Note: Please take time to read this slowly. If you pay attention to the first two judges (who were experienced judges), the reaction of the third judge is even better. Frank: "Recently, I was honored to be selected as a judge at a chili cooking contest. The original person called in sick at the last moment and I happened to be standing there at the judge's table asking for directions to the Coors Light truck, when the call came in. I was assured by the other two judges (native Texans) that the chili wouldn't be all that spicy and, besides, they told me I could have free beer during the tasting, so I accepted." Here are the scorecards from the advent: (Frank is Judge #3) Chili # 1 Eddie's Maniac Monster Chili... Judge # 1 -- A little too heavy on the tomato. Amusing kick. Judge # 2 -- Nice, smooth tomato flavor. Very mild. Judge # 3 -- (Frank) What the hell is this stuff?! You could remove dried paint from your driveway. Took me two beers to put out the flames. I hope that's the worst one. These Texans are crazy! Chili # 2 Austin's Afterburner Chili... Judge # 1 -- Smoky, with a hint of pork. Slight jalapeno tang. Judge # 2 -- Exciting BBQ flavor; needs more peppers to be taken seriously. Judge # 3 -- Keep this out of the reach of children. I'm not sure what I'm supposed to taste besides pain. I had to wave off two people who wanted to give me the Heimlich maneuver. They had to rush in more beer when they saw the look on my face. Chili # 3 Ronny's Famous Burn Down the Barn Chili... Judge # 1 -- Excellent firehouse chili. Great kick. Needs more beans. Judge # 2 -- A beanless chili, a bit salty, good use of peppers. Judge # 3 -- Call the EPA. I've located a uranium spill. My nose feels like I have been snorting Drano. Everyone knows the routine by now. Get me more beer before I ignite. Barmaid pounded me on the back, now my backbone is in the front part of my chest. I'm getting pie-eyed from all of the beer... Chili # 4 Dave's Black Magic... Judge # 1 -- Black bean chili with almost no spice. Disappointing. Judge # 2 -- Hint of lime in the black beans. Good side dish for fish, or other mild foods; not much of a chili. Judge # 3 -- I felt something scraping across my tongue, but was unable to taste it. Is it possible to burn out taste buds? Sally, the barmaid, was standing behind me with fresh refills. That 300-lb. woman is starting to look HOT...just like this nuclear waste I'm eating! Is chili an aphrodisiac? Chili # 5 Lisa's Legal Lip Remover... Judge # 1 -- Meaty, strong chili. Cayenne peppers freshly ground, adding considerable kick. Very impressive. Judge # 2 -- Chili using shredded beef, could use more tomato. Must admit the cayenne peppers make a strong statement. Judge # 3 -- My ears are ringing, sweat is pouring off my forehead, and I can no longer focus my eyes. I farted and four people behind me needed paramedics. The contestant seemed offended when I told her that her chili had given me brain damage. Sally saved my tongue from bleeding by pouring beer directly on it from the pitcher. I wonder if I'm burning my lips off. It really pisses me off that the other judges asked me to stop screaming. Screw those rednecks. Chili # 6 Pam's Very Vegetarian Variety... Judge # 1 -- Thin, yet bold vegetarian variety chili. Good balance of spices and peppers. Judge # 2 -- The best yet. Aggressive use of peppers, onions, and garlic. Superb. Judge # 3 -- My intestines are now a straight pipe filled with gaseous, sulphuric flames. I pooped on myself when I farted and I'm worried it will eat through the chair! No one seems inclined to stand behind me anymore. I need to wipe my butt with a snow cone. Chili # 7 Carla's Screaming Sensation Chili... Judge # 1 -- A mediocre chili with too much reliance on canned peppers. Judge # 2 -- Ho-hum; tastes as if the chef literally threw in a can of chili peppers at the last moment. **I should take note that I am worried about Judge # 3. He appears to be in a bit of distress, as he is cursing uncontrollably. Judge # 3 -- You could put a grenade in my mouth, pull the pin, and I wouldn't feel a thing. I've lost sight in one eye, and the world sounds like it is made of rushing water. My shirt is covered with chili, which slid unnoticed out of my mouth. My pants are full of lava to match my shirt. At least during the autopsy, they'll know what killed me. I've decided to stop breathing; it's too painful. Screw it; I'm not getting any oxygen anyway. If I need air, I'll just suck it in through the 4-inch hole in my stomach. Chili # 8 Karen's Toenail Curling Chili... Judge # 1 -- The perfect ending, this is a nice blend chili. Not too bold, but spicy enough to declare its existence. Judge # 2 -- This final entry is a good, balanced chili. Neither mild, nor hot. Sorry to see that most of it was lost when Judge # 3 farted, passed out, fell over, and pulled the chili pot down on top of himself. Not sure if he's going to make it. Poor fella, wonder how he'd have reacted to really hot chili *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Fri Oct 7 11:09:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 09:09:18 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: I believe Office Developer used to come with a one-year MSDN sub. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 8:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Oct 7 11:09:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 07 Oct 2005 12:09:10 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <20051007155655.HKQX14361.ibm68aec.bellsouth.net@SUSANONE> Message-ID: <002801c5cb59$739d8c80$6c7aa8c0@ColbyM6805> Especially when the "extra" is an MSDN subscription to the tune of thousands of dollars. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 11:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 7 11:14:34 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 09:14:34 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: The annual subscription to just the documentation MSDN is more like $300. It's the universal subscription that is in the thousands. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 07, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Especially when the "extra" is an MSDN subscription to the tune of thousands of dollars. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 11:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 7 11:15:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 07 Oct 2005 18:15:02 +0200 Subject: [AccessD] OT: Friday Humor Texas Chili Message-ID: Hi Jim Wonderful! I love the titles of those chili recipes ... /gustav >>> Jim.Hale at FleetPride.com 07-10-2005 18:00 >>> A Texas Chili Contest From jwcolby at ColbyConsulting.com Fri Oct 7 11:25:17 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 07 Oct 2005 12:25:17 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: Message-ID: <002901c5cb5b$b440b850$6c7aa8c0@ColbyM6805> None the less... $300 is a bit much to get the manual. Why isn't it just a free download? I purchased the 2001 Visual Studio and the manuals were included. The 2003 version they aren't. This does NOT endear them to their customers. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 07, 2005 12:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Help for Visual Studio The annual subscription to just the documentation MSDN is more like $300. It's the universal subscription that is in the thousands. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 07, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Especially when the "extra" is an MSDN subscription to the tune of thousands of dollars. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 11:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Oct 7 11:28:06 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 07 Oct 2005 09:28:06 -0700 Subject: [AccessD] OT Open source PBX software In-Reply-To: <005901c5cb24$6f491990$6401a8c0@fincomplex.spb.ru> Message-ID: <019201c5cb5c$1994a950$017ba8c0@xpserver> OT Friday Listening to a pod cast on this product seems very interesting especially to small entrepreneurs like many of the list members. See http://www.asterisk.org/ If you are interested further you could download the mp3 pod cast file from here: http://reference.creativesystemdesigns.com/Downloads/yigal/PBXOpenSource.mp3 Jim From john at winhaven.net Fri Oct 7 11:33:07 2005 From: john at winhaven.net (John Bartow) Date: Fri, 7 Oct 2005 11:33:07 -0500 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <002801c5cb59$739d8c80$6c7aa8c0@ColbyM6805> Message-ID: <007401c5cb5c$cc5995a0$6801a8c0@ScuzzPaq> And get this, I had to choose how to upgrade my "Universal" subscription to a "premium" account in order that they might decide what parts of Visual Studio 2005 I get. I no longer get everything with a "Universal" subscription. If I had a premium subsciption I would. How can you constantly screw with the titles of products and expect not to irritate people? How is "Premium" a more inclusive term than "Universal". MS Marketing at its worst. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 07, 2005 11:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Especially when the "extra" is an MSDN subscription to the tune of thousands of dollars. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 11:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 7 11:38:49 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 7 Oct 2005 11:38:49 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378E7@corp-es01.fleetpride.com> Lambert, Thank you for your input. I agree with your thought about y but I checked it and it returns the expected value. I am going to test this idea further but I am about to conclude that dimmed but unused objects can prevent excel from properly closing. Regarding saving workbooks, generally I open a template and add data using a function. If the operation was successful the function returns true and I save the newly created workbook. If false I discard the workbook and send a message that the workbook was not created. All this has worked well for years. I agree with your comments about the goto statement. This is one of those lines of code that worked and I have never bothered to improve. I will need an exorcist to remove it from all the places I have copied it over time but I will eventually have it cleaned up. I wish this was the only case of code that should be rewritten as I've learned better ways to do things! Regards, Jim Hale -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Wednesday, October 05, 2005 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing Re your comment about 14 and y: this strongly suggests that y is not being set to the correct value in the first place (or is being altered later on). In any case, where the number of elements in an array is (potentially) in doubt I always use.. For x = lBound(SomeArrayName) to uBound(SomeArrayName) ... The next thing that confuses me (very easy to do!) is... If blState = True Then .ActiveWorkbook.SaveAs FileName:=strFileSave .ActiveWorkbook.Close SaveChanges:=False End With I'm not sure why you are trying to save the workbook to some specific file name, but I assume that your code has changed the excel file that was opened and you want to then save it to a *new* file with a different path/name. If not, then why does the next line close the workbook without saving the changes? Now these routines do not allow you to open one file and save it under a different name, but then I would instead copy the file to a new name first, open the copy and change it any way I want, and then close the copy, saving the changes. One other comment, you have... If blState = False Then GoTo Err_Load_Financials The only time I ever need to use Goto is in setting up an error handler, because that's the only way you can do it in VB/VBA. Otherwise I've never needed to code anything using Goto. Plus, in your code it looks like the Goto target really is an error handler, which means that if blState IS false and your code jumps there, you will get another error when the Resume line executes, because you did not enter the error handler legally (by raising an error). Hope some of this helps. Lambert *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From harkinsss at bellsouth.net Fri Oct 7 11:48:59 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 7 Oct 2005 12:48:59 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: Message-ID: <20051007164910.PNUF463.ibm61aec.bellsouth.net@SUSANONE> I just find it outrageous that they charge for it at all -- why should we pay for the instructions? Susan H. The annual subscription to just the documentation MSDN is more like $300. It's the universal subscription that is in the thousands. From accessd at shaw.ca Fri Oct 7 12:01:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 07 Oct 2005 10:01:34 -0700 Subject: [AccessD] (no subject) In-Reply-To: Message-ID: <019301c5cb60$c5be5010$017ba8c0@xpserver> The whole issue of many of these viruses and Trojans is that they use a very common issue with many programs written in C and C++. The process used to get control of the resident computer, is to use a simple script, to first push an address on to the stack, which points back to the hacker's program and then flood the character buffer of some poorly written application. The application crashes and Windows recovers by returning through the stack... which points back to the hackers' code. Both C and C++ have very simple languages. If you create a string variable of a length of 50 characters, unlike other languages, if you attempt to push a string of 65 characters into that string variable, it will accept it. What happens to the other 15 characters?... well they write off into the string buffer over-writing the end of string Null character and who knows what else. (Anyone remembers Fortran common blocks?) It is up to the C programmer to assure that this can not happen by writing the appropriate code to check string lengths and number sizes, in their application. In most cases, hackers are not working around holes left in applications but are just taking advantage of poorly written code. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, October 07, 2005 7:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] (no subject) I may be over simplifying this...but the wording of the following snip caught my attention: "The Hesive Trojan can be disguised as a Microsoft Access file. Once opened in Access, infected .mdb files take advantage of a five-month old buffer overflow flaw in Microsoft's Jet Database Engine software to seize control of vulnerable machines. "... Would this actually be a virus 'disguised'...or is it just a database written to be a virus. The article states that the virus takes advantages of the bug...AFTER you open it with access...from what I know about access...you don't need a bug...if you can get someone to open the db...it will run all of your code, good or bad, regardless. I'm not sure what my point was...but something didn't seem entirely clear when I read that article... Any feedback? Thanks, Mark A. Matte From Gustav at cactus.dk Fri Oct 7 12:03:50 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 07 Oct 2005 19:03:50 +0200 Subject: [AccessD] OT Open source PBX software Message-ID: Hi Jim et all It certainly is interesting. Asterisk can do just about everything you can imagine a PBX could/should do and for a large amount of extensions (1000+). We sell the system here (actually the setup and support for it) including these important tools which you shouldn't miss: http://ipswitchboard.thorben.dk/ Note that the free version of IPManager is limited to 5 extensions. /gustav >>> accessd at shaw.ca 07-10-2005 18:28 >>> OT Friday Listening to a pod cast on this product seems very interesting especially to small entrepreneurs like many of the list members. See http://www.asterisk.org/ If you are interested further you could download the mp3 pod cast file from here: http://reference.creativesystemdesigns.com/Downloads/yigal/PBXOpenSource.mp3 Jim From accessd at shaw.ca Fri Oct 7 12:13:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 07 Oct 2005 10:13:34 -0700 Subject: [AccessD] OT Open source PBX software In-Reply-To: Message-ID: <019401c5cb62$7361a5e0$017ba8c0@xpserver> Thank you Gustav... I have just started to research the product and plan set up one at my home office. Those tools will definitely make it easier. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 07, 2005 10:04 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Open source PBX software Hi Jim et all It certainly is interesting. Asterisk can do just about everything you can imagine a PBX could/should do and for a large amount of extensions (1000+). We sell the system here (actually the setup and support for it) including these important tools which you shouldn't miss: http://ipswitchboard.thorben.dk/ Note that the free version of IPManager is limited to 5 extensions. /gustav >>> accessd at shaw.ca 07-10-2005 18:28 >>> OT Friday Listening to a pod cast on this product seems very interesting especially to small entrepreneurs like many of the list members. See http://www.asterisk.org/ If you are interested further you could download the mp3 pod cast file from here: http://reference.creativesystemdesigns.com/Downloads/yigal/PBXOpenSource.mp3 Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 7 12:16:16 2005 From: john at winhaven.net (John Bartow) Date: Fri, 7 Oct 2005 12:16:16 -0500 Subject: [AccessD] OFFLIST (was: My new web site) In-Reply-To: <000501c5c644$920ae330$6c7aa8c0@ColbyM6805> Message-ID: <007d01c5cb62$d7a3d8c0$6801a8c0@ScuzzPaq> Hi John, Are you paying $4.95 a month for this? We've been looking for a new web host for dba's website and this sounds too good to be true! John B. BTW: you need something from MSDN let me know. I pay a fortune for it every year and never use but a 10th of it. ...I wonder if DBA could be a universal subscriber and all of it owners share in it use? From jwcolby at ColbyConsulting.com Fri Oct 7 12:31:22 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 07 Oct 2005 13:31:22 -0400 Subject: [AccessD] OFFLIST (was: My new web site) In-Reply-To: <007d01c5cb62$d7a3d8c0$6801a8c0@ScuzzPaq> Message-ID: <002a01c5cb64$f27b9280$6c7aa8c0@ColbyM6805> John, I am paying for the Microsoft Hosting / ADVANCE plan which is $9.99 / month. The reason I buy that plan is that DotNetNuke REQUIRES MSSQL, in fact it has a couple of dozen tables that hold all the stuff that makes it work, as well as tables that hold the CONTENT that I place in the site. I do think it is a good price, even for the plan I am buying. They give a reasonable disk space, but more importantly they give a reasonable database size. Most of the other plans that I looked at gave a couple of hundred megabytes for the database, even if they gave you a lot of disk space. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 07, 2005 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OFFLIST (was: My new web site) Hi John, Are you paying $4.95 a month for this? We've been looking for a new web host for dba's website and this sounds too good to be true! John B. BTW: you need something from MSDN let me know. I pay a fortune for it every year and never use but a 10th of it. ...I wonder if DBA could be a universal subscriber and all of it owners share in it use? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 7 12:35:14 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 10:35:14 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: Well, if we're guys, we don't read the instructions, so I guess the women absorb the cost ...? Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio I just find it outrageous that they charge for it at all -- why should we pay for the instructions? Susan H. The annual subscription to just the documentation MSDN is more like $300. It's the universal subscription that is in the thousands. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 7 12:37:25 2005 From: john at winhaven.net (John Bartow) Date: Fri, 7 Oct 2005 12:37:25 -0500 Subject: [AccessD] OFFLIST (was: My new web site) In-Reply-To: <007d01c5cb62$d7a3d8c0$6801a8c0@ScuzzPaq> Message-ID: <000001c5cb65$caa762b0$6901a8c0@ScuzzPaq> Doh! Yea, OFFLIST, sure. I've been so good with emailing this week! Hope I don't get a flood of web hosting ads now! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 07, 2005 12:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OFFLIST (was: My new web site) From stuart at lexacorp.com.pg Fri Oct 7 14:11:33 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 08 Oct 2005 05:11:33 +1000 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <000501c5cb3a$2ab342e0$2e01a8c0@dorismanning> References: <43466920.14874.2A1D52@localhost> Message-ID: <43475505.9424.6B0A541@stuart.lexacorp.com.pg> On 7 Oct 2005 at 8:25, Mike & Doris Manning wrote: > As I told John Colby in a message on the VB List, I dug around in my > software drawer and unearthed two older MDSN Library DVDs from 2003 that I'm > not using. I offered one to him and you would be more than welcome to the > other one. > Thanks for the offer, but I've got one of them. It's the old one with VB6 on that I need. -- Stuart From martyconnelly at shaw.ca Fri Oct 7 14:22:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 07 Oct 2005 12:22:06 -0700 Subject: [AccessD] OT: Help for Visual Studio References: <20051007164910.PNUF463.ibm61aec.bellsouth.net@SUSANONE> Message-ID: <4346CADE.5000905@shaw.ca> They have been doing this for some time The Student Model of VB6 came with no help files and inabilty to create an exe You could run from p-code. It was once free and downloadable, now you can only find the CD in the backs of some VB6 books. Susan Harkins wrote: >I just find it outrageous that they charge for it at all -- why should we >pay for the instructions? > >Susan H. > >The annual subscription to just the documentation MSDN is more like $300. >It's the universal subscription that is in the thousands. > > > > -- Marty Connelly Victoria, B.C. Canada From jim.moss at jlmoss.net Fri Oct 7 16:04:28 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Fri, 7 Oct 2005 16:04:28 -0500 (CDT) Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <43475505.9424.6B0A541@stuart.lexacorp.com.pg> References: <43466920.14874.2A1D52@localhost> <43475505.9424.6B0A541@stuart.lexacorp.com.pg> Message-ID: <53062.209.136.1.154.1128719068.squirrel@209.136.1.154> Stuart, I had (and probably still have) the MSDN set for VB6 Enterprise at home, I think that there were 2 or 3 cd's and I believe they were from the SP6 timeframe. You are welcome to them if I can find them when and if I ever get home... If I haven't gotten back to you by tomorrow afternoon email me at jim at jlmoss.net as a reminder. Jim > On 7 Oct 2005 at 8:25, Mike & Doris Manning wrote: > >> As I told John Colby in a message on the VB List, I dug around in my >> software drawer and unearthed two older MDSN Library DVDs from 2003 that >> I'm >> not using. I offered one to him and you would be more than welcome to >> the >> other one. >> > > Thanks for the offer, but I've got one of them. It's the old one with VB6 > on that I need. > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Sat Oct 8 06:03:01 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 08 Oct 2005 13:03:01 +0200 Subject: [AccessD] SharePoint Public Services Message-ID: Hi all Anyone having an URL to a SharePoint Server with public access - at which everyone (for fun/test) can attach some tables? /gustav From mwp.reid at qub.ac.uk Sat Oct 8 06:10:50 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 8 Oct 2005 12:10:50 +0100 Subject: [AccessD] SharePoint Public Services References: Message-ID: <000b01c5cbf8$f1bfbd50$0d02a8c0@MartinReid> dont have the address but the MS Sharepoint site shoudl have a link to a MS hosted test server. Martin ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, October 08, 2005 12:03 PM Subject: [AccessD] SharePoint Public Services > Hi all > > Anyone having an URL to a SharePoint Server with public access - at which > everyone (for fun/test) can attach some tables? > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Sat Oct 8 07:05:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 08 Oct 2005 14:05:12 +0200 Subject: [AccessD] SharePoint Public Services Message-ID: Hi Martin Thanks. So I thought, but no (or it is buried deeply) ... And - browsing many sites - such Sharepoint sites takes _forever_ to load - be warned and think twice before you decide to bring a Sharepoint site to the public. /gustav >>> mwp.reid at qub.ac.uk 08-10-2005 13:10 >>> dont have the address but the MS Sharepoint site shoudl have a link to a MS hosted test server. Martin ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, October 08, 2005 12:03 PM Subject: [AccessD] SharePoint Public Services > Hi all > > Anyone having an URL to a SharePoint Server with public access - at which > everyone (for fun/test) can attach some tables? > > /gustav From martyconnelly at shaw.ca Sat Oct 8 13:28:45 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 08 Oct 2005 11:28:45 -0700 Subject: [AccessD] SharePoint Public Services References: Message-ID: <43480FDD.6010000@shaw.ca> Microsoft Windows SharePoint Services Hosted Trial 30 days https://www.globaltrial.com/global/campaigns/canada_en_ad/default.aspx I don't know if you remember this guy Eli Robillard out of Toronto, he wrote up a series of asp wizards called GenericDB to quickly put up Access and ASP, his method even got an editorial write up in Nature Journal as a quick method of disseminating scientific lab info. But I guess he has moved on to Sharepoint, here is his Sharepoint Resources FAQ. maybe you can find something there. http://weblogs.asp.net/erobillard/articles/SharePointResources.aspx There are several sites I can find that will give you WSS for around $20 a month I used one in Europe while it was still free in Beta, response time were less than a second to load someting like northwind size tables. Gustav Brock wrote: >Hi Martin > >Thanks. So I thought, but no (or it is buried deeply) ... >And - browsing many sites - such Sharepoint sites takes _forever_ to load - be warned and think twice before you decide to bring a Sharepoint site to the public. > >/gustav > > > >>>>mwp.reid at qub.ac.uk 08-10-2005 13:10 >>> >>>> >>>> >dont have the address but the MS Sharepoint site shoudl have a link to a MS >hosted test server. > >Martin > > >----- Original Message ----- >From: "Gustav Brock" >To: >Sent: Saturday, October 08, 2005 12:03 PM >Subject: [AccessD] SharePoint Public Services > > > > >>Hi all >> >>Anyone having an URL to a SharePoint Server with public access - at which >>everyone (for fun/test) can attach some tables? >> >>/gustav >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sat Oct 8 14:11:13 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 08 Oct 2005 21:11:13 +0200 Subject: [AccessD] SharePoint Public Services Message-ID: Hi Marty Thanks, lots of stuff at that site. But again, apparently no mentioning of sites for casual testing. I'm aware of the 30-days offerings around but I would prefer just a table or two I could retrieve from time to time - I have no intention of building a Sharepoint site. To me it looks like a tool for intra- and perhaps extranets only, not public sites - these seems to require massive hardware to run at just decent speed. /gustav >>> martyconnelly at shaw.ca 08-10-2005 20:28 >>> Microsoft Windows SharePoint Services Hosted Trial 30 days https://www.globaltrial.com/global/campaigns/canada_en_ad/default.aspx I don't know if you remember this guy Eli Robillard out of Toronto, he wrote up a series of asp wizards called GenericDB to quickly put up Access and ASP, his method even got an editorial write up in Nature Journal as a quick method of disseminating scientific lab info. But I guess he has moved on to Sharepoint, here is his Sharepoint Resources FAQ. maybe you can find something there. http://weblogs.asp.net/erobillard/articles/SharePointResources.aspx There are several sites I can find that will give you WSS for around $20 a month I used one in Europe while it was still free in Beta, response time were less than a second to load someting like northwind size tables. From jwcolby at ColbyConsulting.com Sat Oct 8 14:42:27 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 08 Oct 2005 15:42:27 -0400 Subject: [AccessD] My Site - Useful Files Message-ID: <000001c5cc40$6d3d8a10$697aa8c0@ColbyM6805> I just got the "Useful Files" section moved to my new site. I found something interesting in the process. ONE of the files is an MDE. When I was testing, that file was "not found", where all the others were. I eventually tried zipping the file and putting that up there, and that file could be downloaded. So something about an MDE (and maybe MDA/MDB?) prevented the file from being found as a downloadable file. Strange. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Sat Oct 8 15:15:28 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 08 Oct 2005 16:15:28 -0400 Subject: [AccessD] Getting Visual Studio 3.0 running a web page Message-ID: <000101c5cc45$09bd0740$697aa8c0@ColbyM6805> I am getting a variety of errors when trying to create a new web page project in VS 2003. I had a bunch of different things installed, including VS 2001, the various 2005 betas and VS 2003, pretty much all at the same time. I uninstalled everything including IIS, purchased Registry Mechanic to clean up the registry, reinstalled IIS and then VS 2003. I am now able to serve a basic web page IF I place my old web site's Index.HTML etc. I see the basics of the old ColbyConsulting.com. So IIS appears to run. What I am getting ATM is a server error 500 when I try to build a new project. From everything I am reading is a general "it doesn't fit in any of my other errors" error. I have spent probably the last 8 hours messing around, then uninstalling, then re-installing, and still no closer to success. My machine boots noticeably faster though. ;-) So, can anyone help me get VS 2003 building and running an ASP.Net web project? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From artful at rogers.com Sat Oct 8 18:01:14 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 8 Oct 2005 19:01:14 -0400 Subject: [AccessD] LINQ In-Reply-To: Message-ID: <200510082301.j98N1BT08351@databaseadvisors.com> Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. The late Dr. Codd fought long and mightily to eradicate the distinctions lying between the implementations from various vendors. MS is not the only rapist in the park, as it were. Oracle was first. I do NOT like this direction. First and foremost, it moves application logic into the app or middle tier rather than the database itself. I HATE this direction! IMO all logic that CAN reside in the db SHOULD reside there, and nowhere else. To the extent that LINQ encourages logic in the front end, I think that it is a serious design mistake. I distinguish this objection from an object to extending T-SQL (PL-SQL, etc.) with new languages and constructs. But I want them all to work with all SQL implementations. Otherwise the genius of Dr. Codd will be buried along with him. How sad. SQL should IMO work just like the web: adhere to the spec, and flag your differences in BOLD type so that the user-developers will realize that to the extent they use your extensions, they violate the protocol. Personally, I have bought into various Oracle and MS extensions and paid the price for it every time. All this marketing strategy reminds me of a crack dealer saying The first hit is free. I hate this direction. I want vendor-language transparency -- everything I write in MS is guaranteed portable to Oracle, Postgres, MySQL, ANTs, etc. ... In all directions. I realize that the self-serving vendors have chosen to capture their customers, but I hate it. In my ideal world, I specialize in SQL not in MS-SQL or Oracle or any other flavour you wish. I want every line of code to work in every implementation, and to the extent that the implementation fails, then I do not want to use that product. I want the vendors to propose language extensions and upon agreement by the other vendors, every vendor can then implement the extensions. The late Dr. Codd is most often thought of as having invented relational databases. Historically, he had no part in the creation of the SQL query language. In fact, he had lots of objections to it (c.f. The Relational Model for Database Management, Version Two, ISBN 0-201-14192-2; Chapter 23, Serious Flaws in SQL) I have examined the objections of Dr. Codd in detail and I am convinced that he is correct. His disciple Michael Stonebreaker produced a superior query language, but as in the case of betamax v. vhs, it does not really matter whether you are correct. It may be that the application logic moves to the front end thanks to LINQ. I hope that this does not happen. I am fine with various languages moving into the back end and replacing or augmenting T-SQL, but only if they are portable to other SQL implementations. I have been down this road before, and I now name it VENDOR-ENTRAPMENT. I hate it. I have instead a vision much like the SQL spec in which all vendors agree to comply with said spec, and any cool extensions they wish to introduce should be subject to the scrutiny of all other vendors. Given the db players in the market, any my particular fragment of said market, MS-SQL is the best answer. But I do NOT want to trap myself or my clients into this solution! Everything could change next month or year. I want a migration from product X to product Y to be painless. To the extent that the db vendors stifle me in this, I understand their commercial motives but I hate them nonetheless. Codd was about universality and transparency. Please, let us try to remember that. So what does this mean in real terms... Vendor X cannot introduce extension Y without first proposing it to the committee, and having it accepted. (Example: the pivot extensions in SQL 2005.) Unless and until all the other major vendors accept this new extension and its syntax, it shall not be considered part of the SQL spec. Back to LINQ... to the extent that the application logic moves to the front end, regardless of the language, I get very nervous. This is NOT the direction in which I wish to travel. My vision is opposite: all front-end developers use the same set of back-end sprocs and views and UDFs, regardless of their chosen UI. In this scenario, I make one code correction in a sproc and all possible front-ends inherit it automatically. Why on earth would we choose to do it any other way... I do not get it. This seems soooo obvious to me. Perhaps I am missing something. I imagine 5 front-ends to my database -- Access, .NET, Excel, ASP and Delphi -- and I do NOT want each programmer of each of these to re-think and re-write the logic! Instead I want them to comprehend the sprocs, pass the params required and test the result, then act accordingly. EVERYTHING THE BE CAN DO THE BE SHOULD DO. The front-ends should interrogate and that is all they should do. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: October 7, 2005 9:39 AM To: accessd at databaseadvisors.com Subject: [AccessD] LINQ Hi all This is hot: http://msdn.microsoft.com/netframework/future/linq/ Note the link to sample code. /gustav From jwcolby at ColbyConsulting.com Sat Oct 8 19:22:11 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 08 Oct 2005 20:22:11 -0400 Subject: [AccessD] LINQ In-Reply-To: <200510082301.j98N1BT08351@databaseadvisors.com> Message-ID: <000201c5cc67$7dcaaee0$697aa8c0@ColbyM6805> Arthur, SQL and the database engine is about providing data to an application, it is NOT about BEING the application. As soon as you discuss building an application then all kinds of considerations take over, things having nothing to do with the data. Screen resolution, input devices, local storage of various things, platform architecture kind of stuff. All of these things are done in languages VERY platform specific. Perhaps not the best way but there are good reasons for doing so, from application speed to development speed. Applications are bigger than the data. I have a call center application where data is automatically validated at the control level as it is entered. As 5 check boxes are checked and unchecked, business rules take over and cause other check boxes to be checked and unchecked. This data has never even been sent to storage yet, it is just out in the form so far. Where data causes program execution branches, displaying or not displaying entire tabs on forms, or allowing / preventing specific forms from being seen. Where user rights dictate whether specific controls can be used, whether specific fields can be seen and used for data entry. Where data is exported to word documents and excel spreadsheets, stored out in directories for archive purposes, attached to emails and sent, where documents received as attachments are stripped off of the emails, placed in directories, and then data is extracted from the documents and appended into the database. Data is pulled out and faxed automatically, inserted into emails and emailed automatically etc. The data is about claims, but the APPLICATION is about customer service, handling a claim in the most expeditious manner in order to ensure that payment is prompt. The data collected is by and large just a byproduct of the processes occurring to validate a claim. I absolutely believe that "what the database engine can do, it should do". However what the database engine can do is a TINY part of what the application does. In order to develop powerful data-driven APPLICATIONS I need powerful data manipulation tools integrated right into my language. THAT is what .NET is trying to attempt. My APPLICATION will NEVER just port to a different ENVIRONMENT. To make the data store transparent is definitely a good thing, I agree whole heartedly. But don't cut me off at the knees getting at the data. If I have to use a specific data store (as long as it is a powerful one) I simply couldn't care less. It would definitely be better if the interface between the language and the data store could swap out data stores, that would be a nice thing, but certainly not critical. AFAICT .Net can indeed "talk to" other data stores than Access and SQL Server. You wax poetic about the BE / data store / database engine / SQL Language but it is just a critical but tiny part of the bigger picture. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, October 08, 2005 7:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] LINQ Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. The late Dr. Codd fought long and mightily to eradicate the distinctions lying between the implementations from various vendors. MS is not the only rapist in the park, as it were. Oracle was first. I do NOT like this direction. First and foremost, it moves application logic into the app or middle tier rather than the database itself. I HATE this direction! IMO all logic that CAN reside in the db SHOULD reside there, and nowhere else. To the extent that LINQ encourages logic in the front end, I think that it is a serious design mistake. I distinguish this objection from an object to extending T-SQL (PL-SQL, etc.) with new languages and constructs. But I want them all to work with all SQL implementations. Otherwise the genius of Dr. Codd will be buried along with him. How sad. SQL should IMO work just like the web: adhere to the spec, and flag your differences in BOLD type so that the user-developers will realize that to the extent they use your extensions, they violate the protocol. Personally, I have bought into various Oracle and MS extensions and paid the price for it every time. All this marketing strategy reminds me of a crack dealer saying The first hit is free. I hate this direction. I want vendor-language transparency -- everything I write in MS is guaranteed portable to Oracle, Postgres, MySQL, ANTs, etc. ... In all directions. I realize that the self-serving vendors have chosen to capture their customers, but I hate it. In my ideal world, I specialize in SQL not in MS-SQL or Oracle or any other flavour you wish. I want every line of code to work in every implementation, and to the extent that the implementation fails, then I do not want to use that product. I want the vendors to propose language extensions and upon agreement by the other vendors, every vendor can then implement the extensions. The late Dr. Codd is most often thought of as having invented relational databases. Historically, he had no part in the creation of the SQL query language. In fact, he had lots of objections to it (c.f. The Relational Model for Database Management, Version Two, ISBN 0-201-14192-2; Chapter 23, Serious Flaws in SQL) I have examined the objections of Dr. Codd in detail and I am convinced that he is correct. His disciple Michael Stonebreaker produced a superior query language, but as in the case of betamax v. vhs, it does not really matter whether you are correct. It may be that the application logic moves to the front end thanks to LINQ. I hope that this does not happen. I am fine with various languages moving into the back end and replacing or augmenting T-SQL, but only if they are portable to other SQL implementations. I have been down this road before, and I now name it VENDOR-ENTRAPMENT. I hate it. I have instead a vision much like the SQL spec in which all vendors agree to comply with said spec, and any cool extensions they wish to introduce should be subject to the scrutiny of all other vendors. Given the db players in the market, any my particular fragment of said market, MS-SQL is the best answer. But I do NOT want to trap myself or my clients into this solution! Everything could change next month or year. I want a migration from product X to product Y to be painless. To the extent that the db vendors stifle me in this, I understand their commercial motives but I hate them nonetheless. Codd was about universality and transparency. Please, let us try to remember that. So what does this mean in real terms... Vendor X cannot introduce extension Y without first proposing it to the committee, and having it accepted. (Example: the pivot extensions in SQL 2005.) Unless and until all the other major vendors accept this new extension and its syntax, it shall not be considered part of the SQL spec. Back to LINQ... to the extent that the application logic moves to the front end, regardless of the language, I get very nervous. This is NOT the direction in which I wish to travel. My vision is opposite: all front-end developers use the same set of back-end sprocs and views and UDFs, regardless of their chosen UI. In this scenario, I make one code correction in a sproc and all possible front-ends inherit it automatically. Why on earth would we choose to do it any other way... I do not get it. This seems soooo obvious to me. Perhaps I am missing something. I imagine 5 front-ends to my database -- Access, .NET, Excel, ASP and Delphi -- and I do NOT want each programmer of each of these to re-think and re-write the logic! Instead I want them to comprehend the sprocs, pass the params required and test the result, then act accordingly. EVERYTHING THE BE CAN DO THE BE SHOULD DO. The front-ends should interrogate and that is all they should do. A. From accessd at shaw.ca Sat Oct 8 21:03:53 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 08 Oct 2005 19:03:53 -0700 Subject: [AccessD] Getting Visual Studio 3.0 running a web page In-Reply-To: <000101c5cc45$09bd0740$697aa8c0@ColbyM6805> Message-ID: <021101c5cc75$b2ebe090$017ba8c0@xpserver> Hi John: Error 500 from IIS means you do not have rights to access a specific directory. Check your permissions HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 08, 2005 1:15 PM To: 'Access Developers discussion and problem solving'; dba-vb at databaseadvisors.com; Tech - Database Advisors Inc. Subject: [AccessD] Getting Visual Studio 3.0 running a web page I am getting a variety of errors when trying to create a new web page project in VS 2003. I had a bunch of different things installed, including VS 2001, the various 2005 betas and VS 2003, pretty much all at the same time. I uninstalled everything including IIS, purchased Registry Mechanic to clean up the registry, reinstalled IIS and then VS 2003. I am now able to serve a basic web page IF I place my old web site's Index.HTML etc. I see the basics of the old ColbyConsulting.com. So IIS appears to run. What I am getting ATM is a server error 500 when I try to build a new project. From everything I am reading is a general "it doesn't fit in any of my other errors" error. I have spent probably the last 8 hours messing around, then uninstalling, then re-installing, and still no closer to success. My machine boots noticeably faster though. ;-) So, can anyone help me get VS 2003 building and running an ASP.Net web project? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Oct 8 23:02:29 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 08 Oct 2005 21:02:29 -0700 Subject: [AccessD] LINQ In-Reply-To: <000201c5cc67$7dcaaee0$697aa8c0@ColbyM6805> Message-ID: <021201c5cc86$44a3b2f0$017ba8c0@xpserver> Hi Guys: IMHO there is a moving away from database centric applications. Dot Net and associated ADO.Net with it's Datasets are an attempt by MS to move an application away from reliance on the server for processing pages and pointing the BE DB to what it should be doing... managing data. Dot Net is an attempt to make applications more distributive. In a properly written program it should call back to the server when it needs to select, add, modify or delete (a) record(s) and between then it should run as if it is a stand-alone application. (There is of course a startup 'load' process but after that...) I am currently investigating 'Cache', an alternative database and have been delightfully entertaining with it very interesting concepts. If you can imagine a field handled like a Class, with all the properties, methods, events with overloading, encapsulation, aggregation, custom data types, etc etc. After a number of classes are constructed they can be inherited by another super class and so on. All the standards and relationships surrounding a proper class structure can be implemented. The process is very intuitive for those understanding the fundamentals of OOP. When all is completed the system can generate a SQL schema with all the constraints, rules, SP, UDF, structures, tables and databases. This is not to be fooled that this is just a code generator as the schema displayed is just to give the old SQL designers the warm and fuzzies. It generates a full XML schema just as easily. The database structure can scale virtually to infinity and how that would be represented I can not imagine. Under the hood is an ultimate highly optimized relational hierarchy. Access to any data is fast regardless of which ghost 'database', 'table' or 'field; it resides in. The whole structure distributes itself from servers to clients with little effort on behalf of the database designer. For remote systems there is not the issues around 'publishing', 'subscribing' and 'synchronizing' as in MS SQL and Oracle. So far I am very impressed. The next step is to see how it handles a few million pieces of data and then the last aspect is how it responds under load. Do not get me wrong; I am not embracing Cache over MS SQL or Oracle, as I know them well as do my clients. It is that this technology has proven itself stellar in implementation and if it performs as well with volume and under load I will have no legitimate reasons to not recommend it. Does this Cache database follow Codd's rules... I can not say. The internal implementation is hidden and I have not the knowledge to go digging. Jim PS If you are interested in a fully function, single user, free Cache database check out: http://www.intersystems.com/cache/index.html and http://www.intersystems.com/cache/downloads/index.html. The download comes with a full set of step by step tutorials; it runs on any Linux, Mac OSX or Windows distribution from 98 up. It takes up little room (38xK), requires little memory (128Mb+), can still function on slow machines (400Mhz) and is simple-stupid to install. Compare that to Oracle 10i. Arthur, SQL and the database engine is about providing data to an application, it is NOT about BEING the application. As soon as you discuss building an application then all kinds of considerations take over, things having nothing to do with the data. Screen resolution, input devices, local storage of various things, platform architecture kind of stuff. All of these things are done in languages VERY platform specific. Perhaps not the best way but there are good reasons for doing so, from application speed to development speed. Applications are bigger than the data. I have a call center application where data is automatically validated at the control level as it is entered. As 5 check boxes are checked and unchecked, business rules take over and cause other check boxes to be checked and unchecked. This data has never even been sent to storage yet, it is just out in the form so far. Where data causes program execution branches, displaying or not displaying entire tabs on forms, or allowing / preventing specific forms from being seen. Where user rights dictate whether specific controls can be used, whether specific fields can be seen and used for data entry. Where data is exported to word documents and excel spreadsheets, stored out in directories for archive purposes, attached to emails and sent, where documents received as attachments are stripped off of the emails, placed in directories, and then data is extracted from the documents and appended into the database. Data is pulled out and faxed automatically, inserted into emails and emailed automatically etc. The data is about claims, but the APPLICATION is about customer service, handling a claim in the most expeditious manner in order to ensure that payment is prompt. The data collected is by and large just a byproduct of the processes occurring to validate a claim. I absolutely believe that "what the database engine can do, it should do". However what the database engine can do is a TINY part of what the application does. In order to develop powerful data-driven APPLICATIONS I need powerful data manipulation tools integrated right into my language. THAT is what .NET is trying to attempt. My APPLICATION will NEVER just port to a different ENVIRONMENT. To make the data store transparent is definitely a good thing, I agree whole heartedly. But don't cut me off at the knees getting at the data. If I have to use a specific data store (as long as it is a powerful one) I simply couldn't care less. It would definitely be better if the interface between the language and the data store could swap out data stores, that would be a nice thing, but certainly not critical. AFAICT .Net can indeed "talk to" other data stores than Access and SQL Server. You wax poetic about the BE / data store / database engine / SQL Language but it is just a critical but tiny part of the bigger picture. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. The late Dr. Codd fought long and mightily to eradicate the distinctions lying between the implementations from various vendors. MS is not the only rapist in the park, as it were. Oracle was first. I do NOT like this direction. First and foremost, it moves application logic into the app or middle tier rather than the database itself. I HATE this direction! IMO all logic that CAN reside in the db SHOULD reside there, and nowhere else. To the extent that LINQ encourages logic in the front end, I think that it is a serious design mistake. I distinguish this objection from an object to extending T-SQL (PL-SQL, etc.) with new languages and constructs. But I want them all to work with all SQL implementations. Otherwise the genius of Dr. Codd will be buried along with him. How sad. SQL should IMO work just like the web: adhere to the spec, and flag your differences in BOLD type so that the user-developers will realize that to the extent they use your extensions, they violate the protocol. Personally, I have bought into various Oracle and MS extensions and paid the price for it every time. All this marketing strategy reminds me of a crack dealer saying The first hit is free. I hate this direction. I want vendor-language transparency -- everything I write in MS is guaranteed portable to Oracle, Postgres, MySQL, ANTs, etc. ... In all directions. I realize that the self-serving vendors have chosen to capture their customers, but I hate it. In my ideal world, I specialize in SQL not in MS-SQL or Oracle or any other flavour you wish. I want every line of code to work in every implementation, and to the extent that the implementation fails, then I do not want to use that product. I want the vendors to propose language extensions and upon agreement by the other vendors, every vendor can then implement the extensions. The late Dr. Codd is most often thought of as having invented relational databases. Historically, he had no part in the creation of the SQL query language. In fact, he had lots of objections to it (c.f. The Relational Model for Database Management, Version Two, ISBN 0-201-14192-2; Chapter 23, Serious Flaws in SQL) I have examined the objections of Dr. Codd in detail and I am convinced that he is correct. His disciple Michael Stonebreaker produced a superior query language, but as in the case of betamax v. vhs, it does not really matter whether you are correct. It may be that the application logic moves to the front end thanks to LINQ. I hope that this does not happen. I am fine with various languages moving into the back end and replacing or augmenting T-SQL, but only if they are portable to other SQL implementations. I have been down this road before, and I now name it VENDOR-ENTRAPMENT. I hate it. I have instead a vision much like the SQL spec in which all vendors agree to comply with said spec, and any cool extensions they wish to introduce should be subject to the scrutiny of all other vendors. Given the db players in the market, any my particular fragment of said market, MS-SQL is the best answer. But I do NOT want to trap myself or my clients into this solution! Everything could change next month or year. I want a migration from product X to product Y to be painless. To the extent that the db vendors stifle me in this, I understand their commercial motives but I hate them nonetheless. Codd was about universality and transparency. Please, let us try to remember that. So what does this mean in real terms... Vendor X cannot introduce extension Y without first proposing it to the committee, and having it accepted. (Example: the pivot extensions in SQL 2005.) Unless and until all the other major vendors accept this new extension and its syntax, it shall not be considered part of the SQL spec. Back to LINQ... to the extent that the application logic moves to the front end, regardless of the language, I get very nervous. This is NOT the direction in which I wish to travel. My vision is opposite: all front-end developers use the same set of back-end sprocs and views and UDFs, regardless of their chosen UI. In this scenario, I make one code correction in a sproc and all possible front-ends inherit it automatically. Why on earth would we choose to do it any other way... I do not get it. This seems soooo obvious to me. Perhaps I am missing something. I imagine 5 front-ends to my database -- Access, .NET, Excel, ASP and Delphi -- and I do NOT want each programmer of each of these to re-think and re-write the logic! Instead I want them to comprehend the sprocs, pass the params required and test the result, then act accordingly. EVERYTHING THE BE CAN DO THE BE SHOULD DO. The front-ends should interrogate and that is all they should do. A. From Gustav at cactus.dk Sun Oct 9 05:42:14 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 09 Oct 2005 12:42:14 +0200 Subject: [AccessD] LINQ Message-ID: Hi Arthur As I understand it, LINQ is rather an attempt to create a database vendor independent query class in dot net, thus this should be within the thoughts of Dr. Codd as you reference these (I haven't read his books). You may argue that, if so, you are still trapped, now in dot net, and that may be true but only until the Mono project (dot net for Linux) catches up on this. Neither do I like to be trapped with MS-SQL. That's why I never have made an ADP (except for fun) and never will. As to the business logic, I think it should be kept in the front end for the simple reason that it is much easier to maintain a frontend than a database engine, the only exception being if performance seriously calls for it. If having the business logic in the frontend for some reason is not practical - say, when using several different frontends - business logic could be moved to a middle-tier. The only logic I prefer to place in the database itself is low level routines like validation and other rules that will "never" change. Never is a dangerous word, but a field for a month value will never be smaller than 1 or larger than 12 and a year value will not be larger than 9999. When I listen to MS at the developer meetings it is perfectly clear that while examples etc. are, of course, shown with their own engine, MS is fully aware that "out there" many Oracle and DB2 installations exist and dot net must serve these as well. /gustav >>> artful at rogers.com 09-10-2005 01:01:14 >>> Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. From artful at rogers.com Sun Oct 9 09:31:00 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 9 Oct 2005 10:31:00 -0400 Subject: [AccessD] LINQ In-Reply-To: Message-ID: <200510091431.j99EV0T29778@databaseadvisors.com> I see that you are into writing short-term applications LOL. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: October 9, 2005 6:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ ... a year value will not be larger than 9999. From bchacc at san.rr.com Sun Oct 9 10:07:13 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 9 Oct 2005 08:07:13 -0700 Subject: [AccessD] OT: Firewall Message-ID: <003d01c5cce3$2156b420$6501a8c0@HAL9004> I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky From Gustav at cactus.dk Sun Oct 9 11:05:51 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 09 Oct 2005 18:05:51 +0200 Subject: [AccessD] LINQ Message-ID: Hi Arthur Certainly! Well, the rationale is that more than four digits is most likely a typing error. /gustav >>> artful at rogers.com 09-10-2005 16:31:00 >>> I see that you are into writing short-term applications LOL. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: October 9, 2005 6:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ ... a year value will not be larger than 9999. From dwaters at usinternet.com Sun Oct 9 11:47:28 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 9 Oct 2005 11:47:28 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <30046922.1128870813812.JavaMail.root@sniper17> Message-ID: <000001c5ccf1$229e46f0$0200a8c0@danwaters> Rocky, I've used Computer Associates EZ Armor (virus + firewall) for about three years. Very transparent, no technical problems, and apparently effective because my weekly sweeps for viruses and spyware result in no or only low-threat findings. Can't compare to others since I haven't used them. BOL (Best of Luck)! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, October 09, 2005 10:07 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Firewall I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 9 11:55:45 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 9 Oct 2005 11:55:45 -0500 Subject: [AccessD] Easy Screenshots Message-ID: <000101c5ccf2$4b0a8620$0200a8c0@danwaters> I've been developing Word manuals for my database, and have discovered that if I open a form using the acDialog value in the WindowMode argument, I can then push keys Alt+Print Scrn to get a copy of just that form. Paste into Word (or something else) and then I can adjust size and other properties because in Word it's just a picture. Perhaps everyone knows this, but maybe not . . . ! Dan Waters From Gustav at cactus.dk Sun Oct 9 12:13:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 09 Oct 2005 19:13:12 +0200 Subject: [AccessD] OT: Internet Archive Message-ID: Hi all Are you aware of this amazing project: http://web.archive.org The name says it all. For example: http://web.archive.org/web/20010402051847/http://www.databaseadvisors.com/ http://web.archive.org/web/20000619213525/http://www.colbyconsulting.com/ /gustav From bchacc at san.rr.com Sun Oct 9 12:34:32 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 9 Oct 2005 10:34:32 -0700 Subject: [AccessD] Easy Screenshots References: <000101c5ccf2$4b0a8620$0200a8c0@danwaters> Message-ID: <004c01c5ccf7$b6090500$6501a8c0@HAL9004> Dan: Had to do this for a couple of product manuals. Harder was to capture a report in a format which could be pasted into word. I found a product called Print To Picture which creates a separate jpg of each page of a report which can then be inserted into a word doc. Comes in an exe and installs like a printer and shows up on your installed printers list when you Ctrl-P> I can send it to you off line if you want it. Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Dan Waters" To: "AccessD" Sent: Sunday, October 09, 2005 9:55 AM Subject: [AccessD] Easy Screenshots > I've been developing Word manuals for my database, and have discovered > that > if I open a form using the acDialog value in the WindowMode argument, I > can > then push keys Alt+Print Scrn to get a copy of just that form. Paste into > Word (or something else) and then I can adjust size and other properties > because in Word it's just a picture. > > Perhaps everyone knows this, but maybe not . . . ! > > Dan Waters > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dmcafee at pacbell.net Sun Oct 9 12:50:45 2005 From: dmcafee at pacbell.net (David McAfee) Date: Sun, 9 Oct 2005 10:50:45 -0700 Subject: [AccessD] LINQ In-Reply-To: Message-ID: Uh oh, watch out for Y10K :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, October 09, 2005 9:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ Hi Arthur Certainly! Well, the rationale is that more than four digits is most likely a typing error. /gustav >>> artful at rogers.com 09-10-2005 16:31:00 >>> I see that you are into writing short-term applications LOL. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: October 9, 2005 6:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ ... a year value will not be larger than 9999. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Oct 9 13:26:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 09 Oct 2005 11:26:20 -0700 Subject: [AccessD] LINQ In-Reply-To: Message-ID: <022a01c5ccfe$f2741320$017ba8c0@xpserver> Well said Gustav. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, October 09, 2005 3:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ Hi Arthur As I understand it, LINQ is rather an attempt to create a database vendor independent query class in dot net, thus this should be within the thoughts of Dr. Codd as you reference these (I haven't read his books). You may argue that, if so, you are still trapped, now in dot net, and that may be true but only until the Mono project (dot net for Linux) catches up on this. Neither do I like to be trapped with MS-SQL. That's why I never have made an ADP (except for fun) and never will. As to the business logic, I think it should be kept in the front end for the simple reason that it is much easier to maintain a frontend than a database engine, the only exception being if performance seriously calls for it. If having the business logic in the frontend for some reason is not practical - say, when using several different frontends - business logic could be moved to a middle-tier. The only logic I prefer to place in the database itself is low level routines like validation and other rules that will "never" change. Never is a dangerous word, but a field for a month value will never be smaller than 1 or larger than 12 and a year value will not be larger than 9999. When I listen to MS at the developer meetings it is perfectly clear that while examples etc. are, of course, shown with their own engine, MS is fully aware that "out there" many Oracle and DB2 installations exist and dot net must serve these as well. /gustav >>> artful at rogers.com 09-10-2005 01:01:14 >>> Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Sun Oct 9 17:01:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sun, 09 Oct 2005 18:01:13 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <003d01c5cce3$2156b420$6501a8c0@HAL9004> Message-ID: <000301c5cd1c$fa1cd8a0$697aa8c0@ColbyM6805> I use Sygate personal on all of my machines. Works fine, lasts a long time, with proper maintenance. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, October 09, 2005 11:07 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Firewall I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Oct 9 22:52:54 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 09 Oct 2005 20:52:54 -0700 Subject: [AccessD] LINQ References: <200510091431.j99EV0T29778@databaseadvisors.com> Message-ID: <4349E596.5080303@shaw.ca> Yes and you haven't written apps that have light speed delay. Try updating a database that has a client circling Jupiter with terrestrial internet protocols. Go see what Vincent Cerf is trying to do. I have rarely seen companies that actually have reusable code, well one of my fortran algorithms for cubic spline fits is still floating around on the net, I gave up on this malarkey to make universal code around 1980 when people were asking for C code to be speced to K&R standards. How much C-code have you seen still floating around that passes that standard? Arthur Fuller wrote: >I see that you are into writing short-term applications LOL. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: October 9, 2005 6:42 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] LINQ >... a year value will not be larger than 9999. > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Sun Oct 9 23:27:06 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 9 Oct 2005 21:27:06 -0700 Subject: [AccessD] OT: Firewall References: <000301c5cd1c$fa1cd8a0$697aa8c0@ColbyM6805> Message-ID: <015701c5cd52$dfce51a0$6501a8c0@HAL9004> Are you behind a router firewall? Is that sufficient? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 09, 2005 3:01 PM Subject: Re: [AccessD] OT: Firewall >I use Sygate personal on all of my machines. Works fine, lasts a long >time, > with proper maintenance. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Sunday, October 09, 2005 11:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've > used it for years with no problem, upgraded this one box from Version 3 to > the latest, it blocks internet access and give a page full of instructions > on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed > the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of them) > so I don't know if I should be too concerned but I've always run a > firewall > on each machine in addition to the hardware firewall in the Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another > free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know > about this? Any other recommendations for a personal firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Mon Oct 10 03:00:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 10 Oct 2005 10:00:26 +0200 Subject: [AccessD] LINQ Message-ID: Hi Marty With that level of delay you would need some sort of message queue. I'm not into this but guess that at the upcoming Moon journeys NASA will provide some solutions - at least for the scientific world - to the asynchronous challenges ... /gustav >>> martyconnelly at shaw.ca 10-10-2005 05:52 >>> Yes and you haven't written apps that have light speed delay. Try updating a database that has a client circling Jupiter with terrestrial internet protocols. Go see what Vincent Cerf is trying to do. I have rarely seen companies that actually have reusable code, well one of my fortran algorithms for cubic spline fits is still floating around on the net, I gave up on this malarkey to make universal code around 1980 when people were asking for C code to be speced to K&R standards. How much C-code have you seen still floating around that passes that standard? Arthur Fuller wrote: >I see that you are into writing short-term applications LOL. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: October 9, 2005 6:42 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] LINQ >... a year value will not be larger than 9999. From jwcolby at ColbyConsulting.com Mon Oct 10 06:25:12 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 07:25:12 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <015701c5cd52$dfce51a0$6501a8c0@HAL9004> Message-ID: <009c01c5cd8d$47c9fdb0$697aa8c0@ColbyM6805> I am behind a router. Software firewalls are great for checking up on OUTBOUND comms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 10, 2005 12:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Are you behind a router firewall? Is that sufficient? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 09, 2005 3:01 PM Subject: Re: [AccessD] OT: Firewall >I use Sygate personal on all of my machines. Works fine, lasts a long >time, > with proper maintenance. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Sunday, October 09, 2005 11:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've > used it for years with no problem, upgraded this one box from Version 3 to > the latest, it blocks internet access and give a page full of instructions > on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed > the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of > them) so I don't know if I should be too concerned but I've always run > a firewall on each machine in addition to the hardware firewall in the > Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( > another free one : http://smb.sygate.com/products/spf_standard.htm) . > Anyone know about this? Any other recommendations for a personal > firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Oct 10 07:32:07 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 10 Oct 2005 08:32:07 -0400 Subject: [AccessD] Easy Screenshots In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CABFBD@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF0E6@ADGSERVER> Paint Shop Pro can do screen captures quite easily. Just an FYI. Bobby From bchacc at san.rr.com Mon Oct 10 08:08:06 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 06:08:06 -0700 Subject: [AccessD] OT: Firewall References: <009c01c5cd8d$47c9fdb0$697aa8c0@ColbyM6805> Message-ID: <006401c5cd9b$a7959430$6501a8c0@HAL9004> What is the risk with outbound comms? Can you have a problem even though you're behind the router firewall? And if so, how? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 4:25 AM Subject: Re: [AccessD] OT: Firewall >I am behind a router. Software firewalls are great for checking up on > OUTBOUND comms. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, October 10, 2005 12:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > Are you behind a router firewall? Is that sufficient? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 09, 2005 3:01 PM > Subject: Re: [AccessD] OT: Firewall > > >>I use Sygate personal on all of my machines. Works fine, lasts a long >>time, >> with proper maintenance. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Sunday, October 09, 2005 11:07 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] OT: Firewall >> >> >> I\'m having a huge problem getting Zone Alarm on one of our computers >> I've >> used it for years with no problem, upgraded this one box from Version 3 >> to >> the latest, it blocks internet access and give a page full of >> instructions >> on how to solve the problem - none of which work. >> >> Uninstalled, reinstalled, cleaned registry per their instructions, >> renamed >> the internet log, blah, blah. >> >> At the moment the machine is behind the router firewall (like all of >> them) so I don't know if I should be too concerned but I've always run >> a firewall on each machine in addition to the hardware firewall in the >> Linksys. >> >> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( >> another free one : http://smb.sygate.com/products/spf_standard.htm) . >> Anyone know about this? Any other recommendations for a personal >> firewall? >> >> Thanks and regards, >> >> Rocky >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 08:24:26 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 09:24:26 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <006401c5cd9b$a7959430$6501a8c0@HAL9004> Message-ID: <00a401c5cd9d$f390cd80$697aa8c0@ColbyM6805> Rocky, You could say that monitoring outbound comms is your last wall of defense. It should never happen, and won't if your AV program protects you perfectly. If a virus does slip by and starts trying to phone home, the software firewall will prevent the outbound comms and notify you that a program is attempting to talk to the internet. This level is not about preventing infection, but about discovering that you are infected. Imagine that somehow something slipped past, and was watching you log in to everything you log into these days. As it tries to ship that info out to the perps, the software firewall prevents the transmission, saving your bacon, as well as notifying you that the program is trying to transmit. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 10, 2005 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall What is the risk with outbound comms? Can you have a problem even though you're behind the router firewall? And if so, how? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 4:25 AM Subject: Re: [AccessD] OT: Firewall >I am behind a router. Software firewalls are great for checking up on >OUTBOUND comms. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Monday, October 10, 2005 12:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > Are you behind a router firewall? Is that sufficient? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 09, 2005 3:01 PM > Subject: Re: [AccessD] OT: Firewall > > >>I use Sygate personal on all of my machines. Works fine, lasts a long >>time, with proper maintenance. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Sunday, October 09, 2005 11:07 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] OT: Firewall >> >> >> I\'m having a huge problem getting Zone Alarm on one of our computers >> I've used it for years with no problem, upgraded this one box from >> Version 3 to >> the latest, it blocks internet access and give a page full of >> instructions >> on how to solve the problem - none of which work. >> >> Uninstalled, reinstalled, cleaned registry per their instructions, >> renamed the internet log, blah, blah. >> >> At the moment the machine is behind the router firewall (like all of >> them) so I don't know if I should be too concerned but I've always >> run a firewall on each machine in addition to the hardware firewall >> in the Linksys. >> >> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( >> another free one : http://smb.sygate.com/products/spf_standard.htm) . >> Anyone know about this? Any other recommendations for a personal >> firewall? >> >> Thanks and regards, >> >> Rocky >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 10 08:53:08 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 06:53:08 -0700 Subject: [AccessD] OT: Firewall References: <00a401c5cd9d$f390cd80$697aa8c0@ColbyM6805> Message-ID: <00a701c5cda1$f2155440$6501a8c0@HAL9004> Aha. So I'd better get Sygate up on Pundit's machine then. We run NAV and have the email scanner on. Not a friendly world out there, is it? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 6:24 AM Subject: Re: [AccessD] OT: Firewall > Rocky, > > You could say that monitoring outbound comms is your last wall of defense. > It should never happen, and won't if your AV program protects you > perfectly. > If a virus does slip by and starts trying to phone home, the software > firewall will prevent the outbound comms and notify you that a program is > attempting to talk to the internet. > > This level is not about preventing infection, but about discovering that > you > are infected. Imagine that somehow something slipped past, and was > watching > you log in to everything you log into these days. As it tries to ship > that > info out to the perps, the software firewall prevents the transmission, > saving your bacon, as well as notifying you that the program is trying to > transmit. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, October 10, 2005 9:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > What is the risk with outbound comms? Can you have a problem even though > you're behind the router firewall? And if so, how? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 10, 2005 4:25 AM > Subject: Re: [AccessD] OT: Firewall > > >>I am behind a router. Software firewalls are great for checking up on >>OUTBOUND comms. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Monday, October 10, 2005 12:27 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] OT: Firewall >> >> >> Are you behind a router firewall? Is that sufficient? >> >> Rocky >> >> ----- Original Message ----- >> From: "John Colby" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, October 09, 2005 3:01 PM >> Subject: Re: [AccessD] OT: Firewall >> >> >>>I use Sygate personal on all of my machines. Works fine, lasts a long >>>time, with proper maintenance. >>> >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> Contribute your unused CPU cycles to a good cause: >>> http://folding.stanford.edu/ >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>> Smolin - Beach Access Software >>> Sent: Sunday, October 09, 2005 11:07 AM >>> To: AccessD at databaseadvisors.com >>> Subject: [AccessD] OT: Firewall >>> >>> >>> I\'m having a huge problem getting Zone Alarm on one of our computers >>> I've used it for years with no problem, upgraded this one box from >>> Version 3 to >>> the latest, it blocks internet access and give a page full of >>> instructions >>> on how to solve the problem - none of which work. >>> >>> Uninstalled, reinstalled, cleaned registry per their instructions, >>> renamed the internet log, blah, blah. >>> >>> At the moment the machine is behind the router firewall (like all of >>> them) so I don't know if I should be too concerned but I've always >>> run a firewall on each machine in addition to the hardware firewall >>> in the Linksys. >>> >>> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( >>> another free one : http://smb.sygate.com/products/spf_standard.htm) . >>> Anyone know about this? Any other recommendations for a personal >>> firewall? >>> >>> Thanks and regards, >>> >>> Rocky >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Mon Oct 10 08:53:37 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 10 Oct 2005 15:53:37 +0200 Subject: [AccessD] OT: Oracle and MySQL and InnoDB Message-ID: Hi all Did you notice that Oracle is about eating InnoDB, the left (or right) leg of MySQL? Read frontpage: http://www.innodb.com /gustav From john at winhaven.net Mon Oct 10 10:11:05 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 10:11:05 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <003d01c5cce3$2156b420$6501a8c0@HAL9004> Message-ID: <00a201c5cdac$d5c53f70$6a01a8c0@ScuzzPaq> Rocky, I use SPF on a number of "home" clients. Mostly people with home offices. It is quite respectable. Only problem is that Symantec (Norton) recenlty acquired it. May be an issue in the future. When I found this out I questioned people for another freebie firewall. Someone mentioned Kerio's personal firewall. Unforutnately they are ending that product so I'm not even going there. I use CA's EZ-armor firewall on my main computer now (since Norton 2005 was such a pain) It is very good too. It is actually zone labs too but apparently by some licensing scheme between the two companies. Panda has one built in to their Titanium product but I find their products a bit cumbersome. Norton's Personal Firewall always worked good (2000-2004) for me but I won't recommend any of their 2005 series of products. I have a number of clients where it runs fine but I have also had my share of bad experineces with it. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, October 09, 2005 10:07 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Firewall I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Oct 10 10:48:05 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Oct 2005 08:48:05 -0700 Subject: [AccessD] OT: Firewall Message-ID: Rocky, There have been a lot of problems with the 6.x versions of ZoneAlarm, but most if not all were solved in the latest build. The best advice seems to be to do a clean install, not an upgrade. That requires you to retrain the critter, but it presents no other problems that I've encountered. You do need the software firewall to prevent outgoing unauthorized traffic. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, October 09, 2005 8:07 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Firewall I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 10 10:49:38 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 08:49:38 -0700 Subject: [AccessD] OT: Firewall References: <00a201c5cdac$d5c53f70$6a01a8c0@ScuzzPaq> Message-ID: <017d01c5cdb2$38645760$6501a8c0@HAL9004> Looks like for a no-cost option Sygate's leading the pack currently. Rocky ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 8:11 AM Subject: Re: [AccessD] OT: Firewall > Rocky, > I use SPF on a number of "home" clients. Mostly people with home offices. > It > is quite respectable. Only problem is that Symantec (Norton) recenlty > acquired it. May be an issue in the future. > > When I found this out I questioned people for another freebie firewall. > Someone mentioned Kerio's personal firewall. Unforutnately they are ending > that product so I'm not even going there. > > I use CA's EZ-armor firewall on my main computer now (since Norton 2005 > was > such a pain) It is very good too. It is actually zone labs too but > apparently by some licensing scheme between the two companies. > > Panda has one built in to their Titanium product but I find their products > a > bit cumbersome. > > Norton's Personal Firewall always worked good (2000-2004) for me but I > won't > recommend any of their 2005 series of products. I have a number of clients > where it runs fine but I have also had my share of bad experineces with > it. > > HTH > John B. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Sunday, October 09, 2005 10:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've > used it for years with no problem, upgraded this one box from Version 3 to > the latest, it blocks internet access and give a page full of instructions > on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed > the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of them) > so I don't know if I should be too concerned but I've always run a > firewall > on each machine in addition to the hardware firewall in the Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another > free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know > about this? Any other recommendations for a personal firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Oct 10 11:05:27 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 09:05:27 -0700 Subject: [AccessD] OT: Firewall References: Message-ID: <018401c5cdb4$6e9baa70$6501a8c0@HAL9004> Charlotte: I tried the clean install but it still messed up. Even went through all their uninstall stuff. I'm sure it's something peculiar to that machine. But if I can do a quickie with Sygate that'll be fine, instead of messing around for another hour or two with Zone Alarm. Regards, Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 10, 2005 8:48 AM Subject: Re: [AccessD] OT: Firewall > Rocky, > > There have been a lot of problems with the 6.x versions of ZoneAlarm, > but most if not all were solved in the latest build. The best advice > seems to be to do a clean install, not an upgrade. That requires you to > retrain the critter, but it presents no other problems that I've > encountered. You do need the software firewall to prevent outgoing > unauthorized traffic. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Sunday, October 09, 2005 8:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've used it for years with no problem, upgraded this one box from > Version 3 to the latest, it blocks internet access and give a page full > of instructions on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of > them) so I don't know if I should be too concerned but I've always run a > firewall on each machine in addition to the hardware firewall in the > Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( > another free one : http://smb.sygate.com/products/spf_standard.htm) . > Anyone know about this? Any other recommendations for a personal > firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Mon Oct 10 11:52:31 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 11:52:31 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <017d01c5cdb2$38645760$6501a8c0@HAL9004> Message-ID: <00a901c5cdbb$018d40e0$6a01a8c0@ScuzzPaq> Until something comes out of Symantec's buy out I have nothing negative to say about it. In fact, I have it running on my mom's pc :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 10, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Looks like for a no-cost option Sygate's leading the pack currently. Rocky From pctech at mybellybutton.com Mon Oct 10 13:06:01 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Mon, 10 Oct 2005 20:06:01 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EP24A23OS-0004pN@mrelay.perfora.net> John Bartow wrote on 10/10/2005, 06:52:31 PM: > Until something comes out of Symantec's buy out I have nothing negative to > say about it. In fact, I have it running on my mom's pc :o) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, October 10, 2005 10:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > Looks like for a no-cost option Sygate's leading the pack currently. > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Not to sound biased, but there are better no-cost/low-cost options out there if you have a spare PC lying around. Being a computer network engineer, part of my job is providing solutions for my employer with regards to "all things network". A document I recently completed, and I consider at draft 1 stage, is a document on how to build a Linux based firewall from bare metal on up. It doesn't discuss the rule sets themselves, but the rule set configurations are discussed in the documentation for the application used to create them. Aside from a few initial setup tasks the majority of the firewall configuration is done via a web interface adn a GUI interface. This documentation also covers the installation of a transparent proxy and a content filtering system. Any firewall ran on top of Windows suffers from all of the inherent attacks against the host OS. Which is why I run a dedicated machine, even at home, for my firewall, and it's not running Windows. From jwcolby at ColbyConsulting.com Mon Oct 10 14:17:16 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 15:17:16 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EP24A23OS-0004pN@mrelay.perfora.net> Message-ID: <000501c5cdcf$39fc2f40$697aa8c0@ColbyM6805> PCTech, First let me say that signatures are a good thing. We know what you like to be called and can address you that way. Second, I understand the "dedicated firewall" mentality, but for Joe Average (me!) it is a non starter. The effort involved in learning enough just to get Linux installed is enough to kill the concept. I have done that much and all by itself it was enough to give me pause. Believe me, I read about such things and wish... But it ain't happening. What is simple to a "computer network engineer" is pretty much Greek to me. And finally, what you are discussing is what high end routers with REAL SPI etc firewalls built-in are all about are they not? It is my understanding that they are exactly that, real processors, running Linux, implementing a firewall. No hard disk to fail, no video to deal with, turns back on after a power failure, instant on, etc. I would be much more likely to go do that than spend the time and effort building a Linux box to implement a firewall. Even here, the difference between the $50 I actually spent and the $200 I would need to spend for the real McCoy prevented that. The simple router / NAT / firewall combination by itself pretty much prevents the external probing kind of stuff (unless you have port mapping / run a web server etc), and then the AV and software firewall picks up the pieces not handled. I have run this combination since going broadband about 4 years ago and have never had an infection, so I guess I have to say that is "good enough". I hate it when people rain on my parade, but I have considered this idea several times in the past and just said no way it was going to really happen. OTOH, if you put together a "put in this CD, reboot and you will have a hardware firewall" kind of package, I might be persuaded to try it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Not to sound biased, but there are better no-cost/low-cost options out there if you have a spare PC lying around. Being a computer network engineer, part of my job is providing solutions for my employer with regards to "all things network". A document I recently completed, and I consider at draft 1 stage, is a document on how to build a Linux based firewall from bare metal on up. It doesn't discuss the rule sets themselves, but the rule set configurations are discussed in the documentation for the application used to create them. Aside from a few initial setup tasks the majority of the firewall configuration is done via a web interface adn a GUI interface. This documentation also covers the installation of a transparent proxy and a content filtering system. Any firewall ran on top of Windows suffers from all of the inherent attacks against the host OS. Which is why I run a dedicated machine, even at home, for my firewall, and it's not running Windows. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at mchsi.com Mon Oct 10 14:33:17 2005 From: chizotz at mchsi.com (chizotz at mchsi.com) Date: Mon, 10 Oct 2005 19:33:17 +0000 Subject: [AccessD] OT: Firewall Message-ID: <101020051933.5342.434AC1FC000C8EAA000014DE2197913329969B019607080C@mchsi.com> I feel a need to jump in here with a comment regarding Zone Alarm. Several months ago, after spending the money to buy two Zone Alarm Pro licenses (one for me, one for my wife's machine), I went to install an upgrade to ZAP and it informed me that I would have to uninstall Trend Micro Anti- Virus first. Bear in mind that I had also paid for two licenses to Trend Micro. I contacted Zone Labs and was told -- literally -- that it wasn't their problem and I should complain to Trend Micro about it. I have a real problem with any company releasing software to paying customers knowing that it is incompatible with certain other software the user has also paid for and is possibly running and not providing some kind of option or work- around to get past the problem. I have an even bigger problem with being instructed to uninstall some other software. And my biggest problem of all is being told it isn't their problem and to not bother them, go bother the other company. In my very strong opinion, the problem was with Zone Alarm and their response was the absolute height of arrogance, assuming they had the right to set the rules about what would be done and attempting to enlist their users to bully another company into compliance. After using Zone Alarm for years, since it first came out, I immediately ditched it after that fiasco. And you know what? I haven't missed it at all. To be fair, I also ditched Trend Micro not long after that because of horrible customer service. Their AV kept shutting itself off and refuse to restart, and every time it happened their only response was, after the same multi-message run-around each time, was to send me a link to a patch that would fix it temporarily. After 6 months of that nonsense I finally said enough was enough and tossed them out too. I'm behind a hardware firewall (router) and FWIW I now have Avast AV and the Windows XP firewall and have (knock on wood) had no problems. Ron > Rocky, > > You could say that monitoring outbound comms is your last wall of defense. > It should never happen, and won't if your AV program protects you perfectly. > If a virus does slip by and starts trying to phone home, the software > firewall will prevent the outbound comms and notify you that a program is > attempting to talk to the internet. > > This level is not about preventing infection, but about discovering that you > are infected. Imagine that somehow something slipped past, and was watching > you log in to everything you log into these days. As it tries to ship that > info out to the perps, the software firewall prevents the transmission, > saving your bacon, as well as notifying you that the program is trying to > transmit. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, October 10, 2005 9:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > What is the risk with outbound comms? Can you have a problem even though > you're behind the router firewall? And if so, how? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 10, 2005 4:25 AM > Subject: Re: [AccessD] OT: Firewall > > > >I am behind a router. Software firewalls are great for checking up on > >OUTBOUND comms. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Monday, October 10, 2005 12:27 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Firewall > > > > > > Are you behind a router firewall? Is that sufficient? > > > > Rocky > > > > ----- Original Message ----- > > From: "John Colby" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Sunday, October 09, 2005 3:01 PM > > Subject: Re: [AccessD] OT: Firewall > > > > > >>I use Sygate personal on all of my machines. Works fine, lasts a long > >>time, with proper maintenance. > >> > >> John W. Colby > >> www.ColbyConsulting.com > >> > >> Contribute your unused CPU cycles to a good cause: > >> http://folding.stanford.edu/ > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > >> Smolin - Beach Access Software > >> Sent: Sunday, October 09, 2005 11:07 AM > >> To: AccessD at databaseadvisors.com > >> Subject: [AccessD] OT: Firewall > >> > >> > >> I\'m having a huge problem getting Zone Alarm on one of our computers > >> I've used it for years with no problem, upgraded this one box from > >> Version 3 to > >> the latest, it blocks internet access and give a page full of > >> instructions > >> on how to solve the problem - none of which work. > >> > >> Uninstalled, reinstalled, cleaned registry per their instructions, > >> renamed the internet log, blah, blah. > >> > >> At the moment the machine is behind the router firewall (like all of > >> them) so I don't know if I should be too concerned but I've always > >> run a firewall on each machine in addition to the hardware firewall > >> in the Linksys. > >> > >> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( > >> another free one : http://smb.sygate.com/products/spf_standard.htm) . > >> Anyone know about this? Any other recommendations for a personal > >> firewall? > >> > >> Thanks and regards, > >> > >> Rocky > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Mon Oct 10 14:40:01 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Mon, 10 Oct 2005 21:40:01 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EP3X73kbc-0008FY@mrelay.perfora.net> John Colby wrote on 10/10/2005, 09:17:16 PM: > PCTech, > > First let me say that signatures are a good thing. We know what you like to > be called and can address you that way. > > Second, I understand the "dedicated firewall" mentality, but for Joe Average > (me!) it is a non starter. The effort involved in learning enough just to > get Linux installed is enough to kill the concept. I have done that much > and all by itself it was enough to give me pause. Believe me, I read about > such things and wish... But it ain't happening. What is simple to a > "computer network engineer" is pretty much Greek to me. > > And finally, what you are discussing is what high end routers with REAL SPI > etc firewalls built-in are all about are they not? It is my understanding > that they are exactly that, real processors, running Linux, implementing a > firewall. No hard disk to fail, no video to deal with, turns back on after > a power failure, instant on, etc. I would be much more likely to go do that > than spend the time and effort building a Linux box to implement a firewall. > Even here, the difference between the $50 I actually spent and the $200 I > would need to spend for the real McCoy prevented that. > > The simple router / NAT / firewall combination by itself pretty much > prevents the external probing kind of stuff (unless you have port mapping / > run a web server etc), and then the AV and software firewall picks up the > pieces not handled. I have run this combination since going broadband about > 4 years ago and have never had an infection, so I guess I have to say that > is "good enough". > > I hate it when people rain on my parade, but I have considered this idea > several times in the past and just said no way it was going to really > happen. OTOH, if you put together a "put in this CD, reboot and you will > have a hardware firewall" kind of package, I might be persuaded to try it. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > Not to sound biased, but there are better no-cost/low-cost options out there > if you have a spare PC lying around. > > Being a computer network engineer, part of my job is providing solutions for > my employer with regards to "all things network". A document I recently > completed, and I consider at draft 1 stage, is a document on how to build a > Linux based firewall from bare metal on up. > > It doesn't discuss the rule sets themselves, but the rule set configurations > are discussed in the documentation for the application used to create them. > > Aside from a few initial setup tasks the majority of the firewall > configuration is done via a web interface adn a GUI interface. > > This documentation also covers the installation of a transparent proxy and a > content filtering system. > > Any firewall ran on top of Windows suffers from all of the inherent attacks > against the host OS. Which is why I run a dedicated machine, even at home, > for my firewall, and it's not running Windows. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Let me correct a couple of misconceptions. The first one is that the document I created is designed for a non-engineer to begin with. It is designed for "joe user". It has step by step instructions, including screen shots. The second is that "real" firewalls don't have hard drives. In fact, a large percentage of "real firewalls" are PC based and do have hard drives in them. For instance the Nokia firewalls are exactly a PC with a hard drive. There are, however, also firmware based firewalls. It is trivial to build a firmware based Linux firewall as well. The third is that the PC will not turn back on after a power failure. Most of the modern BIOSes in PCs have a "resume on power failure" option in them for just that occurance. It restarts the PC, providing it was on to begin with, in the event of a power failure. The fourth is that you haev some sort of video to deal with. Linux itself is designed to operate in a headless mode. This means that it will operate just fine without a keyboard, mouse, and monitor attached to it and can be administered remotely. It works like this "out of the box". The fifth is that you need some heavy hardware to run your firewall. Even my home firewall is EXTREME overkill. It is a Pentium III 933MHz with 512M of RAM and a 20GB hard drive. That system can process enough traffic to saturate a T3 line. A Linux firewall will run just fine on a Pentium or Pentium II platform. The thing you seem to forget is that ANY firewall is only as secuer as the operating system it is ran on. By and large, any Unix or variant is mroe secure than any Windows platform out of the box. Take into account, also, that Linux is much easier to secure than Windows is. Add to that that you do not need to reboot Linux when doing any sort of OS update, with the exception of the kernel itself. It becomes a "no brainer". Don't get me wrong. I like Windows and am an MCSE. However, everything has it's place. Firewalls are no place for Windows. My document explains, in great detail (over 100 pages including screen shots), on how to build a Linux firewall. With the exception of some of the initial build steps it is 100% administered via a web interface and a graphical interface remotely. This document also gives instructions on adding a transparent web cache/proxy and content filtering system to it. Specifically with home users with children in mind. One of the next things I will be adding to the document in the next revision is adding antivirus capabilities to the content filter. With the firewall I built, and have in place, I have never had a virus either, and I don't even use anti-virus software. That is due partially to the firewall, and partially in the manner in which I practice "safe computing". If you want to continue using your Windows based firewall, I say go for it. But never think that it is the best solution and always remember, the manner in which the Titanic was built was "good enough". From jwcolby at ColbyConsulting.com Mon Oct 10 15:12:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 16:12:13 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EP3X73kbc-0008FY@mrelay.perfora.net> Message-ID: <000801c5cdd6$e78118e0$697aa8c0@ColbyM6805> PC Tech, First, let me say that a signature is a good thing. ;-) Second, I understand (or have heard) everything that you say. I make no attempt to evaluate the effectiveness of a custom built firewall vs. an off the shelf (software) solution, however I would like to point out that your manual being 100 pages, including screen shots about says it all for me. You are a network engineer. I am not. Your document may in fact be for the beginner but if I need 100 pages including screenshots why would I do that? When I work I earn enough that in a couple of hours I could go buy a $200 box from one of the people who build routers / firewalls. I would need to enjoy the task to read a 100 page manual to set up my firewall. I could write a 100 page manual for designing databases for the complete novice as well, but when they were done building the database they would still be a complete novice and when anything went wrong they would be up the crick. I think it is naive to think that a complete novice can build and MAINTAIN a custom built firewall when just the concepts of what a firewall is and how and why you do this stuff requires a network engineer to TRULY understand. I am a smart guy. I have read a lot about that stuff, and the more I read the less I want to do that. I do databases not networks, and not firewalls. I want to buy a firewall that works. I want to turn it on and forget about it. I don't want to read 100 pages including screen shots only to have something go wrong and have to get you on chat to figure out what is happening. As I said, I am a database analyst / programmer. I am know more than most people will ever know about Access and database design, but I spent decades getting where I am in the area I specialize in (as I am sure you did as well). I am attempting to learn .NET and specifically web based database design. That is where I will earn my paycheck in a year or so. I am not going to spend hours turning an old PC into a firewall. 100 pages including screenshots is a non-starter. I said, and I truly mean, if you design a CD that I plug in, run the install, and reboot and I am up and running a first class firewall (and it is cost effective), I will do that. But that is just my personal opinion, so don't take it personally. And I absolutely encourage you to assist people in building firewalls from scratch, it sounds like a good idea for some people. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Let me correct a couple of misconceptions. The first one is that the document I created is designed for a non-engineer to begin with. It is designed for "joe user". It has step by step instructions, including screen shots. The second is that "real" firewalls don't have hard drives. In fact, a large percentage of "real firewalls" are PC based and do have hard drives in them. For instance the Nokia firewalls are exactly a PC with a hard drive. There are, however, also firmware based firewalls. It is trivial to build a firmware based Linux firewall as well. The third is that the PC will not turn back on after a power failure. Most of the modern BIOSes in PCs have a "resume on power failure" option in them for just that occurance. It restarts the PC, providing it was on to begin with, in the event of a power failure. The fourth is that you haev some sort of video to deal with. Linux itself is designed to operate in a headless mode. This means that it will operate just fine without a keyboard, mouse, and monitor attached to it and can be administered remotely. It works like this "out of the box". The fifth is that you need some heavy hardware to run your firewall. Even my home firewall is EXTREME overkill. It is a Pentium III 933MHz with 512M of RAM and a 20GB hard drive. That system can process enough traffic to saturate a T3 line. A Linux firewall will run just fine on a Pentium or Pentium II platform. The thing you seem to forget is that ANY firewall is only as secuer as the operating system it is ran on. By and large, any Unix or variant is mroe secure than any Windows platform out of the box. Take into account, also, that Linux is much easier to secure than Windows is. Add to that that you do not need to reboot Linux when doing any sort of OS update, with the exception of the kernel itself. It becomes a "no brainer". Don't get me wrong. I like Windows and am an MCSE. However, everything has it's place. Firewalls are no place for Windows. My document explains, in great detail (over 100 pages including screen shots), on how to build a Linux firewall. With the exception of some of the initial build steps it is 100% administered via a web interface and a graphical interface remotely. This document also gives instructions on adding a transparent web cache/proxy and content filtering system to it. Specifically with home users with children in mind. One of the next things I will be adding to the document in the next revision is adding antivirus capabilities to the content filter. With the firewall I built, and have in place, I have never had a virus either, and I don't even use anti-virus software. That is due partially to the firewall, and partially in the manner in which I practice "safe computing". If you want to continue using your Windows based firewall, I say go for it. But never think that it is the best solution and always remember, the manner in which the Titanic was built was "good enough". -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 15:14:48 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 16:14:48 -0400 Subject: [AccessD] CSV with no header Message-ID: <000901c5cdd7$4397ed20$697aa8c0@ColbyM6805> Does anyone know a simple way to do a CSV without the header? And yea, I can do the export, open the file and delete the first line. Other than that...? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From john at winhaven.net Mon Oct 10 15:25:20 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 15:25:20 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <000801c5cdd6$e78118e0$697aa8c0@ColbyM6805> Message-ID: <00f601c5cdd8$bca531e0$6a01a8c0@ScuzzPaq> I think its time we moved this thread over to the dba-tech list. From jim.moss at jlmoss.net Mon Oct 10 15:25:30 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 10 Oct 2005 15:25:30 -0500 (CDT) Subject: [AccessD] CSV with no header In-Reply-To: <000901c5cdd7$4397ed20$697aa8c0@ColbyM6805> References: <000901c5cdd7$4397ed20$697aa8c0@ColbyM6805> Message-ID: <20384.65.196.182.34.1128975930.squirrel@65.196.182.34> If you use docmd.TransferText you can set the parameter after filename to false. > Does anyone know a simple way to do a CSV without the header? And yea, I > can do the export, open the file and delete the first line. > > Other than that...? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DElam at jenkens.com Mon Oct 10 15:34:31 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Mon, 10 Oct 2005 15:34:31 -0500 Subject: [AccessD] CSV with no header Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CEB8@natexch.jenkens.com> I have a file that has to go out in a very specific fixed width field .csv file. It is not simple, but I open an ADO source, make a string of exactly what I want on one row, write it to the file I created earlier and add a carriage return line feed to the end of it. I loop to the next record and add it. Not the prettiest thing, but the only method I could think of that gave me enough control to get the proper space padding as well as creating a first row that tells about the batch instead of giving row headers. Debbie -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, October 10, 2005 3:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] CSV with no header Does anyone know a simple way to do a CSV without the header? And yea, I can do the export, open the file and delete the first line. Other than that...? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From pctech at mybellybutton.com Mon Oct 10 15:40:02 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Mon, 10 Oct 2005 22:40:02 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKp2t-1EP4TB35es-0002zo@mrelay.perfora.net> John Colby wrote on 10/10/2005, 10:12:13 PM: > PC Tech, > > First, let me say that a signature is a good thing. ;-) > > Second, I understand (or have heard) everything that you say. I make no > attempt to evaluate the effectiveness of a custom built firewall vs. an off > the shelf (software) solution, however I would like to point out that your > manual being 100 pages, including screen shots about says it all for me. > You are a network engineer. I am not. Your document may in fact be for the > beginner but if I need 100 pages including screenshots why would I do that? > When I work I earn enough that in a couple of hours I could go buy a $200 > box from one of the people who build routers / firewalls. I would need to > enjoy the task to read a 100 page manual to set up my firewall. > > I could write a 100 page manual for designing databases for the complete > novice as well, but when they were done building the database they would > still be a complete novice and when anything went wrong they would be up the > crick. I think it is naive to think that a complete novice can build and > MAINTAIN a custom built firewall when just the concepts of what a firewall > is and how and why you do this stuff requires a network engineer to TRULY > understand. I am a smart guy. I have read a lot about that stuff, and the > more I read the less I want to do that. > > I do databases not networks, and not firewalls. I want to buy a firewall > that works. I want to turn it on and forget about it. I don't want to read > 100 pages including screen shots only to have something go wrong and have to > get you on chat to figure out what is happening. > > As I said, I am a database analyst / programmer. I am know more than most > people will ever know about Access and database design, but I spent decades > getting where I am in the area I specialize in (as I am sure you did as > well). I am attempting to learn .NET and specifically web based database > design. That is where I will earn my paycheck in a year or so. I am not > going to spend hours turning an old PC into a firewall. 100 pages including > screenshots is a non-starter. > > I said, and I truly mean, if you design a CD that I plug in, run the > install, and reboot and I am up and running a first class firewall (and it > is cost effective), I will do that. > > But that is just my personal opinion, so don't take it personally. And I > absolutely encourage you to assist people in building firewalls from > scratch, it sounds like a good idea for some people. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > Let me correct a couple of misconceptions. The first one is that the > document I created is designed for a non-engineer to begin with. It is > designed for "joe user". It has step by step instructions, including screen > shots. The second is that "real" firewalls don't have hard drives. In > fact, a large percentage of "real firewalls" are PC based and do have hard > drives in them. For instance the Nokia firewalls are exactly a PC with a > hard drive. There are, however, also firmware based firewalls. It is > trivial to build a firmware based Linux firewall as well. The third is that > the PC will not turn back on after a power failure. Most of the modern > BIOSes in PCs have a "resume on power failure" option in them for just that > occurance. It restarts the PC, providing it was on to begin with, in the > event of a power failure. The fourth is that you haev some sort of video to > deal with. Linux itself is designed to operate in a headless mode. This > means that it will operate just fine without a keyboard, mouse, and monitor > attached to it and can be administered remotely. It works like this "out of > the box". The fifth is that you need some heavy hardware to run your > firewall. Even my home firewall is EXTREME overkill. It is a Pentium III > 933MHz with 512M of RAM and a 20GB hard drive. That system can process > enough traffic to saturate a T3 line. A Linux firewall will run just fine > on a Pentium or Pentium II platform. > > The thing you seem to forget is that ANY firewall is only as secuer as the > operating system it is ran on. By and large, any Unix or variant is mroe > secure than any Windows platform out of the box. Take into account, also, > that Linux is much easier to secure than Windows is. > Add to that that you do not need to reboot Linux when doing any sort of OS > update, with the exception of the kernel itself. It becomes a "no brainer". > > Don't get me wrong. I like Windows and am an MCSE. However, everything has > it's place. Firewalls are no place for Windows. > > My document explains, in great detail (over 100 pages including screen > shots), on how to build a Linux firewall. With the exception of some of the > initial build steps it is 100% administered via a web interface and a > graphical interface remotely. This document also gives instructions on > adding a transparent web cache/proxy and content filtering system to it. > Specifically with home users with children in mind. One of the next things > I will be adding to the document in the next revision is adding antivirus > capabilities to the content filter. > > With the firewall I built, and have in place, I have never had a virus > either, and I don't even use anti-virus software. That is due partially to > the firewall, and partially in the manner in which I practice "safe > computing". > > If you want to continue using your Windows based firewall, I say go for it. > But never think that it is the best solution and always remember, the manner > in which the Titanic was built was "good enough". > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Actually, using a "live" CD it WOULD be trivial to build a frewall based on a "boot CD". But would you REALLY want to? Think about it. That "live" CD wouldn't have updates on it. This means you'd have to have new "live" CD every time that you wanted to update the OS on the firewall. This is a non-starter without some sort of subscription service. This sorta defeats the whole purpose. Without the screen shots, the document itself is less than 30 pages. The screen shots themselves take up alot of real estate in the document. The screen shots were done with useability in mind. How many times have you read a book on something and though, "I wish I could see what they were talking about"? These screen shots obviate that statement. You misunderstand. You think I am taking it personal. I'm not. However when someone that doesn't do this for a living tries to correct me on something that I do on a daily basis, I will correct them. Just as I'd expect that you would if I were to make some off-base development comment. You are the one that seems close-minded about this, without even having seen the document, I might add. From jwcolby at ColbyConsulting.com Mon Oct 10 16:36:04 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 17:36:04 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKp2t-1EP4TB35es-0002zo@mrelay.perfora.net> Message-ID: <000a01c5cde2$a0e0b0b0$697aa8c0@ColbyM6805> pctech at mybellybutton.com I take it you want to be known as pctech at mybellybutton.com? I have to assume that if you can figure out how to do software firewalls you can figure out how to do signatures? >Actually, using a "live" CD it WOULD be trivial to build a firewall based on a "boot CD". But would you REALLY want to? Think about it. That "live" CD wouldn't have updates on it. This means you'd have to have new "live" CD every time that you wanted to update the OS on the firewall. I don't want to have to update the OS on the firewall. I don't want to know that the firewall exists. I currently own a Dlink 624. Once a year or so I go download any firmware updates, over the web. Pretty much click, click, I am done. Other than that I pay no attention to it. I do not consider myself closed minded. I downloaded (about two years ago) one of the Linux distros. I got it working. I even downloaded and installed OfficeStar. I know it is getting easier and easier. None of which means I personally want to do that stuff. I think you have an agenda (to have people build a firewall themselves). I do not (at least in this area). I don't care if you set up a spare PC as a firewall, or teach others how. I don't care if Rocky goes out and buys a multi-hundred dollar "out of the box" solution, or builds your custom firewall, or uses some software firewall, or indeed, if he uses nothing at all. I just don't care. However... I have been in computers since 1972. I know enough to know that whether it is Windows, or Linux, or VMS, or CPM, if something goes wrong it takes digging to figure out what is happening. The more you know about the OS, the less digging it takes. I know that things DO go wrong, and the less you know, the more likely something WILL go wrong. I personally know nothing about Linux. I don't want to know anything about Linux. I am CAPABLE of learning enough to do what you propose, I just don't WANT to. The very fact that you are discussing OS updates tells me I don't want to. Additionally, I think the effort to do so is not in proportion to any risk I might be taking by not doing so. >However when someone that doesn't do this for a living tries to correct me on something that I do on a daily basis, I will correct them. I am not attempting to correct you, I am stating an opinion, which I believe I very clearly stated. My opinion still is, that setting up and MAINTAINING a custom firewall is a non-trivial task. Getting it running is no doubt the easiest part of the project. Setting up a complex SQL Server database is non-trivial, but even if you get it set up, MAINTAINING it is beyond the capability of anyone not trained in SQL Server. THAT is my point. Things happen. Handling those things requires training. If this firewall sits in the corner and never needs to be touched, then we are back to "give me a disk that I can install it with" and I will do so. You can't have it both ways, either it is no maintenance and I can just load the disk and go (and leave it humming in the corner for the next 10 years), or things happen and I will have to deal with them. I don't WANT to deal with them. >Without the screen shots, the document itself is less than 30 pages. In none of your emails so far have you offered up this document, in fact you seemed to indicate it was not really in a state to share. Do you need a place to post it? I just happen to have a brand new web site (part of what I spend MY time doing) where I can offer a page to you to put this document on if you care to publish it. I can also put the document itself up with a hotlink for anyone who desires to do so can download the entire thing. I am always happy to help you assist anyone who is interested in doing something like this. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Actually, using a "live" CD it WOULD be trivial to build a frewall based on a "boot CD". But would you REALLY want to? Think about it. That "live" CD wouldn't have updates on it. This means you'd have to have new "live" CD every time that you wanted to update the OS on the firewall. This is a non-starter without some sort of subscription service. This sorta defeats the whole purpose. Without the screen shots, the document itself is less than 30 pages. The screen shots themselves take up alot of real estate in the document. The screen shots were done with useability in mind. How many times have you read a book on something and though, "I wish I could see what they were talking about"? These screen shots obviate that statement. You misunderstand. You think I am taking it personal. I'm not. However when someone that doesn't do this for a living tries to correct me on something that I do on a daily basis, I will correct them. Just as I'd expect that you would if I were to make some off-base development comment. You are the one that seems close-minded about this, without even having seen the document, I might add. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Mon Oct 10 17:03:11 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Mon, 10 Oct 2005 15:03:11 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <000501c5cdcf$39fc2f40$697aa8c0@ColbyM6805> Message-ID: <200510102203.j9AM3OT19177@databaseadvisors.com> John (and all), I just bought a copy of the new distro of Mandriva (formerly Mandrake)at Barnes & Noble and installed it on an old PIII box with 512m of ram. Installed like a breeze. It read and set up my LAN, my printer and all the hardware very easily. I had previously been trying to learn Linux with Red Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any longer than Windows XP either. You can set it up as a DHCP server with firewall or DSN server or whatever. The magazine that came with the distro -- from Linux Format -- had a step-by-step install guide with tutorials and it included a Linux quick reference wall chart. As you can tell, I was pretty impressed. Cost $20 but might be worth your while to look at. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 10, 2005 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall PCTech, First let me say that signatures are a good thing. We know what you like to be called and can address you that way. Second, I understand the "dedicated firewall" mentality, but for Joe Average (me!) it is a non starter. The effort involved in learning enough just to get Linux installed is enough to kill the concept. I have done that much and all by itself it was enough to give me pause. Believe me, I read about such things and wish... But it ain't happening. What is simple to a "computer network engineer" is pretty much Greek to me. And finally, what you are discussing is what high end routers with REAL SPI etc firewalls built-in are all about are they not? It is my understanding that they are exactly that, real processors, running Linux, implementing a firewall. No hard disk to fail, no video to deal with, turns back on after a power failure, instant on, etc. I would be much more likely to go do that than spend the time and effort building a Linux box to implement a firewall. Even here, the difference between the $50 I actually spent and the $200 I would need to spend for the real McCoy prevented that. The simple router / NAT / firewall combination by itself pretty much prevents the external probing kind of stuff (unless you have port mapping / run a web server etc), and then the AV and software firewall picks up the pieces not handled. I have run this combination since going broadband about 4 years ago and have never had an infection, so I guess I have to say that is "good enough". I hate it when people rain on my parade, but I have considered this idea several times in the past and just said no way it was going to really happen. OTOH, if you put together a "put in this CD, reboot and you will have a hardware firewall" kind of package, I might be persuaded to try it. John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Oct 10 17:19:58 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 17:19:58 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EP3X73kbc-0008FY@mrelay.perfora.net> Message-ID: <010301c5cde8$c05af3a0$6a01a8c0@ScuzzPaq> You should sign up for the dba-tech list too. We discuss this type of topic over there on a regular basis. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com > Being a computer network engineer, part of my job is providing > solutions for my employer with regards to "all things network". From john at winhaven.net Mon Oct 10 17:20:06 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 17:20:06 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKp2t-1EP4TB35es-0002zo@mrelay.perfora.net> Message-ID: <010701c5cde8$c4c04990$6a01a8c0@ScuzzPaq> Did you post a link to the document? If you did I missed it. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com You are the one that seems close-minded about this, without even having seen the document, I might add. From jmhecht at earthlink.net Mon Oct 10 19:14:45 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 10 Oct 2005 17:14:45 -0700 Subject: [AccessD] OT: Outlook (almost done fixing my laptop) Message-ID: <000001c5cdf8$c999f1e0$6501a8c0@laptop> Thanks to all about last Access issues. Last one here I hope. My link to my addresses is not working. Outlook XP. My address auto look up is not looking up. Ms Word as editor. TIA Joe Los Angeles, CA From jmhecht at earthlink.net Mon Oct 10 19:35:49 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 10 Oct 2005 17:35:49 -0700 Subject: [AccessD] Some code help please X posted Message-ID: <001401c5cdfb$bb0094b0$6501a8c0@laptop> Silly me. The only work I can get lately is rebuilding someone else's database; It is tragic for it is the only way right now I can keep my one bedroom apartment. I need code that will in the field MEMO_KEY Grab the current year. 2005 Get the first and last digit of the year 25 Do a count to get the existing highest incident x Number Add 1 to it x+1 End up with a value like 25-01 25-02 And so on. Thanks Joe Los Angeles, CA From jwcolby at ColbyConsulting.com Mon Oct 10 20:38:09 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 21:38:09 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <200510102203.j9AM3OT19177@databaseadvisors.com> Message-ID: <000f01c5ce04$72e88800$697aa8c0@ColbyM6805> Cool. Best of luck in learning all that stuff. If you discover a first class firewall that is a load and forget, and as easy to use (or preferably easier) than a dlink etc., do let me know. PCTech at BellyButton is not the first to insist this is The Way. I have no intention of becoming a Linux geek nor a firewall geek in order to get such a thing, but if it is indeed load and forget, then it is definitely for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Monday, October 10, 2005 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall John (and all), I just bought a copy of the new distro of Mandriva (formerly Mandrake)at Barnes & Noble and installed it on an old PIII box with 512m of ram. Installed like a breeze. It read and set up my LAN, my printer and all the hardware very easily. I had previously been trying to learn Linux with Red Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any longer than Windows XP either. You can set it up as a DHCP server with firewall or DSN server or whatever. The magazine that came with the distro -- from Linux Format -- had a step-by-step install guide with tutorials and it included a Linux quick reference wall chart. As you can tell, I was pretty impressed. Cost $20 but might be worth your while to look at. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 10, 2005 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall PCTech, First let me say that signatures are a good thing. We know what you like to be called and can address you that way. Second, I understand the "dedicated firewall" mentality, but for Joe Average (me!) it is a non starter. The effort involved in learning enough just to get Linux installed is enough to kill the concept. I have done that much and all by itself it was enough to give me pause. Believe me, I read about such things and wish... But it ain't happening. What is simple to a "computer network engineer" is pretty much Greek to me. And finally, what you are discussing is what high end routers with REAL SPI etc firewalls built-in are all about are they not? It is my understanding that they are exactly that, real processors, running Linux, implementing a firewall. No hard disk to fail, no video to deal with, turns back on after a power failure, instant on, etc. I would be much more likely to go do that than spend the time and effort building a Linux box to implement a firewall. Even here, the difference between the $50 I actually spent and the $200 I would need to spend for the real McCoy prevented that. The simple router / NAT / firewall combination by itself pretty much prevents the external probing kind of stuff (unless you have port mapping / run a web server etc), and then the AV and software firewall picks up the pieces not handled. I have run this combination since going broadband about 4 years ago and have never had an infection, so I guess I have to say that is "good enough". I hate it when people rain on my parade, but I have considered this idea several times in the past and just said no way it was going to really happen. OTOH, if you put together a "put in this CD, reboot and you will have a hardware firewall" kind of package, I might be persuaded to try it. John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 20:40:55 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 21:40:55 -0400 Subject: [AccessD] CSV with no header In-Reply-To: <20384.65.196.182.34.1128975930.squirrel@65.196.182.34> Message-ID: <001001c5ce04$d2386730$697aa8c0@ColbyM6805> I am trying that but it ends up bracketing the fields with ". I suppose that if a comma is embedded in the string then the "" is required to specify that the , is internal to the string and not a delimiter. Is the "" part of the csv spec? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss Sent: Monday, October 10, 2005 4:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV with no header If you use docmd.TransferText you can set the parameter after filename to false. > Does anyone know a simple way to do a CSV without the header? And > yea, I can do the export, open the file and delete the first line. > > Other than that...? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 10 21:25:28 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 19:25:28 -0700 Subject: [AccessD] OT: Firewall References: <000f01c5ce04$72e88800$697aa8c0@ColbyM6805> Message-ID: <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> How can we take someone seriously who wants to be known as belly button? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 6:38 PM Subject: Re: [AccessD] OT: Firewall > Cool. Best of luck in learning all that stuff. If you discover a first > class firewall that is a load and forget, and as easy to use (or > preferably > easier) than a dlink etc., do let me know. PCTech at BellyButton is not the > first to insist this is The Way. I have no intention of becoming a Linux > geek nor a firewall geek in order to get such a thing, but if it is indeed > load and forget, then it is definitely for me. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen > Rosenstiel > Sent: Monday, October 10, 2005 6:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Firewall > > > John (and all), > I just bought a copy of the new distro of Mandriva (formerly Mandrake)at > Barnes & Noble and installed it on an old PIII box with 512m of ram. > Installed like a breeze. It read and set up my LAN, my printer and all the > hardware very easily. I had previously been trying to learn Linux with Red > Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any > longer than Windows XP either. You can set it up as a DHCP server with > firewall or DSN server or whatever. > > The magazine that came with the distro -- from Linux Format -- had a > step-by-step install guide with tutorials and it included a Linux quick > reference wall chart. As you can tell, I was pretty impressed. Cost $20 > but > might be worth your while to look at. > > Regards, > > Karen Rosenstiel > Seattle WA USA > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Monday, October 10, 2005 12:17 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Firewall > > PCTech, > > First let me say that signatures are a good thing. We know what you like > to > be called and can address you that way. > > Second, I understand the "dedicated firewall" mentality, but for Joe > Average > (me!) it is a non starter. The effort involved in learning enough just to > get Linux installed is enough to kill the concept. I have done that much > and all by itself it was enough to give me pause. Believe me, I read > about > such things and wish... But it ain't happening. What is simple to a > "computer network engineer" is pretty much Greek to me. > > And finally, what you are discussing is what high end routers with REAL > SPI > etc firewalls built-in are all about are they not? It is my understanding > that they are exactly that, real processors, running Linux, implementing a > firewall. No hard disk to fail, no video to deal with, turns back on > after > a power failure, instant on, etc. I would be much more likely to go do > that > than spend the time and effort building a Linux box to implement a > firewall. > Even here, the difference between the $50 I actually spent and the $200 I > would need to spend for the real McCoy prevented that. > > The simple router / NAT / firewall combination by itself pretty much > prevents the external probing kind of stuff (unless you have port mapping > / > run a web server etc), and then the AV and software firewall picks up the > pieces not handled. I have run this combination since going broadband > about > 4 years ago and have never had an infection, so I guess I have to say that > is "good enough". > > I hate it when people rain on my parade, but I have considered this idea > several times in the past and just said no way it was going to really > happen. OTOH, if you put together a "put in this CD, reboot and you will > have a hardware firewall" kind of package, I might be persuaded to try it. > > John W. Colby > www.ColbyConsulting.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael at ddisolutions.com.au Mon Oct 10 21:34:38 2005 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 11 Oct 2005 12:34:38 +1000 Subject: [AccessD] OT: My web site and WebHost4Life Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D010DE9DA@ddi-01.DDI.local> Just to throw in my 2c... We use http://bottomlinecom.net/ We took the basic package, 3 x domains, 500mb space, 20gb traffic, up to 5 MS SQL db's (no size limit IIRC). Interestingly, we had the same problem with DNN not working correctly until the domain was active. DNN is pretty awesome, we got our site up very fast www.ddisolutions.com.au we are still adding and fine tuning parts of it but overall are very happy. We are a bit disppointed with the performance of bottomline but for 1/10 of what it would cost in Oz to get the same level of hosting we will put up with it for a while. I don't know if we are getting ripped by MS but most ISP's that offer SQL want 40-50AUD per MONTH for the privilege, and that's on top of the hosting fees!!!! We have a sub domain that is written in classic asp and uses an Access db, it performs very well so I suspect the SQL db's are the bottleneck... Only real issue so far with DNN is I wanted to put google search on the site but it uses forms, my DNN/asp.net programmer tells me DNN will not like it at all. Havn't tested it yet so YMMV. cheers Michael Maddison www.ddisolutions.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, 7 October 2005 3:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life >Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Max, DNN stands for DotNetNuke. It is a web site framework based on ASP.Net, VB.Net and MSSQL, which allows people to put up a web site with "out of the box" capabilities that you would otherwise have to program yourself (or go find modules for). DNN had an entire database (30 or so tables) used specifically for maintaining DNN structures, users, etc. You as a developer can add other tables in the MSSQL database and build a web enabled database application around the DNN foundation. Note that I am no expert in web design so read this with that in mind. Real web designers MAY be able to do all this stuff with little or no effort as well, once they learn their trade and tools. I am not a web designer and I can do this stuff (at least what you see) with DNN. Go to my site - www.ColbyConsulting.com . BTW, also go to my OLD web site at www.jwcolby.com to see my previous attempt at web design. Just a bit of a difference eh? At my new web site, notice the register and login. That is DotNetNuke. I did not create that. Notice the handsome guy (pic) off to the left, and the book gifs and hotlinks to buy them off to the right, with the main "Colby consulting message" in the middle. All of those are modules that come with DNN. I "fill in the content" of those modules in order to show my picture, the book gifs and the links to buy the books. Take this opportunity to register and log in. Now notice that the menu has expanded to include other menu items that are not visible for visitors who don't register and log in. There is an ExampleCode menu item with sub menu items. Pages in DNN can be "allowed to be viewed" by groups of users. I have set up my site such that the stuff you see without logging in can be seen by "all users" whereas the rest of the stuff can only bee seen by "registered users". This kind of functionality is just built in to DNN. These menu items are "pages" in DNN. I add a page by clicking a "add page" button (when logged in as an administrator) and I get a new page. DNN just creates a menu item for me, I don't have to do that. Each page has areas that are predefined by the "skin" I selected into which I can drop one or more "modules". These modules can include text / html areas, announcements, banners, events, faqs and a ton of other things that are just built in to DNN. Additionally I can go out to the web and buy or find for free other modules. On the top menu, click on Example Code / Framework Articles. The page you see is a free module I downloaded off the web which allows me to enter a "multi-page" page. That module allowed me to set up pages to put my article pages on, and built for me (no programming on my part) the little menu you see off to the left. Also down at the bottom you will see a "page n of m" kind of thing, part of the module. On the top menu, click on the Forums menu item. Forums are another module that I downloaded off the web. I just built a page and told DNN to put a Forums Module in the center area of the page and there you go. I go in and define the topic / sub topic. All "no programming on my part". On the top menu, click on the Feedback menu item. An email applet that just "snaps in", no programming on my part. DNN is the FRAMEWORK that makes all this possible, and includes enough modules to make it useable with no outside help, but which allows developers to write additional modules that do some thing. There are LOTS of modules out there, a thriving community of developers trying to build and sell modules, and many free modules as well. DotNetNuke is really about allowing you to create a web site with a presentation (the skin), the data (the pictures and text in the areas of the web page) and the business logic (the programming that causes the modules to do what they do). These three pieces are distinct from each other to a large extent. I did not write the skin, and I did not write the modules. I just found a skin I could live with, and started assembling the pages and modules, filling in the content. Only the content is mine. According to the DotNetNuke site, they now have several hundred thousand web sites running DNN. What you see on my site was completed in about two weeks it seems. In fact I just checked and I purchased my hosting there on the 20th of last month and then had to transfer my domain to them. So it took me 2 weeks to figure out how to use DNN plus get the content you see up there. The key though is that going forward, adding content is a no brainer. Of course learning to do my own modules is definitely NOT a no-brainer. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Thursday, October 06, 2005 12:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Excuse my ignorance, please. Regards Max (Derby) Mob: 07990 521001 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: 06 October 2005 16:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life I concur with John. I've used webhost4life.com for 2 yrs now and I've been satisfied with the service. Aside from SQL server and DotNet support they also have Sharepoint Team Sites available as part of the package. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 21:30:39 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 22:30:39 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> Message-ID: <000001c5ce0b$c89112c0$697aa8c0@ColbyM6805> LOL, he sounds like he knows what he is talking about though. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 10, 2005 10:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall How can we take someone seriously who wants to be known as belly button? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 6:38 PM Subject: Re: [AccessD] OT: Firewall > Cool. Best of luck in learning all that stuff. If you discover a > first class firewall that is a load and forget, and as easy to use (or > preferably > easier) than a dlink etc., do let me know. PCTech at BellyButton is not > the first to insist this is The Way. I have no intention of becoming > a Linux geek nor a firewall geek in order to get such a thing, but if > it is indeed load and forget, then it is definitely for me. > > John W. Colby > www.ColbyConsulting.com From jwcolby at ColbyConsulting.com Mon Oct 10 21:56:34 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 22:56:34 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D010DE9DA@ddi-01.DDI.local> Message-ID: <000201c5ce0f$63ce1a50$697aa8c0@ColbyM6805> It is hard to know how this thing scales up, and in particular how a given web site will scale up. This is shared hosting of course, I don't have the funds or the need for a dedicated host. As long as the response is reasonably quick that is all I ask. I have to assume though that if you can afford the hardware, you can host some pretty sophisticated, hard hit sites. DNN claims to have hundreds of thousands of sites now. I am still trying to get VS 2003 to play nice with IIS, so far no luck. I want to try my hand at some simple custom modules but it requires a dev system running DNN and so far I am just not getting there. Sigh. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Monday, October 10, 2005 10:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: My web site and WebHost4Life Just to throw in my 2c... We use http://bottomlinecom.net/ We took the basic package, 3 x domains, 500mb space, 20gb traffic, up to 5 MS SQL db's (no size limit IIRC). Interestingly, we had the same problem with DNN not working correctly until the domain was active. DNN is pretty awesome, we got our site up very fast www.ddisolutions.com.au we are still adding and fine tuning parts of it but overall are very happy. We are a bit disppointed with the performance of bottomline but for 1/10 of what it would cost in Oz to get the same level of hosting we will put up with it for a while. I don't know if we are getting ripped by MS but most ISP's that offer SQL want 40-50AUD per MONTH for the privilege, and that's on top of the hosting fees!!!! We have a sub domain that is written in classic asp and uses an Access db, it performs very well so I suspect the SQL db's are the bottleneck... Only real issue so far with DNN is I wanted to put google search on the site but it uses forms, my DNN/asp.net programmer tells me DNN will not like it at all. Havn't tested it yet so YMMV. cheers Michael Maddison www.ddisolutions.com.au From pctech at mybellybutton.com Mon Oct 10 22:07:22 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Mon, 10 Oct 2005 20:07:22 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <000a01c5cde2$a0e0b0b0$697aa8c0@ColbyM6805> References: <000a01c5cde2$a0e0b0b0$697aa8c0@ColbyM6805> Message-ID: <1129000042.3338.1.camel@localhost.localdomain> On Mon, 2005-10-10 at 17:36 -0400, John Colby wrote: > pctech at mybellybutton.com > > I take it you want to be known as pctech at mybellybutton.com? I have to > assume that if you can figure out how to do software firewalls you can > figure out how to do signatures? > > >Actually, using a "live" CD it WOULD be trivial to build a firewall based > on a "boot CD". But would you REALLY want to? Think about it. That "live" > CD wouldn't have updates on it. This means you'd have to have new "live" CD > every time that you wanted to update the OS on the firewall. > > I don't want to have to update the OS on the firewall. I don't want to know > that the firewall exists. I currently own a Dlink 624. Once a year or so I > go download any firmware updates, over the web. Pretty much click, click, I > am done. Other than that I pay no attention to it. > > I do not consider myself closed minded. I downloaded (about two years ago) > one of the Linux distros. I got it working. I even downloaded and > installed OfficeStar. I know it is getting easier and easier. None of > which means I personally want to do that stuff. I think you have an agenda > (to have people build a firewall themselves). I do not (at least in this > area). I don't care if you set up a spare PC as a firewall, or teach others > how. I don't care if Rocky goes out and buys a multi-hundred dollar "out of > the box" solution, or builds your custom firewall, or uses some software > firewall, or indeed, if he uses nothing at all. I just don't care. > > However... I have been in computers since 1972. I know enough to know that > whether it is Windows, or Linux, or VMS, or CPM, if something goes wrong it > takes digging to figure out what is happening. The more you know about the > OS, the less digging it takes. I know that things DO go wrong, and the less > you know, the more likely something WILL go wrong. > > I personally know nothing about Linux. I don't want to know anything about > Linux. I am CAPABLE of learning enough to do what you propose, I just don't > WANT to. The very fact that you are discussing OS updates tells me I don't > want to. Additionally, I think the effort to do so is not in proportion to > any risk I might be taking by not doing so. > > >However when someone that doesn't do this for a living tries to correct me > on something that I do on a daily basis, I will correct them. > > I am not attempting to correct you, I am stating an opinion, which I believe > I very clearly stated. My opinion still is, that setting up and MAINTAINING > a custom firewall is a non-trivial task. Getting it running is no doubt the > easiest part of the project. Setting up a complex SQL Server database is > non-trivial, but even if you get it set up, MAINTAINING it is beyond the > capability of anyone not trained in SQL Server. THAT is my point. Things > happen. Handling those things requires training. > > If this firewall sits in the corner and never needs to be touched, then we > are back to "give me a disk that I can install it with" and I will do so. > You can't have it both ways, either it is no maintenance and I can just load > the disk and go (and leave it humming in the corner for the next 10 years), > or things happen and I will have to deal with them. I don't WANT to deal > with them. > > >Without the screen shots, the document itself is less than 30 pages. > > In none of your emails so far have you offered up this document, in fact you > seemed to indicate it was not really in a state to share. Do you need a > place to post it? I just happen to have a brand new web site (part of what > I spend MY time doing) where I can offer a page to you to put this document > on if you care to publish it. I can also put the document itself up with a > hotlink for anyone who desires to do so can download the entire thing. > > I am always happy to help you assist anyone who is interested in doing > something like this. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > Actually, using a "live" CD it WOULD be trivial to build a frewall based on > a "boot CD". But would you REALLY want to? Think about it. That "live" CD > wouldn't have updates on it. This means you'd have to have > new "live" CD every time that you wanted to update the OS on the firewall. > This is a non-starter without some sort of subscription service. This sorta > defeats the whole purpose. > > Without the screen shots, the document itself is less than 30 pages. > The screen shots themselves take up alot of real estate in the document. > The screen shots were done with useability in mind. How many times have you > read a book on something and though, "I wish I could see what they were > talking about"? These screen shots obviate that statement. > > You misunderstand. You think I am taking it personal. I'm not. > However when someone that doesn't do this for a living tries to correct me > on something that I do on a daily basis, I will correct them. Just as I'd > expect that you would if I were to make some off-base development comment. > You are the one that seems close-minded about this, without even having seen > the document, I might add. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > You've OBVIOUSLY never dealt with web based e-mail clients. I was answering you via web mail from my ISP rather than answering from home. Web based e-mail doesn't always support signatures. Once again, you judge long before you have the facts in and attempt to assert your superiority based on your "facts. -- Frank Tanner III From pctech at mybellybutton.com Mon Oct 10 22:08:33 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Mon, 10 Oct 2005 20:08:33 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <010701c5cde8$c4c04990$6a01a8c0@ScuzzPaq> References: <010701c5cde8$c4c04990$6a01a8c0@ScuzzPaq> Message-ID: <1129000113.3338.3.camel@localhost.localdomain> On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > Did you post a link to the document? If you did I missed it. > > John B. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > pctech at mybellybutton.com > > You are the one that seems close-minded about this, without even having seen > the document, I might add. > No. I didn't post a link to the document. He judged the document without having ever seen it. He assumed that it was complicated and hard to read for the novice. From itsame2000 at sbcglobal.net Mon Oct 10 22:11:05 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Mon, 10 Oct 2005 20:11:05 -0700 (PDT) Subject: [AccessD] Some code help please X posted In-Reply-To: <001401c5cdfb$bb0094b0$6501a8c0@laptop> Message-ID: <20051011031105.96768.qmail@web81508.mail.yahoo.com> Is the Memo_Key a primary key? Are you looking for something like this? I hope this helps. Thanks, Jeremy Sub Seqno_Increment() Dim db As DAO.Database Dim rs As DAO.Recordset Dim strYr As String, strSeq As String, _ strSQL As String strYr = Left(Year(Date), 1) & Right(Year(Date), 1) strSQL = "SELECT tblSeqno.* " _ & "FROM " _ & "tblSeqno " _ & "WHERE " _ & "(((tblSeqno.[Memo_Key]) Like " _ & Chr(34) & strYr & "-*" & Chr(34) & ")) " _ & "ORDER BY " _ & "tblSeqno.[Memo_Key] DESC;" Set db = CurrentDb() Set rs = db.OpenRecordset(strSQL, dbOpenDynaset) If rs.RecordCount > 0 Then strSeq = Format(Val(Right(rs("[Memo_Key]"), 2)) + 1, "00") Else strSeq = "01" End If strSeq = strYr & "-" & strSeq Debug.Print strSeq Set rs = Nothing Set db = Nothing End Sub Joe Hecht wrote: Silly me. The only work I can get lately is rebuilding someone else's database; It is tragic for it is the only way right now I can keep my one bedroom apartment. I need code that will in the field MEMO_KEY Grab the current year. 2005 Get the first and last digit of the year 25 Do a count to get the existing highest incident x Number Add 1 to it x+1 End up with a value like 25-01 25-02 And so on. Thanks Joe Los Angeles, CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Mon Oct 10 22:10:14 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Mon, 10 Oct 2005 20:10:14 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> References: <000f01c5ce04$72e88800$697aa8c0@ColbyM6805> <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> Message-ID: <1129000214.3338.6.camel@localhost.localdomain> On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software wrote: > How can we take someone seriously who wants to be known as belly button? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 10, 2005 6:38 PM > Subject: Re: [AccessD] OT: Firewall > > > > Cool. Best of luck in learning all that stuff. If you discover a first > > class firewall that is a load and forget, and as easy to use (or > > preferably > > easier) than a dlink etc., do let me know. PCTech at BellyButton is not the > > first to insist this is The Way. I have no intention of becoming a Linux > > geek nor a firewall geek in order to get such a thing, but if it is indeed > > load and forget, then it is definitely for me. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen > > Rosenstiel > > Sent: Monday, October 10, 2005 6:03 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] OT: Firewall > > > > > > John (and all), > > I just bought a copy of the new distro of Mandriva (formerly Mandrake)at > > Barnes & Noble and installed it on an old PIII box with 512m of ram. > > Installed like a breeze. It read and set up my LAN, my printer and all the > > hardware very easily. I had previously been trying to learn Linux with Red > > Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any > > longer than Windows XP either. You can set it up as a DHCP server with > > firewall or DSN server or whatever. > > > > The magazine that came with the distro -- from Linux Format -- had a > > step-by-step install guide with tutorials and it included a Linux quick > > reference wall chart. As you can tell, I was pretty impressed. Cost $20 > > but > > might be worth your while to look at. > > > > Regards, > > > > Karen Rosenstiel > > Seattle WA USA > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > Sent: Monday, October 10, 2005 12:17 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] OT: Firewall > > > > PCTech, > > > > First let me say that signatures are a good thing. We know what you like > > to > > be called and can address you that way. > > > > Second, I understand the "dedicated firewall" mentality, but for Joe > > Average > > (me!) it is a non starter. The effort involved in learning enough just to > > get Linux installed is enough to kill the concept. I have done that much > > and all by itself it was enough to give me pause. Believe me, I read > > about > > such things and wish... But it ain't happening. What is simple to a > > "computer network engineer" is pretty much Greek to me. > > > > And finally, what you are discussing is what high end routers with REAL > > SPI > > etc firewalls built-in are all about are they not? It is my understanding > > that they are exactly that, real processors, running Linux, implementing a > > firewall. No hard disk to fail, no video to deal with, turns back on > > after > > a power failure, instant on, etc. I would be much more likely to go do > > that > > than spend the time and effort building a Linux box to implement a > > firewall. > > Even here, the difference between the $50 I actually spent and the $200 I > > would need to spend for the real McCoy prevented that. > > > > The simple router / NAT / firewall combination by itself pretty much > > prevents the external probing kind of stuff (unless you have port mapping > > / > > run a web server etc), and then the AV and software firewall picks up the > > pieces not handled. I have run this combination since going broadband > > about > > 4 years ago and have never had an infection, so I guess I have to say that > > is "good enough". > > > > I hate it when people rain on my parade, but I have considered this idea > > several times in the past and just said no way it was going to really > > happen. OTOH, if you put together a "put in this CD, reboot and you will > > have a hardware firewall" kind of package, I might be persuaded to try it. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > I see. So, because my mail domain is mybellybutton.com I must be a complete idiot..... From jwcolby at ColbyConsulting.com Mon Oct 10 22:30:17 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 23:30:17 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <1129000214.3338.6.camel@localhost.localdomain> Message-ID: <000301c5ce14$19ae7aa0$697aa8c0@ColbyM6805> Frank, lighten up. We are nice people. Or at least Rocky is. ;-) Me, I just assume you spend time contemplating your belly button. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Monday, October 10, 2005 11:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software wrote: > How can we take someone seriously who wants to be known as belly > button? > > Rocky I see. So, because my mail domain is mybellybutton.com I must be a complete idiot..... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 22:46:49 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 23:46:49 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <1129000042.3338.1.camel@localhost.localdomain> Message-ID: <000401c5ce16$68f5aaa0$697aa8c0@ColbyM6805> >You've OBVIOUSLY never dealt with web based e-mail clients. Once again, you judge long before you have the facts in and attempt to assert your superiority based on your "facts". I do in fact know about web based emails, I have used them, and I am QUITE capable of signing my emails using them. It turns out to be simple, at the bottom of your message just hit carriage return a couple of times and type in your name. Now, as anyone on this list will assure you, I don't need no steenkin facts to assert my superiority. My superiority is simply unchallenged, facts or no facts. ;-) Well, perhaps unchallenged is not the right phrase. "Unchallenged in my own mind" might be closer to correct. In actual fact, my superiority is pretty much challenged on a daily basis. Luckily I am quite capable of ignoring such ignoramuses, not that I do. So where were we? Welcome to the list. Whatever you do, stay OFF of the OT list, you are not cut out for that. Mr. Hindman will eat you alive. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ You've OBVIOUSLY never dealt with web based e-mail clients. I was answering you via web mail from my ISP rather than answering from home. Web based e-mail doesn't always support signatures. Once again, you judge long before you have the facts in and attempt to assert your superiority based on your "facts. -- Frank Tanner III -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 22:56:21 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 23:56:21 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <1129000113.3338.3.camel@localhost.localdomain> Message-ID: <000501c5ce17$c104bcd0$697aa8c0@ColbyM6805> Frank, >He judged the document without having ever seen it. I tried to judge it AFTER reading it but I couldn't find it. I have offered to post it however, and the offer stands. Lighten up buddy. I am not casting aspersions on your document, or your abilities. You sound to me like you know what you are doing. And I am willing, on further consideration, to suspend my disbelief re whether a dedicated PC firewall could be as easy as you make it sound. If it is in fact that easy, I want one. I think I said that somewhere in this exchange. But it does have to just sit in the corner humming and not bother me. No OS updates and stuff. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Monday, October 10, 2005 11:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > Did you post a link to the document? If you did I missed it. > > John B. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > pctech at mybellybutton.com > > You are the one that seems close-minded about this, without even > having seen the document, I might add. > No. I didn't post a link to the document. He judged the document without having ever seen it. He assumed that it was complicated and hard to read for the novice. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bruce.Bruen at railcorp.nsw.gov.au Tue Oct 11 00:53:29 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 11 Oct 2005 15:53:29 +1000 Subject: [AccessD] OT: Firewall Message-ID: L I N U X ..... ;-) I have a firewall running on an old Pentium I using a Linux Distribution called "Coyote Linux" which is sadly no longer supported by the originator but control has passed to another set of FOSS people in South America. Although the learning curve is steep - this is a raw implementation of the Linux NETFILTER/IPTABLES kernel features - the reward is a real firewall totally under your control. Hth bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 11 October 2005 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall Frank, >He judged the document without having ever seen it. I tried to judge it AFTER reading it but I couldn't find it. I have offered to post it however, and the offer stands. Lighten up buddy. I am not casting aspersions on your document, or your abilities. You sound to me like you know what you are doing. And I am willing, on further consideration, to suspend my disbelief re whether a dedicated PC firewall could be as easy as you make it sound. If it is in fact that easy, I want one. I think I said that somewhere in this exchange. But it does have to just sit in the corner humming and not bother me. No OS updates and stuff. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Monday, October 10, 2005 11:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > Did you post a link to the document? If you did I missed it. > > John B. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > pctech at mybellybutton.com > > You are the one that seems close-minded about this, without even > having seen the document, I might add. > No. I didn't post a link to the document. He judged the document without having ever seen it. He assumed that it was complicated and hard to read for the novice. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and it's attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from it's content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From andy at minstersystems.co.uk Tue Oct 11 01:43:11 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 11 Oct 2005 07:43:11 +0100 Subject: [AccessD] OT: Firewall In-Reply-To: Message-ID: <000a01c5ce2f$0cb60f50$fd980c54@minster33c3r25> We set up the Tech list specifically for this type of discussion. Please use it. Oh and there was a plea only a couple of days ago for more snipping of replies. That'd be good too. -- Andy Lacey http://www.minstersystems.co.uk From shamil at users.mns.ru Tue Oct 11 02:13:45 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 11 Oct 2005 11:13:45 +0400 Subject: [AccessD] OT: My web site and WebHost4Life References: <000201c5ce0f$63ce1a50$697aa8c0@ColbyM6805> Message-ID: <002201c5ce33$569cfcb0$6401a8c0@fincomplex.spb.ru> <<< don't have the funds... for a dedicated host >>> To build ASP.NET -enabled Web Server MS Windows 2003 Web Edition looks like being good enough - and its cost is within USD200-400 as far as I see (http://www.dealtime.com/xPF-Microsoft_20740721). I mean even a small company should be able to afford owning ASP.NET enabled Web site if they do not want to have their information hosted by someone else.... Of course MS SQL Server 2000 or 2005 are costly "beasts". And anyway they I guess will not run on MS Windows 2003 Web edition. I did try to find but this is not clear directly from DNN docs or I did miss this info on quick look through - is DNN able to use any other backends than MS SQL Server? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 11, 2005 6:56 AM Subject: Re: [AccessD] OT: My web site and WebHost4Life > It is hard to know how this thing scales up, and in particular how a given > web site will scale up. This is shared hosting of course, I don't have the > funds or the need for a dedicated host. As long as the response is > reasonably quick that is all I ask. > > I have to assume though that if you can afford the hardware, you can host > some pretty sophisticated, hard hit sites. DNN claims to have hundreds of > thousands of sites now. > > I am still trying to get VS 2003 to play nice with IIS, so far no luck. I > want to try my hand at some simple custom modules but it requires a dev > system running DNN and so far I am just not getting there. Sigh. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ <<< tail trimmed>> From accessd at shaw.ca Tue Oct 11 02:20:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 11 Oct 2005 00:20:54 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EP3X73kbc-0008FY@mrelay.perfora.net> Message-ID: <029401c5ce34$51a3fcd0$017ba8c0@xpserver> Hi Frank: > ... I created is designed for a non-engineer to begin with. It is > designed for "joe user". It has step by step instructions, including > screen shots... I would be interested in seeing your paper on the subject. Is it a version of 'Smoothwall' Linux that you are describing? TIA Jim From Gustav at cactus.dk Tue Oct 11 02:41:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Oct 2005 09:41:02 +0200 Subject: [AccessD] CSV with no header Message-ID: Hi John Write the file yourself. I do not need to tell you how ... I do that all the time to have control of the formatting of the fields. /gustav >>> jwcolby at ColbyConsulting.com 10-10-2005 22:14:48 >>> Does anyone know a simple way to do a CSV without the header? And yea, I can do the export, open the file and delete the first line. From jwcolby at ColbyConsulting.com Tue Oct 11 05:40:49 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 06:40:49 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: <002201c5ce33$569cfcb0$6401a8c0@fincomplex.spb.ru> Message-ID: <001001c5ce50$3f1937d0$697aa8c0@ColbyM6805> Shamil, Hosting it myself is out simply because my ISP blocks port 80 for non-business users. I'd have to pay $100 / month to get a business account in order to allow me to run my own web server. I don't need that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, October 11, 2005 3:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: My web site and WebHost4Life <<< don't have the funds... for a dedicated host >>> To build ASP.NET -enabled Web Server MS Windows 2003 Web Edition looks like being good enough - and its cost is within USD200-400 as far as I see (http://www.dealtime.com/xPF-Microsoft_20740721). I mean even a small company should be able to afford owning ASP.NET enabled Web site if they do not want to have their information hosted by someone else.... Of course MS SQL Server 2000 or 2005 are costly "beasts". And anyway they I guess will not run on MS Windows 2003 Web edition. I did try to find but this is not clear directly from DNN docs or I did miss this info on quick look through - is DNN able to use any other backends than MS SQL Server? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 11, 2005 6:56 AM Subject: Re: [AccessD] OT: My web site and WebHost4Life > It is hard to know how this thing scales up, and in particular how a > given web site will scale up. This is shared hosting of course, I > don't have the > funds or the need for a dedicated host. As long as the response is > reasonably quick that is all I ask. > > I have to assume though that if you can afford the hardware, you can > host some pretty sophisticated, hard hit sites. DNN claims to have > hundreds of thousands of sites now. > > I am still trying to get VS 2003 to play nice with IIS, so far no > luck. I want to try my hand at some simple custom modules but it > requires a dev system running DNN and so far I am just not getting > there. Sigh. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ <<< tail trimmed>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 11 05:43:33 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 06:43:33 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: <002201c5ce33$569cfcb0$6401a8c0@fincomplex.spb.ru> Message-ID: <001201c5ce50$a0887490$697aa8c0@ColbyM6805> And no, AFAICT DNN requires MSSQL for its internal control structures. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, October 11, 2005 3:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: My web site and WebHost4Life <<< don't have the funds... for a dedicated host >>> To build ASP.NET -enabled Web Server MS Windows 2003 Web Edition looks like being good enough - and its cost is within USD200-400 as far as I see (http://www.dealtime.com/xPF-Microsoft_20740721). I mean even a small company should be able to afford owning ASP.NET enabled Web site if they do not want to have their information hosted by someone else.... Of course MS SQL Server 2000 or 2005 are costly "beasts". And anyway they I guess will not run on MS Windows 2003 Web edition. I did try to find but this is not clear directly from DNN docs or I did miss this info on quick look through - is DNN able to use any other backends than MS SQL Server? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 11, 2005 6:56 AM Subject: Re: [AccessD] OT: My web site and WebHost4Life > It is hard to know how this thing scales up, and in particular how a > given web site will scale up. This is shared hosting of course, I > don't have the > funds or the need for a dedicated host. As long as the response is > reasonably quick that is all I ask. > > I have to assume though that if you can afford the hardware, you can > host some pretty sophisticated, hard hit sites. DNN claims to have > hundreds of thousands of sites now. > > I am still trying to get VS 2003 to play nice with IIS, so far no > luck. I want to try my hand at some simple custom modules but it > requires a dev system running DNN and so far I am just not getting > there. Sigh. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ <<< tail trimmed>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 11 06:20:49 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Oct 2005 13:20:49 +0200 Subject: [AccessD] OT: My web site and WebHost4Life Message-ID: Hi John What kind of people are those suppliers over there? Don't you have any competition? $100 per month would kill an ISP here. /gustav >>> jwcolby at ColbyConsulting.com 11-10-2005 12:40:49 >>> Hosting it myself is out simply because my ISP blocks port 80 for non-business users. I'd have to pay $100 / month to get a business account in order to allow me to run my own web server. I don't need that. From jwcolby at ColbyConsulting.com Tue Oct 11 08:00:16 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 09:00:16 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: Message-ID: <001801c5ce63$b9dfc020$697aa8c0@ColbyM6805> >Don't you have any competition? $100 per month would kill an ISP here. That is my cable company and no, in my particular case there is no competition since I live outside the range of the nearest DSL repeater. Even if I did, they are priced about the same long term. That $100 / month is for a business package of course, with a fixed IP, more bandwidth (up) and other little goodies, as well as no port blocking. My "home" package is $50 / month. For that I get about 5 mbit down and 1 mbit up speeds, which is about as fast as you can find for the moment, though really fast access is coming - just not out here in the woods where I live. I also have to live with Port 25 blocking as well as blocking of a slew of other ports, mostly used for setting up your own web and ftp sites. They are trying to prevent you from serving up video, audio and file transfer sites mostly I think, plus limit spam (port 25 blocking). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 11, 2005 7:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: My web site and WebHost4Life Hi John What kind of people are those suppliers over there? Don't you have any competition? $100 per month would kill an ISP here. /gustav >>> jwcolby at ColbyConsulting.com 11-10-2005 12:40:49 >>> Hosting it myself is out simply because my ISP blocks port 80 for non-business users. I'd have to pay $100 / month to get a business account in order to allow me to run my own web server. I don't need that. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Oct 11 08:49:13 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Oct 2005 06:49:13 -0700 Subject: [AccessD] OT: Firewall References: <000f01c5ce04$72e88800$697aa8c0@ColbyM6805> <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> <1129000214.3338.6.camel@localhost.localdomain> Message-ID: <00a001c5ce6a$91247cf0$6501a8c0@HAL9004> Nah. It was a joke, Frank. Welcome to the list. Rocky ----- Original Message ----- From: "Frank Tanner III" To: "Access Developers discussion and problem solving" Sent: Monday, October 10, 2005 8:10 PM Subject: Re: [AccessD] OT: Firewall > On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software > wrote: >> How can we take someone seriously who wants to be known as belly button? >> >> Rocky >> >> ----- Original Message ----- >> From: "John Colby" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, October 10, 2005 6:38 PM >> Subject: Re: [AccessD] OT: Firewall >> >> >> > Cool. Best of luck in learning all that stuff. If you discover a >> > first >> > class firewall that is a load and forget, and as easy to use (or >> > preferably >> > easier) than a dlink etc., do let me know. PCTech at BellyButton is not >> > the >> > first to insist this is The Way. I have no intention of becoming a >> > Linux >> > geek nor a firewall geek in order to get such a thing, but if it is >> > indeed >> > load and forget, then it is definitely for me. >> > >> > John W. Colby >> > www.ColbyConsulting.com >> > >> > Contribute your unused CPU cycles to a good cause: >> > http://folding.stanford.edu/ >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen >> > Rosenstiel >> > Sent: Monday, October 10, 2005 6:03 PM >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] OT: Firewall >> > >> > >> > John (and all), >> > I just bought a copy of the new distro of Mandriva (formerly >> > Mandrake)at >> > Barnes & Noble and installed it on an old PIII box with 512m of ram. >> > Installed like a breeze. It read and set up my LAN, my printer and all >> > the >> > hardware very easily. I had previously been trying to learn Linux with >> > Red >> > Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any >> > longer than Windows XP either. You can set it up as a DHCP server with >> > firewall or DSN server or whatever. >> > >> > The magazine that came with the distro -- from Linux Format -- had a >> > step-by-step install guide with tutorials and it included a Linux quick >> > reference wall chart. As you can tell, I was pretty impressed. Cost $20 >> > but >> > might be worth your while to look at. >> > >> > Regards, >> > >> > Karen Rosenstiel >> > Seattle WA USA >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby >> > Sent: Monday, October 10, 2005 12:17 PM >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] OT: Firewall >> > >> > PCTech, >> > >> > First let me say that signatures are a good thing. We know what you >> > like >> > to >> > be called and can address you that way. >> > >> > Second, I understand the "dedicated firewall" mentality, but for Joe >> > Average >> > (me!) it is a non starter. The effort involved in learning enough just >> > to >> > get Linux installed is enough to kill the concept. I have done that >> > much >> > and all by itself it was enough to give me pause. Believe me, I read >> > about >> > such things and wish... But it ain't happening. What is simple to a >> > "computer network engineer" is pretty much Greek to me. >> > >> > And finally, what you are discussing is what high end routers with REAL >> > SPI >> > etc firewalls built-in are all about are they not? It is my >> > understanding >> > that they are exactly that, real processors, running Linux, >> > implementing a >> > firewall. No hard disk to fail, no video to deal with, turns back on >> > after >> > a power failure, instant on, etc. I would be much more likely to go do >> > that >> > than spend the time and effort building a Linux box to implement a >> > firewall. >> > Even here, the difference between the $50 I actually spent and the $200 >> > I >> > would need to spend for the real McCoy prevented that. >> > >> > The simple router / NAT / firewall combination by itself pretty much >> > prevents the external probing kind of stuff (unless you have port >> > mapping >> > / >> > run a web server etc), and then the AV and software firewall picks up >> > the >> > pieces not handled. I have run this combination since going broadband >> > about >> > 4 years ago and have never had an infection, so I guess I have to say >> > that >> > is "good enough". >> > >> > I hate it when people rain on my parade, but I have considered this >> > idea >> > several times in the past and just said no way it was going to really >> > happen. OTOH, if you put together a "put in this CD, reboot and you >> > will >> > have a hardware firewall" kind of package, I might be persuaded to try >> > it. >> > >> > John W. Colby >> > www.ColbyConsulting.com >> > >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > > I see. So, because my mail domain is mybellybutton.com I must be a > complete idiot..... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tewald at comcast.net Tue Oct 11 09:09:33 2005 From: tewald at comcast.net (tewald at comcast.net) Date: Tue, 11 Oct 2005 14:09:33 +0000 Subject: [AccessD] Automatically expanding source data parameter Message-ID: <101120051409.28111.434BC79D00089A3E00006DCF22069997350B040E990A9B@comcast.net> Whether this will require VBA, or I'm just about to reveal (more of) my ignorance with regard to MSFT's built-in chart abilities, I don't know. Once a week I update data in several spreadsheets.Certain totals (the same in each case) are copied from each of the sheets to one sheet comprised of totals only. The data from each sheet has 3 charts based on that sheet's data. The charts are all time-oriented in that past data remains, while a new column is added to the individual totals tables and is to be included in that table's chart. Each of the initial sheets has a counterpart chart sheet containing 3 charts. I go to each of the 3 charts in each of the chart sheets, and expand the Source Data parameter. Here are examples of the Source Data from one of the chart sheets for today's data: ='Scorecard Data'!$A$2:$O$7 ='Scorecard Data'!$A$2:$O$3,'Scorecard Data'!$A$5:$O$5,'Scorecard Data'!$A$12:$O$14 ='Scorecard Data'!$A$2:$O$2,'Scorecard Data'!$A$4:$O$4,'Scorecard Data'!$A$9:$O$11 I had to go to each of these and change the "N" to an "O", as you see above. This is no big deal, but I have several sheets similar to this one. You will note that the data contained in the last two lines are not contiguous, which adds to the confusion. I would think naming a range, and then simply redefining the range programmatically, would be a reasonable idea, except for that lack of contiguity. Is there a way to update each of these 3 parameters on several chart sheets automatically? TIA, Tom Ewald From Gustav at cactus.dk Tue Oct 11 09:22:30 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Oct 2005 16:22:30 +0200 Subject: [AccessD] Automatically expanding source data parameter Message-ID: Hi Tom If you have control over these spreadsheets you may find it easier to create Named Ranges for the row/column ranges and then refer to these. /gustav >>> tewald at comcast.net 11-10-2005 16:09:33 >>> Whether this will require VBA, or I'm just about to reveal (more of) my ignorance with regard to MSFT's built-in chart abilities, I don't know. Once a week I update data in several spreadsheets.Certain totals (the same in each case) are copied from each of the sheets to one sheet comprised of totals only. The data from each sheet has 3 charts based on that sheet's data. The charts are all time-oriented in that past data remains, while a new column is added to the individual totals tables and is to be included in that table's chart. Each of the initial sheets has a counterpart chart sheet containing 3 charts. I go to each of the 3 charts in each of the chart sheets, and expand the Source Data parameter. Here are examples of the Source Data from one of the chart sheets for today's data: ='Scorecard Data'!$A$2:$O$7 ='Scorecard Data'!$A$2:$O$3,'Scorecard Data'!$A$5:$O$5,'Scorecard Data'!$A$12:$O$14 ='Scorecard Data'!$A$2:$O$2,'Scorecard Data'!$A$4:$O$4,'Scorecard Data'!$A$9:$O$11 I had to go to each of these and change the "N" to an "O", as you see above. This is no big deal, but I have several sheets similar to this one. You will note that the data contained in the last two lines are not contiguous, which adds to the confusion. I would think naming a range, and then simply redefining the range programmatically, would be a reasonable idea, except for that lack of contiguity. Is there a way to update each of these 3 parameters on several chart sheets automatically? TIA, Tom Ewald From cfoust at infostatsystems.com Tue Oct 11 09:29:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Oct 2005 07:29:40 -0700 Subject: [AccessD] OT: Firewall Message-ID: Frank, If you want to hang out in this list, don't take everything so seriously. There is a lot of banter and horsing around, as well as serious discussion and help. Nobody is judging you based on your domain, but you must admit it's an amusing one. The mods of this list stamp out flames quite efficiently but you need to give as good as you get and in the same vein. Trust me, the discussions sometimes get VERY intense, but there is no personal animosity involved. Just don't expect anyone to take your advice as received truth, since developers as a group tend to have as many opinions as they have topics. Charlotte Foust -----Original Message----- On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software wrote: > How can we take someone seriously who wants to be known as belly > button? > > Rocky > I see. So, because my mail domain is mybellybutton.com I must be a complete idiot..... From markamatte at hotmail.com Tue Oct 11 10:33:41 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Oct 2005 15:33:41 +0000 Subject: [AccessD] CSV with no header In-Reply-To: Message-ID: John, Just a curiosity, if the attributes you are looking for are those of a FLAT file...why the commas? Just curious, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] CSV with no header >Date: Tue, 11 Oct 2005 09:41:02 +0200 > >Hi John > >Write the file yourself. I do not need to tell you how ... >I do that all the time to have control of the formatting of the fields. > >/gustav > > >>> jwcolby at ColbyConsulting.com 10-10-2005 22:14:48 >>> >Does anyone know a simple way to do a CSV without the header? And yea, I >can do the export, open the file and delete the first line. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Tue Oct 11 10:38:02 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Tue, 11 Oct 2005 17:38:02 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EPMET42id-00025j@mrelay.perfora.net> Charlotte Foust wrote on 10/11/2005, 04:29:40 PM: > Frank, > > If you want to hang out in this list, don't take everything so > seriously. There is a lot of banter and horsing around, as well as > serious discussion and help. Nobody is judging you based on your > domain, but you must admit it's an amusing one. The mods of this list > stamp out flames quite efficiently but you need to give as good as you > get and in the same vein. Trust me, the discussions sometimes get VERY > intense, but there is no personal animosity involved. Just don't expect > anyone to take your advice as received truth, since developers as a > group tend to have as many opinions as they have topics. > > Charlotte Foust > > > -----Original Message----- > On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software > wrote: > > How can we take someone seriously who wants to be known as belly > > button? > > > > Rocky > > > > > I see. So, because my mail domain is mybellybutton.com I must be a > complete idiot..... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Actually, I have been on this list for about 4 or 5 years now. I mostly lurk. Until a network/systems question comes up. Then I add my educated input. I *DO* take it seriously when someone makes assumptions about me or something I have said based on little or no information. That is exactly what John C and Rocky did. Because I have a "humorous" mail domain I must be an idiot. And because my document is 100 pages with screen shots it must be too difficult to understand. 80% of the pages of my document have screen shots. Of that 80% about 80% of those have five or less lines of text. Of the remaining 20% about 5% of those have a second screen shot on the page. In other words, without the table of contents, cover pages, revision pages, and screen shots, my document is less than 30 pages. As a reference, your average stereo assembly instructions are between 5 and 50 pages depending on the complexity of the equipment involved. Your average VCR manual is 60+ pages. Yout average cell phone manual is also 60+ pages. Judging people, and things, without having all of the facts is one of my pet peeves. From John.Clark at niagaracounty.com Tue Oct 11 10:45:02 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 11 Oct 2005 11:45:02 -0400 Subject: [AccessD] OT: Firewall Message-ID: Hey Rocky. First I want to give you a disclaimer; I am way behind with my Email reading, and I haven't scanned this whole thread yet...I had been thinking of just deleting the whole thread, but checked out the first few posts on a whim. On my daughters' PC, I am having a problem with ZA. From what I can tell, it looks as if something got in and messed up the "signature" or something. I've tried a reinstall and a fresh install and nothing is working. This has worked for years now, so it is definitely something odd that is taking place on mine. I am actually considering a total format of the PC, because in this case, being my daughters', it is just for Internet and games, so I can replace everything on it. I'm going on to read the rest of this post, so I apologize if this was redundant or way off base. Take care! John W Clark >>> bchacc at san.rr.com 10/10/2005 12:05 PM >>> Charlotte: I tried the clean install but it still messed up. Even went through all their uninstall stuff. I'm sure it's something peculiar to that machine. But if I can do a quickie with Sygate that'll be fine, instead of messing around for another hour or two with Zone Alarm. Regards, Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 10, 2005 8:48 AM Subject: Re: [AccessD] OT: Firewall > Rocky, > > There have been a lot of problems with the 6.x versions of ZoneAlarm, > but most if not all were solved in the latest build. The best advice > seems to be to do a clean install, not an upgrade. That requires you to > retrain the critter, but it presents no other problems that I've > encountered. You do need the software firewall to prevent outgoing > unauthorized traffic. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Sunday, October 09, 2005 8:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've used it for years with no problem, upgraded this one box from > Version 3 to the latest, it blocks internet access and give a page full > of instructions on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of > them) so I don't know if I should be too concerned but I've always run a > firewall on each machine in addition to the hardware firewall in the > Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( > another free one : http://smb.sygate.com/products/spf_standard.htm) . > Anyone know about this? Any other recommendations for a personal > firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Tue Oct 11 10:46:24 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Tue, 11 Oct 2005 10:46:24 -0500 (CDT) Subject: [AccessD] CSV with no header In-Reply-To: <001001c5ce04$d2386730$697aa8c0@ColbyM6805> References: <20384.65.196.182.34.1128975930.squirrel@65.196.182.34> <001001c5ce04$d2386730$697aa8c0@ColbyM6805> Message-ID: <51545.65.196.182.34.1129045584.squirrel@65.196.182.34> If I had commas within strings, then I would select another delimiter like a |. I think that you can set that up in a specification. > I am trying that but it ends up bracketing the fields with ". I suppose > that if a comma is embedded in the string then the "" is required to > specify > that the , is internal to the string and not a delimiter. Is the "" part > of > the csv spec? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss > Sent: Monday, October 10, 2005 4:26 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] CSV with no header > > > If you use docmd.TransferText you can set the parameter after filename to > false. > > >> Does anyone know a simple way to do a CSV without the header? And >> yea, I can do the export, open the file and delete the first line. >> >> Other than that...? >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Patricia.O'Connor at otda.state.ny.us Tue Oct 11 10:53:21 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 11 Oct 2005 11:53:21 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551ECB@EXCNYSM0A1AI.nysemail.nyenet> Did you get an answer for this? A co-worker is getting the same error in a VB program he created. Thanks ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Monday, October 03, 2005 10:26 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] DIR Command Failing-but not everywhere... > > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, > or not. The exact syntax is shown below. The code is > checking for a specific file in two different directories > (one exists at work, and one at the customer's), and if it > can't find that file in either location, the application > warns the user that it's not available right now and closes > automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> > "chkfile.ozx" ... > > This code works perfectly at work and at the customer's. So, > you may ask, what's the big deal? Well, I also work on this > at home, and I just (within the last 3 weeks) reformatted my > home computer (winXP), reinstalled everything > (supposedly...), and service packed everything up to date. > > When I run this application at home, it fails on the Dir() > command where the directory doesn't exist. Since I'm at > home, for example, I don't have a "G" drive and it fails on > that one with the message "Bad Filename or Number", and the > error number is 52. > > The application is identical in both places...that is, I take > a copy home and put it on my computer, relink all the tables > to the BE and everything else is the same. > > Either I've not installed something correctly at home, or > I've not installed something I need to have. Or both. The > references are all the same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From developer at ultradnt.com Tue Oct 11 11:17:32 2005 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 11 Oct 2005 12:17:32 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551ECB@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <200510111617.j9BGHXI41522@ultradnt.com> Yes, it is most likely caused by a drive that has a letter on the PC, but no media in it, such as a DVD or CD Rom drive. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Tuesday, October 11, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Did you get an answer for this? A co-worker is getting the same error in a VB program he created. Thanks ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Monday, October 03, 2005 10:26 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] DIR Command Failing-but not everywhere... > > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. > The exact syntax is shown below. The code is checking for a specific > file in two different directories (one exists at work, and one at the > customer's), and if it can't find that file in either location, the > application warns the user that it's not available right now and > closes automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> > "chkfile.ozx" ... > > This code works perfectly at work and at the customer's. So, you may > ask, what's the big deal? Well, I also work on this at home, and I > just (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything > up to date. > > When I run this application at home, it fails on the Dir() command > where the directory doesn't exist. Since I'm at home, for example, I > don't have a "G" drive and it fails on that one with the message "Bad > Filename or Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy > home and put it on my computer, relink all the tables to the BE and > everything else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all > the same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Tue Oct 11 11:56:02 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Tue, 11 Oct 2005 18:56:02 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EPNRy2tLe-0005J2@mrelay.perfora.net> John Colby wrote on 10/11/2005, 05:56:21 AM: > Frank, > > >He judged the document without having ever seen it. > > I tried to judge it AFTER reading it but I couldn't find it. I have offered > to post it however, and the offer stands. > > Lighten up buddy. I am not casting aspersions on your document, or your > abilities. You sound to me like you know what you are doing. > > And I am willing, on further consideration, to suspend my disbelief re > whether a dedicated PC firewall could be as easy as you make it sound. If > it is in fact that easy, I want one. I think I said that somewhere in this > exchange. But it does have to just sit in the corner humming and not bother > me. No OS updates and stuff. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III > Sent: Monday, October 10, 2005 11:09 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > > Did you post a link to the document? If you did I missed it. > > > > John B. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > pctech at mybellybutton.com > > > > You are the one that seems close-minded about this, without even > > having seen the document, I might add. > > > > No. I didn't post a link to the document. He judged the document without > having ever seen it. He assumed that it was complicated and hard to read > for the novice. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com That's one of the nice things about Linux. It can update itself automatically, including a scheduled reboot *IF* the kernel has been updated. Linux is flexible that way. It even automatically restarts any services or daemons that have been replaced by an update. As an example, I have had to manually touch my home firewall that I built, that a large portion of this document is based on, exactly 5 times in the last 2 years. Yes, I actually keep maintenance logs on my home systems. One of those times was when I built it. One was to replace failed RAM. One was because my ISP and I thought I had a network card problem that turned out to be an issue with my VDSL gateway box. The other two were because I wanted to take the fierwall apart and blow the dust out. Linux and other *nix variants can run for a very long time without reboots. My firewall automatically reboots at 2:00am if, and only if, the kernel has been updated. Even then, it doesn't absolutely need to be rebooted. It only needs to be erbooted if you want to use the newly updated kernel. It will run just fine on the existing kernel that is loaded in memory. No, I didn't post a link to the document. For a couple of reasons. At the moment it is in first draft stage. I just completed it yesterday. Decond, even though I own the mybellybutton.com Internet domain name, I don't have a web site set up at the moment. I will send you a copy of the document off-list. From pctech at mybellybutton.com Tue Oct 11 12:00:01 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Tue, 11 Oct 2005 19:00:01 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EPNVq2ZsC-0005Z1@mrelay.perfora.net> John Colby wrote on 10/11/2005, 05:30:17 AM: > Frank, lighten up. We are nice people. Or at least Rocky is. ;-) > > Me, I just assume you spend time contemplating your belly button. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III > Sent: Monday, October 10, 2005 11:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software > wrote: > > How can we take someone seriously who wants to be known as belly > > button? > > > > Rocky > > > I see. So, because my mail domain is mybellybutton.com I must be a complete > idiot..... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Actually I chose this mail domain because my oldest daughter, when she was born, had a belly button that looked like an @. Her mother used to poke her in the stomach saying, "Stormie at belly button dot com." So I began looking. Bellybutton.com was taken by a porn site, but mybelybutton.com wasn't taken at all. So I snapped it up. So in effect, you're partially correct. From John.Clark at niagaracounty.com Tue Oct 11 12:05:51 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 11 Oct 2005 13:05:51 -0400 Subject: [AccessD] attack of the Access pixies Message-ID: I am very...very very very...sorry (on the floor beggin' here), for not sending a note of thanks on this topic. I though I had actually, but I was out here today to send another help request...this one's a doosy I think...and I decided to move my Emails on this topic in a save folder (I save the threads regarding my posts...don't know why exactly), and I noticed this was missing. So, I truly and sincerely offer my belated thanks on this subject. Just for the record, yes, in response to Susan's question, I had used these buttons before...well, ones exactly like them. I took the advice of hiding/unhiding the top image control, as needed. However, I left them as .GIF files. It works fine now. And the guy I am helping out loves them...I got huge kudos for this, so I pass on kudos to Gustav, Susan and all the others who continue to help me out, when I need it. Take care all! John W Clark >>> Gustav at cactus.dk 9/30/2005 3:14:51 PM >>> Hi John Don't load the pictures every time. Convert them to bitmaps, insert them on the form, and hide/unhide them as needed. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Oct 11 12:15:48 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 11 Oct 2005 13:15:48 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC2C8@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF102@ADGSERVER> Well Frank, let me be the first to say "me too please!" Thanks, Bobby I will send you a copy of the document off-list. From bheid at appdevgrp.com Tue Oct 11 12:17:28 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 11 Oct 2005 13:17:28 -0400 Subject: [AccessD] attack of the Access pixies In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC2CE@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF103@ADGSERVER> Bout time John! LOL. J/k. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Tuesday, October 11, 2005 1:06 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] attack of the Access pixies So, I truly and sincerely offer my belated thanks on this subject. John W Clark From cyx5 at cdc.gov Tue Oct 11 12:44:40 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 11 Oct 2005 13:44:40 -0400 Subject: [AccessD] OT: Firewall Message-ID: I love the bellybutton thing. My signficant other renamed *My Computer* to *My Toe Nails*, and I didn't realize it. All of a sudden, my Citrix was not working. I was on the phone with IT for at least a half an hour and we gave up. Then I saw it - what the? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Tuesday, October 11, 2005 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall John Colby wrote on 10/11/2005, 05:56:21 AM: > Frank, > > >He judged the document without having ever seen it. > > I tried to judge it AFTER reading it but I couldn't find it. I have > offered to post it however, and the offer stands. > > Lighten up buddy. I am not casting aspersions on your document, or > your abilities. You sound to me like you know what you are doing. > > And I am willing, on further consideration, to suspend my disbelief re > whether a dedicated PC firewall could be as easy as you make it sound. > If it is in fact that easy, I want one. I think I said that somewhere > in this exchange. But it does have to just sit in the corner humming > and not bother me. No OS updates and stuff. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank > Tanner III > Sent: Monday, October 10, 2005 11:09 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > > Did you post a link to the document? If you did I missed it. > > > > John B. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > pctech at mybellybutton.com > > > > You are the one that seems close-minded about this, without even > > having seen the document, I might add. > > > > No. I didn't post a link to the document. He judged the document > without having ever seen it. He assumed that it was complicated and > hard to read for the novice. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com That's one of the nice things about Linux. It can update itself automatically, including a scheduled reboot *IF* the kernel has been updated. Linux is flexible that way. It even automatically restarts any services or daemons that have been replaced by an update. As an example, I have had to manually touch my home firewall that I built, that a large portion of this document is based on, exactly 5 times in the last 2 years. Yes, I actually keep maintenance logs on my home systems. One of those times was when I built it. One was to replace failed RAM. One was because my ISP and I thought I had a network card problem that turned out to be an issue with my VDSL gateway box. The other two were because I wanted to take the fierwall apart and blow the dust out. Linux and other *nix variants can run for a very long time without reboots. My firewall automatically reboots at 2:00am if, and only if, the kernel has been updated. Even then, it doesn't absolutely need to be rebooted. It only needs to be erbooted if you want to use the newly updated kernel. It will run just fine on the existing kernel that is loaded in memory. No, I didn't post a link to the document. For a couple of reasons. At the moment it is in first draft stage. I just completed it yesterday. Decond, even though I own the mybellybutton.com Internet domain name, I don't have a web site set up at the moment. I will send you a copy of the document off-list. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Oct 11 12:53:32 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 11 Oct 2005 10:53:32 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPMET42id-00025j@mrelay.perfora.net> Message-ID: <002801c5ce8c$b21a0480$017ba8c0@xpserver> No Frank, Charlotte is saying you must have a sense of humour to choose that name. Many have their names chosen for them. A friend whose father's last name was Pipes, his father-in-laws name was Dwain which became his middle name and first name was David but he had red hair. It was not long before everyone knew him as Rusty Dwain Pipes. He works in the trades as an electrician but everyone assumes he is a Plumber. My daughter's boyfriend, a fellow from Demark, whose family name is Andersen and with a family name on the other side of Christian had parents with the humour to call him Hans. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Tuesday, October 11, 2005 8:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Charlotte Foust wrote on 10/11/2005, 04:29:40 PM: > Frank, > > If you want to hang out in this list, don't take everything so > seriously. There is a lot of banter and horsing around, as well as > serious discussion and help. Nobody is judging you based on your > domain, but you must admit it's an amusing one. The mods of this list > stamp out flames quite efficiently but you need to give as good as you > get and in the same vein. Trust me, the discussions sometimes get VERY > intense, but there is no personal animosity involved. Just don't expect > anyone to take your advice as received truth, since developers as a > group tend to have as many opinions as they have topics. > > Charlotte Foust > > > -----Original Message----- > On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software > wrote: > > How can we take someone seriously who wants to be known as belly > > button? > > > > Rocky > > > > > I see. So, because my mail domain is mybellybutton.com I must be a > complete idiot..... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Actually, I have been on this list for about 4 or 5 years now. I mostly lurk. Until a network/systems question comes up. Then I add my educated input. I *DO* take it seriously when someone makes assumptions about me or something I have said based on little or no information. That is exactly what John C and Rocky did. Because I have a "humorous" mail domain I must be an idiot. And because my document is 100 pages with screen shots it must be too difficult to understand. 80% of the pages of my document have screen shots. Of that 80% about 80% of those have five or less lines of text. Of the remaining 20% about 5% of those have a second screen shot on the page. In other words, without the table of contents, cover pages, revision pages, and screen shots, my document is less than 30 pages. As a reference, your average stereo assembly instructions are between 5 and 50 pages depending on the complexity of the equipment involved. Your average VCR manual is 60+ pages. Yout average cell phone manual is also 60+ pages. Judging people, and things, without having all of the facts is one of my pet peeves. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Tue Oct 11 13:21:08 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 11 Oct 2005 14:21:08 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: I've working on an A2K form (frmMonthly) that is sends parameters to query (qryMonthly), which in turn provides data for a subform (sfMoDetail) on this same form. Basically you type in an employee number and a year (both text boxes...yr defaults to current year), choose a time off type and a month (each using combo boxes), and it fills in a starting date and ending date, in the fields, "txtBegDate" and "txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and "txtEndDate" to return the dates and times that an employee took off that month. This works like a charm, if I type in an employee number (10080 is my test), and pick from the combos w/the mouse...the year is untouched, because it is already the current year and my test month is JUN, 2005. However, if I use the keyboard only to pick everything, nothing is returned, even if I then revert to using the mouse...once I've used the keyboard, I must exit the form and enter it again, for it to work. I currently have absolutely no clue as to why this is happening. After each of the fields (not including "txtEmpNum") the AfterUpdate event fires and calls a sub called "SetDates." This sub, as you can probably guess, sets the values of "txtBegDate" and "txtEndDate" and then requeries the subform. The dates are being filled in correctly, in both scenarios, and I have temporarily added two text boxes to verify that the values being passed to the query are what I am expecting. As I was writing this, it occurred to me that I hadn't tried running the query directly in my troubleshooting process, while using the keyboard...I just did and the query itself runs. The code in the sub, which probably has nothing to do with this, is: ***************************************** BEG CODE SNIPPET ************************************** Private Sub SetDates() Dim NumDays As Integer Dim SummaryText As String Select Case cboMonth.Value Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, Oct, & Dec have 31 days NumDays = 31 Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have 30 days NumDays = 30 Case 2 'February - could be leap year If txtYr.Value Mod 100 = 0 Then 'If it is a century year, it must be div. by 400. If txtYr.Value Mod 400 = 0 Then NumDays = 29 Else NumDays = 28 End If Else 'If not century yr, test if div by 4 for leap yr. If txtYr.Value Mod 4 = 0 Then NumDays = 29 Else NumDays = 28 End If End If End Select 'Set Beg & End dates for given month, for use as parameters in query txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType.Value & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", " & txtYr lblSummary.Caption = SummaryText sfMoDetail.Requery End Sub ***************************************** END CODE SNIPPET ************************************** Please save my sanity and send me a clue here! Take care! John W Clark From Patricia.O'Connor at otda.state.ny.us Tue Oct 11 13:57:22 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 11 Oct 2005 14:57:22 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551ECD@EXCNYSM0A1AI.nysemail.nyenet> Thanks - will see If he is using DIR to a drive that might not be there. Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Conklin > Sent: Tuesday, October 11, 2005 12:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > Yes, it is most likely caused by a drive that has a letter on > the PC, but no media in it, such as a DVD or CD Rom drive. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > O'Connor, Patricia (OTDA) > Sent: Tuesday, October 11, 2005 11:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > > Did you get an answer for this? A co-worker is getting the > same error in a VB program he created. > > Thanks > > From John.Clark at niagaracounty.com Tue Oct 11 14:07:26 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 11 Oct 2005 15:07:26 -0400 Subject: [AccessD] In the meantime...simple syntax question Message-ID: I just posted, what I believe to be, a difficult question. But, in the meantime, allow me to pose something that should be quite a bit easier. I have a label on my form, which I am using to notify the user exactly what is being queried. The problem, if you could even call it a problem, is that if you filling in following data: txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; and txtYr = "2005" you will get the following string in the label, "lblSummary" "This data represents all v time taken, for employee 10080, for JUN, 2005" and I would like it to say, "This data represents all Vacation time taken, for employee 10080, for June, 2005" The following is the code snippet that I am doing this with: 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & txtYr lblSummary.Caption = SummaryText And I tried changing it to: 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType.SelText & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & ", " & txtYr lblSummary.Caption = SummaryText i.e. Adding ".SelText" to the two combo box control calls but then I get, "You can't reference a property or a method for a control unless the control has focus" OK...now what? Any ideas? The only one I've got in my head right now, is to set up parameters to send to the function that does this, but they would have to be global...so maybe I add the code snippet above to each of the field's "AfterUpdate" event and do it there? Again...any ideas? Thanks again. I'm flustered and going home for the night. I've got a headache and I've gotta stop at the pet store and buy crickets for my son's anoles...spelling?..."lizards." Then, I've got to stop by the football field and pass on the stats from last game. Is 4:00 PM too early to go to bed? Tomorrow is a new day...and hopfully a much better one ;) Take care all! John W Clark From andy at minstersystems.co.uk Tue Oct 11 14:29:31 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 11 Oct 2005 20:29:31 +0100 Subject: [AccessD] OT: Firewall In-Reply-To: Message-ID: <000101c5ce9a$1a587f60$fd980c54@minster33c3r25> Ok, I'll try again. --------------------------------------------------- We set up the Tech list specifically for this type of discussion. Please use it. Oh and there was a plea only a couple of days ago for more snipping of replies. That'd be good too. -- Andy Lacey http://www.minstersystems.co.uk From stephen at bondsoftware.co.nz Tue Oct 11 14:41:03 2005 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 12 Oct 2005 08:41:03 +1300 Subject: [AccessD] In the meantime...simple syntax question Message-ID: <70F3D727890C784291D8433E9C418F29149924@server.bondsoftware.co.nz> John, Does the RecordSource of the cboTOType combo have more than one field? The code looks like it is displaying the bound field (v) and you want it to display the combo's displayed field. If this is the case you might need to do this: SummaryText = "This data represents all " & cboTOType.Column(n) where n is the column ( zero-based) of the field you want to display in the RowSource of the combo Just a WAG Stephen Bond > -----Original Message----- > From: John Clark [mailto:John.Clark at niagaracounty.com] > Sent: Wednesday, 12 October 2005 8:07 a.m. > To: accessd at databaseadvisors.com > Subject: [AccessD] In the meantime...simple syntax question > > > I just posted, what I believe to be, a difficult question. But, in the > meantime, allow me to pose something that should be quite a > bit easier. > > I have a label on my form, which I am using to notify the user exactly > what is being queried. The problem, if you could even call it > a problem, > is that if you filling in following data: > > txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; > and txtYr = "2005" > > you will get the following string in the label, "lblSummary" > > "This data represents all v time taken, for employee 10080, for > JUN, 2005" > > and I would like it to say, "This data represents all Vacation time > taken, for employee 10080, for June, 2005" > > The following is the code snippet that I am doing this with: > > 'Set summary text to let user know exactly what is being queried > SummaryText = "This data represents all " & cboTOType & " time taken, > for employee " > SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & > txtYr > lblSummary.Caption = SummaryText > > And I tried changing it to: > > 'Set summary text to let user know exactly what is being queried > SummaryText = "This data represents all " & cboTOType.SelText & " time > taken, for employee " > SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & > ", " & txtYr > lblSummary.Caption = SummaryText > > > i.e. Adding ".SelText" to the two combo box control calls > > but then I get, "You can't reference a property or a method for a > control unless the control has focus" > > OK...now what? Any ideas? The only one I've got in my head right now, > is to set up parameters to send to the function that does > this, but they > would have to be global...so maybe I add the code snippet > above to each > of the field's "AfterUpdate" event and do it there? Again...any ideas? > > Thanks again. I'm flustered and going home for the night. I've got a > headache and I've gotta stop at the pet store and buy crickets for my > son's anoles...spelling?..."lizards." Then, I've got to stop by the > football field and pass on the stats from last game. Is 4:00 PM too > early to go to bed? > > Tomorrow is a new day...and hopfully a much better one ;) > > Take care all! > > John W Clark > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Tue Oct 11 14:49:32 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 11 Oct 2005 15:49:32 -0400 Subject: [AccessD] In the meantime...simple syntax question In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC30B@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF108@ADGSERVER> If I understand your problem, you are getting data from the combos that you are not expecting. I assume that the data in the combo box is id, then the display data, correct? If so then try something like: cboTOType.column(1) 'zero based, choose the 2nd column I do not have Access up at the moment, so it is either column or columns. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Tuesday, October 11, 2005 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] In the meantime...simple syntax question I just posted, what I believe to be, a difficult question. But, in the meantime, allow me to pose something that should be quite a bit easier. I have a label on my form, which I am using to notify the user exactly what is being queried. The problem, if you could even call it a problem, is that if you filling in following data: txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; and txtYr = "2005" you will get the following string in the label, "lblSummary" "This data represents all v time taken, for employee 10080, for JUN, 2005" and I would like it to say, "This data represents all Vacation time taken, for employee 10080, for June, 2005" The following is the code snippet that I am doing this with: 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & txtYr lblSummary.Caption = SummaryText And I tried changing it to: 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType.SelText & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & ", " & txtYr lblSummary.Caption = SummaryText i.e. Adding ".SelText" to the two combo box control calls but then I get, "You can't reference a property or a method for a control unless the control has focus" John W Clark From markamatte at hotmail.com Tue Oct 11 14:53:34 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Oct 2005 19:53:34 +0000 Subject: [AccessD] In the meantime...simple syntax question In-Reply-To: Message-ID: John, I think the problem originates with the combo displaying a description of the the value you are using...meaning the combo displays the description field "Vacation", but uses the ID field "V" to do your query stuff. If you still wanted to use this method...you could set focus to the field set a variable equal to the .seltext and then display your message...or use a dlookup or something. This may be the 'wrong' way...but should work... ********************** Dim Type Dim Month me!cboTOType.setfocus Type=cboTOType.SelText me!cboMonth .setfocus Month=me!cboMonth .SelText SummaryText = "This data represents all " & Type & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & Month & ", " & txtYr lblSummary.Caption = SummaryText ********************** ...then just put the focus back to where you need. Probably kinda ugly but gets what you need. Hope it helps, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] In the meantime...simple syntax question >Date: Tue, 11 Oct 2005 15:07:26 -0400 > >I just posted, what I believe to be, a difficult question. But, in the >meantime, allow me to pose something that should be quite a bit easier. > >I have a label on my form, which I am using to notify the user exactly >what is being queried. The problem, if you could even call it a problem, >is that if you filling in following data: > > txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; >and txtYr = "2005" > >you will get the following string in the label, "lblSummary" > > "This data represents all v time taken, for employee 10080, for >JUN, 2005" > >and I would like it to say, "This data represents all Vacation time >taken, for employee 10080, for June, 2005" > >The following is the code snippet that I am doing this with: > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType & " time taken, >for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & >txtYr >lblSummary.Caption = SummaryText > >And I tried changing it to: > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.SelText & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & >", " & txtYr >lblSummary.Caption = SummaryText > > >i.e. Adding ".SelText" to the two combo box control calls > >but then I get, "You can't reference a property or a method for a >control unless the control has focus" > >OK...now what? Any ideas? The only one I've got in my head right now, >is to set up parameters to send to the function that does this, but they >would have to be global...so maybe I add the code snippet above to each >of the field's "AfterUpdate" event and do it there? Again...any ideas? > >Thanks again. I'm flustered and going home for the night. I've got a >headache and I've gotta stop at the pet store and buy crickets for my >son's anoles...spelling?..."lizards." Then, I've got to stop by the >football field and pass on the stats from last game. Is 4:00 PM too >early to go to bed? > >Tomorrow is a new day...and hopfully a much better one ;) > >Take care all! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Oct 11 14:57:05 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Oct 2005 19:57:05 +0000 Subject: [AccessD] In the meantime...simple syntax question In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF108@ADGSERVER> Message-ID: Bobby and Stephen, Great suggestions...after reading yours mine sounded silly...I focused on the error and not the correct solution...but then again that's the beauty of this list. Thanks, Mark A. Matte >From: "Bobby Heid" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] In the meantime...simple syntax question >Date: Tue, 11 Oct 2005 15:49:32 -0400 > >If I understand your problem, you are getting data from the combos that you >are not expecting. I assume that the data in the combo box is id, then the >display data, correct? If so then try something like: > >cboTOType.column(1) 'zero based, choose the 2nd column > >I do not have Access up at the moment, so it is either column or columns. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark >Sent: Tuesday, October 11, 2005 3:07 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] In the meantime...simple syntax question > > >I just posted, what I believe to be, a difficult question. But, in the >meantime, allow me to pose something that should be quite a bit easier. > >I have a label on my form, which I am using to notify the user exactly >what is being queried. The problem, if you could even call it a problem, >is that if you filling in following data: > > txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; >and txtYr = "2005" > >you will get the following string in the label, "lblSummary" > > "This data represents all v time taken, for employee 10080, for >JUN, 2005" > >and I would like it to say, "This data represents all Vacation time >taken, for employee 10080, for June, 2005" > >The following is the code snippet that I am doing this with: > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType & " time taken, >for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & >txtYr >lblSummary.Caption = SummaryText > >And I tried changing it to: > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.SelText & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & >", " & txtYr >lblSummary.Caption = SummaryText > > >i.e. Adding ".SelText" to the two combo box control calls > >but then I get, "You can't reference a property or a method for a >control unless the control has focus" > > > >John W Clark > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Oct 11 15:03:50 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Oct 2005 20:03:50 +0000 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Oct 11 15:24:38 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 11 Oct 2005 15:24:38 -0500 Subject: [AccessD] Automatically expanding source data parameter Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337905@corp-es01.fleetpride.com> Several possible solutions: A) Columns or rows that are part of a data series but are hidden will not be charted. You can use this to create data series with multiple empty hidden columns that you unhide as you add data. B)It is also possible to create dynamic ranges that automatically change as you add rows or columns. See: http://www.ozgrid.com/Excel/DynamicRanges.htm C)Pivot charts are an elegant way to create charts with rolling time periods. Like a pivot table the chart accesses a worksheet data table that you add to over time. The chart has drop down boxes that allow you to select which periods you want to display. D)You can change and set the range using VBA as you suggested although I for one am too lazy to go to all that trouble given the other possible solutions. HTH Jim Hale -----Original Message----- From: tewald at comcast.net [mailto:tewald at comcast.net] Sent: Tuesday, October 11, 2005 9:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Automatically expanding source data parameter Whether this will require VBA, or I'm just about to reveal (more of) my ignorance with regard to MSFT's built-in chart abilities, I don't know. Once a week I update data in several spreadsheets.Certain totals (the same in each case) are copied from each of the sheets to one sheet comprised of totals only. The data from each sheet has 3 charts based on that sheet's data. The charts are all time-oriented in that past data remains, while a new column is added to the individual totals tables and is to be included in that table's chart. Each of the initial sheets has a counterpart chart sheet containing 3 charts. I go to each of the 3 charts in each of the chart sheets, and expand the Source Data parameter. Here are examples of the Source Data from one of the chart sheets for today's data: ='Scorecard Data'!$A$2:$O$7 ='Scorecard Data'!$A$2:$O$3,'Scorecard Data'!$A$5:$O$5,'Scorecard Data'!$A$12:$O$14 ='Scorecard Data'!$A$2:$O$2,'Scorecard Data'!$A$4:$O$4,'Scorecard Data'!$A$9:$O$11 I had to go to each of these and change the "N" to an "O", as you see above. This is no big deal, but I have several sheets similar to this one. You will note that the data contained in the last two lines are not contiguous, which adds to the confusion. I would think naming a range, and then simply redefining the range programmatically, would be a reasonable idea, except for that lack of contiguity. Is there a way to update each of these 3 parameters on several chart sheets automatically? TIA, Tom Ewald -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From bchacc at san.rr.com Tue Oct 11 15:34:50 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Oct 2005 13:34:50 -0700 Subject: [AccessD] OT: Firewall References: <0MKoyl-1EPMET42id-00025j@mrelay.perfora.net> Message-ID: <01f901c5cea3$3b0ce8a0$6501a8c0@HAL9004> Hey, hey, hey, Frank. I didn't make any judgment about you. How could I? I don't understand what the heck you're talking about! Rocky ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Tuesday, October 11, 2005 8:38 AM Subject: Re: [AccessD] OT: Firewall > > Charlotte Foust wrote on 10/11/2005, > 04:29:40 PM: >> Frank, >> >> If you want to hang out in this list, don't take everything so >> seriously. There is a lot of banter and horsing around, as well as >> serious discussion and help. Nobody is judging you based on your >> domain, but you must admit it's an amusing one. The mods of this list >> stamp out flames quite efficiently but you need to give as good as you >> get and in the same vein. Trust me, the discussions sometimes get VERY >> intense, but there is no personal animosity involved. Just don't expect >> anyone to take your advice as received truth, since developers as a >> group tend to have as many opinions as they have topics. >> >> Charlotte Foust >> >> >> -----Original Message----- >> On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software >> wrote: >> > How can we take someone seriously who wants to be known as belly >> > button? >> > >> > Rocky >> > >> >> >> I see. So, because my mail domain is mybellybutton.com I must be a >> complete idiot..... >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > Actually, I have been on this list for about 4 or 5 years now. I mostly > lurk. Until a network/systems question comes up. Then I add my > educated input. > > I *DO* take it seriously when someone makes assumptions about me or > something I have said based on little or no information. That is > exactly what John C and Rocky did. Because I have a "humorous" mail > domain I must be an idiot. And because my document is 100 pages with > screen shots it must be too difficult to understand. 80% of the pages > of my document have screen shots. Of that 80% about 80% of those have > five or less lines of text. Of the remaining 20% about 5% of those > have a second screen shot on the page. In other words, without the > table of contents, cover pages, revision pages, and screen shots, my > document is less than 30 pages. As a reference, your average stereo > assembly instructions are between 5 and 50 pages depending on the > complexity of the equipment involved. Your average VCR manual is 60+ > pages. Yout average cell phone manual is also 60+ pages. > > Judging people, and things, without having all of the facts is one of my > pet peeves. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Oct 11 15:35:36 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Oct 2005 13:35:36 -0700 Subject: [AccessD] OT: Firewall References: Message-ID: <01fe01c5cea3$56437620$6501a8c0@HAL9004> John: I finally got it all cleaned off that machine and I'm going to put Sygate personal on there. Rocky ----- Original Message ----- From: "John Clark" To: Sent: Tuesday, October 11, 2005 8:45 AM Subject: Re: [AccessD] OT: Firewall > Hey Rocky. First I want to give you a disclaimer; I am way behind with > my Email reading, and I haven't scanned this whole thread yet...I had > been thinking of just deleting the whole thread, but checked out the > first few posts on a whim. > > On my daughters' PC, I am having a problem with ZA. From what I can > tell, it looks as if something got in and messed up the "signature" or > something. I've tried a reinstall and a fresh install and nothing is > working. This has worked for years now, so it is definitely something > odd that is taking place on mine. I am actually considering a total > format of the PC, because in this case, being my daughters', it is just > for Internet and games, so I can replace everything on it. > > I'm going on to read the rest of this post, so I apologize if this was > redundant or way off base. > > Take care! > > John W Clark > >>>> bchacc at san.rr.com 10/10/2005 12:05 PM >>> > Charlotte: > > I tried the clean install but it still messed up. Even went through all > > their uninstall stuff. I'm sure it's something peculiar to that > machine. > But if I can do a quickie with Sygate that'll be fine, instead of > messing > around for another hour or two with Zone Alarm. > > Regards, > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 10, 2005 8:48 AM > Subject: Re: [AccessD] OT: Firewall > > >> Rocky, >> >> There have been a lot of problems with the 6.x versions of > ZoneAlarm, >> but most if not all were solved in the latest build. The best > advice >> seems to be to do a clean install, not an upgrade. That requires you > to >> retrain the critter, but it presents no other problems that I've >> encountered. You do need the software firewall to prevent outgoing >> unauthorized traffic. >> >> Charlotte Foust >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin >> - Beach Access Software >> Sent: Sunday, October 09, 2005 8:07 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] OT: Firewall >> >> >> I\'m having a huge problem getting Zone Alarm on one of our > computers >> I've used it for years with no problem, upgraded this one box from >> Version 3 to the latest, it blocks internet access and give a page > full >> of instructions on how to solve the problem - none of which work. >> >> Uninstalled, reinstalled, cleaned registry per their instructions, >> renamed the internet log, blah, blah. >> >> At the moment the machine is behind the router firewall (like all of >> them) so I don't know if I should be too concerned but I've always > run a >> firewall on each machine in addition to the hardware firewall in the >> Linksys. >> >> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( >> another free one : http://smb.sygate.com/products/spf_standard.htm) > . >> Anyone know about this? Any other recommendations for a personal >> firewall? >> >> Thanks and regards, >> >> Rocky >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Tue Oct 11 16:35:33 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Oct 2005 07:35:33 +1000 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPNRy2tLe-0005J2@mrelay.perfora.net> Message-ID: <434CBCC5.24593.1BCDCE72@stuart.lexacorp.com.pg> On 11 Oct 2005 at 18:56, pctech at mybellybutton.com wrote: ...... > That's one of the nice things about Linux. It can update itself ....... Bottom posting good. Bottom posting without trimming bad :-) -- Stuart From stuart at lexacorp.com.pg Tue Oct 11 16:35:33 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Oct 2005 07:35:33 +1000 Subject: [AccessD] CSV with no header In-Reply-To: <51545.65.196.182.34.1129045584.squirrel@65.196.182.34> References: <001001c5ce04$d2386730$697aa8c0@ColbyM6805> Message-ID: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> On 11 Oct 2005 at 10:46, Jim Moss wrote: > If I had commas within strings, then I would select another delimiter like > a |. I think that you can set that up in a specification. > > In the Access Import/ExportText wizards you can specify any delimiter you like and also specify whether to quote strings. One problem is when strings themselves contain quotes :-( I prefer to use Tab delimited files. That way fields can contain commas,single/double quotes etc. Tabs are a widely accepted "standard"delimiter, you can specift Tab delimited as a Save format in Excel and can also select Tab as the delimiter in ImportText/ExportText specifications in Access. If you are building your own file with Print#, it's easy to throw in a Chr$(9) and not have to worry about what characters are in the strings. -- Stuart From jwcolby at ColbyConsulting.com Tue Oct 11 17:42:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 18:42:15 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPNVq2ZsC-0005Z1@mrelay.perfora.net> Message-ID: <001601c5ceb5$0a4fede0$697aa8c0@ColbyM6805> That's funny! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Actually I chose this mail domain because my oldest daughter, when she was born, had a belly button that looked like an @. Her mother used to poke her in the stomach saying, "Stormie at belly button dot com." So I began looking. Bellybutton.com was taken by a porn site, but mybelybutton.com wasn't taken at all. So I snapped it up. So in effect, you're partially correct. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 11 17:44:28 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 18:44:28 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF102@ADGSERVER> Message-ID: <001701c5ceb5$56bc9890$697aa8c0@ColbyM6805> If he allows me to do so I will post it on my site, with full acknowledgements as to where it comes from. I have a "useful files" page already up there. This sounds like a perfect addition to that content. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Tuesday, October 11, 2005 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall Well Frank, let me be the first to say "me too please!" Thanks, Bobby I will send you a copy of the document off-list. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 11 18:12:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 19:12:15 -0400 Subject: [AccessD] CSV with no header In-Reply-To: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> Message-ID: <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> In the end, I don't get to choose. This is a government export for PlanD of the Medicare system (or something like that). The gov says "these fields, in this format". The only problem is that they simply say "csv with no header". What does that mean exactly? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 11, 2005 5:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV with no header On 11 Oct 2005 at 10:46, Jim Moss wrote: > If I had commas within strings, then I would select another delimiter > like a |. I think that you can set that up in a specification. > > In the Access Import/ExportText wizards you can specify any delimiter you like and also specify whether to quote strings. One problem is when strings themselves contain quotes :-( I prefer to use Tab delimited files. That way fields can contain commas,single/double quotes etc. Tabs are a widely accepted "standard"delimiter, you can specift Tab delimited as a Save format in Excel and can also select Tab as the delimiter in ImportText/ExportText specifications in Access. If you are building your own file with Print#, it's easy to throw in a Chr$(9) and not have to worry about what characters are in the strings. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Tue Oct 11 18:17:57 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Tue, 11 Oct 2005 16:17:57 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <001701c5ceb5$56bc9890$697aa8c0@ColbyM6805> Message-ID: <200510112317.j9BNHwT16325@databaseadvisors.com> Me too, me too! Thanks. karenr7 at oz.net Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, October 11, 2005 3:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall If he allows me to do so I will post it on my site, with full acknowledgements as to where it comes from. I have a "useful files" page already up there. This sounds like a perfect addition to that content. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Tuesday, October 11, 2005 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall Well Frank, let me be the first to say "me too please!" Thanks, Bobby I will send you a copy of the document off-list. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Oct 11 18:35:29 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Oct 2005 16:35:29 -0700 Subject: [AccessD] CSV with no header References: <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> Message-ID: <02b501c5cebc$774a51e0$6501a8c0@HAL9004> I would guess that means no field names in the first row. Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 11, 2005 4:12 PM Subject: Re: [AccessD] CSV with no header > In the end, I don't get to choose. This is a government export for PlanD > of > the Medicare system (or something like that). The gov says "these fields, > in this format". The only problem is that they simply say "csv with no > header". What does that mean exactly? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, October 11, 2005 5:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] CSV with no header > > > On 11 Oct 2005 at 10:46, Jim Moss wrote: > >> If I had commas within strings, then I would select another delimiter >> like a |. I think that you can set that up in a specification. >> >> > > > In the Access Import/ExportText wizards you can specify any delimiter you > like and also specify whether to quote strings. One problem is when > strings themselves contain quotes :-( > > > I prefer to use Tab delimited files. That way fields can contain > commas,single/double quotes etc. Tabs are a widely accepted > "standard"delimiter, you can specift Tab delimited as a Save format in > Excel and can also select Tab as the delimiter in ImportText/ExportText > specifications in Access. If you are building your own file with Print#, > it's easy to throw in a Chr$(9) and not have to worry about what > characters > are in the strings. > > > > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Tue Oct 11 18:36:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Oct 2005 16:36:58 -0700 Subject: [AccessD] CSV with no header Message-ID: I would interpret it as comma delimited text with quotes around strings and none around numbers. CSV, is specifically comma-delimited, so you have to use quotes around text to handle possible interior commas. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, October 11, 2005 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CSV with no header In the end, I don't get to choose. This is a government export for PlanD of the Medicare system (or something like that). The gov says "these fields, in this format". The only problem is that they simply say "csv with no header". What does that mean exactly? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 11, 2005 5:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV with no header On 11 Oct 2005 at 10:46, Jim Moss wrote: > If I had commas within strings, then I would select another delimiter > like a |. I think that you can set that up in a specification. > > In the Access Import/ExportText wizards you can specify any delimiter you like and also specify whether to quote strings. One problem is when strings themselves contain quotes :-( I prefer to use Tab delimited files. That way fields can contain commas,single/double quotes etc. Tabs are a widely accepted "standard"delimiter, you can specift Tab delimited as a Save format in Excel and can also select Tab as the delimiter in ImportText/ExportText specifications in Access. If you are building your own file with Print#, it's easy to throw in a Chr$(9) and not have to worry about what characters are in the strings. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Tue Oct 11 19:29:43 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Tue, 11 Oct 2005 17:29:43 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <001701c5ceb5$56bc9890$697aa8c0@ColbyM6805> References: <001701c5ceb5$56bc9890$697aa8c0@ColbyM6805> Message-ID: <1129076983.2908.0.camel@localhost.localdomain> On Tue, 2005-10-11 at 18:44 -0400, John Colby wrote: > If he allows me to do so I will post it on my site, with full > acknowledgements as to where it comes from. I have a "useful files" page > already up there. This sounds like a perfect addition to that content. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Tuesday, October 11, 2005 1:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Firewall > > > Well Frank, let me be the first to say "me too please!" > > Thanks, > Bobby > > > > I will send you a copy of the document off-list. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > Let me remove the company info and I don't mind at all. From stuart at lexacorp.com.pg Tue Oct 11 19:26:19 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Wed, 12 Oct 2005 10:26:19 +1000 Subject: [AccessD] CSV with no header In-Reply-To: <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> References: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> Message-ID: <434CE4CB.29133.72EE76@localhost> On 11 Oct 2005 at 19:12, John Colby wrote: > In the end, I don't get to choose. This is a government export for PlanD of > the Medicare system (or something like that). The gov says "these fields, > in this format". The only problem is that they simply say "csv with no > header". What does that mean exactly? > I would supply: A plain ASCII text (ie no Unicode). Each record terminates with CRLF Fields separate by commas. Quotes around text fields if any field is likely to include commas. Otherwise I would not quote the text. Do not include an initial line containing the field names. Note that there is no actual specification for a CSV file. Here's what you will find at http://www.wotsit.org which is the best place I know to get the specifications for just about any file format you can thiing of. ------------------------------------------------------------------- CSV file format ------------------------------------------------------------------- The CSV format is supposedly one of the most 'standard' interchange formats between data based programs. Almost all data based applications seem to be able to export CSV formatted data, and almost all have a way to import it. However, the format is anything BUT standard. There are quite a few variations that are very important to understand. ------------------------------------------------------------------- DATA ENCAPSULATION ------------------------------------------------------------------- Data is either 'naked' (without encapsulating doublequotes), or quoted. Quoted data is used to protect imbedded carriage returns, imbedded commas, odd characters and of course, the quote character itself. Quotes that are 'data' are doubled up. ------------------------------------------------------------------- UNQUOTED ENCAPSULATION ------------------------------------------------------------------- Data that does NOT contain newlines, carriage returns, comma's or quotes (or ASCII data below 0x20 or above 0x7f) stands on its own: data <1234> followed by becomes: 1234,The Big Ol' Bear{CR} ------------------------------------------------------------------- QUOTED ENCAPSULATION ------------------------------------------------------------------- Data that contains double quotes, commas, returns or other odd characters outside the 7-bit ASCII character set is quoted. data <1234 Harrington St, Northwest> followed by becomes: "1234 Harrington St, Northwest",Suite 17 Stop 3 Note that the second chunk of data does not have the protection of the quotes: it doesn't need it, having no odd characters within. <1234 West "Q" St.> ------------------------------------------------------------------- QUOTED ENCAPSULATION OF DOUBLE QUOTE ------------------------------------------------------------------- Data that contains double quotes is a special case, and oddly interpreted by all nature of commercial programs. Consider the data: <1234 West "Q" St.> It should become: "1234 West ""Q"" St." <<< RIGHT WAY Where each internal DATA quote is doubled up. However, some programs (such as Paradox) don't do so nicely. They would represent the data as: "1234 West "Q" St.",.... <<< WRONG WAY Where they feel that a doublequote with no comma following is part of the data. This turns out to be rather bogus, as it can be painful under various common circumstances (e.g.: <1234 West "Q" St. (for "Quantum", or "Quality")> becomes "1234 West "Q" St. (for "Quantum", or "Quality")", Which of course is entirely ambiguous as to the placement of data in the field. ------------------------------------------------------------------- QUOTED ENCAPSULATION OF CARRIAGE RETURNS ------------------------------------------------------------------- Often times data has imbedded carriage returns. YOU MUST MAKE SURE YOUR ROUTES HANDLE THIS CORRECTLY, as it is a VERY common case: becomes "Thomas Aquinus, Esq.{CR} Prosecutor for the Pope{CR} St. Luke's Dungeon{CR} Somewhere in Italy" What makes this so blasted difficult is that at the 'outer level', most CSV parsing code is trying to evaluate LINES, not fields. However, the imbedded CR louses up the logic. OPTIMALLY, you should code your CSV reader to have a 'field-by-field' read logic. If this is impossible (or awkward, as in PERL), you may want to have conditional logic looking for a trailing and unmatched doublequote. ------------------------------------------------------------------- EMPTY DATA CONVENTIONS ------------------------------------------------------------------- When data is 'empty' (either the empty string, or the numeric value '0', or FALSE if boolean), you have the option of either writing out: "" or writing nothing at all. Therefore, it is common to see CSV files that look like both of these examples: "","Thos.","","Aquinus","Esq.","Pros.forPope","","Somewhere..." ,Thos.,,Aquinus,Esq,Pros.forPope,,Somewhere... They're both equivalent, and do not violate the spirit of the CSV standard. ------------------------------------------------------------------- REMOVING PADDING ------------------------------------------------------------------- Though not strictly required, it is conventional to remove empty space padding before and after data. Likewise, it is conventional to remove empty padding when READING data [on the off chance that someone forgot to remove it when writing the data out!] ------------------------------------------------------------------- THE FIELD-DESCRIPTION HEADER ------------------------------------------------------------------- Surprisingly there is absolutly no part of the standard that either calls for the first record to consist of the names of the fields in the data following, or, that identifies the first record uniquely as such should it exist! However, it is both common AND EXPECTED that the first line should consist of the names of the fields for the records that follow. ------------------------------------------------------------------- VARIABLY FORMATTED CSV's ------------------------------------------------------------------- Some programmers have abandonded the very precept of a regularly formatted CSV file and have added their own twists. Groupwise CSV export is one of these programs. They "enhance" the CSV output format so that the first field of the record determines the structure of the rest of the record. This is hopelessly hard to cope with. DON'T DO IT IF YOU WANT TO REMAIN ALIVE. This document was created in a fit of disgust with the complete lack of CSV documentation found on the Internet. Author: Robert J. Lynch rlynch at lynchmarks.com Copyright (c) 2001 From gregsmith at starband.net Tue Oct 11 21:47:08 2005 From: gregsmith at starband.net (Greg W Smith) Date: Tue, 11 Oct 2005 21:47:08 -0500 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551ECD@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <000701c5ced7$4d35d030$0500a8c0@dads> Patti: Yes, it was exactly that. I had rebuilt my home computer and in that process my drive letter "G:" which had NOT been used before became my DVD writer (I added another backup hard drive which changed all the lettering)....who would have known. So when the code hit that drive, which was empty, the error occurred. I could replicate it on my computer at work, so I knew it was that. I no longer use the DIR command....geee, I wonder why... Greg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Tuesday, October 11, 2005 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Thanks - will see If he is using DIR to a drive that might not be there. Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Conklin > Sent: Tuesday, October 11, 2005 12:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > Yes, it is most likely caused by a drive that has a letter on > the PC, but no media in it, such as a DVD or CD Rom drive. > From bheid at appdevgrp.com Wed Oct 12 06:20:26 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 12 Oct 2005 07:20:26 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC33E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF10A@ADGSERVER> I personally do not care for bottom posting. I believe that a lot of the Linux gods (read that sarcastically) on some of the RH lists I read will not even read a post if it's not bottom posted and complain very loudly that 'that is the way WE prefer it" as if they took a poll or something. Really pisses me off. LOL. But I don't really care which way someone posts as long as they don't bother me about the way I post. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 11, 2005 5:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Bottom posting good. Bottom posting without trimming bad :-) -- Stuart From bheid at appdevgrp.com Wed Oct 12 06:21:33 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 12 Oct 2005 07:21:33 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC366@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF10B@ADGSERVER> Thanks Frank. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Tuesday, October 11, 2005 8:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Let me remove the company info and I don't mind at all. From John.Clark at niagaracounty.com Wed Oct 12 07:11:35 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 08:11:35 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Not silly at all...I don't think anyhow. It didn't seem to work though. However, it did produce results that made me think of another thing to try. as I have explained, I am using a form that gathers the needed info, and the data comes through on a subform. I think that I may be requerying the wrong thing...maybe I need to requery that subform...not the subform control, but rather the actual form that I am piping in. I've tried requerying the query and the subform control, so I am going to try the actual form and see how that goes...once I figure out the syntax. I've done similar before, so I've got it here somewhere. Thanks for your input though...it is appreciated! John W Clark (The "other" John C) >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Wed Oct 12 07:22:47 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 12 Oct 2005 08:22:47 -0400 Subject: [AccessD] OT - Online CBT Courses Message-ID: I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From garykjos at gmail.com Wed Oct 12 08:09:44 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 12 Oct 2005 08:09:44 -0500 Subject: [AccessD] OT - Online CBT Courses In-Reply-To: References: Message-ID: Congratulations Karen! I don't have any help on the training options though. GK On 10/12/05, Nicholson, Karen wrote: > I just switched contracting companies to do the same job I have been > doing with a 35% raise. Yes! I can take any course that I want to take > and am leaning towards vb.net or something with XML. I prefer to do CBT > courses. Any suggestions? > > Karen S. Nicholson -- Gary Kjos garykjos at gmail.com From mboyd at deloitte.com Wed Oct 12 08:40:57 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 12 Oct 2005 08:40:57 -0500 Subject: [AccessD] Counting Fields Message-ID: <0FBDA7773C0D634D8511C0F9438AD81D4C9975@uscnt0406.us.deloitte.com> I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From mikedorism at verizon.net Wed Oct 12 08:53:06 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 12 Oct 2005 09:53:06 -0400 Subject: [AccessD] OT - Online CBT Courses In-Reply-To: Message-ID: <000901c5cf34$47914940$2e01a8c0@dorismanning> Check with any colleges or community colleges in your area. A lot of them are beginning to offer online classes. They may also have suggestions for CBT training courses. Doris Manning mikedorism at verizon.net From mikedorism at verizon.net Wed Oct 12 08:55:37 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 12 Oct 2005 09:55:37 -0400 Subject: [AccessD] Counting Fields In-Reply-To: <0FBDA7773C0D634D8511C0F9438AD81D4C9975@uscnt0406.us.deloitte.com> Message-ID: <000a01c5cf34$a17f4a10$2e01a8c0@dorismanning> Add a column to the select query that contains the following... IIF(Field1 = "X", 1, 0) + IIF(Field2 = "X", 1, 0)...+ IIF(Field7 = "X", 1,0) This will sum all 7 fields giving you the total X count. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Wednesday, October 12, 2005 9:41 AM To: AccessD Subject: [AccessD] Counting Fields I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Oct 12 08:58:43 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 12 Oct 2005 14:58:43 +0100 Subject: [AccessD] Counting Fields Message-ID: <20051012135841.3204D2531CC@smtp.nildram.co.uk> SELECT IIF(Field1="X",1,0)+IIF(Field2="X",1,0)+.... AS CountX FROM ..... -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "AccessD" Subject: [AccessD] Counting Fields Date: 12/10/05 13:42 I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From mboyd at deloitte.com Wed Oct 12 09:13:30 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 12 Oct 2005 09:13:30 -0500 Subject: [AccessD] Counting Fields Message-ID: <0FBDA7773C0D634D8511C0F9438AD81D4C9AA4@uscnt0406.us.deloitte.com> Works perfectly! Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, October 12, 2005 9:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Fields SELECT IIF(Field1="X",1,0)+IIF(Field2="X",1,0)+.... AS CountX FROM ..... -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "AccessD" Subject: [AccessD] Counting Fields Date: 12/10/05 13:42 I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Wed Oct 12 09:13:51 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 12 Oct 2005 09:13:51 -0500 Subject: [AccessD] Counting Fields Message-ID: <0FBDA7773C0D634D8511C0F9438AD81D4C9AA9@uscnt0406.us.deloitte.com> Thanks Doris, this is what I needed. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Wednesday, October 12, 2005 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Counting Fields Add a column to the select query that contains the following... IIF(Field1 = "X", 1, 0) + IIF(Field2 = "X", 1, 0)...+ IIF(Field7 = "X", 1,0) This will sum all 7 fields giving you the total X count. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Wednesday, October 12, 2005 9:41 AM To: AccessD Subject: [AccessD] Counting Fields I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Oct 12 09:52:50 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Oct 2005 07:52:50 -0700 Subject: [AccessD] OT - Online CBT Courses Message-ID: Do vb.net. XML will follow naturally. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, October 12, 2005 5:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - Online CBT Courses I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Wed Oct 12 09:48:44 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Wed, 12 Oct 2005 09:48:44 -0500 (CDT) Subject: [AccessD] CSV with no header In-Reply-To: <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> References: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> Message-ID: <21019.65.196.182.34.1129128524.squirrel@65.196.182.34> John, To my understanding the "rules" stated that csv is comma separated fields with quotes enclosing text strings, nothing enclosing numeric strings. Jim > In the end, I don't get to choose. This is a government export for PlanD > of > the Medicare system (or something like that). The gov says "these fields, > in this format". The only problem is that they simply say "csv with no > header". What does that mean exactly? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, October 11, 2005 5:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] CSV with no header > > > On 11 Oct 2005 at 10:46, Jim Moss wrote: > >> If I had commas within strings, then I would select another delimiter >> like a |. I think that you can set that up in a specification. >> >> > > > In the Access Import/ExportText wizards you can specify any delimiter you > like and also specify whether to quote strings. One problem is when > strings themselves contain quotes :-( > > > I prefer to use Tab delimited files. That way fields can contain > commas,single/double quotes etc. Tabs are a widely accepted > "standard"delimiter, you can specift Tab delimited as a Save format in > Excel and can also select Tab as the delimiter in ImportText/ExportText > specifications in Access. If you are building your own file with Print#, > it's easy to throw in a Chr$(9) and not have to worry about what > characters > are in the strings. > > > > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From John.Clark at niagaracounty.com Wed Oct 12 09:56:09 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 10:56:09 -0400 Subject: [AccessD] In the meantime...simple syntax question Message-ID: Thanks again guys and gals! I always neglect the .column(?) option...one of those things I had read about and "knew" of, but I've never used it before, so I tend to forget it. I just added ".column(1) to both the combo controls and it worked like a charm. Actually, I don't think I needed it for the Month field because it was a value list that I type in and it seemed to be fine by default...I'll check this out later, because I don't really understand it. John W Clark >>> stephen at bondsoftware.co.nz 10/11/2005 3:41 PM >>> John, Does the RecordSource of the cboTOType combo have more than one field? The code looks like it is displaying the bound field (v) and you want it to display the combo's displayed field. If this is the case you might need to do this: SummaryText = "This data represents all " & cboTOType.Column(n) where n is the column ( zero-based) of the field you want to display in the RowSource of the combo Just a WAG Stephen Bond > -----Original Message----- > From: John Clark [mailto:John.Clark at niagaracounty.com] > Sent: Wednesday, 12 October 2005 8:07 a.m. > To: accessd at databaseadvisors.com > Subject: [AccessD] In the meantime...simple syntax question > > > I just posted, what I believe to be, a difficult question. But, in the > meantime, allow me to pose something that should be quite a > bit easier. > > I have a label on my form, which I am using to notify the user exactly > what is being queried. The problem, if you could even call it > a problem, > is that if you filling in following data: > > txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; > and txtYr = "2005" > > you will get the following string in the label, "lblSummary" > > "This data represents all v time taken, for employee 10080, for > JUN, 2005" > > and I would like it to say, "This data represents all Vacation time > taken, for employee 10080, for June, 2005" > > The following is the code snippet that I am doing this with: > > 'Set summary text to let user know exactly what is being queried > SummaryText = "This data represents all " & cboTOType & " time taken, > for employee " > SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & > txtYr > lblSummary.Caption = SummaryText > > And I tried changing it to: > > 'Set summary text to let user know exactly what is being queried > SummaryText = "This data represents all " & cboTOType.SelText & " time > taken, for employee " > SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & > ", " & txtYr > lblSummary.Caption = SummaryText > > > i.e. Adding ".SelText" to the two combo box control calls > > but then I get, "You can't reference a property or a method for a > control unless the control has focus" > > OK...now what? Any ideas? The only one I've got in my head right now, > is to set up parameters to send to the function that does > this, but they > would have to be global...so maybe I add the code snippet > above to each > of the field's "AfterUpdate" event and do it there? Again...any ideas? > > Thanks again. I'm flustered and going home for the night. I've got a > headache and I've gotta stop at the pet store and buy crickets for my > son's anoles...spelling?..."lizards." Then, I've got to stop by the > football field and pass on the stats from last game. Is 4:00 PM too > early to go to bed? > > Tomorrow is a new day...and hopfully a much better one ;) > > Take care all! > > John W Clark > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Wed Oct 12 09:59:09 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Wed, 12 Oct 2005 10:59:09 -0400 Subject: [AccessD] OT - Online CBT Courses Message-ID: <200510121459.j9CExbT21842@databaseadvisors.com> If you take the MS course 2373B Programming with .Net (c# or vb), XML is covered to an extent. There is another small course (1-2 days?), that is strictly XML. >>> cfoust at infostatsystems.com 10/12/05 10:52 AM >>> Do vb.net. XML will follow naturally. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, October 12, 2005 5:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - Online CBT Courses I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Wed Oct 12 10:17:14 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 12 Oct 2005 11:17:14 -0400 Subject: [AccessD] OT - Online CBT Courses In-Reply-To: <200510121459.j9CExbT21842@databaseadvisors.com> Message-ID: <200510121517.j9CFHEI03043@ultradnt.com> Expensive, but gives free vb.net 2005 when they have it ready. Xml is in the course outline. The instructors on the dvd's are names you know : getz ,baron,etc. http://www.appdev.com/promo.asp?page=EB00331 Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Wednesday, October 12, 2005 10:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Online CBT Courses If you take the MS course 2373B Programming with .Net (c# or vb), XML is covered to an extent. There is another small course (1-2 days?), that is strictly XML. >>> cfoust at infostatsystems.com 10/12/05 10:52 AM >>> Do vb.net. XML will follow naturally. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, October 12, 2005 5:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - Online CBT Courses I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Oct 12 12:13:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Oct 2005 10:13:45 -0700 Subject: [AccessD] OT - Online CBT Courses Message-ID: Yes, I've been through some of theirs. It is great backgrounding, but I found it very useful to get a book and follow the examples (changing as required, since books never seem to set Option Strict on) because I retain more when I actually use it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, October 12, 2005 8:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Online CBT Courses Expensive, but gives free vb.net 2005 when they have it ready. Xml is in the course outline. The instructors on the dvd's are names you know : getz ,baron,etc. http://www.appdev.com/promo.asp?page=EB00331 Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Wednesday, October 12, 2005 10:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Online CBT Courses If you take the MS course 2373B Programming with .Net (c# or vb), XML is covered to an extent. There is another small course (1-2 days?), that is strictly XML. >>> cfoust at infostatsystems.com 10/12/05 10:52 AM >>> Do vb.net. XML will follow naturally. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, October 12, 2005 5:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - Online CBT Courses I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Oct 12 12:19:25 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 13:19:25 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Well, no...nothing seems to be working. I have tried: 'sfMoDetail.Requery (requerying the subform control, which gave no results where there should be two items) 'sfMoDetail.SourceObject = sfrmMonthlyDetail (resetting the source object of the subform control, whic totally 'blanks out' the subform control...it turns completely white) 'Me!sfMoDetail.Form.recordsourcce = qryMonthly (Nevermind this one...it gave an error, and looking at it I see why) 'Me!sfMoDetail.Requery (*** OK...this one does show promise, but it isn't exactly right either. If I choose the drop downs first, and leave the employee number until last, it seems to work...I believe this hold true if I use the keyboard as well.) sfMoDetail.SourceObject = qryMonthly (This methond also "blanks out" the subform control. This has me puzzled in itself...why would it blank it out? I'm missing something here) This is the third day in a row that I have spent time on this, and I am just spinning my wheels here. Most of the time a problem at least makes sense, as to why it is happening, and I'll tell you guys, in some way or another, that I am screwing up. But, this problem has me totally stymied. I don't even know where to go next. I think it may be time to look at alternative ways of completing the task of compiling monthly totals...but I just know I am so close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! Thanks >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> Not silly at all...I don't think anyhow. It didn't seem to work though. However, it did produce results that made me think of another thing to try. as I have explained, I am using a form that gathers the needed info, and the data comes through on a subform. I think that I may be requerying the wrong thing...maybe I need to requery that subform...not the subform control, but rather the actual form that I am piping in. I've tried requerying the query and the subform control, so I am going to try the actual form and see how that goes...once I figure out the syntax. I've done similar before, so I've got it here somewhere. Thanks for your input though...it is appreciated! John W Clark (The "other" John C) >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Oct 12 12:29:32 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 13:29:32 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Allrighty...If anyone is paying attention to this problem, I've got something to add. Instead of the line to requery the subform, I added the line "DoCmd.OpenQuery "qryMonthly" just to see what would happen. The query opens up with all the proper data, according to the parameters that I have entered...I tested it with different data too. I of course, really don't want to do it this way, but what exactly is it telling me? I'm not sure. Maybe there is a problem with my subform control? But, if so, why does it work sometimes? Again I say, "AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!" From mikedorism at verizon.net Wed Oct 12 12:37:37 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 12 Oct 2005 13:37:37 -0400 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: <001201c5cf53$a4d7f9e0$2e01a8c0@dorismanning> Have you tried opening the subform by itself to make sure it is bringing up the right results when it isn't part of another form? Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, October 12, 2005 1:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form not refreshing--sometimes Well, no...nothing seems to be working. I have tried: 'sfMoDetail.Requery (requerying the subform control, which gave no results where there should be two items) 'sfMoDetail.SourceObject = sfrmMonthlyDetail (resetting the source object of the subform control, whic totally 'blanks out' the subform control...it turns completely white) 'Me!sfMoDetail.Form.recordsourcce = qryMonthly (Nevermind this one...it gave an error, and looking at it I see why) 'Me!sfMoDetail.Requery (*** OK...this one does show promise, but it isn't exactly right either. If I choose the drop downs first, and leave the employee number until last, it seems to work...I believe this hold true if I use the keyboard as well.) sfMoDetail.SourceObject = qryMonthly (This methond also "blanks out" the subform control. This has me puzzled in itself...why would it blank it out? I'm missing something here) This is the third day in a row that I have spent time on this, and I am just spinning my wheels here. Most of the time a problem at least makes sense, as to why it is happening, and I'll tell you guys, in some way or another, that I am screwing up. But, this problem has me totally stymied. I don't even know where to go next. I think it may be time to look at alternative ways of completing the task of compiling monthly totals...but I just know I am so close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! Thanks >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> Not silly at all...I don't think anyhow. It didn't seem to work though. However, it did produce results that made me think of another thing to try. as I have explained, I am using a form that gathers the needed info, and the data comes through on a subform. I think that I may be requerying the wrong thing...maybe I need to requery that subform...not the subform control, but rather the actual form that I am piping in. I've tried requerying the query and the subform control, so I am going to try the actual form and see how that goes...once I figure out the syntax. I've done similar before, so I've got it here somewhere. Thanks for your input though...it is appreciated! John W Clark (The "other" John C) >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Oct 12 13:01:22 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 14:01:22 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Yes, I am sorry, I had meant to mention this. Doesn't that make the problem weirder? This IS the same thing as on the main form. >>> mikedorism at verizon.net 10/12/2005 1:37 PM >>> Have you tried opening the subform by itself to make sure it is bringing up the right results when it isn't part of another form? Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, October 12, 2005 1:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form not refreshing--sometimes Well, no...nothing seems to be working. I have tried: 'sfMoDetail.Requery (requerying the subform control, which gave no results where there should be two items) 'sfMoDetail.SourceObject = sfrmMonthlyDetail (resetting the source object of the subform control, whic totally 'blanks out' the subform control...it turns completely white) 'Me!sfMoDetail.Form.recordsourcce = qryMonthly (Nevermind this one...it gave an error, and looking at it I see why) 'Me!sfMoDetail.Requery (*** OK...this one does show promise, but it isn't exactly right either. If I choose the drop downs first, and leave the employee number until last, it seems to work...I believe this hold true if I use the keyboard as well.) sfMoDetail.SourceObject = qryMonthly (This methond also "blanks out" the subform control. This has me puzzled in itself...why would it blank it out? I'm missing something here) This is the third day in a row that I have spent time on this, and I am just spinning my wheels here. Most of the time a problem at least makes sense, as to why it is happening, and I'll tell you guys, in some way or another, that I am screwing up. But, this problem has me totally stymied. I don't even know where to go next. I think it may be time to look at alternative ways of completing the task of compiling monthly totals...but I just know I am so close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! Thanks >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> Not silly at all...I don't think anyhow. It didn't seem to work though. However, it did produce results that made me think of another thing to try. as I have explained, I am using a form that gathers the needed info, and the data comes through on a subform. I think that I may be requerying the wrong thing...maybe I need to requery that subform...not the subform control, but rather the actual form that I am piping in. I've tried requerying the query and the subform control, so I am going to try the actual form and see how that goes...once I figure out the syntax. I've done similar before, so I've got it here somewhere. Thanks for your input though...it is appreciated! John W Clark (The "other" John C) >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 touchtelindia.net Wed Oct 12 13:03:36 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 12 Oct 2005 23:33:36 +0530 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <"007b01c5c38d$9a6ff240$c71865cb"@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004><"00dd01c5c6cf$028afc0 0$6501a8c0"@HAL9004><01aa01c5c7d9$790ddef0$9d1865cb@winxp><00c001c5c82d$11c a95e0$6501a8c0@HAL9004><007201c5c913$55c9b050$bf1865cb@winxp> <00fe01c5c9c7$a0f62d10$6501a8c0@HAL9004> Message-ID: <00ad01c5cf57$59ffae00$ac1465cb@winxp> Rocky, SendKeys is not considered the preferred option, for reasons explained by Lambert. Although access 2K onwards appear to stand extended calls to SendKeys fairly well, it would still be desirable as a further safeguard, to adopt the wrapper function devised by him. The other alternative would lie in suitable modification / adaptation of function fTurnPage(), available at Stephan Leban's web site. It makes extensive use of API calls, avoiding direct SendKeys commands. My sample db named ReportTurnPages might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com The sample db demonstrates navigation through pages of access reports in following alternative styles (all equally effective). (a) Custom tool bar - simple code, based upon SendKeys. (b) Pop-up form - simple code, based upon SendKeys. (c) Custom tool bar - elaborate code with extensive use of API calls - This option is based upon function fTurnPage() at Stephan Leban's web site (contained in file ControlReports.zip). Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, October 05, 2005 21:42 Subject: Re: [AccessD] Report Navigation on Custom Toolbar A.D.: Thanks for pointing me in the right direction. I got the four buttons up there now, even edited their appearance to more mimic the standard navigation buttons and I point them to one of the four public functions: Option Compare Database Option Explicit Public Function FirstPage() SendKeys "^{UP}" End Function Public Function PreviousPage() SendKeys "{UP}" End Function Public Function NextPage() SendKeys "{DOWN}" End Function Public Function LastPage() SendKeys "^{DOWN}" End Function Somewhere I read, however, that SendKeys is not good form, there's some problem with them, but I can't remember what. You think we're safe using SendKeys in this limited way? Is there an alternative? Thanks and regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From mikedorism at verizon.net Wed Oct 12 13:09:42 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 12 Oct 2005 14:09:42 -0400 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: <001301c5cf58$1ff097a0$2e01a8c0@dorismanning> Have you checked the Master/Child links between the main form and the subform? Doris Manning mikedorism at verizon.net From John.Clark at niagaracounty.com Wed Oct 12 14:02:27 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 15:02:27 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: I was using an unbound form and it gave me some message about not being able to set these on an unbound form. The "main form" just gathers the parameters that are used in the query, which is what the subform is based on. I think I may be onto something though. I hadn't had a user ID field on the subform. I added this and it seems somewhat better. It still isn't working and I notice that, when it does work, the user ID field, on the subform, is filled in correctly. When it doesn't work, there is nothing in this field. I've gotta fly for the night though...I've got a class on Wednesday nights. Thanks for all the help...I'm sure I'll be pluggin' away again tomorrow...and buggin' y'all in the process. Take care...good night! John W Clark >>> mikedorism at verizon.net 10/12/2005 2:09 PM >>> Have you checked the Master/Child links between the main form and the subform? Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Oct 12 14:18:31 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 12 Oct 2005 19:18:31 +0000 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: John, I might not be understanding your situation...but here is a more detailed description of what I used: I have MainForm (no record source)...on this form I have my text boxes used to enter criteria(also unbound)...on the MainForm I have a subform(SubformResults) that is used to display my results. The SourceObject of SubformResults is null and the SubformResults.Visible=false.(if not at this point the subform would just be a white box)...after criteria is entered and I am ready to view the results...I push a button for the following things to happen via VBA: ********** Forms!MainForm![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** This refreshes the results of my subform...and if I change my criteria...and push the button again...the same code fires... ********** Forms!frmChooserecord![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** ...and again the results are update. I'm not doing anything else to the form or subform. Hope this Helps...and by the way...this is in A97. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Form not refreshing--sometimes >Date: Wed, 12 Oct 2005 14:01:22 -0400 > >Yes, I am sorry, I had meant to mention this. Doesn't that make the >problem weirder? This IS the same thing as on the main form. > > >>> mikedorism at verizon.net 10/12/2005 1:37 PM >>> >Have you tried opening the subform by itself to make sure it is >bringing up >the right results when it isn't part of another form? > >Doris Manning >mikedorism at verizon.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark >Sent: Wednesday, October 12, 2005 1:19 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Form not refreshing--sometimes > >Well, no...nothing seems to be working. > >I have tried: > > >'sfMoDetail.Requery >(requerying the subform control, which gave no results where there >should be two items) > >'sfMoDetail.SourceObject = sfrmMonthlyDetail >(resetting the source object of the subform control, whic totally >'blanks out' the subform control...it turns completely white) > >'Me!sfMoDetail.Form.recordsourcce = qryMonthly >(Nevermind this one...it gave an error, and looking at it I see why) > >'Me!sfMoDetail.Requery >(*** OK...this one does show promise, but it isn't exactly right >either. If I choose the drop downs first, and leave the employee >number >until last, it seems to work...I believe this hold true if I use the >keyboard as well.) > >sfMoDetail.SourceObject = qryMonthly >(This methond also "blanks out" the subform control. This has me >puzzled in itself...why would it blank it out? I'm missing something >here) > > >This is the third day in a row that I have spent time on this, and I >am >just spinning my wheels here. Most of the time a problem at least >makes >sense, as to why it is happening, and I'll tell you guys, in some way >or >another, that I am screwing up. But, this problem has me totally >stymied. I don't even know where to go next. I think it may be time to >look at alternative ways of completing the task of compiling monthly >totals...but I just know I am so >close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! > >Thanks > > > >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> >Not silly at all...I don't think anyhow. It didn't seem to work >though. > > >However, it did produce results that made me think of another thing to >try. as I have explained, I am using a form that gathers the needed >info, and the data comes through on a subform. I think that I may be >requerying the wrong thing...maybe I need to requery that >subform...not >the subform control, but rather the actual form that I am piping in. >I've tried requerying the query and the subform control, so I am going >to try the actual form and see how that goes...once I figure out the >syntax. I've done similar before, so I've got it here somewhere. > >Thanks for your input though...it is appreciated! > >John W Clark >(The "other" John C) > > >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> >John, > >I'm not sure what is causing the problem...but...I used this method >for > >different reasons...but it should work for this...Instead of using >.requery >I set the .SourceObject of the subform each time I want it to requery. > >Hope this isn't another silly suggestion...I have been guilty of that >lately. > >Thanks, > >Mark A. Matte > >From: "John Clark" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: [AccessD] Form not refreshing--sometimes > >Date: Tue, 11 Oct 2005 14:21:08 -0400 > > > >I've working on an A2K form (frmMonthly) that is sends parameters to > >query (qryMonthly), which in turn provides data for a subform > >(sfMoDetail) on this same form. Basically you type in an employee >number > >and a year (both text boxes...yr defaults to current year), choose a > >time off type and a month (each using combo boxes), and it fills in a > >starting date and ending date, in the fields, "txtBegDate" and > >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" >and > >"txtEndDate" to return the dates and times that an employee took off > >that month. > > > >This works like a charm, if I type in an employee number (10080 is my > >test), and pick from the combos w/the mouse...the year is untouched, > >because it is already the current year and my test month is JUN, >2005. > >However, if I use the keyboard only to pick everything, nothing is > >returned, even if I then revert to using the mouse...once I've used >the > >keyboard, I must exit the form and enter it again, for it to work. > > > >I currently have absolutely no clue as to why this is happening. >After > >each of the fields (not including "txtEmpNum") the AfterUpdate event > >fires and calls a sub called "SetDates." This sub, as you can >probably > >guess, sets the values of "txtBegDate" and "txtEndDate" and then > >requeries the subform. The dates are being filled in correctly, in >both > >scenarios, and I have temporarily added two text boxes to verify that > >the values being passed to the query are what I am expecting. As I >was > >writing this, it occurred to me that I hadn't tried running the query > >directly in my troubleshooting process, while using the keyboard...I > >just did and the query itself runs. > > > >The code in the sub, which probably has nothing to do with this, is: > > > >***************************************** BEG CODE SNIPPET > >************************************** > >Private Sub SetDates() > > > >Dim NumDays As Integer > >Dim SummaryText As String > > > >Select Case cboMonth.Value > > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, >Aug, > >Oct, & Dec have 31 days > > NumDays = 31 > > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov >have > >30 days > > NumDays = 30 > > Case 2 'February - could be >leap > >year > > > > If txtYr.Value Mod 100 = 0 Then 'If it is a century >year, > >it must be div. by 400. > > If txtYr.Value Mod 400 = 0 Then > > NumDays = 29 > > Else > > NumDays = 28 > > End If > > Else 'If not century yr, test >if > >div by 4 for leap yr. > > If txtYr.Value Mod 4 = 0 Then > > NumDays = 29 > > Else > > NumDays = 28 > > End If > > End If > > > >End Select > > > >'Set Beg & End dates for given month, for use as parameters in query > >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value > >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > > > >'Set summary text to let user know exactly what is being queried > >SummaryText = "This data represents all " & cboTOType.Value & " time > >taken, for employee " > >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & >", > >" & txtYr > >lblSummary.Caption = SummaryText > > > >sfMoDetail.Requery > > > >End Sub > >***************************************** END CODE SNIPPET > >************************************** > > > >Please save my sanity and send me a clue here! > > > >Take care! > > > >John W Clark > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From starkey at wanadoo.nl Wed Oct 12 16:39:31 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Wed, 12 Oct 2005 23:39:31 +0200 Subject: [AccessD] CSV with no header In-Reply-To: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> Message-ID: <20051012214048.E5C1E4B94A@smtp4.wanadoo.nl> JOHN, I recall having had the same challenge and if I remember right it had something to do with the delimiter if you use the transfertext method! Try changing the ; in a , or the other way around and see if it works that way...or another delimitier but I am almost certain the solution can be found here. If the solution would be changing the csv file format though and your client does not want this I would suggest to use a simple importtemplate.... What's wrong with that? Good luck! Eric Starkenburg Sr Software Developer Dutch: www.o-solutions.nl Global: www.sogeti.nl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 11, 2005 11:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV with no header On 11 Oct 2005 at 10:46, Jim Moss wrote: > If I had commas within strings, then I would select another delimiter like > a |. I think that you can set that up in a specification. > > In the Access Import/ExportText wizards you can specify any delimiter you like and also specify whether to quote strings. One problem is when strings themselves contain quotes :-( I prefer to use Tab delimited files. That way fields can contain commas,single/double quotes etc. Tabs are a widely accepted "standard"delimiter, you can specift Tab delimited as a Save format in Excel and can also select Tab as the delimiter in ImportText/ExportText specifications in Access. If you are building your own file with Print#, it's easy to throw in a Chr$(9) and not have to worry about what characters are in the strings. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0541-1, 12-10-2005 Getest op: 12-10-2005 23:39:34 avast! auteursrecht (c) 1988-2005 ALWIL Software. http://www.avast.com From bchacc at san.rr.com Wed Oct 12 18:20:19 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 12 Oct 2005 16:20:19 -0700 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <007b01c5c38d$9a6ff240$c71865cb@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004> <"00dd01c5c6cf$028afc0 0$6501a8c0"@HAL9004> <01aa01c5c7d9$790ddef0$9d1865cb@winxp> <"00c001c5c82d$11c a95e0$6501a8c0"@HAL9004> <007201c5c913$55c9b050$bf1865cb@winxp> <00fe01c5c9c7$a0f62d10$6501a8c0@HAL9004> <00ad01c5cf57$59ffae00$ac1465cb@winxp> Message-ID: <02e601c5cf83$83164f70$6501a8c0@HAL9004> A.D.: Thanks for the insight. I've got the page navigation in the custom toolbar now and am thinking about using Lambert's wrapper. APIs seem to have their own quirks. Would API be better in this case than SendKeys in the wrapper. BTW, this is an Access 2003 mde. And requires W2k or WXP. Do they still have the SendKeys problem? Best, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 12, 2005 11:03 AM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > SendKeys is not considered the preferred option, for reasons explained > by Lambert. Although access 2K onwards appear to stand extended calls to > SendKeys fairly well, it would still be desirable as a further safeguard, > to adopt the wrapper function devised by him. > > The other alternative would lie in suitable modification / adaptation > of function fTurnPage(), available at Stephan Leban's web site. It makes > extensive use of API calls, avoiding direct SendKeys commands. > > My sample db named ReportTurnPages might be of interest to you. It is > available at Rogers Access Library (other developers library). Link - > http://www.rogersaccesslibrary.com > > The sample db demonstrates navigation through pages of access reports > in following alternative styles (all equally effective). > (a) Custom tool bar - simple code, based upon SendKeys. > (b) Pop-up form - simple code, based upon SendKeys. > (c) Custom tool bar - elaborate code with extensive use of API > calls - This option is based upon function fTurnPage() at Stephan Leban's > web site (contained in file ControlReports.zip). > > Best wishes, > A.D.Tejpal > -------------- > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Wednesday, October 05, 2005 21:42 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > Thanks for pointing me in the right direction. I got the four buttons up > there now, even edited their appearance to more mimic the standard > navigation buttons and I point them to one of the four public functions: > > Option Compare Database > Option Explicit > > Public Function FirstPage() > SendKeys "^{UP}" > End Function > > Public Function PreviousPage() > SendKeys "{UP}" > End Function > > Public Function NextPage() > SendKeys "{DOWN}" > End Function > > Public Function LastPage() > SendKeys "^{DOWN}" > End Function > > Somewhere I read, however, that SendKeys is not good form, there's some > problem with them, but I can't remember what. You think we're safe using > SendKeys in this limited way? Is there an alternative? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Thu Oct 13 07:07:19 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 08:07:19 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <000501c5ce17$c104bcd0$697aa8c0@ColbyM6805> Message-ID: <200510131207.j9DC7LT18566@databaseadvisors.com> I might as well jump into this foray. Setting up a dedicated firewall is almost brain-dead simple. Take any old box you have available, plonk Linux onto it with the firewall activation set YES, configure the firewall for special things (such as redirecting SQL requests to this box and FTP requests to that box), and you're done. You don't have to upgrade anything unless you want to. The best thing about this scenario is that you finally discover a use for that 486 you've been using as a doorstop all these years. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 10, 2005 11:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall Frank, >He judged the document without having ever seen it. I tried to judge it AFTER reading it but I couldn't find it. I have offered to post it however, and the offer stands. Lighten up buddy. I am not casting aspersions on your document, or your abilities. You sound to me like you know what you are doing. And I am willing, on further consideration, to suspend my disbelief re whether a dedicated PC firewall could be as easy as you make it sound. If it is in fact that easy, I want one. I think I said that somewhere in this exchange. But it does have to just sit in the corner humming and not bother me. No OS updates and stuff. John W. Colby www.ColbyConsulting.com From artful at rogers.com Thu Oct 13 07:16:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 08:16:52 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: Message-ID: <200510131216.j9DCGsT22796@databaseadvisors.com> Charlotte, you dimwit, the discussions here do not get intense! You want intense? I'll give you INTENSE! (Or perhaps intents, or possibly in tents... I forget which.) And just for your information, I have twice as many opinions as topics. So there! LOL. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: October 11, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Frank, If you want to hang out in this list, don't take everything so seriously. There is a lot of banter and horsing around, as well as serious discussion and help. Nobody is judging you based on your domain, but you must admit it's an amusing one. The mods of this list stamp out flames quite efficiently but you need to give as good as you get and in the same vein. Trust me, the discussions sometimes get VERY intense, but there is no personal animosity involved. Just don't expect anyone to take your advice as received truth, since developers as a group tend to have as many opinions as they have topics. Charlotte Foust From artful at rogers.com Thu Oct 13 07:21:48 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 08:21:48 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPMET42id-00025j@mrelay.perfora.net> Message-ID: <200510131221.j9DCLnT25690@databaseadvisors.com> I prefer to judge people without any evidence of any sort. That way I can get the job done very quickly and efficiently. If I am occasionally wrong, so be it. I could be just as wrong with an abundance of evidence, so I have chosen the no-evidence path instead. And incidentally, based on your email address, I think you are brilliant! Seriously. That is IMO a GREAT address. I wish I had thought of it first. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: October 11, 2005 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Judging people, and things, without having all of the facts is one of my pet peeves. From artful at rogers.com Thu Oct 13 07:26:20 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 08:26:20 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPNRy2tLe-0005J2@mrelay.perfora.net> Message-ID: <200510131226.j9DCQLT27648@databaseadvisors.com> Please send me a copy as well. A. --------------------- No, I didn't post a link to the document. For a couple of reasons. At the moment it is in first draft stage. I just completed it yesterday. Decond, even though I own the mybellybutton.com Internet domain name, I don't have a web site set up at the moment. I will send you a copy of the document off-list. From carbonnb at gmail.com Thu Oct 13 07:31:59 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 13 Oct 2005 08:31:59 -0400 Subject: [AccessD] ADMINISTRIVIA Re: OT: Firewall Message-ID: OK. Andy has now asked twice for this thread to die or move to DBA-TECH. It's now officially dead!! -- 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 Thu Oct 13 08:19:41 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 13 Oct 2005 08:19:41 -0500 Subject: [AccessD] Table name in query Message-ID: Is there a way to return the name of the table a field in a query in returned from? Something like SELECT tablename of tableone.field1, tableone.field1 from tableone where tableone.field2 = tabletwo.field2 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 John.Clark at niagaracounty.com Thu Oct 13 08:35:05 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 13 Oct 2005 09:35:05 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Actually, Mark, this sounds exactly like what I am trying to do...to a tee...are we working on the same thing? ;) My subform control is not set like yours though. Mine is visible and has a SourceObject, but it is not a white box usually. I think what I am going to do now is start from scratch...maybe I goofed up something in the making. I am just getting to the program 2 hrs into my day, because I came in to find our main server down...it actually wasn't down, but its NIC was not working...and then we had a firedrill, and then I took some calls from the fallout. I really appreciate the input you've given...thanks! John W Clark >>> markamatte at hotmail.com 10/12/2005 3:18:31 PM >>> John, I might not be understanding your situation...but here is a more detailed description of what I used: I have MainForm (no record source)...on this form I have my text boxes used to enter criteria(also unbound)...on the MainForm I have a subform(SubformResults) that is used to display my results. The SourceObject of SubformResults is null and the SubformResults.Visible=false.(if not at this point the subform would just be a white box)...after criteria is entered and I am ready to view the results...I push a button for the following things to happen via VBA: ********** Forms!MainForm![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** This refreshes the results of my subform...and if I change my criteria...and push the button again...the same code fires... ********** Forms!frmChooserecord![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** ...and again the results are update. I'm not doing anything else to the form or subform. Hope this Helps...and by the way...this is in A97. Thanks, Mark A. Matte Website: http://www.databaseadvisors.com From mikedorism at verizon.net Thu Oct 13 09:30:42 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 13 Oct 2005 10:30:42 -0400 Subject: [AccessD] Outlook Tasks and Redemption Message-ID: <000701c5d002$b21a57b0$2e01a8c0@dorismanning> I'm using Redemption version 2.0.0.516 to create a SafeTaskItem. When I display the SafeTaskItem on the screen, all the fields are filled except the To line. I specifically gave the Recipients collection an item and resolved it so I don't understand why the To line is blank. This doesn't happen when I'm doing a SafeMailItem so I'm stumped. Do you have any ideas how I can resolve this issue? Here is my code. Public Sub SendSafeTask(SendTo As String, SendMsg As String, StartDate As Date, _ DueDate As Date, SendSubj As String, SendAttach As String, SendEdit As Boolean) Dim PullFile As String Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oDeliver As Object Dim MapiField As Object Dim bolOpen As Boolean Dim aryRecip() As String Dim intRecip As Integer Dim aryFileList() As String Dim intFilelist As Integer Dim strFileName As String Dim lcv As Integer Const olFolderTasks As Integer = 13 Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderTasks) Set oItem = oFoldr.Items.Add Set oSafe = CreateObject("Redemption.SafeTaskItem") oSafe.Item = oItem 'Add or update the task information 'to the Outlook TaskItem With oSafe 'Add the TO names If SendTo <> vbNullString Then .Assign If InStr(1, SendTo, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendTo, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv Erase aryRecip .Recipients.ResolveAll Else .Recipients.Add SendTo .Recipients.ResolveAll End If End If .Body = SendMsg .StartDate = StartDate .DueDate = DueDate .Subject = SendSubj .ReminderSet = True 'Add Attachments If SendAttach <> vbNullString Then If InStr(1, SendAttach, ";", vbTextCompare) > 0 Then If Right(SendAttach, 1) <> ";" Then SendAttach = SendAttach & ";" End If aryFileList = Split(SendAttach, ";") intFilelist = UBound(aryFileList) - 1 For lcv = 0 To intFilelist PullFile = aryFileList(lcv) .Attachments.Add PullFile Next lcv End If End If .Save End With If SendEdit = True Then oSafe.display Exit Sub Else oSafe.Send End If Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup ' 'Exit_SafeMail: ' ' If bolOpen = False Then ' oMail.Quit ' End If ' Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing End Sub Doris Manning mikedorism at verizon.net From artful at rogers.com Thu Oct 13 10:34:27 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 11:34:27 -0400 Subject: [AccessD] Cross-posted to AccessD In-Reply-To: <14A7AB003EFD444BBB193A23128DA20E7E91D6@AL-PRI.Aldridge.local> Message-ID: <200510131534.j9DFYUJ07219@databaseadvisors.com> Here is a link to my most recent article, based in part on conversations and threads that took place on this list. http://www.simple-talk.com/. Every hit counts, as it were, and makes me look more valuable as a columnist. So feel free to contribute some of your work-avoidance moments to the cause. LOL. Arthur From bheid at appdevgrp.com Thu Oct 13 11:02:31 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 13 Oct 2005 12:02:31 -0400 Subject: [AccessD] Cross-posted to AccessD In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CB8B05@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF126@ADGSERVER> In case you all can't tell, Arthur's article is "FUD (fear, uncertainty, doubt): Where does Access fit in Microsoft's future?". His name is not on the front page, but at the end of the article when you click "more." Nice article Arthur. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, October 13, 2005 11:34 AM To: dba-sqlserver at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: [AccessD] Cross-posted to AccessD Here is a link to my most recent article, based in part on conversations and threads that took place on this list. http://www.simple-talk.com/. Every hit counts, as it were, and makes me look more valuable as a columnist. So feel free to contribute some of your work-avoidance moments to the cause. LOL. Arthur From andy at minstersystems.co.uk Thu Oct 13 10:21:32 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Oct 2005 16:21:32 +0100 Subject: [AccessD] Outlook Tasks and Redemption Message-ID: <20051013152129.0564A25482E@smtp.nildram.co.uk> Don't know the answer Doris. Code looks fine to me. If you don't get an answer here I'd try asking the Redemption people at dmitry at dimastr.com . I found them helpful when I first started using it. -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From cfoust at infostatsystems.com Thu Oct 13 12:02:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 10:02:40 -0700 Subject: [AccessD] Cross-posted to AccessD Message-ID: Nice article, Arthur. What doesn't get addressed, though, is the investment most of us have in VBA as a programming language. Switching to C++ or Java to work with Eclipse isn't quite as easy as switching to VB.Net for those of us who haven't plumbed the depths of C/C++ or Java already. I can read the code, but I would go nuts writing it because the punctuation drives me wild! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, October 13, 2005 8:34 AM To: dba-sqlserver at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: [AccessD] Cross-posted to AccessD Here is a link to my most recent article, based in part on conversations and threads that took place on this list. http://www.simple-talk.com/. Every hit counts, as it were, and makes me look more valuable as a columnist. So feel free to contribute some of your work-avoidance moments to the cause. LOL. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 13 12:09:19 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 10:09:19 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <20051013152129.0564A25482E@smtp.nildram.co.uk> Message-ID: <001b01c5d018$d95de8d0$017ba8c0@xpserver> Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim From cfoust at infostatsystems.com Thu Oct 13 12:26:50 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 10:26:50 -0700 Subject: [AccessD] Data interface The best way Message-ID: We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Our code doesn't distinguish between back ends because right now, we're simply using the OleDb provider for everything. The SQL provider might be faster, but we would have to write separate code to implement it and our app needs to be able to work against either backend so we're husbanding our resources. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 13 13:01:36 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 11:01:36 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <002c01c5d020$273f7c10$017ba8c0@xpserver> Thank you very much for that Charlotte. Do you have a small example of the implementation...does not have to work... but something that gives substance to the concept? (I need to make a decision quickly as I am running late and it looks like (a) long night(s) ahead.) TIA Jim PS I am too old for this.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Our code doesn't distinguish between back ends because right now, we're simply using the OleDb provider for everything. The SQL provider might be faster, but we would have to write separate code to implement it and our app needs to be able to work against either backend so we're husbanding our resources. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 cfoust at infostatsystems.com Thu Oct 13 13:07:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 11:07:31 -0700 Subject: [AccessD] Data interface The best way Message-ID: You're too old?? I'm 61! I don't have anything offhand but I can dummy something up this evening, I think. My PC is supposed to be back in my hands tonight (I went cold turkey a week ago when my backlit display lost its backlight), so I'll see what I can do. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Thank you very much for that Charlotte. Do you have a small example of the implementation...does not have to work... but something that gives substance to the concept? (I need to make a decision quickly as I am running late and it looks like (a) long night(s) ahead.) TIA Jim PS I am too old for this.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Our code doesn't distinguish between back ends because right now, we're simply using the OleDb provider for everything. The SQL provider might be faster, but we would have to write separate code to implement it and our app needs to be able to work against either backend so we're husbanding our resources. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 dmcafee at pacbell.net Thu Oct 13 13:30:37 2005 From: dmcafee at pacbell.net (David McAfee) Date: Thu, 13 Oct 2005 11:30:37 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim From John.Clark at niagaracounty.com Thu Oct 13 13:50:15 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 13 Oct 2005 14:50:15 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: EUREKA...AND DAMN...AT THE SAME TIME! It seems that I've got it working now, but I'll be damned if it wasn't something flippin' stupid...and something that I was very close to having done already. I had used the line: sfMoDetail.SourceObject = sfrmMonthlyDetail And today, when I tried this again...I was going back to scratch...the first thing I tried was: sfMoDetail.SourceObject = "sfrmMonthlyDetail" Notice the quotes do ya? I typed these in this time, but apparently forgot the first time. And, contrary to what I thought, I didn't get an error missing them. Oh, well, live and learn. My day was taken up with a crashed server, meeting and lunch w/a vendor that I forgot I had, and now I've gotta fly because I've got a football game (real "AMERICAN" football ;) ) that the bus leaves at 4:00, and my car broke down last night...so this is all I got done on this program today. And, I wonder why I'm always behind :( Take care, and thanks for the help! John W Clark >>> markamatte at hotmail.com 10/12/2005 3:18 PM >>> John, I might not be understanding your situation...but here is a more detailed description of what I used: I have MainForm (no record source)...on this form I have my text boxes used to enter criteria(also unbound)...on the MainForm I have a subform(SubformResults) that is used to display my results. The SourceObject of SubformResults is null and the SubformResults.Visible=false.(if not at this point the subform would just be a white box)...after criteria is entered and I am ready to view the results...I push a button for the following things to happen via VBA: ********** Forms!MainForm![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** This refreshes the results of my subform...and if I change my criteria...and push the button again...the same code fires... ********** Forms!frmChooserecord![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** ...and again the results are update. I'm not doing anything else to the form or subform. Hope this Helps...and by the way...this is in A97. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Form not refreshing--sometimes >Date: Wed, 12 Oct 2005 14:01:22 -0400 > >Yes, I am sorry, I had meant to mention this. Doesn't that make the >problem weirder? This IS the same thing as on the main form. > > >>> mikedorism at verizon.net 10/12/2005 1:37 PM >>> >Have you tried opening the subform by itself to make sure it is >bringing up >the right results when it isn't part of another form? > >Doris Manning >mikedorism at verizon.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark >Sent: Wednesday, October 12, 2005 1:19 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Form not refreshing--sometimes > >Well, no...nothing seems to be working. > >I have tried: > >'sfMoDetail.Requery >(requerying the subform control, which gave no results where there >should be two items) > >'sfMoDetail.SourceObject = sfrmMonthlyDetail >(resetting the source object of the subform control, whic totally >'blanks out' the subform control...it turns completely white) > >'Me!sfMoDetail.Form.recordsourcce = qryMonthly >(Nevermind this one...it gave an error, and looking at it I see why) > >'Me!sfMoDetail.Requery >(*** OK...this one does show promise, but it isn't exactly right >either. If I choose the drop downs first, and leave the employee >number >until last, it seems to work...I believe this hold true if I use the >keyboard as well.) > >sfMoDetail.SourceObject = qryMonthly >(This methond also "blanks out" the subform control. This has me >puzzled in itself...why would it blank it out? I'm missing something >here) > > >This is the third day in a row that I have spent time on this, and I >am >just spinning my wheels here. Most of the time a problem at least >makes >sense, as to why it is happening, and I'll tell you guys, in some way >or >another, that I am screwing up. But, this problem has me totally >stymied. I don't even know where to go next. I think it may be time to >look at alternative ways of completing the task of compiling monthly >totals...but I just know I am so >close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! > >Thanks > > > >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> >Not silly at all...I don't think anyhow. It didn't seem to work >though. > > >However, it did produce results that made me think of another thing to >try. as I have explained, I am using a form that gathers the needed >info, and the data comes through on a subform. I think that I may be >requerying the wrong thing...maybe I need to requery that >subform...not >the subform control, but rather the actual form that I am piping in. >I've tried requerying the query and the subform control, so I am going >to try the actual form and see how that goes...once I figure out the >syntax. I've done similar before, so I've got it here somewhere. > >Thanks for your input though...it is appreciated! > >John W Clark >(The "other" John C) > > >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> >John, > >I'm not sure what is causing the problem...but...I used this method >for > >different reasons...but it should work for this...Instead of using >.requery >I set the .SourceObject of the subform each time I want it to requery. > >Hope this isn't another silly suggestion...I have been guilty of that >lately. > >Thanks, > >Mark A. Matte > >From: "John Clark" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: [AccessD] Form not refreshing--sometimes > >Date: Tue, 11 Oct 2005 14:21:08 -0400 > > > >I've working on an A2K form (frmMonthly) that is sends parameters to > >query (qryMonthly), which in turn provides data for a subform > >(sfMoDetail) on this same form. Basically you type in an employee >number > >and a year (both text boxes...yr defaults to current year), choose a > >time off type and a month (each using combo boxes), and it fills in a > >starting date and ending date, in the fields, "txtBegDate" and > >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" >and > >"txtEndDate" to return the dates and times that an employee took off > >that month. > > > >This works like a charm, if I type in an employee number (10080 is my > >test), and pick from the combos w/the mouse...the year is untouched, > >because it is already the current year and my test month is JUN, >2005. > >However, if I use the keyboard only to pick everything, nothing is > >returned, even if I then revert to using the mouse...once I've used >the > >keyboard, I must exit the form and enter it again, for it to work. > > > >I currently have absolutely no clue as to why this is happening. >After > >each of the fields (not including "txtEmpNum") the AfterUpdate event > >fires and calls a sub called "SetDates." This sub, as you can >probably > >guess, sets the values of "txtBegDate" and "txtEndDate" and then > >requeries the subform. The dates are being filled in correctly, in >both > >scenarios, and I have temporarily added two text boxes to verify that > >the values being passed to the query are what I am expecting. As I >was > >writing this, it occurred to me that I hadn't tried running the query > >directly in my troubleshooting process, while using the keyboard...I > >just did and the query itself runs. > > > >The code in the sub, which probably has nothing to do with this, is: > > > >***************************************** BEG CODE SNIPPET > >************************************** > >Private Sub SetDates() > > > >Dim NumDays As Integer > >Dim SummaryText As String > > > >Select Case cboMonth.Value > > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, >Aug, > >Oct, & Dec have 31 days > > NumDays = 31 > > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov >have > >30 days > > NumDays = 30 > > Case 2 'February - could be >leap > >year > > > > If txtYr.Value Mod 100 = 0 Then 'If it is a century >year, > >it must be div. by 400. > > If txtYr.Value Mod 400 = 0 Then > > NumDays = 29 > > Else > > NumDays = 28 > > End If > > Else 'If not century yr, test >if > >div by 4 for leap yr. > > If txtYr.Value Mod 4 = 0 Then > > NumDays = 29 > > Else > > NumDays = 28 > > End If > > End If > > > >End Select > > > >'Set Beg & End dates for given month, for use as parameters in query > >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value > >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > > > >'Set summary text to let user know exactly what is being queried > >SummaryText = "This data represents all " & cboTOType.Value & " time > >taken, for employee " > >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & >", > >" & txtYr > >lblSummary.Caption = SummaryText > > > >sfMoDetail.Requery > > > >End Sub > >***************************************** END CODE SNIPPET > >************************************** > > > >Please save my sanity and send me a clue here! > > > >Take care! > > > >John W Clark > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Oct 13 14:46:16 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 12:46:16 -0700 Subject: [AccessD] Data interface The best way Message-ID: No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 13 14:57:06 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 12:57:06 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <003001c5d030$49dc0210$017ba8c0@xpserver> Yeh, your too old too....:-) You are really at your prime of life; like me nearing official retirement age and freedom though my revised retirement time has been extended until my early eighties... >> I went cold turkey a week ago when my backlit display lost its backlight. A full week!!! My sympathies. It would be great if you could cobble something together and do not worry about sending a late email, I will be up. :-) ...and again thanks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way You're too old?? I'm 61! I don't have anything offhand but I can dummy something up this evening, I think. My PC is supposed to be back in my hands tonight (I went cold turkey a week ago when my backlit display lost its backlight), so I'll see what I can do. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Thank you very much for that Charlotte. Do you have a small example of the implementation...does not have to work... but something that gives substance to the concept? (I need to make a decision quickly as I am running late and it looks like (a) long night(s) ahead.) TIA Jim PS I am too old for this.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Our code doesn't distinguish between back ends because right now, we're simply using the OleDb provider for everything. The SQL provider might be faster, but we would have to write separate code to implement it and our app needs to be able to work against either backend so we're husbanding our resources. Charlotte Foust From accessd at shaw.ca Thu Oct 13 15:01:45 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 13:01:45 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <003401c5d030$f090db80$017ba8c0@xpserver> Thank you for that David... Every little bit help. :-) Being able to produce the code is one thing but actually understanding what is best and the ramifications of choices is another breed. I am still fumbling around. I will test out your example. Again, much appreciated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Oct 13 15:08:23 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Oct 2005 13:08:23 -0700 Subject: [AccessD] CSV with no header References: <001001c5ce04$d2386730$697aa8c0@ColbyM6805> Message-ID: <434EBEB7.2020605@shaw.ca> Maybe this will help very bottom of article http://support.microsoft.com/kb/247412/EN-US/ John Colby wrote: >I am trying that but it ends up bracketing the fields with ". I suppose >that if a comma is embedded in the string then the "" is required to specify >that the , is internal to the string and not a delimiter. Is the "" part of >the csv spec? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss >Sent: Monday, October 10, 2005 4:26 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CSV with no header > > >If you use docmd.TransferText you can set the parameter after filename to >false. > > > > >>Does anyone know a simple way to do a CSV without the header? And >>yea, I can do the export, open the file and delete the first line. >> >>Other than that...? >> >>John W. Colby >>www.ColbyConsulting.com >> >>Contribute your unused CPU cycles to a good cause: >>http://folding.stanford.edu/ >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Thu Oct 13 15:15:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 13:15:09 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <003501c5d032$cf67dd80$017ba8c0@xpserver> At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 cfoust at infostatsystems.com Thu Oct 13 15:49:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 13:49:09 -0700 Subject: [AccessD] Data interface The best way Message-ID: OK, you're talking SQL Server specifically then? And what is a "raw sql request"? Umm ... I think you mean vulnerable, anyhow. A venerable system probably wouldn't run SQL Server! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 stuart at lexacorp.com.pg Thu Oct 13 16:42:18 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Oct 2005 07:42:18 +1000 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: <434F615A.28939.512117B@stuart.lexacorp.com.pg> On 13 Oct 2005 at 14:50, John Clark wrote: > > sfMoDetail.SourceObject = "sfrmMonthlyDetail" > > Notice the quotes do ya? I typed these in this time, but apparently > forgot the first time. And, contrary to what I thought, I didn't get an > error missing them. > Ever heard of "Option Explicit" ? -- Stuart From stuart at lexacorp.com.pg Thu Oct 13 16:42:17 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Oct 2005 07:42:17 +1000 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <434F6159.21888.5121090@stuart.lexacorp.com.pg> On 13 Oct 2005 at 11:07, Charlotte Foust wrote: > You're too old?? I'm 61! When looking at Arthurs article, another one caught my eye: http://www.simple-talk.com/2005/03/09/coding-after-40/ :-) -- Stuart From stuart at lexacorp.com.pg Thu Oct 13 16:42:17 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Oct 2005 07:42:17 +1000 Subject: [AccessD] Data interface The best way In-Reply-To: References: Message-ID: <434F6159.24334.512110D@stuart.lexacorp.com.pg> On 13 Oct 2005 at 11:30, David McAfee wrote: > Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see > a lot more of that now that I am starting to use .Net more and more. > Couldn't the xml file hold a list of sproc names and you could just execute > a sproc instead? I was always instructed not to create SQL Strings in the > front end as passing them to the back end was a security risk. This is of > course, unless you are dealing with the possibility of SQL injection on the > back end and not allowing certain characters and/or reserved words. > The other article that caught my eye when looking at Arthurs "FUD": http://www.simple-talk.com/2005/04/11/to-sp-or-not-to-sp-in-sql-server/-- Stuart From cfoust at infostatsystems.com Thu Oct 13 17:03:43 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 15:03:43 -0700 Subject: [AccessD] Data interface The best way Message-ID: Yeah, that's me all over! Actually, I've never been a coder, per se. I've always been a developer, so I don't know if that leaves me better off or worse. In any case, I'm going to ignore good advice as long as possible and keep playing with my computer. I've been in management and I like computers. I HATE sales and am rotten at it, so I think I'll just keep doing what I'm doing as long as I can find someone silly enough to pay me for it. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, October 13, 2005 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way On 13 Oct 2005 at 11:07, Charlotte Foust wrote: > You're too old?? I'm 61! When looking at Arthurs article, another one caught my eye: http://www.simple-talk.com/2005/03/09/coding-after-40/ :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 13 17:08:18 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 15:08:18 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <003601c5d042$9e53fb10$017ba8c0@xpserver> Whoops; the spell-checker... There was no loss in translation. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way OK, you're talking SQL Server specifically then? And what is a "raw sql request"? Umm ... I think you mean vulnerable, anyhow. A venerable system probably wouldn't run SQL Server! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Oct 13 17:19:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Oct 2005 15:19:41 -0700 Subject: [AccessD] Cross-posted to AccessD References: Message-ID: <434EDD7D.6070000@shaw.ca> What I don't understand is there a lot of things you can do with Access that are rarely addressed in articles.You can easily hook web services to Access 97 using Simon Fell's Pocket Soap. Access 97 hooks easily to to WSS or Sharepoint. You can do a whole slew of things with XML and XSLT XPATH in 97. I have had no problem linking Access frontends to major SAS programs. Charlotte Foust wrote: >Nice article, Arthur. What doesn't get addressed, though, is the >investment most of us have in VBA as a programming language. Switching >to C++ or Java to work with Eclipse isn't quite as easy as switching to >VB.Net for those of us who haven't plumbed the depths of C/C++ or Java >already. I can read the code, but I would go nuts writing it because >the punctuation drives me wild! > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Thursday, October 13, 2005 8:34 AM >To: dba-sqlserver at databaseadvisors.com >Cc: 'Access Developers discussion and problem solving' >Subject: [AccessD] Cross-posted to AccessD > > >Here is a link to my most recent article, based in part on conversations >and threads that took place on this list. http://www.simple-talk.com/. >Every hit counts, as it were, and makes me look more valuable as a >columnist. So feel free to contribute some of your work-avoidance >moments to the cause. LOL. Arthur > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Thu Oct 13 17:19:31 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 15:19:31 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <434F6159.21888.5121090@stuart.lexacorp.com.pg> Message-ID: <003801c5d044$2f4cc100$017ba8c0@xpserver> An excellent article; from my perspective. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, October 13, 2005 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way On 13 Oct 2005 at 11:07, Charlotte Foust wrote: > You're too old?? I'm 61! When looking at Arthurs article, another one caught my eye: http://www.simple-talk.com/2005/03/09/coding-after-40/ :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at dpi.nsw.gov.au Thu Oct 13 18:24:12 2005 From: connie.kamrowski at dpi.nsw.gov.au (connie.kamrowski at dpi.nsw.gov.au) Date: Fri, 14 Oct 2005 09:24:12 +1000 Subject: [AccessD] Cross-posted to AccessD Message-ID: Nice article, Arthur. What doesn't get addressed, though, is the investment most of us have in VBA as a programming language. Switching to C++ or Java to work with Eclipse isn't quite as easy as switching to VB.Net for those of us who haven't plumbed the depths of C/C++ or Java already. I can read the code, but I would go nuts writing it because the punctuation drives me wild! Charlotte Foust Charlotte, It is no easier the other way, I am a Java Programmer and I was thrust into Access (hence why this list is my favourite thing LOL). Sometimes I spend time looking for a problem only to find I have written in Java syntax. Frustrating! We are it seems influenced pretty heavily by whatever we learn first. Connie Kamrowski Analyst/Programmer Information Technology NSW Department of Primary Industries Orange NSW Australia This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From cfoust at infostatsystems.com Thu Oct 13 18:33:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 16:33:45 -0700 Subject: [AccessD] Cross-posted to AccessD Message-ID: True, but Eclipse works with Java, so that wouldn't present you problems like it would me. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of connie.kamrowski at dpi.nsw.gov.au Sent: Thursday, October 13, 2005 4:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Cross-posted to AccessD Nice article, Arthur. What doesn't get addressed, though, is the investment most of us have in VBA as a programming language. Switching to C++ or Java to work with Eclipse isn't quite as easy as switching to VB.Net for those of us who haven't plumbed the depths of C/C++ or Java already. I can read the code, but I would go nuts writing it because the punctuation drives me wild! Charlotte Foust Charlotte, It is no easier the other way, I am a Java Programmer and I was thrust into Access (hence why this list is my favourite thing LOL). Sometimes I spend time looking for a problem only to find I have written in Java syntax. Frustrating! We are it seems influenced pretty heavily by whatever we learn first. Connie Kamrowski Analyst/Programmer Information Technology NSW Department of Primary Industries Orange NSW Australia From jengross at gte.net Thu Oct 13 22:36:49 2005 From: jengross at gte.net (Jennifer Gross) Date: Thu, 13 Oct 2005 20:36:49 -0700 Subject: [AccessD] Terminal Server - mdb locked by Administrator Message-ID: <007501c5d070$85f13820$6601a8c0@jefferson> Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer From accessd at shaw.ca Fri Oct 14 00:38:26 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 22:38:26 -0700 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <007501c5d070$85f13820$6601a8c0@jefferson> Message-ID: <004a01c5d081$8008b4e0$017ba8c0@xpserver> Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 14 01:08:28 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 23:08:28 -0700 Subject: [AccessD] oT Friday; amused easily In-Reply-To: <434F6159.24334.512110D@stuart.lexacorp.com.pg> Message-ID: <004e01c5d085$b2496770$017ba8c0@xpserver> I had been scanning through the 'Simple Talk Blog' where Arthur's great article is and was amazed (and amused) at one particular write up. The article was called 'To SP or not to SP in SQL Server' at http://www.simple-talk.com/2005/04/11/to-sp-or-not-to-sp-in-sql-server/ The writer is debating the general consensus that says Stored Procedures are safer that passing full sequel calls to a server.... and here I quote: One of the most damaging arguments raised in defense of SPs is that they somehow magically prevent SQL injection attacks (http://www.unixwiz.net/techtips/sql-injection.html). From Rob's post: Additionally, stored procedures are a counter-measure to dangerous SQL Script injection attacks, a susceptibility that applications using embedded SQL are more vulnerable to. Sorry, but this is just not true. Using SPs make it more likely that you will pass parameters the right way, but there is no guarantee. For instance, this is some code I recently read answering a question on http://www.asp.net: ...And then the example proving that SPs are not safer... strsql = "EXECUTE findtitle '" & textboxtitle.text & "'" objCmd = New SqlCommand(strSQL, objConn) Unbelievable. Does using an ADO command method imply a SP?? After that I could take nothing seriously in the article but I had a good laugh :-) Hope this amuses someone else. (...working too long) Jim From dmcafee at pacbell.net Fri Oct 14 01:34:15 2005 From: dmcafee at pacbell.net (David McAfee) Date: Thu, 13 Oct 2005 23:34:15 -0700 Subject: [AccessD] oT Friday; amused easily In-Reply-To: <004e01c5d085$b2496770$017ba8c0@xpserver> Message-ID: First of all, by allowing the use of SPs, a developer should not allow anyone to have direct access to tables. There is no way that a system that is fully unsecured and allows any general SQL statement to execute is good practice. Whenever any text parameters are passed as input parameters, they should be checked for invalid characters and/or words (', ;, -, SELECT, DROP, TRUNCATE, DELETE, ALTER). This guy assumes that nobody implements security, even when using SPs. He is wrong. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 11:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] oT Friday; amused easily I had been scanning through the 'Simple Talk Blog' where Arthur's great article is and was amazed (and amused) at one particular write up. The article was called 'To SP or not to SP in SQL Server' at http://www.simple-talk.com/2005/04/11/to-sp-or-not-to-sp-in-sql-server/ The writer is debating the general consensus that says Stored Procedures are safer that passing full sequel calls to a server.... and here I quote: One of the most damaging arguments raised in defense of SPs is that they somehow magically prevent SQL injection attacks (http://www.unixwiz.net/techtips/sql-injection.html). From Rob's post: Additionally, stored procedures are a counter-measure to dangerous SQL Script injection attacks, a susceptibility that applications using embedded SQL are more vulnerable to. Sorry, but this is just not true. Using SPs make it more likely that you will pass parameters the right way, but there is no guarantee. For instance, this is some code I recently read answering a question on http://www.asp.net: ...And then the example proving that SPs are not safer... strsql = "EXECUTE findtitle '" & textboxtitle.text & "'" objCmd = New SqlCommand(strSQL, objConn) Unbelievable. Does using an ADO command method imply a SP?? After that I could take nothing seriously in the article but I had a good laugh :-) Hope this amuses someone else. (...working too long) Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Oct 14 04:34:34 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Oct 2005 11:34:34 +0200 Subject: [AccessD] SOAP (was: Cross-posted to AccessD) Message-ID: Hi all Should anyone wonder where this is found, here's the link: http://www.pocketsoap.com/pocketsoap /gustav >>> martyconnelly at shaw.ca 14-10-2005 00:19:41 >>> What I don't understand is there a lot of things you can do with Access that are rarely addressed in articles.You can easily hook web services to Access 97 using Simon Fell's Pocket Soap. Access 97 hooks easily to to WSS or Sharepoint. You can do a whole slew of things with XML and XSLT XPATH in 97. I have had no problem linking Access frontends to major SAS programs. From accessd at shaw.ca Fri Oct 14 08:46:58 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2005 06:46:58 -0700 Subject: [AccessD] OT Friday RSS feed In-Reply-To: Message-ID: <005701c5d0c5$bf3eb620$017ba8c0@xpserver> Thank you for that Gustav and Marty. Subsequently bookmarked the site and wasted a few hours this morning and will be back. On a similar topic; does anyone know where and how to create a RSS feed.... At this moment my request is just a 'question of interest' and it has not been thoroughly investigated, yet but I have been seriously considering creating a BLOG. There must be a better method than hand-coding RSS for the page...??? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 14, 2005 2:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SOAP (was: Cross-posted to AccessD) Hi all Should anyone wonder where this is found, here's the link: http://www.pocketsoap.com/pocketsoap /gustav >>> martyconnelly at shaw.ca 14-10-2005 00:19:41 >>> What I don't understand is there a lot of things you can do with Access that are rarely addressed in articles.You can easily hook web services to Access 97 using Simon Fell's Pocket Soap. Access 97 hooks easily to to WSS or Sharepoint. You can do a whole slew of things with XML and XSLT XPATH in 97. I have had no problem linking Access frontends to major SAS programs. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 14 10:50:38 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Oct 2005 08:50:38 -0700 Subject: [AccessD] Data interface The best way Message-ID: Jim, I haven't forgotten you, but I ran into some other PC problems last night, so this weekend is the best I can do. I'll be on vacation next week, so I won't be tuning into the list. You can email me offlist at cfoust at spamcop.net and give me an address to send anything I come up with. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Yeh, your too old too....:-) You are really at your prime of life; like me nearing official retirement age and freedom though my revised retirement time has been extended until my early eighties... >> I went cold turkey a week ago when my backlit display lost its >> backlight. A full week!!! My sympathies. It would be great if you could cobble something together and do not worry about sending a late email, I will be up. :-) ...and again thanks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way You're too old?? I'm 61! I don't have anything offhand but I can dummy something up this evening, I think. My PC is supposed to be back in my hands tonight (I went cold turkey a week ago when my backlit display lost its backlight), so I'll see what I can do. Charlotte From Jim.Hale at FleetPride.com Fri Oct 14 11:02:45 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Oct 2005 11:02:45 -0500 Subject: [AccessD] OT: Friday Humor cunning linguists Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> FYI - expanding your data dictionary! The Washington Post's Mensa Invitational once again asked readers to Take any word from the dictionary, alter it by adding, subtracting, or Changing one letter, and supply a new definition. Here are the 2005 winners: 1. Cashtration (n.): The act of buying a house, which renders the Subject financially impotent for an indefinite period. 2. Ignoranus: A person who's both stupid and an asshole. 3. Intaxication: Euphoria at getting a tax refund, which lasts until You realize it was your money to start with. 4. Reintarnation: Coming back to life as a hillbilly. 5. Bozone (n.): The substance surrounding stupid people that stops Bright ideas from penetrating. The bozone layer, unfortunately, shows little Sign of breaking down in the near future. 6. Foreploy: Any misrepresentation about yourself for the purpose of Getting laid. 7. Giraffiti: Vandalism spray-painted very, very high. 8. Sarchasm: The gulf between the author of sarcastic wit and the Person whodoesn't get it. 9. Inoculatte: To take coffee intravenously when you are running late. 10. Hipatitis: Terminal coolness. 11. Osteopornosis: A degenerate disease. (This one got extra credit.) 12. Karmageddon: It's like, when everybody is sending off all these Really bad vibes, right? And then, like, the Earth explodes and it's like, a serious bummer. 13. Decafalon (n.): The grueling event of getting through the day Consuming only things that are good for you. 14 Glibido: All talk and no action. 15. Dopeler effect: The tendency of stupid ideas to seem smarter when They come at you rapidly. 16. Arachnoleptic fit (n.): The frantic dance performed just after you've accidentally walked through a spider web. 17. Beelzebug (n.): Satan in the form of a mosquito, that gets into Your bedroom at three in the morning and cannot be cast out. 18. Caterpallor (n.): The color you turn after finding half a worm in The fruit you're eating. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From R.Griffiths at bury.gov.uk Fri Oct 14 11:12:05 2005 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 14 Oct 2005 17:12:05 +0100 Subject: [AccessD] OT: Friday Humor cunning linguists Message-ID: <200510141602.j9EG2PF29428@smarthost.yourcomms.net> 19. cunning linguists: ?????????? (any suggestions!!!) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: 14 October 2005 17:03 To: 'Accessd (E-mail) Subject: [AccessD] OT: Friday Humor cunning linguists FYI - expanding your data dictionary! The Washington Post's Mensa Invitational once again asked readers to Take any word from the dictionary, alter it by adding, subtracting, or Changing one letter, and supply a new definition. Here are the 2005 winners: 1. Cashtration (n.): The act of buying a house, which renders the Subject financially impotent for an indefinite period. 2. Ignoranus: A person who's both stupid and an asshole. 3. Intaxication: Euphoria at getting a tax refund, which lasts until You realize it was your money to start with. 4. Reintarnation: Coming back to life as a hillbilly. 5. Bozone (n.): The substance surrounding stupid people that stops Bright ideas from penetrating. The bozone layer, unfortunately, shows little Sign of breaking down in the near future. 6. Foreploy: Any misrepresentation about yourself for the purpose of Getting laid. 7. Giraffiti: Vandalism spray-painted very, very high. 8. Sarchasm: The gulf between the author of sarcastic wit and the Person whodoesn't get it. 9. Inoculatte: To take coffee intravenously when you are running late. 10. Hipatitis: Terminal coolness. 11. Osteopornosis: A degenerate disease. (This one got extra credit.) 12. Karmageddon: It's like, when everybody is sending off all these Really bad vibes, right? And then, like, the Earth explodes and it's like, a serious bummer. 13. Decafalon (n.): The grueling event of getting through the day Consuming only things that are good for you. 14 Glibido: All talk and no action. 15. Dopeler effect: The tendency of stupid ideas to seem smarter when They come at you rapidly. 16. Arachnoleptic fit (n.): The frantic dance performed just after you've accidentally walked through a spider web. 17. Beelzebug (n.): Satan in the form of a mosquito, that gets into Your bedroom at three in the morning and cannot be cast out. 18. Caterpallor (n.): The color you turn after finding half a worm in The fruit you're eating. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Fri Oct 14 11:15:00 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 14 Oct 2005 09:15:00 -0700 (PDT) Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> Message-ID: <20051014161500.40691.qmail@web33111.mail.mud.yahoo.com> Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From john at winhaven.net Fri Oct 14 11:25:29 2005 From: john at winhaven.net (John Bartow) Date: Fri, 14 Oct 2005 11:25:29 -0500 Subject: [AccessD] OT: Friday Humor cunning linguists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> Message-ID: <008201c5d0db$e4bc7b60$6c01a8c0@ScuzzPaq> LOL! Good stuff Jim! From dmcafee at pacbell.net Fri Oct 14 11:26:31 2005 From: dmcafee at pacbell.net (David McAfee) Date: Fri, 14 Oct 2005 09:26:31 -0700 Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: <20051014161500.40691.qmail@web33111.mail.mud.yahoo.com> Message-ID: You can check if a record is a new record. You may also me able to use me.currentRecord and compare that to the max record ID or count. -----Original Message----- From: Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? From jengross at gte.net Fri Oct 14 11:29:15 2005 From: jengross at gte.net (Jennifer Gross) Date: Fri, 14 Oct 2005 09:29:15 -0700 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <004a01c5d081$8008b4e0$017ba8c0@xpserver> Message-ID: <001601c5d0dc$6e972970$6601a8c0@jefferson> Hi Jim, I have delete permissions to the folder and I am not able to delete the .ldb file. When I check the LDB Viewer it tells me Administrator is logged into the data file. As soon as the Administrator logs out of Terminal Server, the .ldb file is deleted - even though Administrator was not logged in to any Access databases. I will ask the admin guy to make sure I have full delete permissions to that folder. Thanks, Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Oct 14 11:48:03 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 12:48:03 -0400 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <001601c5d0dc$6e972970$6601a8c0@jefferson> Message-ID: <001f01c5d0df$0b220330$667aa8c0@ColbyM6805> In that case, the act of logging in to Terminal server is causing him to "open" the database. The LDB file is created whenever any user in any way "opens" the database that the LDB file is for. The LDB file appearing and disappearing when the Administrator logs in / out of terminal server means that JET thinks the user is "opening" the database. "Opening" the database does NOT necessarily mean opening the container itself. It can also be an active connection (ADO or DAO) to a table in the database. If you have asked JET for permission to load / alter DATA in a container, Jet creates the LDB. When the last user closes their ACTIVE connection to the BE, the LDB goes away (theoretically). Thus a FE can be open have tables linked to the BE but there may not be an LDB because they haven't actually opened a form, query or report (or a recordset in code). As soon as you do any of those things, THEN Jet creates the LDB file. Thus the Administrator may have a VB6 application (for example) that runs when he logs in to terminal server. That VB6 application opens some recordset and the LDB file gets created. Something like that. YOU cannot delete the LDB as long as ANY user has a LIVE link to the container. The only time you CAN delete an LDB file is when Jet fails to delete it (which does happen) but there is really no live link to the data container and Jet knows this. At that point the LDB is just an "orphaned" file and can be deleted. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, October 14, 2005 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jim, I have delete permissions to the folder and I am not able to delete the .ldb file. When I check the LDB Viewer it tells me Administrator is logged into the data file. As soon as the Administrator logs out of Terminal Server, the .ldb file is deleted - even though Administrator was not logged in to any Access databases. I will ask the admin guy to make sure I have full delete permissions to that folder. Thanks, Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Oct 14 11:49:45 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 14 Oct 2005 12:49:45 -0400 Subject: [AccessD] OT: Friday Humor cunning linguists In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CB8CD1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF13B@ADGSERVER> I have #16 sometimes. LOL. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, October 14, 2005 12:03 PM To: 'Accessd (E-mail) Subject: [AccessD] OT: Friday Humor cunning linguists 16. Arachnoleptic fit (n.): The frantic dance performed just after you've accidentally walked through a spider web. From drboz at pacbell.net Fri Oct 14 11:32:14 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 14 Oct 2005 09:32:14 -0700 Subject: [AccessD] OT: Friday Humor cunning linguists References: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> Message-ID: <001701c5d0dc$d6a139c0$6b01a8c0@don> My personal favorite: Alimonicourse: the screwin' you get for the screwin' you got. ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Friday, October 14, 2005 9:02 AM Subject: [AccessD] OT: Friday Humor cunning linguists > FYI - expanding your data dictionary! > > The Washington Post's Mensa Invitational once again asked readers to > Take any word from the dictionary, alter it by adding, subtracting, or > Changing one letter, and supply a new definition. > > Here are the 2005 winners: > > 1. Cashtration (n.): The act of buying a house, which renders the > Subject financially impotent for an indefinite period. > > 2. Ignoranus: A person who's both stupid and an asshole. > > 3. Intaxication: Euphoria at getting a tax refund, which lasts until > You realize it was your money to start with. > > 4. Reintarnation: Coming back to life as a hillbilly. > > 5. Bozone (n.): The substance surrounding stupid people that stops > Bright ideas from penetrating. The bozone layer, unfortunately, shows little > Sign of breaking down in the near future. > > 6. Foreploy: Any misrepresentation about yourself for the purpose of > Getting laid. > > 7. Giraffiti: Vandalism spray-painted very, very high. > > 8. Sarchasm: The gulf between the author of sarcastic wit and the > Person whodoesn't get it. > > 9. Inoculatte: To take coffee intravenously when you are running late. > > 10. Hipatitis: Terminal coolness. > > 11. Osteopornosis: A degenerate disease. (This one got extra credit.) > > 12. Karmageddon: It's like, when everybody is sending off all these > Really bad vibes, right? And then, like, the Earth explodes and it's like, a > serious bummer. > > 13. Decafalon (n.): The grueling event of getting through the day > Consuming only things that are good for you. > > 14 Glibido: All talk and no action. > > 15. Dopeler effect: The tendency of stupid ideas to seem smarter when > They come at you rapidly. > > 16. Arachnoleptic fit (n.): The frantic dance performed just after > you've accidentally walked through a spider web. > > 17. Beelzebug (n.): Satan in the form of a mosquito, that gets into > Your bedroom at three in the morning and cannot be cast out. > > 18. Caterpallor (n.): The color you turn after finding half a worm in > The fruit you're eating. > > > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From developer at ultradnt.com Fri Oct 14 12:00:24 2005 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Oct 2005 13:00:24 -0400 Subject: [AccessD] Show/Hide On Screen Keyboard via Win API In-Reply-To: <001f01c5d0df$0b220330$667aa8c0@ColbyM6805> Message-ID: <200510141700.j9EH0Vv18139@ultradnt.com> I have been unable to find how to Show/Hide the On Screen Keyboard via Win API anywhere (although a Smart Access article looked promising, its not worth 144 /year to read the article) Any code examples out there? Tia, Steve From jengross at gte.net Fri Oct 14 12:20:46 2005 From: jengross at gte.net (Jennifer Gross) Date: Fri, 14 Oct 2005 10:20:46 -0700 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <001f01c5d0df$0b220330$667aa8c0@ColbyM6805> Message-ID: <001801c5d0e3$a0d4a050$6601a8c0@jefferson> Thanks for this John. The weird thing about it is that the Administrator has no open connection to the data file whatsoever. There is nothing that he is running that is connecting to the data file at all. I don't know which user created the .ldb and seems to have left it an orphan, but I can't delete it until the Administrator is logged off. Strange. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 9:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator In that case, the act of logging in to Terminal server is causing him to "open" the database. The LDB file is created whenever any user in any way "opens" the database that the LDB file is for. The LDB file appearing and disappearing when the Administrator logs in / out of terminal server means that JET thinks the user is "opening" the database. "Opening" the database does NOT necessarily mean opening the container itself. It can also be an active connection (ADO or DAO) to a table in the database. If you have asked JET for permission to load / alter DATA in a container, Jet creates the LDB. When the last user closes their ACTIVE connection to the BE, the LDB goes away (theoretically). Thus a FE can be open have tables linked to the BE but there may not be an LDB because they haven't actually opened a form, query or report (or a recordset in code). As soon as you do any of those things, THEN Jet creates the LDB file. Thus the Administrator may have a VB6 application (for example) that runs when he logs in to terminal server. That VB6 application opens some recordset and the LDB file gets created. Something like that. YOU cannot delete the LDB as long as ANY user has a LIVE link to the container. The only time you CAN delete an LDB file is when Jet fails to delete it (which does happen) but there is really no live link to the data container and Jet knows this. At that point the LDB is just an "orphaned" file and can be deleted. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, October 14, 2005 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jim, I have delete permissions to the folder and I am not able to delete the .ldb file. When I check the LDB Viewer it tells me Administrator is logged into the data file. As soon as the Administrator logs out of Terminal Server, the .ldb file is deleted - even though Administrator was not logged in to any Access databases. I will ask the admin guy to make sure I have full delete permissions to that folder. Thanks, Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Oct 14 12:44:38 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 13:44:38 -0400 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <001801c5d0e3$a0d4a050$6601a8c0@jefferson> Message-ID: <002001c5d0e6$f33b6a60$667aa8c0@ColbyM6805> If no one else is in, and there is no LDB file, if the Administrator logs in, is an LDB created? If so, then the Administrator user IS opening a link to the data container somehow. Jet doesn't know anything about anything. Jet is asked to open connections to data and does so. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, October 14, 2005 1:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Thanks for this John. The weird thing about it is that the Administrator has no open connection to the data file whatsoever. There is nothing that he is running that is connecting to the data file at all. I don't know which user created the .ldb and seems to have left it an orphan, but I can't delete it until the Administrator is logged off. Strange. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 9:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator In that case, the act of logging in to Terminal server is causing him to "open" the database. The LDB file is created whenever any user in any way "opens" the database that the LDB file is for. The LDB file appearing and disappearing when the Administrator logs in / out of terminal server means that JET thinks the user is "opening" the database. "Opening" the database does NOT necessarily mean opening the container itself. It can also be an active connection (ADO or DAO) to a table in the database. If you have asked JET for permission to load / alter DATA in a container, Jet creates the LDB. When the last user closes their ACTIVE connection to the BE, the LDB goes away (theoretically). Thus a FE can be open have tables linked to the BE but there may not be an LDB because they haven't actually opened a form, query or report (or a recordset in code). As soon as you do any of those things, THEN Jet creates the LDB file. Thus the Administrator may have a VB6 application (for example) that runs when he logs in to terminal server. That VB6 application opens some recordset and the LDB file gets created. Something like that. YOU cannot delete the LDB as long as ANY user has a LIVE link to the container. The only time you CAN delete an LDB file is when Jet fails to delete it (which does happen) but there is really no live link to the data container and Jet knows this. At that point the LDB is just an "orphaned" file and can be deleted. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, October 14, 2005 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jim, I have delete permissions to the folder and I am not able to delete the .ldb file. When I check the LDB Viewer it tells me Administrator is logged into the data file. As soon as the Administrator logs out of Terminal Server, the .ldb file is deleted - even though Administrator was not logged in to any Access databases. I will ask the admin guy to make sure I have full delete permissions to that folder. Thanks, Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From doug at starntech.com Fri Oct 14 13:07:19 2005 From: doug at starntech.com (Douglas Barnes) Date: Fri, 14 Oct 2005 14:07:19 -0400 Subject: [AccessD] OT: Friday Humor cunning linguists In-Reply-To: <200510141602.j9EG2PF29428@smarthost.yourcomms.net> Message-ID: Lap-zensation Douglas Barnes Starn Technical Services P. O. 1172 Meadville, PA 16335 814.724.1045 doug at starntech.com www.starntech.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: October 14, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Friday Humor cunning linguists 19. cunning linguists: ?????????? (any suggestions!!!) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: 14 October 2005 17:03 To: 'Accessd (E-mail) Subject: [AccessD] OT: Friday Humor cunning linguists FYI - expanding your data dictionary! The Washington Post's Mensa Invitational once again asked readers to Take any word from the dictionary, alter it by adding, subtracting, or Changing one letter, and supply a new definition. Here are the 2005 winners: 1. Cashtration (n.): The act of buying a house, which renders the Subject financially impotent for an indefinite period. 2. Ignoranus: A person who's both stupid and an asshole. 3. Intaxication: Euphoria at getting a tax refund, which lasts until You realize it was your money to start with. 4. Reintarnation: Coming back to life as a hillbilly. 5. Bozone (n.): The substance surrounding stupid people that stops Bright ideas from penetrating. The bozone layer, unfortunately, shows little Sign of breaking down in the near future. 6. Foreploy: Any misrepresentation about yourself for the purpose of Getting laid. 7. Giraffiti: Vandalism spray-painted very, very high. 8. Sarchasm: The gulf between the author of sarcastic wit and the Person whodoesn't get it. 9. Inoculatte: To take coffee intravenously when you are running late. 10. Hipatitis: Terminal coolness. 11. Osteopornosis: A degenerate disease. (This one got extra credit.) 12. Karmageddon: It's like, when everybody is sending off all these Really bad vibes, right? And then, like, the Earth explodes and it's like, a serious bummer. 13. Decafalon (n.): The grueling event of getting through the day Consuming only things that are good for you. 14 Glibido: All talk and no action. 15. Dopeler effect: The tendency of stupid ideas to seem smarter when They come at you rapidly. 16. Arachnoleptic fit (n.): The frantic dance performed just after you've accidentally walked through a spider web. 17. Beelzebug (n.): Satan in the form of a mosquito, that gets into Your bedroom at three in the morning and cannot be cast out. 18. Caterpallor (n.): The color you turn after finding half a worm in The fruit you're eating. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Oct 14 13:39:53 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 14 Oct 2005 14:39:53 -0400 Subject: [AccessD] Cross-posted to AccessD In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF126@ADGSERVER> Message-ID: <200510141840.j9EIe1J14852@databaseadvisors.com> Thanks for pointing out the article, and also for the compliment. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: October 13, 2005 12:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cross-posted to AccessD In case you all can't tell, Arthur's article is "FUD (fear, uncertainty, doubt): Where does Access fit in Microsoft's future?". His name is not on the front page, but at the end of the article when you click "more." Nice article Arthur. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, October 13, 2005 11:34 AM To: dba-sqlserver at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: [AccessD] Cross-posted to AccessD Here is a link to my most recent article, based in part on conversations and threads that took place on this list. http://www.simple-talk.com/. Every hit counts, as it were, and makes me look more valuable as a columnist. So feel free to contribute some of your work-avoidance moments to the cause. LOL. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Fri Oct 14 13:56:53 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 14 Oct 2005 11:56:53 -0700 (PDT) Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: Message-ID: <20051014185653.34437.qmail@web33114.mail.mud.yahoo.com> Thank you Sir, that is worth a star in my book. David McAfee wrote: You can check if a record is a new record. You may also me able to use me.currentRecord and compare that to the max record ID or count. -----Original Message----- From: Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From artful at rogers.com Fri Oct 14 14:04:11 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 14 Oct 2005 15:04:11 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: <003501c5d032$cf67dd80$017ba8c0@xpserver> Message-ID: <200510141904.j9EJ49J02362@databaseadvisors.com> Not to say I told you so, but I have been harping on this for quite a while. SQL injection is very real and very dangerous and to the extent that you rely on dynamic SQL you put your arms down and dare the opponent to punch you. Sprocs and UDFs are way better protection because their params are handled differently. That is not to argue that there is something inherently wrong with coding an ADO approach into the DB, but it is to say that where possible, use a sproc or a UDF rather than dynamic SQL. There are (fortunately, relatively few) occasions when dynamic (i.e. constructed in the front end) SQL is required, but in 9 out 10 cases this turns out to be unnecessary. I will supply a very simple example, trusting that you all can extrapolate. You have a form which can be opened in two ways: a) supply a CustomerID and b) supply no CustomerID. In either case, the form should display a series of Sales (for one Customer or all Customers). The sproc to handle this resembles this improvised code: SELECT * FROM Sales WHERE CustomerID = @CustomerID OR @CustomerID IS NULL So there are only two possible outcomes. 1. The user supplies a valid or invalid CustomerID, or none at all. A valid CustomerID may show zero+ orders. An invalid CustomerID shows nothing. 2. No CustomerID shows all Sales. Given such a sproc (improvised on the fly), SQL injection techniques will mostly if not all be blocked. I could go into detail about why this is so, but I have already done so. The basic point is, if a sproc is expecting say an integer and instead receives a string (a SQL injection attempt) then no problem. The attempt will get busted at the border of the sproc. When several params are passed, the logic escalates arithmetically but not geometrically. I.e. if you are expecting 5 params, it`s not that big a problem... and who in the sane world writes a sproc expecting 50 params... LOL. One of the greatest features of sprocs is their ability to test incoming data. If it fails to meet expectations (God, I am sounding like my ex-wife LOL), then the data is cast aside and the sproc terminates. OTOH, if you build dynamic SQL statements then fling them at the engine, who knows how much s**t will stick to the wall? As I said above, it is not always possible to avoid dynamic SQL. But to the extent that you CAN avoid it, you SHOULD avoid it. Unless of course you are working for a company doomed to failure anyway... in which case your contribution to the failure is unlikely to be noticed. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: October 13, 2005 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 artful at rogers.com Fri Oct 14 14:11:45 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 14 Oct 2005 15:11:45 -0400 Subject: [AccessD] oT Friday; amused easily In-Reply-To: <004e01c5d085$b2496770$017ba8c0@xpserver> Message-ID: <200510141911.j9EJBgJ06088@databaseadvisors.com> I just posted a reply, not directly to this article but to the general notion that sprocs are safer than dynamic SQL. That is my story and I am sticking to it! And thanks to you for your kind words, and to all others on this list who took the time to read it. You boost my hit-count and that makes me look good to the publisher! Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: October 14, 2005 2:08 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] oT Friday; amused easily I had been scanning through the 'Simple Talk Blog' where Arthur's great article is and was amazed (and amused) at one particular write up. The article was called 'To SP or not to SP in SQL Server' at http://www.simple-talk.com/2005/04/11/to-sp-or-not-to-sp-in-sql-server/ The writer is debating the general consensus that says Stored Procedures are safer that passing full sequel calls to a server.... and here I quote: One of the most damaging arguments raised in defense of SPs is that they somehow magically prevent SQL injection attacks (http://www.unixwiz.net/techtips/sql-injection.html). From Rob's post: Additionally, stored procedures are a counter-measure to dangerous SQL Script injection attacks, a susceptibility that applications using embedded SQL are more vulnerable to. Sorry, but this is just not true. Using SPs make it more likely that you will pass parameters the right way, but there is no guarantee. For instance, this is some code I recently read answering a question on http://www.asp.net: ...And then the example proving that SPs are not safer... strsql = "EXECUTE findtitle '" & textboxtitle.text & "'" objCmd = New SqlCommand(strSQL, objConn) Unbelievable. Does using an ADO command method imply a SP?? After that I could take nothing seriously in the article but I had a good laugh :-) Hope this amuses someone else. (...working too long) Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Oct 14 14:13:39 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 14 Oct 2005 15:13:39 -0400 Subject: [AccessD] oT Friday; amused easily In-Reply-To: Message-ID: <200510141914.j9EJE6J06782@databaseadvisors.com> Right on, brother! That is EXACTLY the ticket. NOBODY (but me) gets direct access to the tables. You do not talk to God, you put some money in the collection plate and talk to me, then I talk to God on your behalf. LOL. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: October 14, 2005 2:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] oT Friday; amused easily First of all, by allowing the use of SPs, a developer should not allow anyone to have direct access to tables. There is no way that a system that is fully unsecured and allows any general SQL statement to execute is good practice. Whenever any text parameters are passed as input parameters, they should be checked for invalid characters and/or words (', ;, -, SELECT, DROP, TRUNCATE, DELETE, ALTER). This guy assumes that nobody implements security, even when using SPs. He is wrong. From cfoust at infostatsystems.com Fri Oct 14 14:45:08 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Oct 2005 12:45:08 -0700 Subject: [AccessD] Last Record of a Continuous Form Message-ID: Define "last" record: last in the recordset, last on the page, latest entered, the one above the add row ....? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Fri Oct 14 14:53:54 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 14 Oct 2005 12:53:54 -0700 (PDT) Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: Message-ID: <20051014195354.1061.qmail@web33111.mail.mud.yahoo.com> Last on the page. The recordsource is in date order. It is the history of activity for patients. I do not want the last record (which is the patient's current record) to be altered from this page. I used the... If Me.CurrentRecord = Me.RecordsetClone.RecordCount Then ...lock it down Else ...let me do it End If Charlotte Foust wrote: Define "last" record: last in the recordset, last on the page, latest entered, the one above the add row ....? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From cfoust at infostatsystems.com Fri Oct 14 14:55:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Oct 2005 12:55:42 -0700 Subject: [AccessD] Data interface The best way Message-ID: Swell, define dynamic SQL. When it is compiled into a dll, is it still dynamic? When your permissions to the back end are highly restricted and all the SQL is created in the dll, is it still dynamic? I understand the capabilites of sprocs. However, in an N-tier architecture, you can build some of that same capability into the middle tier and validate the data before it ever gets passed to the backend for handling. So what special purpose is then served by the sproc? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, October 14, 2005 12:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Not to say I told you so, but I have been harping on this for quite a while. SQL injection is very real and very dangerous and to the extent that you rely on dynamic SQL you put your arms down and dare the opponent to punch you. Sprocs and UDFs are way better protection because their params are handled differently. That is not to argue that there is something inherently wrong with coding an ADO approach into the DB, but it is to say that where possible, use a sproc or a UDF rather than dynamic SQL. There are (fortunately, relatively few) occasions when dynamic (i.e. constructed in the front end) SQL is required, but in 9 out 10 cases this turns out to be unnecessary. I will supply a very simple example, trusting that you all can extrapolate. You have a form which can be opened in two ways: a) supply a CustomerID and b) supply no CustomerID. In either case, the form should display a series of Sales (for one Customer or all Customers). The sproc to handle this resembles this improvised code: SELECT * FROM Sales WHERE CustomerID = @CustomerID OR @CustomerID IS NULL So there are only two possible outcomes. 1. The user supplies a valid or invalid CustomerID, or none at all. A valid CustomerID may show zero+ orders. An invalid CustomerID shows nothing. 2. No CustomerID shows all Sales. Given such a sproc (improvised on the fly), SQL injection techniques will mostly if not all be blocked. I could go into detail about why this is so, but I have already done so. The basic point is, if a sproc is expecting say an integer and instead receives a string (a SQL injection attempt) then no problem. The attempt will get busted at the border of the sproc. When several params are passed, the logic escalates arithmetically but not geometrically. I.e. if you are expecting 5 params, it`s not that big a problem... and who in the sane world writes a sproc expecting 50 params... LOL. One of the greatest features of sprocs is their ability to test incoming data. If it fails to meet expectations (God, I am sounding like my ex-wife LOL), then the data is cast aside and the sproc terminates. OTOH, if you build dynamic SQL statements then fling them at the engine, who knows how much s**t will stick to the wall? As I said above, it is not always possible to avoid dynamic SQL. But to the extent that you CAN avoid it, you SHOULD avoid it. Unless of course you are working for a company doomed to failure anyway... in which case your contribution to the failure is unlikely to be noticed. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: October 13, 2005 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 14 15:00:23 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Oct 2005 15:00:23 -0500 Subject: [AccessD] Last Record of a Continuous Form Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337923@corp-es01.fleetpride.com> 19. "indentify" To recognize a vehicle by its distintive dents. Jim Hale -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Friday, October 14, 2005 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Record of a Continuous Form Thank you Sir, that is worth a star in my book. David McAfee wrote: You can check if a record is a new record. You may also me able to use me.currentRecord and compare that to the max record ID or count. -----Original Message----- From: Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Fri Oct 14 15:25:16 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Oct 2005 13:25:16 -0700 Subject: [AccessD] Last Record of a Continuous Form Message-ID: Now I'm thoroughly confused. You asked if there was any way to identify whether the current record is the last record ... On the page? Then you say the last record is the patient's current record. Do you mean the patient's record for the current date, but not necessarily the record that has the current focus? Can't you just check to see if the date = the current date and set allowedits based on that condition? I'm not sure I understand why the user could edit a previous date's records but not the current date's records though. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 12:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Record of a Continuous Form Last on the page. The recordsource is in date order. It is the history of activity for patients. I do not want the last record (which is the patient's current record) to be altered from this page. I used the... If Me.CurrentRecord = Me.RecordsetClone.RecordCount Then ...lock it down Else ...let me do it End If Charlotte Foust wrote: Define "last" record: last in the recordset, last on the page, latest entered, the one above the add row ....? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Oct 14 16:38:55 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 15 Oct 2005 01:38:55 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <001e01c5d107$b0dd0c20$6401a8c0@fincomplex.spb.ru> > So what special purpose is then served by the sproc? IMO they are now getting obsolete for CRUD operations. You're right Charlotte, I think - in a modern N-tier architecture if one gets Data Layer objects running on a well protected server then there is no need in CRUD stored procedures. MS SQL database tables/views can be still well protected and Data Layer objects will use Application Roles to do whatever these Applications Roles are allowed to do with the database using dynamic SQL.... And SQL injection attempts can be blocked on Business/Data Layer object interfaces level... Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, October 14, 2005 11:55 PM Subject: Re: [AccessD] Data interface The best way > Swell, define dynamic SQL. When it is compiled into a dll, is it still > dynamic? When your permissions to the back end are highly restricted > and all the SQL is created in the dll, is it still dynamic? I > understand the capabilites of sprocs. However, in an N-tier > architecture, you can build some of that same capability into the middle > tier and validate the data before it ever gets passed to the backend for > handling. So what special purpose is then served by the sproc? > > Charlotte Foust > > <<< tail trimmed >>> From jwcolby at ColbyConsulting.com Fri Oct 14 18:32:07 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 19:32:07 -0400 Subject: [AccessD] Rights tab in WinXP Pro Message-ID: <000201c5d117$812f4960$667aa8c0@ColbyM6805> I am using Windows XP Pro on all of my machines, including my dev laptop. I am seeing references to "in Explorer, right click a folder, select properties, then select the security tab" I don't have a security tab. Any ideas why not? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd at shaw.ca Fri Oct 14 18:42:33 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2005 16:42:33 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <007b01c5d118$f37a0e50$017ba8c0@xpserver> Charlotte, a compiled sql into a dll/executable is a good way to block some one mucking around with the code. The only concern would be if someone can create a sequel pass-through on the client station that could fool the BE. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 14, 2005 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Swell, define dynamic SQL. When it is compiled into a dll, is it still dynamic? When your permissions to the back end are highly restricted and all the SQL is created in the dll, is it still dynamic? I understand the capabilites of sprocs. However, in an N-tier architecture, you can build some of that same capability into the middle tier and validate the data before it ever gets passed to the backend for handling. So what special purpose is then served by the sproc? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, October 14, 2005 12:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Not to say I told you so, but I have been harping on this for quite a while. SQL injection is very real and very dangerous and to the extent that you rely on dynamic SQL you put your arms down and dare the opponent to punch you. Sprocs and UDFs are way better protection because their params are handled differently. That is not to argue that there is something inherently wrong with coding an ADO approach into the DB, but it is to say that where possible, use a sproc or a UDF rather than dynamic SQL. There are (fortunately, relatively few) occasions when dynamic (i.e. constructed in the front end) SQL is required, but in 9 out 10 cases this turns out to be unnecessary. I will supply a very simple example, trusting that you all can extrapolate. You have a form which can be opened in two ways: a) supply a CustomerID and b) supply no CustomerID. In either case, the form should display a series of Sales (for one Customer or all Customers). The sproc to handle this resembles this improvised code: SELECT * FROM Sales WHERE CustomerID = @CustomerID OR @CustomerID IS NULL So there are only two possible outcomes. 1. The user supplies a valid or invalid CustomerID, or none at all. A valid CustomerID may show zero+ orders. An invalid CustomerID shows nothing. 2. No CustomerID shows all Sales. Given such a sproc (improvised on the fly), SQL injection techniques will mostly if not all be blocked. I could go into detail about why this is so, but I have already done so. The basic point is, if a sproc is expecting say an integer and instead receives a string (a SQL injection attempt) then no problem. The attempt will get busted at the border of the sproc. When several params are passed, the logic escalates arithmetically but not geometrically. I.e. if you are expecting 5 params, it`s not that big a problem... and who in the sane world writes a sproc expecting 50 params... LOL. One of the greatest features of sprocs is their ability to test incoming data. If it fails to meet expectations (God, I am sounding like my ex-wife LOL), then the data is cast aside and the sproc terminates. OTOH, if you build dynamic SQL statements then fling them at the engine, who knows how much s**t will stick to the wall? As I said above, it is not always possible to avoid dynamic SQL. But to the extent that you CAN avoid it, you SHOULD avoid it. Unless of course you are working for a company doomed to failure anyway... in which case your contribution to the failure is unlikely to be noticed. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: October 13, 2005 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Fri Oct 14 19:14:41 2005 From: robert at servicexp.com (Robert Gracie) Date: Fri, 14 Oct 2005 20:14:41 -0400 Subject: [AccessD] Rights tab in WinXP Pro Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F69@gbsserver.GBS.local> John, Try Under Folder Options >> View Tab >> at the very bottom uncheck "Use Simple File Sharing" Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 8:01 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Rights tab in WinXP Pro I am using Windows XP Pro on all of my machines, including my dev laptop. I am seeing references to "in Explorer, right click a folder, select properties, then select the security tab" I don't have a security tab. Any ideas why not? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 14 19:04:33 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2005 17:04:33 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <001e01c5d107$b0dd0c20$6401a8c0@fincomplex.spb.ru> Message-ID: <007d01c5d11c$05b589c0$017ba8c0@xpserver> Shamil, the other technique is to have secret passwords embedded in the compiled FE (dll/executable) code and in theory that should eliminate hostile attacks. Here is a good article on CRUD: http://www.databasejournal.com/features/mssql/article.php/3082201 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 14, 2005 2:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way > So what special purpose is then served by the sproc? IMO they are now getting obsolete for CRUD operations. You're right Charlotte, I think - in a modern N-tier architecture if one gets Data Layer objects running on a well protected server then there is no need in CRUD stored procedures. MS SQL database tables/views can be still well protected and Data Layer objects will use Application Roles to do whatever these Applications Roles are allowed to do with the database using dynamic SQL.... And SQL injection attempts can be blocked on Business/Data Layer object interfaces level... Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, October 14, 2005 11:55 PM Subject: Re: [AccessD] Data interface The best way > Swell, define dynamic SQL. When it is compiled into a dll, is it still > dynamic? When your permissions to the back end are highly restricted > and all the SQL is created in the dll, is it still dynamic? I > understand the capabilites of sprocs. However, in an N-tier > architecture, you can build some of that same capability into the middle > tier and validate the data before it ever gets passed to the backend for > handling. So what special purpose is then served by the sproc? > > Charlotte Foust > > <<< tail trimmed >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Fri Oct 14 19:20:37 2005 From: robert at servicexp.com (Robert Gracie) Date: Fri, 14 Oct 2005 20:20:37 -0400 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F6A@gbsserver.GBS.local> Hello, All Does anyone have some text exporting code that I can use.. I need to come up with a system that will pull data from multiple tables, format the data, name fields and export said data out in a very specific fixed width txt file. My biggest problem is that it's across 3 separate company's with each having a different set of rules.. Anything to start with would be great...... Robert Gracie www.servicexp.com From jwcolby at ColbyConsulting.com Fri Oct 14 19:10:11 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 20:10:11 -0400 Subject: [AccessD] Rights tab in WinXP Pro In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F69@gbsserver.GBS.local> Message-ID: <000701c5d11c$cf4bada0$667aa8c0@ColbyM6805> Precisely right. Two points! Thanks, John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Friday, October 14, 2005 8:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Rights tab in WinXP Pro John, Try Under Folder Options >> View Tab >> at the very bottom uncheck "Use Simple File Sharing" Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 8:01 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Rights tab in WinXP Pro I am using Windows XP Pro on all of my machines, including my dev laptop. I am seeing references to "in Explorer, right click a folder, select properties, then select the security tab" I don't have a security tab. Any ideas why not? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 14 19:28:27 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 15 Oct 2005 10:28:27 +1000 Subject: [AccessD] OT: Friday Humor cunning linguists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> Message-ID: <4350D9CB.18773.AD08D92@stuart.lexacorp.com.pg> On 14 Oct 2005 at 11:02, Hale, Jim wrote: > FYI - expanding your data dictionary! > > The Washington Post's Mensa Invitational once again asked readers to > Take any word from the dictionary, alter it by adding, subtracting, or > Changing one letter, and supply a new definition. > > Here are the 2005 winners: > 1. Not Mensa 2. Not 2005 3. Not just the winners Apart from that you got it right :-) It was actually week 278 of the The Style Invitational in July 1998. This one is no longer online, but the results published in week 281 are still there: http://www.washingtonpost.com/wp-srv/style/invitational/invit980802.htm It lists the actual winner, runners up and the honorable mentions. Some good ones there which are not on your list. -- Stuart From stuart at lexacorp.com.pg Fri Oct 14 19:54:57 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 15 Oct 2005 10:54:57 +1000 Subject: [AccessD] Show/Hide On Screen Keyboard via Win API In-Reply-To: <200510141700.j9EH0Vv18139@ultradnt.com> References: <001f01c5d0df$0b220330$667aa8c0@ColbyM6805> Message-ID: <4350E001.140.AE8CEBD@stuart.lexacorp.com.pg> On 14 Oct 2005 at 13:00, Steve Conklin wrote: > > I have been unable to find how to Show/Hide the On Screen Keyboard via Win > API anywhere (although a Smart Access article looked promising, its not > worth 144 /year to read the article) > It is an executable OSK.Exe. No need for an API call to open it, just Shell the application. To close it, you will need do something like FIndWIndow(), GwtWIndow() followed by TerminateProcess. If I get time later, I may try to knock something together. -- Stuart From jwcolby at ColbyConsulting.com Fri Oct 14 20:04:54 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 21:04:54 -0400 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall Message-ID: <000a01c5d124$77249080$667aa8c0@ColbyM6805> Frank Tanner has graciously allowed me to post his "How-To" build a Linux Firewall, which can now be found on my web site: Go to www.colbyconsulting.com Register Login Click Useful Files tab It is the first item in the list Thanks Frank! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From developer at ultradnt.com Fri Oct 14 21:17:28 2005 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Oct 2005 22:17:28 -0400 Subject: [AccessD] Show/Hide On Screen Keyboard via Win API In-Reply-To: <4350E001.140.AE8CEBD@stuart.lexacorp.com.pg> Message-ID: <200510150217.j9F2HXv96112@ultradnt.com> Thanks, I didn't realize it was a separate executable. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, October 14, 2005 8:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Show/Hide On Screen Keyboard via Win API On 14 Oct 2005 at 13:00, Steve Conklin wrote: > > I have been unable to find how to Show/Hide the On Screen Keyboard via > Win API anywhere (although a Smart Access article looked promising, > its not worth 144 /year to read the article) > It is an executable OSK.Exe. No need for an API call to open it, just Shell the application. To close it, you will need do something like FIndWIndow(), GwtWIndow() followed by TerminateProcess. If I get time later, I may try to knock something together. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 14 22:14:17 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2005 20:14:17 -0700 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <000a01c5d124$77249080$667aa8c0@ColbyM6805> Message-ID: <008c01c5d136$877247e0$017ba8c0@xpserver> John: I have taken the liberty to download and review Frank's firewall document. It is very well done though a novice user may have some issues when the IP addresses and subnets are briefly mentioned and not described. (Then again why would a novice be trying to setup a Linux box.:-)) It is a great way to make an excellent firewall from a old beater that you were planning on giving to your brother kids...or simply chuck out. Thanks Frank... (...and you too for hosting it.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 6:05 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc.; dba-vb at databaseadvisors.com Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall Frank Tanner has graciously allowed me to post his "How-To" build a Linux Firewall, which can now be found on my web site: Go to www.colbyconsulting.com Register Login Click Useful Files tab It is the first item in the list Thanks Frank! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sat Oct 15 02:26:35 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 15 Oct 2005 11:26:35 +0400 Subject: [AccessD] Data interface The best way References: <007d01c5d11c$05b589c0$017ba8c0@xpserver> Message-ID: <002301c5d159$d462b3a0$6401a8c0@fincomplex.spb.ru> Jim, Thanks for the link. I still think the following arguments of this article are getting obsolete: <<< - The best possible performance - Removes the SQL code from the other layers of the application - Prevents SQL injection attacks - Prevents casual table browsing and modifications >>> Or I'd better say they are getting less important because with Application Roles and modern technlogies like ADO.NET and N-tier solutions all that problems above(as well as related) have effective and secure solutions. Having secret passwords technique is quite different from Application Roles. Secret passwords have to have superuser(s) defined. Application Roles don't. I wouldn't want to start a "religious debate" here on "SP vs. Dynamic SQL" subject. Here is an interesting link on such debate - http://www.theserverside.net/news/thread.tss?thread_id=31953 - it's good enough to close the subject I guess? :) BTW, here is a good and free CRUD generator - http://www.microsoft.com/france/msdn/olymars/default.mspx for the developers who prefer CRUD SP to dynamic SQL or parameterized queries or other dynamic SQL techniques.... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 15, 2005 4:04 AM Subject: Re: [AccessD] Data interface The best way > Shamil, the other technique is to have secret passwords embedded in the > compiled FE (dll/executable) code and in theory that should eliminate > hostile attacks. > > Here is a good article on CRUD: > http://www.databasejournal.com/features/mssql/article.php/3082201 > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, October 14, 2005 2:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data interface The best way > > > So what special purpose is then served by the sproc? > IMO they are now getting obsolete for CRUD operations. > > You're right Charlotte, I think - in a modern N-tier architecture if one > gets Data Layer objects running on a well protected server then there is no > need in CRUD stored procedures. MS SQL database tables/views can be still > well protected and Data Layer objects will use Application Roles to do > whatever these Applications Roles are allowed to do with the database using > dynamic SQL.... > > And SQL injection attempts can be blocked on Business/Data Layer object > interfaces level... > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 14, 2005 11:55 PM > Subject: Re: [AccessD] Data interface The best way > > > > Swell, define dynamic SQL. When it is compiled into a dll, is it still > > dynamic? When your permissions to the back end are highly restricted > > and all the SQL is created in the dll, is it still dynamic? I > > understand the capabilites of sprocs. However, in an N-tier > > architecture, you can build some of that same capability into the middle > > tier and validate the data before it ever gets passed to the backend for > > handling. So what special purpose is then served by the sproc? > > > > Charlotte Foust > > > > > <<< tail trimmed >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Oct 15 05:03:01 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 15 Oct 2005 12:03:01 +0200 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: Hi Robert Go to Seth's site: http://www-personal.ksu.edu/~sgsax/download/file_io.txt /gustav >>> robert at servicexp.com 15-10-2005 02:20 >>> Hello, All Does anyone have some text exporting code that I can use.. I need to come up with a system that will pull data from multiple tables, format the data, name fields and export said data out in a very specific fixed width txt file. My biggest problem is that it's across 3 separate company's with each having a different set of rules.. Anything to start with would be great...... Robert Gracie www.servicexp.com From Gustav at cactus.dk Sat Oct 15 05:46:47 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 15 Oct 2005 12:46:47 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Shamil Thanks for these links, though I have to admit that my patience is not to read all the comments carefully. I still believe it can be a nightmare to maintain SPs - because you easily end up with incompatible versions of frontend(s) and database - thus these should be kept to basic features of the database and not for sophisticated business rules. But as always, it depends ... However, I noticed this link: http://www.mygenerationsoftware.com and its interesting dOOdads: http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx "an elegant .NET architecture available in C# and VB.NET and capable of supporting any .NET managed data provider." "Currently dOOdads are available for Microsoft SQL, Oracle, Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." And for the DNN (DotNetNuke) fans: http://scottschecter.net/Projects/dOOdadsOnDNN/tabid/84/Default.aspx /gustav >>> shamil at users.mns.ru 15-10-2005 09:26 >>> Jim, Thanks for the link. I still think the following arguments of this article are getting obsolete: <<< - The best possible performance - Removes the SQL code from the other layers of the application - Prevents SQL injection attacks - Prevents casual table browsing and modifications >>> Or I'd better say they are getting less important because with Application Roles and modern technlogies like ADO.NET and N-tier solutions all that problems above(as well as related) have effective and secure solutions. Having secret passwords technique is quite different from Application Roles. Secret passwords have to have superuser(s) defined. Application Roles don't. I wouldn't want to start a "religious debate" here on "SP vs. Dynamic SQL" subject. Here is an interesting link on such debate - http://www.theserverside.net/news/thread.tss?thread_id=31953 - it's good enough to close the subject I guess? :) BTW, here is a good and free CRUD generator - http://www.microsoft.com/france/msdn/olymars/default.mspx for the developers who prefer CRUD SP to dynamic SQL or parameterized queries or other dynamic SQL techniques.... Shamil From stuart at lexacorp.com.pg Sat Oct 15 05:52:32 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 15 Oct 2005 20:52:32 +1000 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: Message-ID: <43516C10.29453.D0BDA71@stuart.lexacorp.com.pg> On 15 Oct 2005 at 12:03, Gustav Brock wrote: > Go to Seth's site: > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > Hello, All > Does anyone have some text exporting code that I can use.. I need to > come up with a system that will pull data from multiple tables, format > the data, name fields and export said data out in a very specific fixed > width txt file. > The only thing to change in Seth's code is how to build the output string since you need fixed width. The way I build fixed width strings for output is something like this: Function Pad(TextString,StringLength) a String 'outputs a fixed length string 'pads short strings with spaces and truncates long strings Pad = Left$(TextString & Space$(StringLength),StringLength) End Function ....... strOutput = Space$(intTotalStringLength) 'Insert a Text field Mid$(strOutput,1) = Pad(!Field1,10) 'Insert a Numeric field Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) .... -- Stuart From accessd at shaw.ca Sat Oct 15 08:09:00 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 15 Oct 2005 06:09:00 -0700 Subject: [AccessD] OT: An important Windows nonupdate advisory In-Reply-To: <43516C10.29453.D0BDA71@stuart.lexacorp.com.pg> Message-ID: <00dd01c5d189$9c18e890$017ba8c0@xpserver> I am not sure whether this NEWS message is general knowledge but it is new to me so I am passing it along; http://news.com.com/Critical+Windows+patch+may+wreak+PC+havoc/2100-1002_3-58 96041.html?part=rss&tag=5896041&subj=news It points out a problem with a current Windows patch release and as many have their patch updates 'automated' it will be of immediate concern. This patch only adversely affects those who may have changed security permissions, on their computers, from the initial installation defaults. HTH Jim From jwcolby at ColbyConsulting.com Sat Oct 15 08:28:29 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 15 Oct 2005 09:28:29 -0400 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <008c01c5d136$877247e0$017ba8c0@xpserver> Message-ID: <006901c5d18c$54de2b40$667aa8c0@ColbyM6805> Jim, Perhaps you could send a little more detailed email to Frank offline with your specific concerns. It appears that Frank wants it to be as accessible as possible so constructive critics would probably be well received. Thanks, John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, October 14, 2005 11:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall John: I have taken the liberty to download and review Frank's firewall document. It is very well done though a novice user may have some issues when the IP addresses and subnets are briefly mentioned and not described. (Then again why would a novice be trying to setup a Linux box.:-)) It is a great way to make an excellent firewall from a old beater that you were planning on giving to your brother kids...or simply chuck out. Thanks Frank... (...and you too for hosting it.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 6:05 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc.; dba-vb at databaseadvisors.com Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall Frank Tanner has graciously allowed me to post his "How-To" build a Linux Firewall, which can now be found on my web site: Go to www.colbyconsulting.com Register Login Click Useful Files tab It is the first item in the list Thanks Frank! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Sat Oct 15 08:35:58 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sat, 15 Oct 2005 06:35:58 -0700 (PDT) Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: Message-ID: <20051015133559.47694.qmail@web33114.mail.mud.yahoo.com> The patients are actually children being placed in different foster homes. Each time a child is moved from one home to another or goes awol or goes to the hospital, a "placement record" is appended to table. Some kids move so much that errors occur in data entry. We have a special form that shows this history. This form shows the history in chronological order. The last record listed on the page in the continuous form indicates the most recent movement or the current placement of the child. That cannot be edited. It is changable at the master record level. This is one of those cases where the "business practice" of the company dictates the development of the object. At any rate, David McAfee seemed to know what I needed and with that I was able to do exactly what the requestor wanted. Charlotte Foust wrote: Now I'm thoroughly confused. You asked if there was any way to identify whether the current record is the last record ... On the page? Then you say the last record is the patient's current record. Do you mean the patient's record for the current date, but not necessarily the record that has the current focus? Can't you just check to see if the date = the current date and set allowedits based on that condition? I'm not sure I understand why the user could edit a previous date's records but not the current date's records though. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 12:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Record of a Continuous Form Last on the page. The recordsource is in date order. It is the history of activity for patients. I do not want the last record (which is the patient's current record) to be altered from this page. I used the... If Me.CurrentRecord = Me.RecordsetClone.RecordCount Then ...lock it down Else ...let me do it End If Charlotte Foust wrote: Define "last" record: last in the recordset, last on the page, latest entered, the one above the add row ....? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From jwcolby at ColbyConsulting.com Sat Oct 15 08:40:19 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 15 Oct 2005 09:40:19 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <006a01c5d18d$fef76ff0$667aa8c0@ColbyM6805> Gustav, Thanks for this link. Though I am just starting to study it, the doodads looks like a well thought out architecture for handling business objects. http://www.mygenerationsoftware.com/portal/dOOdads/ObjectModel/tabid/80/Defa ult.aspx John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 15, 2005 6:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Shamil Thanks for these links, though I have to admit that my patience is not to read all the comments carefully. I still believe it can be a nightmare to maintain SPs - because you easily end up with incompatible versions of frontend(s) and database - thus these should be kept to basic features of the database and not for sophisticated business rules. But as always, it depends ... However, I noticed this link: http://www.mygenerationsoftware.com and its interesting dOOdads: http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default .aspx "an elegant .NET architecture available in C# and VB.NET and capable of supporting any .NET managed data provider." "Currently dOOdads are available for Microsoft SQL, Oracle, Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." And for the DNN (DotNetNuke) fans: http://scottschecter.net/Projects/dOOdadsOnDNN/tabid/84/Default.aspx /gustav From accessd at shaw.ca Sat Oct 15 08:51:32 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 15 Oct 2005 06:51:32 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <002301c5d159$d462b3a0$6401a8c0@fincomplex.spb.ru> Message-ID: <00de01c5d18f$8d436560$017ba8c0@xpserver> Thanks Shamil for all the information. I had been blissfully unawares of the controversy swirling around the subject. One point though and it seems to be the main argument used by the 'Parameterized' group in opposition to the 'Stored Procedure' security defense and that is that Stored procedures are just as prone to 'injection' attacks. That comment is supported by listing a SP or process that defeats the whole purpose of a SP. The following is a very tradition response: ... Actually, your argument is false. I can have a stored procedure which concatenates strings together and therefore open itself up to sql injection attacks... All projects that I have previously worked on have been within offices and were only used by the staff members. Roles, Windows authentication and user groups have always been enough. For the first time I am working of a large web distributive project and realize that security will be more of an issue than ever. So every piece of 'real' information I can gather on the subject is important. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, October 15, 2005 12:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Jim, Thanks for the link. I still think the following arguments of this article are getting obsolete: <<< - The best possible performance - Removes the SQL code from the other layers of the application - Prevents SQL injection attacks - Prevents casual table browsing and modifications >>> Or I'd better say they are getting less important because with Application Roles and modern technlogies like ADO.NET and N-tier solutions all that problems above(as well as related) have effective and secure solutions. Having secret passwords technique is quite different from Application Roles. Secret passwords have to have superuser(s) defined. Application Roles don't. I wouldn't want to start a "religious debate" here on "SP vs. Dynamic SQL" subject. Here is an interesting link on such debate - http://www.theserverside.net/news/thread.tss?thread_id=31953 - it's good enough to close the subject I guess? :) BTW, here is a good and free CRUD generator - http://www.microsoft.com/france/msdn/olymars/default.mspx for the developers who prefer CRUD SP to dynamic SQL or parameterized queries or other dynamic SQL techniques.... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 15, 2005 4:04 AM Subject: Re: [AccessD] Data interface The best way > Shamil, the other technique is to have secret passwords embedded in the > compiled FE (dll/executable) code and in theory that should eliminate > hostile attacks. > > Here is a good article on CRUD: > http://www.databasejournal.com/features/mssql/article.php/3082201 > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, October 14, 2005 2:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data interface The best way > > > So what special purpose is then served by the sproc? > IMO they are now getting obsolete for CRUD operations. > > You're right Charlotte, I think - in a modern N-tier architecture if one > gets Data Layer objects running on a well protected server then there is no > need in CRUD stored procedures. MS SQL database tables/views can be still > well protected and Data Layer objects will use Application Roles to do > whatever these Applications Roles are allowed to do with the database using > dynamic SQL.... > > And SQL injection attempts can be blocked on Business/Data Layer object > interfaces level... > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 14, 2005 11:55 PM > Subject: Re: [AccessD] Data interface The best way > > > > Swell, define dynamic SQL. When it is compiled into a dll, is it still > > dynamic? When your permissions to the back end are highly restricted > > and all the SQL is created in the dll, is it still dynamic? I > > understand the capabilites of sprocs. However, in an N-tier > > architecture, you can build some of that same capability into the middle > > tier and validate the data before it ever gets passed to the backend for > > handling. So what special purpose is then served by the sproc? > > > > Charlotte Foust > > > > > <<< tail trimmed >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Sat Oct 15 12:28:45 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 15 Oct 2005 13:28:45 -0400 Subject: [AccessD] determine the system's default printer Message-ID: <20051015172845.MNAU12154.ibm62aec.bellsouth.net@SUSANONE> Anyone know how to return the name of the system's default printer? I have no problem getting the connected printers, just can't determine, via code, which one is the system's default. Susan H. From john at winhaven.net Sat Oct 15 12:34:26 2005 From: john at winhaven.net (John Bartow) Date: Sat, 15 Oct 2005 12:34:26 -0500 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <006901c5d18c$54de2b40$667aa8c0@ColbyM6805> Message-ID: <00a501c5d1ae$b0eb4310$6e01a8c0@ScuzzPaq> What do you guys think of helping Frank put together a newsletter article on this for our newsletter? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby From developer at ultradnt.com Sat Oct 15 12:59:07 2005 From: developer at ultradnt.com (Steve Conklin) Date: Sat, 15 Oct 2005 13:59:07 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <20051015172845.MNAU12154.ibm62aec.bellsouth.net@SUSANONE> Message-ID: <200510151759.j9FHxBv65273@ultradnt.com> Application.Printer.DeviceName always Returns the default. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, October 15, 2005 1:29 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] determine the system's default printer Anyone know how to return the name of the system's default printer? I have no problem getting the connected printers, just can't determine, via code, which one is the system's default. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Sat Oct 15 12:59:37 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 15 Oct 2005 13:59:37 -0400 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <00a501c5d1ae$b0eb4310$6e01a8c0@ScuzzPaq> Message-ID: <006f01c5d1b2$384902e0$667aa8c0@ColbyM6805> I think that's a wonderful idea. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Saturday, October 15, 2005 1:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall What do you guys think of helping Frank put together a newsletter article on this for our newsletter? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Sat Oct 15 13:38:54 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 15 Oct 2005 14:38:54 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <200510151759.j9FHxBv65273@ultradnt.com> Message-ID: <20051015183854.NDKB12154.ibm62aec.bellsouth.net@SUSANONE> Oh -- well, that's certainly easy enough -- are you sure that's the default and not the current printer? Susan H. Application.Printer.DeviceName always Returns the default. Anyone know how to return the name of the system's default printer? I have no problem getting the connected printers, just can't determine, via code, which one is the system's default. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/126 - Release Date: 10/9/2005 From harkinsss at bellsouth.net Sat Oct 15 14:18:13 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 15 Oct 2005 15:18:13 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <20051015183854.NDKB12154.ibm62aec.bellsouth.net@SUSANONE> Message-ID: <20051015191817.NMHD12154.ibm62aec.bellsouth.net@SUSANONE> Steve, never mind my question -- ran a quick test and you're absolutely right -- thank you very much! Susan H. Oh -- well, that's certainly easy enough -- are you sure that's the default and not the current printer? From developer at ultradnt.com Sat Oct 15 14:37:37 2005 From: developer at ultradnt.com (Steve Conklin) Date: Sat, 15 Oct 2005 15:37:37 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <20051015191817.NMHD12154.ibm62aec.bellsouth.net@SUSANONE> Message-ID: <200510151937.j9FJbgv72284@ultradnt.com> Well, it's read/write - so you can capture the default at application startup, change it, then set it back as application closes. S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, October 15, 2005 3:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] determine the system's default printer Steve, never mind my question -- ran a quick test and you're absolutely right -- thank you very much! Susan H. Oh -- well, that's certainly easy enough -- are you sure that's the default and not the current printer? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sat Oct 15 15:28:48 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 15 Oct 2005 13:28:48 -0700 Subject: [AccessD] Dump Access Query question Message-ID: I forgot how to do this... i want to run a query whose parameter is a lookup ie, startdate enddate and a dropdownlist for the customer... how can i do this? -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From shamil at users.mns.ru Sat Oct 15 15:01:53 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 00:01:53 +0400 Subject: [AccessD] Data interface The best way References: <00de01c5d18f$8d436560$017ba8c0@xpserver> Message-ID: <004b01c5d1c7$e40cfa40$6401a8c0@fincomplex.spb.ru> > > ... Actually, your argument is false. I can have a stored procedure which > concatenates strings together and therefore open itself up to sql injection > attacks... > Jim, IMO this is a bad contr-argument of "Parameterized" group. I'd not buy on it if I'd have been from 'CRUD SPs" group. If CRUD SPs approach is used then of course there should not be any stored procedures, which build SQL expressions on the fly - they just do not make sense. The argument is wrong and it shows that the one who uses it doesn't understand well MS SQL security features: - in CRUD SP design approach access to all the tables and views etc. is usually REVOKED for MS SQL ordinary users and roles - they are only allowed to run certain SPs. And if there is an SP, where there is a dynamic SQL against tables/views, which a user/role isn't allowed to access then such SP fails of course... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 15, 2005 5:51 PM Subject: Re: [AccessD] Data interface The best way > Thanks Shamil for all the information. I had been blissfully unawares of the > controversy swirling around the subject. > > One point though and it seems to be the main argument used by the > 'Parameterized' group in opposition to the 'Stored Procedure' security > defense and that is that Stored procedures are just as prone to 'injection' > attacks. That comment is supported by listing a SP or process that defeats > the whole purpose of a SP. The following is a very tradition response: > > > ... Actually, your argument is false. I can have a stored procedure which > concatenates strings together and therefore open itself up to sql injection > attacks... > > > All projects that I have previously worked on have been within offices and > were only used by the staff members. Roles, Windows authentication and user > groups have always been enough. For the first time I am working of a large > web distributive project and realize that security will be more of an issue > than ever. So every piece of 'real' information I can gather on the subject > is important. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, October 15, 2005 12:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data interface The best way > > Jim, > > Thanks for the link. > I still think the following arguments of this article are getting obsolete: > > <<< > - The best possible performance > - Removes the SQL code from the other layers of the application > - Prevents SQL injection attacks > - Prevents casual table browsing and modifications > >>> > > Or I'd better say they are getting less important because with Application > Roles and modern technlogies like ADO.NET and N-tier solutions all that > problems above(as well as related) have effective and secure solutions. > > Having secret passwords technique is quite different from Application Roles. > Secret passwords have to have superuser(s) defined. Application Roles don't. > > I wouldn't want to start a "religious debate" here on "SP vs. Dynamic SQL" > subject. > Here is an interesting link on such debate - > http://www.theserverside.net/news/thread.tss?thread_id=31953 - it's good > enough to close the subject I guess? :) > > BTW, here is a good and free CRUD generator - > http://www.microsoft.com/france/msdn/olymars/default.mspx for the developers > who prefer CRUD SP to dynamic SQL or parameterized queries or other dynamic > SQL techniques.... > > Shamil > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 15, 2005 4:04 AM > Subject: Re: [AccessD] Data interface The best way > > > > Shamil, the other technique is to have secret passwords embedded in the > > compiled FE (dll/executable) code and in theory that should eliminate > > hostile attacks. > > > > Here is a good article on CRUD: > > http://www.databasejournal.com/features/mssql/article.php/3082201 > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov > > Sent: Friday, October 14, 2005 2:39 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Data interface The best way > > > > > So what special purpose is then served by the sproc? > > IMO they are now getting obsolete for CRUD operations. > > > > You're right Charlotte, I think - in a modern N-tier architecture if one > > gets Data Layer objects running on a well protected server then there is > no > > need in CRUD stored procedures. MS SQL database tables/views can be still > > well protected and Data Layer objects will use Application Roles to do > > whatever these Applications Roles are allowed to do with the database > using > > dynamic SQL.... > > > > And SQL injection attempts can be blocked on Business/Data Layer object > > interfaces level... > > > > Shamil > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, October 14, 2005 11:55 PM > > Subject: Re: [AccessD] Data interface The best way > > > > > > > Swell, define dynamic SQL. When it is compiled into a dll, is it still > > > dynamic? When your permissions to the back end are highly restricted > > > and all the SQL is created in the dll, is it still dynamic? I > > > understand the capabilites of sprocs. However, in an N-tier > > > architecture, you can build some of that same capability into the middle > > > tier and validate the data before it ever gets passed to the backend for > > > handling. So what special purpose is then served by the sproc? > > > > > > Charlotte Foust > > > > > > > > <<< tail trimmed >>> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Oct 15 16:43:59 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 15 Oct 2005 14:43:59 -0700 Subject: [AccessD] Dump Access Query question References: Message-ID: <4351781F.7060709@shaw.ca> There a lot of little access mdb samples for forgotten methods here http://www.rogersaccesslibrary.com/TableOfContents3.asp Maybe this one CreateMultiSelectQuery.mdb ( intermediate ) Francisco Tapia wrote: >I forgot how to do this... > >i want to run a query whose parameter is a lookup ie, > >startdate >enddate >and a dropdownlist for the customer... how can i do this? > >-- >-Francisco >http://pcthis.blogspot.com |PC news with out the jargon! >http://sqlthis.blogspot.com | Tsql and More... > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Sat Oct 15 17:07:33 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 16 Oct 2005 08:07:33 +1000 Subject: [AccessD] determine the system's default printer In-Reply-To: <20051015183854.NDKB12154.ibm62aec.bellsouth.net@SUSANONE> References: <200510151759.j9FHxBv65273@ultradnt.com> Message-ID: <43520A45.19.F75D794@stuart.lexacorp.com.pg> On 15 Oct 2005 at 14:38, Susan Harkins wrote: > Oh -- well, that's certainly easy enough -- are you sure that's the default > and not the current printer? > > Susan H. > > > Application.Printer.DeviceName > > always Returns the default. > That isn't available in A2K or below. The surest way is to read a registry key: For NT, Win2K and above, It's "Device" under HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows In W95/98/XP It's "Default" under HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers -- Stuart From harkinsss at bellsouth.net Sat Oct 15 18:38:36 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 15 Oct 2005 19:38:36 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <43520A45.19.F75D794@stuart.lexacorp.com.pg> Message-ID: <20051015233836.PVVA2401.ibm57aec.bellsouth.net@SUSANONE> Thanks! Susan H. On 15 Oct 2005 at 14:38, Susan Harkins wrote: > Oh -- well, that's certainly easy enough -- are you sure that's the > default and not the current printer? > > Susan H. > > > Application.Printer.DeviceName > > always Returns the default. > That isn't available in A2K or below. The surest way is to read a registry key: For NT, Win2K and above, It's "Device" under HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows In W95/98/XP It's "Default" under HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers -- From pctech at mybellybutton.com Sat Oct 15 21:34:00 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sat, 15 Oct 2005 19:34:00 -0700 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <006f01c5d1b2$384902e0$667aa8c0@ColbyM6805> References: <006f01c5d1b2$384902e0$667aa8c0@ColbyM6805> Message-ID: <1129430040.9774.0.camel@localhost.localdomain> On Sat, 2005-10-15 at 13:59 -0400, John Colby wrote: > I think that's a wonderful idea. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Saturday, October 15, 2005 1:34 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall > > > What do you guys think of helping Frank put together a newsletter article on > this for our newsletter? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > Sounds good to me. From jmhecht at earthlink.net Sat Oct 15 23:46:59 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 15 Oct 2005 21:46:59 -0700 Subject: [AccessD] Laptop Crashed again Help Message-ID: <000301c5d20c$a5529360$0a01a8c0@desktop> I got the infamous Blue Screen this morning. Dell Inspiron 8200. 512 megs 40 gigs Tried to reboot. It said" No, I do not want to" It continued "Windows could not start because the following file is missing or corrupt. \windows\system32\config\system. I got to a dos start up screen. Tried last known good. It said no( Lippy little laptop.} Ran repair console chkdsk /r /f at fifty percent, it gave up and said multiple non repairable errors. Thoughts on hardware or software issues to look at. This was a new hard drive about a year or two ago. Just spent $158 for a new battery. Any system test to see if this good money going into a bad machine? Thanks Joe From pctech at mybellybutton.com Sun Oct 16 00:08:35 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sat, 15 Oct 2005 22:08:35 -0700 Subject: [AccessD] Laptop Crashed again Help In-Reply-To: <000301c5d20c$a5529360$0a01a8c0@desktop> References: <000301c5d20c$a5529360$0a01a8c0@desktop> Message-ID: <1129439315.9774.6.camel@localhost.localdomain> On Sat, 2005-10-15 at 21:46 -0700, Joe Hecht wrote: > I got the infamous Blue Screen this morning. Dell > Inspiron 8200. 512 megs 40 gigs > > Tried to reboot. It said" No, I do not want to" > > It continued "Windows could not start because the > following file is missing or corrupt. > \windows\system32\config\system. > > I got to a dos start up screen. Tried last known > good. > > It said no( Lippy little laptop.} > > Ran repair console chkdsk /r /f at fifty percent, it > gave up and said multiple non repairable errors. > > Thoughts on hardware or software issues to look at. > This was a new hard drive about a year or two ago. > > Just spent $158 for a new battery. Any system test to > see if this good money going into a bad machine? > > Thanks > > Joe > Before you carry the laptop around, do you completely shut it down, put it into standby, or just shut the lid? The reason I ask is if you put it into standby or just shut the lid, which puts the system into standby, the hard drive may, and sometimes does, still spin up. The shock of carrying it around like this can cause hard drive problems. From jmhecht at earthlink.net Sun Oct 16 00:18:06 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 15 Oct 2005 22:18:06 -0700 Subject: [AccessD] Laptop Crashed again Help In-Reply-To: <1129439315.9774.6.camel@localhost.localdomain> Message-ID: <000001c5d210$fe7c5d00$0a01a8c0@desktop> It had been still and happy for about a week. I am usually good about getting it off -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Saturday, October 15, 2005 10:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Laptop Crashed again Help On Sat, 2005-10-15 at 21:46 -0700, Joe Hecht wrote: > I got the infamous Blue Screen this morning. Dell > Inspiron 8200. 512 megs 40 gigs > > Tried to reboot. It said" No, I do not want to" > > It continued "Windows could not start because the > following file is missing or corrupt. > \windows\system32\config\system. > > I got to a dos start up screen. Tried last known > good. > > It said no( Lippy little laptop.} > > Ran repair console chkdsk /r /f at fifty percent, it > gave up and said multiple non repairable errors. > > Thoughts on hardware or software issues to look at. > This was a new hard drive about a year or two ago. > > Just spent $158 for a new battery. Any system test to > see if this good money going into a bad machine? > > Thanks > > Joe > Before you carry the laptop around, do you completely shut it down, put it into standby, or just shut the lid? The reason I ask is if you put it into standby or just shut the lid, which puts the system into standby, the hard drive may, and sometimes does, still spin up. The shock of carrying it around like this can cause hard drive problems. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sun Oct 16 01:36:32 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 15 Oct 2005 23:36:32 -0700 Subject: [AccessD] Dump Access Query question In-Reply-To: <4351781F.7060709@shaw.ca> References: <4351781F.7060709@shaw.ca> Message-ID: :-$, i ended up just cheating and doing a form who passes the parameters to the query that feeds the report.. man I can't beleive I forgot this :-P On 10/15/05, MartyConnelly wrote: > > There a lot of little access mdb samples for forgotten methods here > http://www.rogersaccesslibrary.com/TableOfContents3.asp > > Maybe this one > > CreateMultiSelectQuery.mdb ( intermediate ) > > Francisco Tapia wrote: > > >I forgot how to do this... > > > >i want to run a query whose parameter is a lookup ie, > > > >startdate > >enddate > >and a dropdownlist for the customer... how can i do this? > > > >-- > >-Francisco > >http://pcthis.blogspot.com |PC news with out the jargon! > >http://sqlthis.blogspot.com | Tsql and More... > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From accessd at shaw.ca Sun Oct 16 02:20:21 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 16 Oct 2005 00:20:21 -0700 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <00a501c5d1ae$b0eb4310$6e01a8c0@ScuzzPaq> Message-ID: <000801c5d222$1215b260$017ba8c0@xpserver> Excellent idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Saturday, October 15, 2005 10:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall What do you guys think of helping Frank put together a newsletter article on this for our newsletter? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Oct 16 02:28:46 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 16 Oct 2005 00:28:46 -0700 Subject: [AccessD] Laptop Crashed again Help In-Reply-To: <000301c5d20c$a5529360$0a01a8c0@desktop> Message-ID: <000901c5d223$3ed63080$017ba8c0@xpserver> It sounds like a hard drive failure to me but I could be wrong. There are system CD boot disks that will let you see enough of the drive so you can export your important data. You can download XP boot disks from http://www.bootdisk.com/bootdisk.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 15, 2005 9:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Laptop Crashed again Help I got the infamous Blue Screen this morning. Dell Inspiron 8200. 512 megs 40 gigs Tried to reboot. It said" No, I do not want to" It continued "Windows could not start because the following file is missing or corrupt. \windows\system32\config\system. I got to a dos start up screen. Tried last known good. It said no( Lippy little laptop.} Ran repair console chkdsk /r /f at fifty percent, it gave up and said multiple non repairable errors. Thoughts on hardware or software issues to look at. This was a new hard drive about a year or two ago. Just spent $158 for a new battery. Any system test to see if this good money going into a bad machine? Thanks Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Sun Oct 16 02:48:24 2005 From: tortise at paradise.net.nz (Tortise) Date: Sun, 16 Oct 2005 20:48:24 +1300 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall - m0n0wall? References: <000801c5d222$1215b260$017ba8c0@xpserver> Message-ID: <015201c5d225$fc85d7a0$1e00a8c0@cheqsoft.local> Hi Anyone wanting to do this might also like to consider http://m0n0.ch/wall/index.php where software based on FreeBSD is already customised and dedicated to this task. Kind regards David Hingston Director Chequers Software Ltd Wellington, New Zealand. http://www.cheqsoft.com => MathsOwn - World Class => Break Reminder - Strategic Accuracy Software => Clipboard Express Pro - Time Creation => TimesOwn - World's Best Clock ____________________________________________________________ The information in this email and in any attachment (s) is confidential and may be legally privileged. If you are not the named addressee's) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify the sender immediately by return email and then delete the message from your computer. Thank you for your assistance. ____________________________________________________________ ----- Original Message ----- From: Jim Lawrence To: 'Access Developers discussion and problem solving' Sent: Sunday, October 16, 2005 8:20 PM Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall Excellent idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Saturday, October 15, 2005 10:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall What do you guys think of helping Frank put together a newsletter article on this for our newsletter? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sun Oct 16 04:53:51 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 13:53:51 +0400 Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group Program Managers Message-ID: <002b01c5d237$a60755e0$6401a8c0@fincomplex.spb.ru> "Hello! I'm Erik Rucker, and I'm the Group Program Manager for Microsoft Access." http://blogs.msdn.com/access/ "Greetings. My name is David Gainer, and I am the Group Program Manager for Microsoft Excel. " http://blogs.msdn.com/excel/ Shamil From shamil at users.mns.ru Sun Oct 16 06:47:14 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 15:47:14 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <005001c5d247$6244e380$6401a8c0@fincomplex.spb.ru> <<< > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx >>> Thank you, Gustav. I did look through it but I didn't yet decide will I give it a try ot not - MS DLINQ looks like a "killer" of most of O-R mapping tools and frameworks (I can be wrong). Here is a discussion on this topic: http://www.theserverside.net/news/thread.tss?thread_id=36866 with this exerpt about LINQ approach, which I think is correct: <<< This prudent, bottom-up approach contrasts sharply with coming up with a top-down approach where one attempts to design a universal framework that pretend to do everything : 1) Abstact any operations on every database in the world 2) Deal intelligently with data caching 3) Perform real-time optimizations on database access 4) integrates nicely with existing data stores 5) implements anti-gravitation 6) brings peace on earth 7) solves the global warming problem, etc. It is very hard, maybe impossible to come up with an universal framework that attempts to solve every DB problem on earth. Proof is that, in the past, whenever someone attempted to come up with such universal frameworks, either they either got burned badly, or the resulting framework was too slow compared with native database access, or they had to focus only specific products. The trouble usually starts when you want to implement efficient DB applications. I believe in an evolutionary approach on all these concepts. LINQ offers a nice framework for queries (you can add updates too on top of that - but my personal take is that's not the innovative part). >>> <<< ...though I have to admit that my patience is not to read all the comments carefully. >>> And I did find time to read them all today :) I think now these comments have almost everything to make the right design decision for a certain development task. A kind of the only resource a developer may need :) Here are some interesting IMO excertps: <<< "I'll define two kinds of stored procedures: a) (long-running) data-processing procedures and b) CRUD procedures." [snip] "Category a) is the category of which I think it has a reason to exist" [snip] "The other category, b), is IMHO the category of procedures which should be avoided." >>> <<< Does my vested interest have merits in this discussion? Ok, I'll tell you something. I funded the development of LLBLGen Pro myself, during 2003. It was suppose to be a stored procedure oriented toolkit, just as its predecessor is (did you know Peter, I did write a stored procedure generator which is used by tens of thousands of .NET developers worldwide?). During development it turned out this was not going to work, as tests with O/R mapper code showed it was far more productive and could live up the speed or was even faster. I had to throw away 3 months of self-funded work out the window. Because of that I almost didn't have enough funding to make the whole track. Do you really think I'm against procs just because I have vested interest? No, I learned the hard way it isn't the way to go in a lot of situations, or better formulated: today there are other ways for doing data-access than solely CRUD procs. And there are a lot of O/R mapper tools today, if people want to try one, or use one, they can pick a free one today and get busy and see for themselves. The funny thing is that this discussion is non-existing in the Java-world. I can give you 1 reason why: MS doesn't like O/R mapping. Don Box called it "the vietnam of Computer Science". Windows developers look at MS what to do in general. MS sells SqlServer, they want to keep DBA's happy, procs are a cornerstone of their marketing policy for SqlServer. An O/R mapper doesn't sell SqlServer, as most of the time you can flip a switch and your app works on Oracle. You quoted an Objectspaces marketing snippet to proof your point. When I read that quote I really knew you don't get it: MS marketing around Objectspaces has been flaky at best, because it was a technology which wasn't supporting the core business policy, and their positioning (which you quoted) is marketing blabla. Is marketing goo today's standard developers should do check with to see if they do their job OK? >>> <<< So, what if MS comes rumbling one day with ObjectSpaces that does not generate SPs to do its stuff? Will we forget about SPs? I bet we will, easy as peanuts! >>> <<< Entirely untrue; have you looked at how easy MS made automating CRUD operations via ADO.NET datasets, compared to the previous technologies (ODBC/OLE DB/ADO) that were available? MS, it appears, wants to let developers code CRUD in the DAL using their language of choice. >>> <<< I don't think you can make an exclusive decision, but you have to pick what best fits your needs, which isn't as easy as it sounds. I wish there was a clear cut right/wrong answer as it would make things a little easier. I really like the idea of the OR/M and PQs, but I am afraid of opening up complete table access to users. While most users wouldn't even know how to connect to a database from a 3rd party application, it would only take one to mess things up. If you are lucky enought to be able to lock down your app with an application role password, then I don't think it would be as bad. >>> Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, October 15, 2005 2:46 PM Subject: Re: [AccessD] Data interface The best way > Hi Shamil > > Thanks for these links, though I have to admit that my patience is not to read all the comments carefully. > > I still believe it can be a nightmare to maintain SPs - because you easily end up with incompatible versions of frontend(s) and database - thus these should be kept to basic features of the database and not for sophisticated business rules. But as always, it depends ... > > However, I noticed this link: > > http://www.mygenerationsoftware.com > > and its interesting dOOdads: > > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx > > "an elegant .NET architecture available in C# and VB.NET and capable of supporting any .NET managed data provider." > "Currently dOOdads are available for Microsoft SQL, Oracle, Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." > > And for the DNN (DotNetNuke) fans: > > http://scottschecter.net/Projects/dOOdadsOnDNN/tabid/84/Default.aspx > > /gustav <<< tail trimmed> From shamil at users.mns.ru Sun Oct 16 07:37:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 16:37:30 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <000f01c5d24e$86dfe7b0$6401a8c0@fincomplex.spb.ru> <<<<<<<<<< > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx > "an elegant .NET architecture available in C# and VB.NET and capable of > supporting any .NET managed data provider." > "Currently dOOdads are available for Microsoft SQL, Oracle, > Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." >>>>>>>>>> Gustav, Here is Ted Neward's a very strong statement on the subject "Object-relational technologies are the Vietnam of the Computer Science industry": http://www.netacademia.net/blogspace/petert/archives/001665.html <<< Obviously some people do have success with O-R layers; similarly, some governments have had success with fighting against insurgents and wars of independence. But far more often than not, it requires an investment of time, capital and energy that just doesn't pay out in the long run. Wars of insurgency are notoriously difficult things to finally put to rest, and object-relational technologies are similarly difficult. Preserving the "Objects and only Objects" Theory in your development methodologies is about as difficult as preserving the Domino Theory was in 1960. >>> So, I think I'd better stay away/be very careful with software like dOOdads - I'd use such software very limted way just to automate the things, which I anyway plan to develop manually but I'd not rely on them as the key development tools - the IT industry experience shows this very probably be a "dead end" race (and my own experience shows the same - I worked with a wise guy who developed advanced O-R mapping tool, yes, he made it not bad but at what cost! - I can't afford such high costs with such low end result Work on O-R mapping isn't complicated but it needs enormous resources to develop a valuable "semi-universal" end-result - maybe MS with LINQ will make it at last - but as you can find many people doubt it)... Shamil From accessd at shaw.ca Sun Oct 16 09:29:47 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 16 Oct 2005 07:29:47 -0700 Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group ProgramManagers In-Reply-To: <002b01c5d237$a60755e0$6401a8c0@fincomplex.spb.ru> Message-ID: <007901c5d25e$100355e0$017ba8c0@xpserver> Shamil; thanks for the info. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 16, 2005 2:54 AM To: !DBA-MAIN Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group ProgramManagers "Hello! I'm Erik Rucker, and I'm the Group Program Manager for Microsoft Access." http://blogs.msdn.com/access/ "Greetings. My name is David Gainer, and I am the Group Program Manager for Microsoft Excel. " http://blogs.msdn.com/excel/ Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 16 09:57:40 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 09:57:40 -0500 Subject: [AccessD] Call txt_AfterUpdate From a Standard Module Message-ID: <000001c5d261$f4ae2000$0200a8c0@danwaters> I'm going to add a calendar button adjacent to each date field throughout many forms. The code, a public function procedure, will be in a standard module (in a library). Each calendar button will call the function procedure using a call from the OnClick event procedure of the button. The call in the event procedure is this: =CalendarButton("frmName","txtName",True) The function is this: Public Function CalendarButton(stgForm As String, stgDate As String, blnAfterUpdate as Boolean) Dim frm As Form Dim txtDate As TextBox Set frm = Forms(stgForm) Set txtDate = frm.Controls(stgDate) If txtDate.Enabled = False or txtDate.Locked = True Then Set frm = Nothing Set txtDate = Nothing Exit Function End If txtDate = PopupCalendar(txtDate) '--- Call back to the control's AfterUpdate event for validation If blnAfterUpdate = True Then Call frm.txtDate_AfterUpdate <------------ This line doesn't work. Call frm.txtCustomerDueDate_AfterUpdate <-- Works, but doesn't help. End If If Not IsNull(txtDate) Then SendKeys Chr(9) '-- Tab Key End If End Function I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan From papparuff at comcast.net Sun Oct 16 10:08:13 2005 From: papparuff at comcast.net (John Ruff) Date: Sun, 16 Oct 2005 08:08:13 -0700 Subject: [AccessD] Laptop Crashed again Help In-Reply-To: <000301c5d20c$a5529360$0a01a8c0@desktop> Message-ID: <002601c5d263$6e542250$6501a8c0@DDMJWX41> Your motherboard may be going bad or the harddrive may be going bad. There's a couple of thing that you can try. 1. Try to start in Safe Mode. (I'm sure you have already done this.) 2. Unscrew the hard-drive from the case, remove it, reinstall it, and try to reboot. If you get it up and running, make backups of your important data as soon as possible. (The motherboard may be going out - DELL wants to charge me $483.00 for a new Inspiron 8000 motherboard - actually this is the price for a complete overhaul). 3. If your OS is WinXP, you may be able to perform an OS repair. See the following article "How to perform an in-place upgrade (reinstallation) of Windows XP" at http://support.microsoft.com/default.aspx?scid=kb;en-us;315341 4. If you don't have the DELL recovery disks and you can get the system up and running if one of the above steps works, go to Dell's URL at http://support.dell.com/support/topics/global.aspx/support/kb/en/document?c= us&cs=19&DN=1092188&l=en&s=dhs and follow the instructions for the "Dell OS Recovery CD Creation and Manual Operating System Reinstall". Good luck. John V. Ruff - The Eternal Optimist J "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 15, 2005 8:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Laptop Crashed again Help I got the infamous Blue Screen this morning. Dell Inspiron 8200. 512 megs 40 gigs Tried to reboot. It said" No, I do not want to" It continued "Windows could not start because the following file is missing or corrupt. \windows\system32\config\system. I got to a dos start up screen. Tried last known good. It said no( Lippy little laptop.} Ran repair console chkdsk /r /f at fifty percent, it gave up and said multiple non repairable errors. Thoughts on hardware or software issues to look at. This was a new hard drive about a year or two ago. Just spent $158 for a new battery. Any system test to see if this good money going into a bad machine? Thanks Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sun Oct 16 10:36:10 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 16 Oct 2005 11:36:10 -0400 Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group ProgramManagers References: <002b01c5d237$a60755e0$6401a8c0@fincomplex.spb.ru> Message-ID: <003001c5d267$5533a6c0$6101a8c0@JISREGISTRATION.local> ...thanks for the link Shamil ...would be sweet if real tranaction processing made it into the new version. William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "!DBA-MAIN" Sent: Sunday, October 16, 2005 5:53 AM Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group ProgramManagers > "Hello! I'm Erik Rucker, and I'm the Group Program Manager for Microsoft > Access." > http://blogs.msdn.com/access/ > > "Greetings. My name is David Gainer, and I am the Group Program Manager > for > Microsoft Excel. " > http://blogs.msdn.com/excel/ > > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Sun Oct 16 11:18:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 11:18:05 -0500 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO 3.60 Message-ID: <000001c5d26d$30ae6190$0200a8c0@danwaters> I was reading the comments in the Access 12 blog, and came across this information. Does anyone have experience with this issue? Under what situations does it need to be dealt with? My system uses AXP in a split FE/BE configuration. http://support.microsoft.com/?id=306435 Thanks, Dan From jwcolby at ColbyConsulting.com Sun Oct 16 12:21:02 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sun, 16 Oct 2005 13:21:02 -0400 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 In-Reply-To: <000001c5d26d$30ae6190$0200a8c0@danwaters> Message-ID: <000601c5d275$fef17210$667aa8c0@ColbyM6805> Boy is THAT just confusing as hell. Does that mean that even if some users have DAO03.6 if SOMEONE (the first user?) opens it with row level locking all people, whether they have DAO3.6, will use row level locking? Does it mean that even if you have 4.0, if the first user does NOT specifically opens it using row level locking, then it opens without and no one will be able to use row level locking? It DOES appear to say that if the first user in the DB does NOT use row level locking then nobody can use it. Is it just me, or is that article less than helpful? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, October 16, 2005 12:18 PM To: AccessD Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 I was reading the comments in the Access 12 blog, and came across this information. Does anyone have experience with this issue? Under what situations does it need to be dealt with? My system uses AXP in a split FE/BE configuration. http://support.microsoft.com/?id=306435 Thanks, Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 16 12:38:43 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 12:38:43 -0500 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 In-Reply-To: <8198933.1129482494295.JavaMail.root@sniper21> Message-ID: <000001c5d278$7464aab0$0200a8c0@danwaters> LESS Than!! The only thing I can think of is to go to a client to do a test to see what happens. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Sunday, October 16, 2005 12:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 Boy is THAT just confusing as hell. Does that mean that even if some users have DAO03.6 if SOMEONE (the first user?) opens it with row level locking all people, whether they have DAO3.6, will use row level locking? Does it mean that even if you have 4.0, if the first user does NOT specifically opens it using row level locking, then it opens without and no one will be able to use row level locking? It DOES appear to say that if the first user in the DB does NOT use row level locking then nobody can use it. Is it just me, or is that article less than helpful? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, October 16, 2005 12:18 PM To: AccessD Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 I was reading the comments in the Access 12 blog, and came across this information. Does anyone have experience with this issue? Under what situations does it need to be dealt with? My system uses AXP in a split FE/BE configuration. http://support.microsoft.com/?id=306435 Thanks, Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sun Oct 16 14:36:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 23:36:30 +0400 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 References: <000601c5d275$fef17210$667aa8c0@ColbyM6805> Message-ID: <003a01c5d288$f70b5f30$6401a8c0@fincomplex.spb.ru> John, It's a feature by design as stated here "Page-Level Locking vs. Record-Level Locking": http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odeopg/html/deovrpagelevellockingvsrecordlevellocking.asp Using DAO you cannot set database locking mode at row level - and article shows a workaround - you can use ADO to create ADO connection and set locking mode at row level. Then all the DAO code will work with row level mode until database is closed. Additionaly if you work with ADO only you can use "Jet OLEDB:Locking Granularity" property to have some tables opened with page-level locking and others with row-level mode locking. This property is ignored unless the Jet OLEDB:Database Locking Mode property is set to 1 (row-level locking). There is no way to open a table/recordset with page level locking from DAO if database was first opened via ADO connection with row level locking. Looks clear how it should work from their description and sample code. But I must say I have never used it that way. Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 16, 2005 9:21 PM Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 > Boy is THAT just confusing as hell. > > Does that mean that even if some users have DAO03.6 if SOMEONE (the first > user?) opens it with row level locking all people, whether they have DAO3.6, > will use row level locking? > > Does it mean that even if you have 4.0, if the first user does NOT > specifically opens it using row level locking, then it opens without and no > one will be able to use row level locking? > > It DOES appear to say that if the first user in the DB does NOT use row > level locking then nobody can use it. > > Is it just me, or is that article less than helpful? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, October 16, 2005 12:18 PM > To: AccessD > Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with > DAO3.60 > > > I was reading the comments in the Access 12 blog, and came across this > information. Does anyone have experience with this issue? Under what > situations does it need to be dealt with? > > My system uses AXP in a split FE/BE configuration. > > http://support.microsoft.com/?id=306435 > > Thanks, > Dan > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 16 15:11:53 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 15:11:53 -0500 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available withDAO3.60 In-Reply-To: <17778114.1129491513853.JavaMail.root@sniper19> Message-ID: <000001c5d28d$da0b9120$0200a8c0@danwaters> Shamil, My system is a straightforward FE/BE configuration where several FE's have links to the tables in the BE file. I've already set the FE & BE to record-level locking in Tools | Options | Advanced and the option 'Open Databases Using Record-Level Locking' is checked. Is checking this option actually ineffective? Thanks, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 16, 2005 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available withDAO3.60 John, It's a feature by design as stated here "Page-Level Locking vs. Record-Level Locking": http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odeopg/html /deovrpagelevellockingvsrecordlevellocking.asp Using DAO you cannot set database locking mode at row level - and article shows a workaround - you can use ADO to create ADO connection and set locking mode at row level. Then all the DAO code will work with row level mode until database is closed. Additionaly if you work with ADO only you can use "Jet OLEDB:Locking Granularity" property to have some tables opened with page-level locking and others with row-level mode locking. This property is ignored unless the Jet OLEDB:Database Locking Mode property is set to 1 (row-level locking). There is no way to open a table/recordset with page level locking from DAO if database was first opened via ADO connection with row level locking. Looks clear how it should work from their description and sample code. But I must say I have never used it that way. Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 16, 2005 9:21 PM Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 > Boy is THAT just confusing as hell. > > Does that mean that even if some users have DAO03.6 if SOMEONE (the first > user?) opens it with row level locking all people, whether they have DAO3.6, > will use row level locking? > > Does it mean that even if you have 4.0, if the first user does NOT > specifically opens it using row level locking, then it opens without and no > one will be able to use row level locking? > > It DOES appear to say that if the first user in the DB does NOT use row > level locking then nobody can use it. > > Is it just me, or is that article less than helpful? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, October 16, 2005 12:18 PM > To: AccessD > Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with > DAO3.60 > > > I was reading the comments in the Access 12 blog, and came across this > information. Does anyone have experience with this issue? Under what > situations does it need to be dealt with? > > My system uses AXP in a split FE/BE configuration. > > http://support.microsoft.com/?id=306435 > > Thanks, > Dan > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Oct 16 15:19:14 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 16 Oct 2005 22:19:14 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Shamil Thanks for your snippets and thoughts. I think these fellows hit the point. I would like to believe in the value of full O/R mapping - and maybe LINQ will make this come true. But when I study my latest task (with an Jet backend, not SQL Server) with some quite complicated statistical calculations using dozens of highly optimized queries - which I probably would not have been able to construct without the query designer of Access - I have a hard time imagining how this should have been accomplished in pure OO code without running at a crawl ... unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. But I would like to be positively surprised ... /gustav >>> shamil at users.mns.ru 16-10-2005 14:37 >>> <<<<<<<<<< > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx > "an elegant .NET architecture available in C# and VB.NET and capable of > supporting any .NET managed data provider." > "Currently dOOdads are available for Microsoft SQL, Oracle, > Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." >>>>>>>>>> Gustav, Here is Ted Neward's a very strong statement on the subject "Object-relational technologies are the Vietnam of the Computer Science industry": http://www.netacademia.net/blogspace/petert/archives/001665.html <<< Obviously some people do have success with O-R layers; similarly, some governments have had success with fighting against insurgents and wars of independence. But far more often than not, it requires an investment of time, capital and energy that just doesn't pay out in the long run. Wars of insurgency are notoriously difficult things to finally put to rest, and object-relational technologies are similarly difficult. Preserving the "Objects and only Objects" Theory in your development methodologies is about as difficult as preserving the Domino Theory was in 1960. >>> So, I think I'd better stay away/be very careful with software like dOOdads - I'd use such software very limted way just to automate the things, which I anyway plan to develop manually but I'd not rely on them as the key development tools - the IT industry experience shows this very probably be a "dead end" race (and my own experience shows the same - I worked with a wise guy who developed advanced O-R mapping tool, yes, he made it not bad but at what cost! - I can't afford such high costs with such low end result Work on O-R mapping isn't complicated but it needs enormous resources to develop a valuable "semi-universal" end-result - maybe MS with LINQ will make it at last - but as you can find many people doubt it)... Shamil From Gustav at cactus.dk Sun Oct 16 15:45:34 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 16 Oct 2005 22:45:34 +0200 Subject: [AccessD] Alternative to Access (sort of) Message-ID: Hi all Just noticed that Rekall from TheKompany.com - which was left as open-source for Linux only: http://www.rekallrevealed.org with no Win32 binaries, also exist as a commercial "sister" product: http://www.totalrekall.co.uk where versions for both Win32, Linux, and MacXOS are available. Even if this is quite cheap, the old version 2.2 is for download for free if you register at the site (no charge). Rekall is not at all Access, but for some tiny app which should be cross-platform it might fill in. But no VB(A), it's Python ... /gustav From pieter.janssens.lists at chello.be Sun Oct 16 18:07:51 2005 From: pieter.janssens.lists at chello.be (Pieter Janssens) Date: Mon, 17 Oct 2005 01:07:51 +0200 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <0INR00A1PCYIYP@l-daemon> Message-ID: <20051016230606.VSQH1323.amsfep20-int.chello.nl@darwin> looks like base64. the block can be anything from a windows executable to sql injection code. you could use the online conversion tool at http://www.hcidata.co.uk/base64.htm to check my hypothesis. greetings, pieter. -----Original Message----- From: Jim Lawrence Subject: OT Question that will be simple for those that know Within many web pages there is starting to appear a piece of code which is curious. It looks like encrypted imbedded coding created by some obfuscating tool. The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... and so on for, sometime 1000 plus characters. I would look it up on the internet but do not know even how to describe it. Is this the result of an obfuscating process for ASPX pages? Yes, I am designing in ASP.Net and no, I have never run across this before. (The disadvantages of being self-taught.) TIA Jim From shamil at users.mns.ru Sun Oct 16 18:13:27 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 17 Oct 2005 03:13:27 +0400 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not AvailablewithDAO3.60 References: <000001c5d28d$da0b9120$0200a8c0@danwaters> Message-ID: <003e01c5d2a8$7c334280$6401a8c0@fincomplex.spb.ru> <<< Is checking this option actually ineffective? >>> Dan, It's effective as far as I can understand. KB article talks about DAO 3.6 being unable to "switch on/off" this feature. But DAO 3.6 uses Jet Engine 4.0 when it's installed (as in your case). So the option is effective IMO. But I have no/can't find reliable tests. Shamil ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 17, 2005 12:11 AM Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not AvailablewithDAO3.60 > Shamil, > > My system is a straightforward FE/BE configuration where several FE's have > links to the tables in the BE file. > > I've already set the FE & BE to record-level locking in Tools | Options | > Advanced and the option 'Open Databases Using Record-Level Locking' is > checked. Is checking this option actually ineffective? > > Thanks, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Sunday, October 16, 2005 2:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available > withDAO3.60 > > John, > > It's a feature by design as stated here "Page-Level Locking vs. Record-Level > Locking": > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odeopg/html > /deovrpagelevellockingvsrecordlevellocking.asp > > Using DAO you cannot set database locking mode at row level - and article > shows a workaround - you can use ADO to create ADO connection and set > locking mode at row level. Then all the DAO code will work with row level > mode until database is closed. > > Additionaly if you work with ADO only you can use "Jet OLEDB:Locking > Granularity" property to have some tables opened with page-level locking and > others with row-level mode locking. This property is ignored unless the Jet > OLEDB:Database Locking Mode property is set to 1 (row-level locking). There > is no way to open a table/recordset with page level locking from DAO if > database was first opened via ADO connection with row level locking. > > Looks clear how it should work from their description and sample code. > But I must say I have never used it that way. > > Shamil > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 16, 2005 9:21 PM > Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with > DAO3.60 > > > > Boy is THAT just confusing as hell. > > > > Does that mean that even if some users have DAO03.6 if SOMEONE (the first > > user?) opens it with row level locking all people, whether they have > DAO3.6, > > will use row level locking? > > > > Does it mean that even if you have 4.0, if the first user does NOT > > specifically opens it using row level locking, then it opens without and > no > > one will be able to use row level locking? > > > > It DOES appear to say that if the first user in the DB does NOT use row > > level locking then nobody can use it. > > > > Is it just me, or is that article less than helpful? > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > > Sent: Sunday, October 16, 2005 12:18 PM > > To: AccessD > > Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with > > DAO3.60 > > > > > > I was reading the comments in the Access 12 blog, and came across this > > information. Does anyone have experience with this issue? Under what > > situations does it need to be dealt with? > > > > My system uses AXP in a split FE/BE configuration. > > > > http://support.microsoft.com/?id=306435 > > > > Thanks, > > Dan > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sun Oct 16 18:22:26 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 17 Oct 2005 03:22:26 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <003f01c5d2a8$7c606d00$6401a8c0@fincomplex.spb.ru> Gustav, But as far as I understand well thought through and properly applied O/R mapping doesn't reject "dozens of highly optimized queries" - not at all. With active O/R mapping (including LINQ) Queries/SPs will continue to do their "dirty&heavy duty" optimized and effective work and the results of this work will be mapped on object level by O/R mapping and if needed these results will be polished on this level and then transmitted to the presentation/visual level/layer/tier... <<< unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. >>> Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that nowadays "pure object DBDMs/engines" can't be as effective as relational databases are for real commercial hundred gygabytes/terabytes size databases. I mean they can be as effective or more for some special, well tuned cases or for the cases when the whole object database is loaded in memory. But the latter effect is a "deja vue" from "good old" Hierarchical data model and Network(CODASYL) data model based DBMSs times. But even in memory processing for ad-hoc "chaotic" queries for object DBMSs is expected (here) to be considerably slower that similar querying of in memory relational DBMS's database because nowadays relational databases use so advanced database query processing optimization. Yes, as far as I may guess there are many tasks and real applications in many business areas where pure object DBMSs will be OK and effective used for development even these days but this still will be a limited(/niche) use comparing with modern relational DBMSs broad and effective applicability.... There is no miracles in this World (or I'm missing them?) - the only way for effective data processing/querying this (IT) industry and computer science found for the last 40+ years is by: - 1. (fine) tuning physical location/placement of the data to be queried to make it located as effective/close as possible for the set of queries executed more often; - 2. introducing as much as possible parallelism in query execution; - 3. creating auxiliary indexing data structures; - 4. putting/(pre-)loading as much as possible data to be processed into speedy RAM. That's all? And the numbering above is made according to how these query optimization techniques/mainstream ideas were emering/evoloving: 1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer memory was limited, both external and RAM, CPUs were rather slow, to build multi-processor units was a very expensive idea - so the only commercially approved optimization was #1. 2nd: First supercomputers/multi-CPU computers appeared, more speedy memory become reality - commercially approved idea of parallel query execution (#2) arrived but got limited implementation because of not enough experience and still expensive hardware; 3rd: Relational model investigation resulted in commercially approved RDBMs - the only (/the main way) to optimize query execution in RDBMS is by using indexes - #3 (together with #2 - still limited by hardware) and #1 are in use in RDBMS; 4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream together with ideas #3 and #2(multi-core processors) and #1 is still here and even getting more use in such advanced modern DBMS like MS SQL 2005... I think that the times of the broad and effective use of pure object DBMSs are not yet arrived. They should come of course sooner or later - and it may happen that MS evolutional approach will bring the best results sooner than the other "revolutionary" approaches. I can be wrong... I did make a project several years ago(MS Access/mdb), which have had a lot of complicated queries, with many indexes on the base tables optimized for these queries etc. - we found it slow (not speedy enough for the target audience). Then most of the queries were dropped and code was rewritten to (pre)load most of data in memory - it started to work a matter of magnitude or more faster. The database had not that much tables - around 15 but the total quantity of test records was about half a million. This real life story above shows how far superior is in memory data processing over modern relational DBMSs query processing(I think MS Access is a good representative case of relational DBMS here in this story because database wasn't big). But as I noted above unordered "chaotic" in memory processing for ad-hoc queries for a general case promise to be (much) slower than similar ad-hoc querying of an advanced modern relational DBMSs provided most of the data to query is cached in memory by RDBMS engine and modern query optimization techniques are used by this engine.... And I think that nowadays "true object oriented DBMSs" use these "tricks": - they in their tests do not use commercail size (terabytes) databases and/or - they are used in a very specialized business areas/use case scenarios where physical data structures are optimized to have most of the data preloaded(cached) during query processing and/or processed in parallel.... Am I totally wrong? Where can I find real pure ODBMSs tests results as the ones existing for relational DBMSs - http://www.tpc.org/? No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts are enough to make decision to use OODBMS or RDBMS for a certain business area/task - I'd use the one best suited to solve/develop certain tasks/projects as effective and as quickly as possible... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 12:19 AM Subject: Re: [AccessD] Data interface The best way Hi Shamil Thanks for your snippets and thoughts. I think these fellows hit the point. I would like to believe in the value of full O/R mapping - and maybe LINQ will make this come true. But when I study my latest task (with an Jet backend, not SQL Server) with some quite complicated statistical calculations using dozens of highly optimized queries - which I probably would not have been able to construct without the query designer of Access - I have a hard time imagining how this should have been accomplished in pure OO code without running at a crawl ... unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. But I would like to be positively surprised ... /gustav >>> shamil at users.mns.ru 16-10-2005 14:37 >>> <<<<<<<<<< > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx > "an elegant .NET architecture available in C# and VB.NET and capable of > supporting any .NET managed data provider." > "Currently dOOdads are available for Microsoft SQL, Oracle, > Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." >>>>>>>>>> Gustav, Here is Ted Neward's a very strong statement on the subject "Object-relational technologies are the Vietnam of the Computer Science industry": http://www.netacademia.net/blogspace/petert/archives/001665.html <<< Obviously some people do have success with O-R layers; similarly, some governments have had success with fighting against insurgents and wars of independence. But far more often than not, it requires an investment of time, capital and energy that just doesn't pay out in the long run. Wars of insurgency are notoriously difficult things to finally put to rest, and object-relational technologies are similarly difficult. Preserving the "Objects and only Objects" Theory in your development methodologies is about as difficult as preserving the Domino Theory was in 1960. >>> So, I think I'd better stay away/be very careful with software like dOOdads - I'd use such software very limted way just to automate the things, which I anyway plan to develop manually but I'd not rely on them as the key development tools - the IT industry experience shows this very probably be a "dead end" race (and my own experience shows the same - I worked with a wise guy who developed advanced O-R mapping tool, yes, he made it not bad but at what cost! - I can't afford such high costs with such low end result Work on O-R mapping isn't complicated but it needs enormous resources to develop a valuable "semi-universal" end-result - maybe MS with LINQ will make it at last - but as you can find many people doubt it)... Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 16 22:29:06 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 22:29:06 -0500 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is NotAvailablewithDAO3.60 In-Reply-To: <22604439.1129503947963.JavaMail.root@sniper21> Message-ID: <000001c5d2ca$efbfd340$0200a8c0@danwaters> Thanks Shamil, That helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 16, 2005 6:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is NotAvailablewithDAO3.60 <<< Is checking this option actually ineffective? >>> Dan, It's effective as far as I can understand. KB article talks about DAO 3.6 being unable to "switch on/off" this feature. But DAO 3.6 uses Jet Engine 4.0 when it's installed (as in your case). So the option is effective IMO. But I have no/can't find reliable tests. Shamil From jwcolby at ColbyConsulting.com Sun Oct 16 22:42:24 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sun, 16 Oct 2005 23:42:24 -0400 Subject: [AccessD] SQL Server - User not associated with a trusted connection Message-ID: <006101c5d2cc$ccd723e0$667aa8c0@ColbyM6805> What does this mean? I am struggling to get a DotNetNuke web site running on some system at my home office. I have IIS set up and running, SQL Server set up and running, SV 2003 Installed and running. I followed the directions in the DotNetNuke book which has me set up a SQL Server database, a DotNetNukeUser user, using SQL Server logon (which MAY be the issue). I created the database, the user, the password and told the DotNetNuke web.Config all this info but when the ASP install script runs and tries to access SQL Server I get this "not associated with a trusted connection" error from SQL Server for this user. I believe that when I set up SQL Server I told it to use Windows Login. Is it possible to use either one independent of the other. IOW, can I use a specified SQL Server user / password even though I told the install to use Windows login authentication? If not, what do I do? Set up a DotNetNukeUser user in Windows and then pass in that Windows user and it's password in the connection string? I am sooooo close I can taste it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Sun Oct 16 22:55:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sun, 16 Oct 2005 23:55:06 -0400 Subject: [AccessD] SQL Server - User not associated with a trusted connection In-Reply-To: <006101c5d2cc$ccd723e0$667aa8c0@ColbyM6805> Message-ID: <006e01c5d2ce$926e8660$667aa8c0@ColbyM6805> Never mind, I got it. Wooohooo, I have DNN running on one of my machines now, with VS 2003 as well. Not my Laptop Dev machine but at least I can go to work now. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Sunday, October 16, 2005 11:42 PM To: dba-sqlserver at databaseadvisors.com Cc: dba-vb at databaseadvisors.com; 'Access Developers discussion and problemsolving' Subject: [AccessD] SQL Server - User not associated with a trusted connection What does this mean? I am struggling to get a DotNetNuke web site running on some system at my home office. I have IIS set up and running, SQL Server set up and running, SV 2003 Installed and running. I followed the directions in the DotNetNuke book which has me set up a SQL Server database, a DotNetNukeUser user, using SQL Server logon (which MAY be the issue). I created the database, the user, the password and told the DotNetNuke web.Config all this info but when the ASP install script runs and tries to access SQL Server I get this "not associated with a trusted connection" error from SQL Server for this user. I believe that when I set up SQL Server I told it to use Windows Login. Is it possible to use either one independent of the other. IOW, can I use a specified SQL Server user / password even though I told the install to use Windows login authentication? If not, what do I do? Set up a DotNetNukeUser user in Windows and then pass in that Windows user and it's password in the connection string? I am sooooo close I can taste it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Oct 17 09:27:17 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 17 Oct 2005 09:27:17 -0500 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <43516C10.29453.D0BDA71@stuart.lexacorp.com.pg> Message-ID: I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need to > > come up with a system that will pull data from multiple tables, format > > the data, name fields and export said data out in a very specific fixed > > width txt file. > > > > The only thing to change in Seth's code is how to build the output string > since you need fixed width. > > The way I build fixed width strings for output is something like this: > > Function Pad(TextString,StringLength) a String > 'outputs a fixed length string > 'pads short strings with spaces and truncates long strings > Pad = Left$(TextString & Space$(StringLength),StringLength) > End Function > > ....... > strOutput = Space$(intTotalStringLength) > 'Insert a Text field > Mid$(strOutput,1) = Pad(!Field1,10) > 'Insert a Numeric field > Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) > .... > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at ColbyConsulting.com Mon Oct 17 09:49:54 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 10:49:54 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: Message-ID: <000701c5d32a$0c14e3f0$667aa8c0@ColbyM6805> I do the same thing, only I have a class pair that does it. I have a parent/child table pair - the name of the query or table that the data is coming from, then a table of the fields for that query/table. The field table has fields for the ID of the parent query/table record, name of the field being formatted and the formatting string. I use the formatting string to just coerce the data into a formatted string using format$(data, format$). The controller class is passed the name of the query so that it opens the query as a recordset. It then opens the appropriate data set in the child Fields table, and reads out the fields into field classes. Each field class "knows" how to format the data since each field class instance is fed all of the data from one of the field records that you mention - the field name and the format string. Then the controller class just steps through the recordset, calling the appropriate field class instance and telling it to format the data and return the string. The controller class appends the strings returned from the field classes and writes the finished string out to the text file. As you can probably guess, mine is tied to my framework and therefore isn't easily extractable, however the class pair concept is dead easy to implement. If AccessD would like to get together a development team to work on this we could build a little library that implements the package and put it up on AccessD's (and my) site for download. I can put up a forum on my site to use for the dev team. If anyone wants to do this raise your hand. If we have sufficient interest I would be willing to lead the team (if you want). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt file. > > From pcs at azizaz.com Mon Oct 17 09:55:00 2005 From: pcs at azizaz.com (Borge Hansen) Date: Tue, 18 Oct 2005 00:55:00 +1000 Subject: [AccessD] Application.CurrentProject misbehaving References: <006101c5d2cc$ccd723e0$667aa8c0@ColbyM6805> Message-ID: <001001c5d32a$bf634b90$fa10a8c0@Albatross> Running Windows XP SP1 Access (OfficeXP SP3) (Coexists with Access97) Jet4 SP8 Cannot establish any ADO connection ..... Access (or whatever is in control here) does not recognize the CurrentProject..... The following codebit from Getz' Access2002 CH3.MDB keeps crashing on the line starting rst.Open "Select.... ******************* Public Function Load() As Boolean Dim rst As ADODB.Recordset On Error GoTo HandleErrors Set rst = New ADODB.Recordset 'Crashes on the following line rst.Open "Select * from tblCats WHERE ID = " & Me.ID, Application.CurrentProject.Connection With rst If Not .EOF Then mstrName = !Name mdatBirthdate = !Birthdate mstrSex = !Sex mstrBreed = !Breed mstrColor = !Color mfNeutered = !Neutered mlngID = !ID End If End With Load = True ExitHere: If Not rst Is Nothing Then rst.Close Set rst = Nothing Exit Function HandleErrors: Load = False MsgBox "Error Here: " & Err.Number & ": " & Err.Description Resume ExitHere End Function Note: The code as is crashes Access because of the poor error handling, **************** I have repaired, re-installed, removed and installed from scratch OfficeXP Professional - no improvement... Runnig the same code on another machine with Access2003 installed (and no other Office version) with no problem.... What does it take to run it on the other machine with AccessXP installed??? As I said, I've repaired, re-installed, then removed all of OfficeXP and installed from scratch.... Funny enough, after that it still says SP3 on the About Screen...... All references when loading CH3.mdb are ticked.... I am at the end of the rope.... HELP! /borge From cyx5 at cdc.gov Mon Oct 17 11:55:03 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 17 Oct 2005 12:55:03 -0400 Subject: [AccessD] Pass, Fail or Null Message-ID: I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From pcs at azizaz.com Mon Oct 17 12:17:51 2005 From: pcs at azizaz.com (Borge Hansen) Date: Tue, 18 Oct 2005 03:17:51 +1000 Subject: [AccessD] Application.CurrentProject misbehaving References: <006101c5d2cc$ccd723e0$667aa8c0@ColbyM6805> <001001c5d32a$bf634b90$fa10a8c0@Albatross> Message-ID: <000901c5d33e$b48f9930$fa10a8c0@Albatross> ----- Original Message ----- > Cannot establish any ADO connection ..... Access (or whatever is in control > here) does not recognize the CurrentProject..... Problem SOLVED The cause was one or more corrupt or damaged files of the Microsoft Data Access Components..... And you can re-install Access over and over again and it will not help you one bit.... Only persistence, persistence; some googling and too many hours later: When highlighting CurrentProject in the VBA code and clicking F1 for help I would get the following message: "msohelp.exe - Entry Point Not Found - The procedure entry point GetIUMS could not be located in the dynamic link library MSDART.DLL" googling helped me find that perhaps I was dealing with some corrupt files forming part of the MDAC package (Microsoft Data Access Components).... At least two Microsoft KB articles deals with this message about the procedure entry point.... For example KB842014 : ---------------- ..... The procedure entry point_GetIUMS at 4 could not be located in the dynamic link library MSDART.DLL CAUSE This behavior may occur when all the following conditions are true: This behavior may occur when all of the following conditions are true: .Microsoft Windows XP has been reinstalled back to its original (released) version. .The Microsoft Data Access Components (MDAC) components are damaged. .The Msdart.dll file is damaged. RESOLUTION To resolve this behavior, download and install Microsoft Data Access Components (MDAC) 2.8 or later. ---------------- I had by then downloaded the MDAC Component Checker to see what kind of beast was installed on the system (I had MDAC 2.7 SP1 with two mismatched files) - Link for the download for the Component Checker: http://www.microsoft.com/downloads/details.aspx?FamilyID=8F0A8DF6-4A21-4B43-BF53-14332EF092C9&displayLang=en Decided to download and install the MDAC 2.8 RTM Problem solved! /borge From jwcolby at ColbyConsulting.com Mon Oct 17 12:20:19 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 13:20:19 -0400 Subject: [AccessD] Pass, Fail or Null In-Reply-To: Message-ID: <002a01c5d33f$0fa6d7c0$667aa8c0@ColbyM6805> Hmmm... Assuming Pass is true (-1) Fail is false (0) And null is null If you multiplied all the results, true/false and null... Any null would cause a null for the whole result set At the point where there are no more nulls, any fail would cause a fail (0 times anything = 0) All passes would cause a true (either a -1 or a +1, depending on the number of tests) I know that MATH operations cause the null to win. Logical AND also causes the Null to win 1 AND 1 AND 1 = 1 ( or TRUE AND TRUE AND TRUE) 1 AND 1 AND 0 = 0 1 AND 1 AND Null = Null If you don't care that you have to wait for the entire set to be graded before a FAIL can be seen, then this kind of thing works. If you need to know that a FAIL occurred even when there are still Nulls out there you will need to do more processing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 17, 2005 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Oct 17 12:21:39 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 17 Oct 2005 12:21:39 -0500 Subject: [AccessD] Pass, Fail or Null In-Reply-To: <23636229.1129568956012.JavaMail.root@sniper17> Message-ID: <000001c5d33f$3ce1ab70$0200a8c0@danwaters> Karen, In your case, null has a distinct meaning --> not tested. Could you use an option group? It's default value (not tested) can be set to zero, True can be = 1, and False can be = 2. Does this help? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 17, 2005 11:55 AM To: Access Developers discussion and problem solving Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 17 12:35:51 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 13:35:51 -0400 Subject: [AccessD] Application.CurrentProject misbehaving In-Reply-To: <000901c5d33e$b48f9930$fa10a8c0@Albatross> Message-ID: <002b01c5d341$37e13c10$667aa8c0@ColbyM6805> LOL, persistence wins again. What a PITA though! Good job finding it! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 17, 2005 1:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Application.CurrentProject misbehaving ----- Original Message ----- > Cannot establish any ADO connection ..... Access (or whatever is in control > here) does not recognize the CurrentProject..... Problem SOLVED The cause was one or more corrupt or damaged files of the Microsoft Data Access Components..... And you can re-install Access over and over again and it will not help you one bit.... Only persistence, persistence; some googling and too many hours later: When highlighting CurrentProject in the VBA code and clicking F1 for help I would get the following message: "msohelp.exe - Entry Point Not Found - The procedure entry point GetIUMS could not be located in the dynamic link library MSDART.DLL" googling helped me find that perhaps I was dealing with some corrupt files forming part of the MDAC package (Microsoft Data Access Components).... At least two Microsoft KB articles deals with this message about the procedure entry point.... For example KB842014 : ---------------- ..... The procedure entry point_GetIUMS at 4 could not be located in the dynamic link library MSDART.DLL CAUSE This behavior may occur when all the following conditions are true: This behavior may occur when all of the following conditions are true: .Microsoft Windows XP has been reinstalled back to its original (released) version. .The Microsoft Data Access Components (MDAC) components are damaged. .The Msdart.dll file is damaged. RESOLUTION To resolve this behavior, download and install Microsoft Data Access Components (MDAC) 2.8 or later. ---------------- I had by then downloaded the MDAC Component Checker to see what kind of beast was installed on the system (I had MDAC 2.7 SP1 with two mismatched files) - Link for the download for the Component Checker: http://www.microsoft.com/downloads/details.aspx?FamilyID=8F0A8DF6-4A21-4B43- BF53-14332EF092C9&displayLang=en Decided to download and install the MDAC 2.8 RTM Problem solved! /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Oct 17 13:01:00 2005 From: john at winhaven.net (John Bartow) Date: Mon, 17 Oct 2005 13:01:00 -0500 Subject: [AccessD] Paging Roz Clarke Message-ID: <001a01c5d344$bbbb5360$6e01a8c0@ScuzzPaq> Paging Roz Clarke. Are you still around? John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 17 13:06:22 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 14:06:22 -0400 Subject: [AccessD] Paging Roz Clarke In-Reply-To: <001a01c5d344$bbbb5360$6e01a8c0@ScuzzPaq> Message-ID: <002e01c5d345$7ee8fe50$667aa8c0@ColbyM6805> She is still around. She left that company and I think they want the emails to her old account stopped. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, October 17, 2005 2:01 PM To: _DBA-Access Subject: [AccessD] Paging Roz Clarke Paging Roz Clarke. Are you still around? John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com 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 touchtelindia.net Mon Oct 17 13:47:26 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Tue, 18 Oct 2005 00:17:26 +0530 Subject: [AccessD] Pass, Fail or Null References: Message-ID: <007c01c5d34b$5423afc0$cb0365cb@winxp> Karen, Apparently, you are seeking the following display in a calculated text box on the main form, depending upon the status of records in subform. (a) Failed - If even one of the records has zero as result. (In addition, there may be many other records where result is Null or other than zero). (b) Passed - If no record has zero result, but at least one or more records carry a definite value for the result, other than zero. (In addition, there may be many other records where result is Null). (c) No Result Posted - If all the records carry Null as result. The expression given below, in a text box on the main form, should be able to get you the desired outcome. "Result" is the name of field holding the result (0 for failed, other than 0 for passed and Null for no posting). "T_Test" is the assumed name of table. = IIf(DCount("Result","T_Test","Result = 0") > 0, "Failed", IIf(DCount("Result","T_Test","Not IsNull(Result)") > 0, "Passed", "No Result Posted")) Note - (a) If it is a linked subform, criteria string in the expression given above should be suitably modified so as to include the linked child field as well. (b) In form's AfterUpdate event for the subform, put the following statement Me.Parent.Recalc Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Nicholson, Karen To: Access Developers discussion and problem solving Sent: Monday, October 17, 2005 22:25 Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From john at winhaven.net Mon Oct 17 14:23:50 2005 From: john at winhaven.net (John Bartow) Date: Mon, 17 Oct 2005 14:23:50 -0500 Subject: [AccessD] Paging Roz Clarke In-Reply-To: <002e01c5d345$7ee8fe50$667aa8c0@ColbyM6805> Message-ID: <002901c5d350$4df148b0$6e01a8c0@ScuzzPaq> If anyone hears from her let her know that we put a hold on email delivery to that address via a request from the company. She can log in using that account and globally change her address and delivery options. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 17, 2005 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Paging Roz Clarke She is still around. She left that company and I think they want the emails to her old account stopped. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, October 17, 2005 2:01 PM To: _DBA-Access Subject: [AccessD] Paging Roz Clarke Paging Roz Clarke. Are you still around? John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Mon Oct 17 14:26:44 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 17 Oct 2005 21:26:44 +0200 Subject: [AccessD] datatype mismatch in query Message-ID: <001a01c5d350$bae659b0$4001a8c0@laptop> Hello All, i am using the following append-query to update a table (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is linked to this database: SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf FROM DEBSTM IN 'C:\ThisDatabase.mdb' WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM tblDebiteurAlgemeen); When using this query, i get an error. Datatype mismatch. This is because field DebID is Number and field Nummer is text. Although field Nummer is text, the values are al numbers. Because this field is in a commercial database, i can't change the field type. Is there another way?? Pedro Janssen From Gustav at cactus.dk Mon Oct 17 14:33:34 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 17 Oct 2005 21:33:34 +0200 Subject: [AccessD] datatype mismatch in query Message-ID: Hi Pedro Try comparing numbers too: WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM tblDebiteurAlgemeen); You can use SQL-native VAL() for CLng(). /gustav >>> pedro at plex.nl 17-10-2005 21:26 >>> Hello All, i am using the following append-query to update a table (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is linked to this database: SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf FROM DEBSTM IN 'C:\ThisDatabase.mdb' WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM tblDebiteurAlgemeen); When using this query, i get an error. Datatype mismatch. This is because field DebID is Number and field Nummer is text. Although field Nummer is text, the values are al numbers. Because this field is in a commercial database, i can't change the field type. Is there another way?? Pedro Janssen From accessd at shaw.ca Mon Oct 17 14:59:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 17 Oct 2005 12:59:25 -0700 Subject: [AccessD] Application.CurrentProject misbehaving In-Reply-To: <000901c5d33e$b48f9930$fa10a8c0@Albatross> Message-ID: <00ad01c5d355$463dbfe0$017ba8c0@xpserver> Excellent work Borge. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 17, 2005 10:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Application.CurrentProject misbehaving ----- Original Message ----- > Cannot establish any ADO connection ..... Access (or whatever is in control > here) does not recognize the CurrentProject..... Problem SOLVED The cause was one or more corrupt or damaged files of the Microsoft Data Access Components..... And you can re-install Access over and over again and it will not help you one bit.... Only persistence, persistence; some googling and too many hours later: When highlighting CurrentProject in the VBA code and clicking F1 for help I would get the following message: "msohelp.exe - Entry Point Not Found - The procedure entry point GetIUMS could not be located in the dynamic link library MSDART.DLL" googling helped me find that perhaps I was dealing with some corrupt files forming part of the MDAC package (Microsoft Data Access Components).... At least two Microsoft KB articles deals with this message about the procedure entry point.... For example KB842014 : ---------------- ..... The procedure entry point_GetIUMS at 4 could not be located in the dynamic link library MSDART.DLL CAUSE This behavior may occur when all the following conditions are true: This behavior may occur when all of the following conditions are true: .Microsoft Windows XP has been reinstalled back to its original (released) version. .The Microsoft Data Access Components (MDAC) components are damaged. .The Msdart.dll file is damaged. RESOLUTION To resolve this behavior, download and install Microsoft Data Access Components (MDAC) 2.8 or later. ---------------- I had by then downloaded the MDAC Component Checker to see what kind of beast was installed on the system (I had MDAC 2.7 SP1 with two mismatched files) - Link for the download for the Component Checker: http://www.microsoft.com/downloads/details.aspx?FamilyID=8F0A8DF6-4A21-4B43- BF53-14332EF092C9&displayLang=en Decided to download and install the MDAC 2.8 RTM Problem solved! /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 17 15:36:09 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 17 Oct 2005 13:36:09 -0700 Subject: [AccessD] Pass, Fail or Null References: Message-ID: <43540B39.20801@shaw.ca> Here are the truth tables for True, False and NULL http://blogs.msdn.com/sharon_bjeletich_-_sql_performance/archive/2005/10/17/481923.aspx Nicholson, Karen wrote: >I have a subform that can have an infinite number of records. On each >line is a result of that record. If the test has not been performed, >the result is null. If it has been performed, it can either be a pass >or fail. If the record has 20 passes and one fail, then the entire >record is a fail. However, the tests instances are entered in, awaiting >the test to be run, so the test result is null until the values are >filled in. I am trying to pull an overall result in the main form. If >all test results are null, or some are null and some are pass, then the >main form value would be null until all tests are run. My brain is not >wrapping around this one - the nulls are throwing me. Ideas? > >Karen S. Nicholson >Programmer Analyst >EG&G Technical Services, Inc. >Pittsburgh, PA >Phone: 412-386-6649 >Email: cyx5 at cdc.gov > > > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Mon Oct 17 15:37:52 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 17 Oct 2005 22:37:52 +0200 Subject: [AccessD] datatype mismatch in query References: Message-ID: <003e01c5d35a$a5aad1c0$4001a8c0@laptop> Hi Gustav, thanks, i will try this. Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 9:33 PM Subject: Re: [AccessD] datatype mismatch in query > Hi Pedro > > Try comparing numbers too: > > WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > You can use SQL-native VAL() for CLng(). > > /gustav > >>>> pedro at plex.nl 17-10-2005 21:26 >>> > Hello All, > > i am using the following append-query to update a table > (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is > linked to this database: > > SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) > SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf > FROM DEBSTM IN 'C:\ThisDatabase.mdb' > WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > When using this query, i get an error. Datatype mismatch. > This is because field DebID is Number and field Nummer is text. > Although field Nummer is text, the values are al numbers. Because this > field is in a commercial database, i can't change the field type. Is there > another way?? > > Pedro Janssen > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhecht at earthlink.net Mon Oct 17 15:42:16 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 17 Oct 2005 13:42:16 -0700 (GMT-07:00) Subject: [AccessD] Pass, Fail or Null Message-ID: <6824673.1129581736893.JavaMail.root@elwamui-little.atl.sa.earthlink.net> Hi Karen How about No test value= NA if dcount "N/A" >0 then value = incomplete else if dcount "Fail" >0 then record failed else record pased end if endif Joe -----Original Message----- From: "Nicholson, Karen" Sent: Oct 17, 2005 9:55 AM To: access at joe2.endjunk.com, Access Developers discussion and problem solving Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Oct 17 17:08:21 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 17 Oct 2005 18:08:21 -0400 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F6B@gbsserver.GBS.local> I worked on my little project/problem over the weekend, attempting to use a class based solution and of course having some problems. So needless to say My hand is raised up high!!! It really would be cool to have a set objects that could handle most text exporting needs one may have.... Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 17, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-Invent The Wheel?? I do the same thing, only I have a class pair that does it. I have a parent/child table pair - the name of the query or table that the data is coming from, then a table of the fields for that query/table. The field table has fields for the ID of the parent query/table record, name of the field being formatted and the formatting string. I use the formatting string to just coerce the data into a formatted string using format$(data, format$). The controller class is passed the name of the query so that it opens the query as a recordset. It then opens the appropriate data set in the child Fields table, and reads out the fields into field classes. Each field class "knows" how to format the data since each field class instance is fed all of the data from one of the field records that you mention - the field name and the format string. Then the controller class just steps through the recordset, calling the appropriate field class instance and telling it to format the data and return the string. The controller class appends the strings returned from the field classes and writes the finished string out to the text file. As you can probably guess, mine is tied to my framework and therefore isn't easily extractable, however the class pair concept is dead easy to implement. If AccessD would like to get together a development team to work on this we could build a little library that implements the package and put it up on AccessD's (and my) site for download. I can put up a forum on my site to use for the dev team. If anyone wants to do this raise your hand. If we have sufficient interest I would be willing to lead the team (if you want). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt file. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Oct 17 17:14:10 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 17 Oct 2005 18:14:10 -0400 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F6C@gbsserver.GBS.local> Not to be so forward but, "care to share?" :-) Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt file. > > > > The only thing to change in Seth's code is how to build the output > string since you need fixed width. > > The way I build fixed width strings for output is something like this: > > Function Pad(TextString,StringLength) a String 'outputs a fixed length > string 'pads short strings with spaces and truncates long strings Pad > = Left$(TextString & Space$(StringLength),StringLength) > End Function > > ....... > strOutput = Space$(intTotalStringLength) 'Insert a Text field > Mid$(strOutput,1) = Pad(!Field1,10) > 'Insert a Numeric field > Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) .... > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Oct 17 17:39:59 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 17 Oct 2005 17:39:59 -0500 Subject: [AccessD] Call AfterUpdate Event From Module Message-ID: <000001c5d36b$b5143910$0200a8c0@danwaters> I'm going to add a calendar button adjacent to each date field throughout many forms. The code, a public function procedure, will be in a standard module (in a library). Each calendar button will call the function procedure using a call from the OnClick event procedure of the button. The call in the event procedure is this: =CalendarButton("frmName","txtName",True) The function is this: Public Function CalendarButton(stgForm As String, stgDate As String, blnAfterUpdate as Boolean) Dim frm As Form Dim txtDate As TextBox Set frm = Forms(stgForm) Set txtDate = frm.Controls(stgDate) If txtDate.Enabled = False or txtDate.Locked = True Then Set frm = Nothing Set txtDate = Nothing Exit Function End If txtDate = PopupCalendar(txtDate) '--- Call back to the control's AfterUpdate event for validation If blnAfterUpdate = True Then Call frm.txtDate_AfterUpdate <------------ This line doesn't work. Call frm.txtCustomerDueDate_AfterUpdate <-- Works, but doesn't help. End If If Not IsNull(txtDate) Then SendKeys Chr(9) '-- Tab Key End If End Function I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan Waters From jwcolby at ColbyConsulting.com Mon Oct 17 21:01:11 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 22:01:11 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F6B@gbsserver.GBS.local> Message-ID: <001401c5d387$d35eac90$667aa8c0@ColbyM6805> I have created a forum for discussing this project out on my web site. I have also started two threads, an Overview and a Specification thread. Anyone interested in participating, please register and login to my site, click on the Forums tab and the Access forums. You are welcome to chime in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Monday, October 17, 2005 6:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I worked on my little project/problem over the weekend, attempting to use a class based solution and of course having some problems. So needless to say My hand is raised up high!!! It really would be cool to have a set objects that could handle most text exporting needs one may have.... Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 17, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-Invent The Wheel?? I do the same thing, only I have a class pair that does it. I have a parent/child table pair - the name of the query or table that the data is coming from, then a table of the fields for that query/table. The field table has fields for the ID of the parent query/table record, name of the field being formatted and the formatting string. I use the formatting string to just coerce the data into a formatted string using format$(data, format$). The controller class is passed the name of the query so that it opens the query as a recordset. It then opens the appropriate data set in the child Fields table, and reads out the fields into field classes. Each field class "knows" how to format the data since each field class instance is fed all of the data from one of the field records that you mention - the field name and the format string. Then the controller class just steps through the recordset, calling the appropriate field class instance and telling it to format the data and return the string. The controller class appends the strings returned from the field classes and writes the finished string out to the text file. As you can probably guess, mine is tied to my framework and therefore isn't easily extractable, however the class pair concept is dead easy to implement. If AccessD would like to get together a development team to work on this we could build a little library that implements the package and put it up on AccessD's (and my) site for download. I can put up a forum on my site to use for the dev team. If anyone wants to do this raise your hand. If we have sufficient interest I would be willing to lead the team (if you want). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt 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 From pctech at mybellybutton.com Mon Oct 17 20:40:30 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Mon, 17 Oct 2005 18:40:30 -0700 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall - m0n0wall? In-Reply-To: <015201c5d225$fc85d7a0$1e00a8c0@cheqsoft.local> References: <000801c5d222$1215b260$017ba8c0@xpserver> <015201c5d225$fc85d7a0$1e00a8c0@cheqsoft.local> Message-ID: <1129599630.2927.1.camel@localhost.localdomain> On Sun, 2005-10-16 at 20:48 +1300, Tortise wrote: > Hi > > Anyone wanting to do this might also like to consider http://m0n0.ch/wall/index.php where software based on FreeBSD is already customised and dedicated to this task. > > Kind regards > David Hingston > Director > Chequers Software Ltd > Wellington, New Zealand. > http://www.cheqsoft.com > > => MathsOwn - World Class > => Break Reminder - Strategic Accuracy Software > => Clipboard Express Pro - Time Creation > => TimesOwn - World's Best Clock > ____________________________________________________________ > > The information in this email and in any attachment (s) is confidential and may be legally privileged. If you are not the named addressee's) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify the sender immediately by return email and then delete the message from your computer. Thank you for your assistance. > ____________________________________________________________ > > > > ----- Original Message ----- > From: Jim Lawrence > To: 'Access Developers discussion and problem solving' > Sent: Sunday, October 16, 2005 8:20 PM > Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall > > > Excellent idea. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Saturday, October 15, 2005 10:34 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall > > What do you guys think of helping Frank put together a newsletter article on > this for our newsletter? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Yes, MonoWall is very good. FreeBSD is very good as well, as an OS. The only issue is that Linux is compatible with a wider variety of hardware than FreeBSD is. Two of my home machines are running FreeBSD. From fhtapia at gmail.com Mon Oct 17 21:37:54 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 17 Oct 2005 19:37:54 -0700 Subject: [AccessD] How to turn off auto-correct off? Message-ID: i ran into a problem because of the default behaviour in access 2000. We have company id codes and one of these companies codes is "HSA", but when users key this information in, the auto correct fixes the word to HAS. That's all fine and dandy for notes fields but in this case it's really not acceptable. How can I programatically turn this option off in access? I know I can run through the option and remove the entry in the auto-correct menu but that's not a really feasable option since I have 90+ users -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From stuart at lexacorp.com.pg Mon Oct 17 22:22:56 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Tue, 18 Oct 2005 13:22:56 +1000 Subject: [AccessD] How to turn off auto-correct off? In-Reply-To: Message-ID: <4354F730.24735.AB18CB@localhost> On 17 Oct 2005 at 19:37, Francisco Tapia wrote: > i ran into a problem because of the default behaviour in access 2000. We > have company id codes and one of these companies codes is "HSA", but when > users key this information in, the auto correct fixes the word to HAS. > That's all fine and dandy for notes fields but in this case it's really not > acceptable. How can I programatically turn this option off in access? I know > I can run through the option and remove the entry in the auto-correct menu > but that's not a really feasable option since I have 90+ users > Turn it off for the controls that you don't want it on: In the Properties sheet for textboxes, comboboxes etc, under the "Other" tab is a setting "AllowAutocorrect" To turn it off for all controls in the application: Run a loop through every control on form and if it's a textbox or combobox set the control's AllowAutoCorrect property to false From jwcolby at ColbyConsulting.com Mon Oct 17 22:33:25 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 23:33:25 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <001401c5d387$d35eac90$667aa8c0@ColbyM6805> Message-ID: <001b01c5d394$b6057a40$667aa8c0@ColbyM6805> I have created a system similar to that which we are about to create. That system was the first time I attempted to create a table driven method for doing this and was dedicated to a specific export for a specific client. I think it would be useful to pull the concepts out, hash them over in public, and write up a specification of how this can be done in a generic manner so that it can be applied to a wide range of "delimited export" applications. I propose a system of two tables: usystblDataSource DS_ID Autonumber PK DS_Source Memo Data source - can be a sql statement, a query name or a table name DS_Type Text Source of the data (table, query or SQL statement DS_FixedWidth Yes/No This data is a fixed width export - If true, then the format string in each field is responsible for getting the width right DS_Delimiter Text The delimiter between fields (if any) usystblFld FLD_ID AutoNumber Field ID FLD_IDDS Number Data Source ID FLD_Order Number The order that the field appears in the output string FLD_FldName Text Name of the field in the data source FLD_Format Text Format string to use on the data FLD_BeginPos Number beginning position in the string Thus usystblDataSource represents the source of the data and whether this export specification is going to be fixed width, delimited, or both. usystblFld represents the fields within a given export, where each field will appear in the string, how to format the data etc. In the system I designed previously the data was fixed width, but I wanted to also do a comma delimited for sending to in-house users. I quickly discovered that the exact same data might very well be sent fixed width to one user or set of users, and delimited to another, even delimited in various ways. This left me with a quandry about how to specify the formatting for various recipients of the data, and this is something that we will need to discuss. In any event, what I then do is design two classes: clsFld A field class which holds all of the data in a single record of usystblFld. The field class has properties for holding each data item in usystblFld and then it has methods for accepting data and formatting the data, returning a string of formatted data. clsDataSrc A supervisor class that has properties for holding each data item in a single record in usystblDataSource, a method for instantiating all of the clsFld instances for that data source record and storing the clsFld instances in a collection, and a method for loading the data represented by the DS_Source and then "exporting" the data by iterating the clsFld collection calling each field class and getting the data back formatted, and appending them into a string for writing to a file. Obviously if you are going to export the same data twice (or more), perhaps to a fixed, then to a delimited format, you need a means of specifying the file spec for each export. There are many "opportunities" here, but that is the basic concept. I am going to post this and let anyone interested chime in with their thoughts and perspectives. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From stuart at lexacorp.com.pg Mon Oct 17 23:28:40 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Tue, 18 Oct 2005 14:28:40 +1000 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <001b01c5d394$b6057a40$667aa8c0@ColbyM6805> References: <001401c5d387$d35eac90$667aa8c0@ColbyM6805> Message-ID: <43550698.9355.E7495B@localhost> On 17 Oct 2005 at 23:33, John Colby wrote: > I propose a system of two tables: > > usystblDataSource > DS_ID Autonumber PK > DS_Source Memo Data source - can be a sql statement, a > query name or a table name > DS_Type Text Source of the data (table, query or > SQL statement > DS_FixedWidth Yes/No This data is a fixed width export - If > true, then the format string in each field is responsible for getting the > width right Even in delimited fields you will still often need a format string > DS_Delimiter Text The delimiter between fields (if any) > Also: DS_QuoteText Yes/No Whether text fields are quoted Possibly: DS_TotalChars Number Record length for fixed width files (easier than trying to calculate it from summing the fields Format definitions ) > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the > output string > FLD_FldName Text Name of the field in the data source FLD_OutputFieldName Text Name of the field in the output file Default Null = same as in data source > Thus usystblDataSource represents the source of the data and whether this > export specification is going to be fixed width, delimited, or both. Is there any such thing as delimited and fixed width? Surely that is an either/or From jmhecht at earthlink.net Mon Oct 17 23:45:30 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 17 Oct 2005 21:45:30 -0700 Subject: [AccessD] Re-Invent The Wheel?? (4x) In-Reply-To: <43550698.9355.E7495B@localhost> Message-ID: <001201c5d39e$c4f34d20$0a01a8c0@desktop> I have been getting three and 4 copies of e mails lately. Anyone else as lucky as me? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of stuart at lexacorp.com.pg Sent: Monday, October 17, 2005 9:29 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? On 17 Oct 2005 at 23:33, John Colby wrote: > I propose a system of two tables: > From accessd at shaw.ca Tue Oct 18 01:07:56 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 17 Oct 2005 23:07:56 -0700 Subject: [AccessD] OT RSS editor In-Reply-To: <43540B39.20801@shaw.ca> Message-ID: <00c901c5d3aa$48e97e50$017ba8c0@xpserver> OT: Hi All: This is off topic but I have been looking for a reasonably priced RSS editor and content creator. There is so many out there that it is difficult to know which product is worth pursuing. If anyone has some good information or personal experience I would appreciate a comment... maybe off-line as this topic is not directly related to this list. (...but again many others might be interested.) TIA Jim PS One product that I have been reviewing: http://www.rss-info.com/en_rsseditor.html From accessd at shaw.ca Tue Oct 18 01:32:38 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 17 Oct 2005 23:32:38 -0700 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <000701c5d32a$0c14e3f0$667aa8c0@ColbyM6805> Message-ID: <00d001c5d3ad$bbc99380$017ba8c0@xpserver> Hi John: It sounds like a very interesting project. I must admit to not being totally up on all the details and not sure how much I can help but you can 'toss my in' as I am always up for a challenge. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 17, 2005 7:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-Invent The Wheel?? I do the same thing, only I have a class pair that does it. I have a parent/child table pair - the name of the query or table that the data is coming from, then a table of the fields for that query/table. The field table has fields for the ID of the parent query/table record, name of the field being formatted and the formatting string. I use the formatting string to just coerce the data into a formatted string using format$(data, format$). The controller class is passed the name of the query so that it opens the query as a recordset. It then opens the appropriate data set in the child Fields table, and reads out the fields into field classes. Each field class "knows" how to format the data since each field class instance is fed all of the data from one of the field records that you mention - the field name and the format string. Then the controller class just steps through the recordset, calling the appropriate field class instance and telling it to format the data and return the string. The controller class appends the strings returned from the field classes and writes the finished string out to the text file. As you can probably guess, mine is tied to my framework and therefore isn't easily extractable, however the class pair concept is dead easy to implement. If AccessD would like to get together a development team to work on this we could build a little library that implements the package and put it up on AccessD's (and my) site for download. I can put up a forum on my site to use for the dev team. If anyone wants to do this raise your hand. If we have sufficient interest I would be willing to lead the team (if you want). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt file. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 18 02:15:10 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 09:15:10 +0200 Subject: [AccessD] Call AfterUpdate Event From Module Message-ID: Hi Dan Not really, as you would have to pass the name of the function as a variable which you can't (well, sometimes, using Eval() but that can quickly become a mess). One method is to move all the AfterUpdate subfunctions to a single AfterUpdate sub function: Public Sub ControlAfterUpdate(ByVal strControlName As String) Select Case strControlName Case "txtDate1" Call txtDate1_AfterUpdate Case "txtDate2" Call txtDate2_AfterUpdate '... etc. End Select End Sub This sub you can call from the outside. Not fancy but it works. The fancy method is to implement WithEvents. Highly recommended. Articles on this can be found on our own site, at Shamil's site, and - if you don't fall that much in love with JC that you just can't move beyond his title page - at John Colby's site. /gustav >>> dwaters at usinternet.com 18-10-2005 00:39 >>> I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan Waters From Gustav at cactus.dk Tue Oct 18 02:32:04 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 09:32:04 +0200 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: Hi Stuart Well, yes, a delimited string of fixed length ... /gustav >>> stuart at lexacorp.com.pg 18-10-2005 06:28 >>> On 17 Oct 2005 at 23:33, John Colby wrote: > Thus usystblDataSource represents the source of the data and whether this > export specification is going to be fixed width, delimited, or both. Is there any such thing as delimited and fixed width? Surely that is an either/or From paul.hartland at isharp.co.uk Tue Oct 18 03:38:43 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 18 Oct 2005 09:38:43 +0100 Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. In-Reply-To: Message-ID: To all, I am writing a particularly small application using Visual Basic 6.0 and SQL Server to keep track of our client costs (what we charge per man day etc etc)....and have to keep an audit trail of anything that gets changed, I thought I would try a recordset clone approach based on the following: 1. User finds the client, and recordset stored in an ADODB data control. 2. Before user does anything get a clone of the recordset (read only). 3. When the user finds another record, or selects another menu option. Loop through the fields to look for the differences... This is where I am a bit confused the recordset clone seems to also be updating even though I have told it to be read only..... Am I going about this the totally wrong way ?, is there a better way ?....Can someone offer me advice and/or sample code to how they would go about checking each individual field to see if it's been changed.... The code below just uses a msgbox to display on screen (after the ADODB.Recordset.Update has processed) (rsCheck is the clone) For intFld = 0 To rsCheck.Fields.Count - 2 MsgBox rsCheck.Fields(intFld).Name & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld).Name & vbCrLf & _ rsCheck.Fields(intFld) & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld) Next intFld Thanks in advance for any help on this Paul Hartland From Gustav at cactus.dk Tue Oct 18 04:06:06 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 11:06:06 +0200 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: Hi John et all I prefer to hardcode such routines. Most of them have been for creating files for transfer of data to banks and these specs change very rarely and if they do, often both the old and the new format can used for a while. As the fields of such files are formatted in all sorts of ways, I've found it convenient to use a Select Case structure for looping through the fields of a record - an example is appended below - building a line field by field. Routines of this sort need careful debugging but it's easy this way if you include in-line documentation. Also, lines can have different formats dependant of the "type" of record (transaction) or the contents of another field - and may even have different count of fields. And to complicate it further, a transfer may have "attached" one or more lines with text lines from long notes (not used in this example), and a batch of transfers may need special start and stop records/lines, not to say (say, for transfer of salaries) a special "Totals" line (not used here). It will take some efforts to bring this to a class but, of course, for many other purposes a class for text export can be nice. /gustav Example (Access 2.0 code with Danish comments, but you'll get the idea): Function BetalingTilBank_System_Bankdata (ByVal strKontoID As String, ByVal strEgenKonto As String, ByVal strFilExp As String) As Integer ' RecordSource der udtr?kker valgte betalinger. Const cstrRecordSource = "qdxBetalingsfil" Const cstrMsgTitle = "Betalingsfil til Bankdata" ' Transaktionstyper (delm?ngde) if. specifikation 2002-01-10. Const cstrTranstypeImport = "IB" Const cstrTranstypeStart = "000000000000" Const cstrTranstypeSlut = "999999999999" Const cstrTranstypeIndenlandskOvf = "030202000005" Const cstrTranstypeBetalingskort = "030207000002" ' Fast antal felter (ekskl. CR + LF) for de transaktionstyper, vi benytter. Const cintFilFelterStart = 6 Const cintFilFelterSlut = 8 Const cintFilFelterIndenlandskOvf = 29 Const cintFilFelterBetalingskort = 27 Dim dbs As Database Dim qdf As QueryDef Dim rst As Recordset Dim intFile As Integer ' Nummer p? fil. Bruges af OS. Dim strFileFelt As String ' Felt, der skal f?jes til linien. Dim strFileLine As String ' Linie, der skal skrives til filen. Dim varSum As Variant Dim curSum As Currency ' Totalbel?b til overf?rsel. Dim intBetalinger As Integer ' Antal betalinger. Dim strValuta As String ' ISO valutakode. Dim intFilFelter As Integer ' Antal felter i fil til Bankdata. Dim strBankdata As String ' F?rste felt i fil til Bankdata. Dim intFelt As Integer ' T?ller til feltoprettelse. Dim datDatoOvf As Variant ' Dato for overf?rsel. Dim intKortart As Integer ' 0 for bankoverf?rsel, ellers type af IK/FIK. Dim strMsgTitle As String Dim strMsgPrompt As String Dim lngMsgStyle As Long Dim intOK As Integer ' Resultat. Dim nl As String ' Ny linie. On Error GoTo Err_BetalingTilBank_System_Bankdata strValuta = "DKK" ' Kan ogs? v?re "EUR". nl = Chr(13) & Chr(10) ' Opret ny betalingsfil, hvis filen ikke findes, eller ' brug den betalingsfil, der findes. If CreateFile(strFilExp) = True Then ' Tilf?j til betalingsfilen. intFile = FreeFile Open GetShortFileName(strFilExp) For Append As #intFile Set dbs = DBEngine(0)(0) Set qdf = dbs.Querydefs(cstrRecordSource) qdf.Parameters("FirmaNr") = Forms!Main!FirmaID qdf.Parameters("OvfTid") = pdatBank Set rst = qdf.OpenRecordset() qdf.Close If rst.RecordCount > 0 Then ' Skriv startrecord. strBankdata = cstrTranstypeImport & cstrTranstypeStart intFilFelter = cintFilFelterStart For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Dato for dannelse. strFileFelt = Format(Date, "yyyymmdd") Case 3 ' Fyld. strFileFelt = Space(90) Case 4, 5, 6 ' Fyld. strFileFelt = Space(255) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & strFileFelt strFileFelt = "" Next intFelt Print #intFile, strFileLine strFileLine = "" ' Skriv betalingsrecords. While Not rst.EOF intKortart = rst!Kortart If intKortart = 0 Then ' Bankoverf?rsel. Fast l?ngde records. strBankdata = cstrTranstypeImport & cstrTranstypeIndenlandskOvf intFilFelter = cintFilFelterIndenlandskOvf For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Index. strFileFelt = "0001" Case 3 ' Dato. ?nsket overf?rselsdato. datDatoOvf = rst!Bankdato If datDatoOvf < Date Then ' Selv om Bankdata vil rette datoen til dags dato, g?r vi det alligevel. datDatoOvf = Date End If strFileFelt = Format(datDatoOvf, "yyyymmdd") Case 4 ' Bel?b. SKAL v?re uden decimalkomma. strFileFelt = Format(rst!BankOvf * 100, String(13, "0")) & "+" Case 5 ' Valuta strFileFelt = strValuta Case 6 ' Fra-konto, finans eller bank. Bank: 2. strFileFelt = "2" Case 7 ' Fra konto med fast l?ngde p? 14 tegn og med foranstillet "0". strFileFelt = "0" & FormatBankkonto410(strEgenKonto) Case 8 ' Overf?rselstype, check eller bank. Bank: 2. strFileFelt = "2" Case 9 ' Til registreringsnummer. strFileFelt = Left(TrimNumStr("" & rst!Bankkonto), 4) Case 10 ' Til konto. Altid 10 cifre med foranstillede nuller, uden registreringsnr. strFileFelt = Format(Mid(TrimNumStr("" & rst!Bankkonto), 4 + 1), String(10, "0")) Case 11 ' Adviseringstype. P? kontoudtog: 0. strFileFelt = "0" Case 12 ' Tekst p? modtagers kontoudskrift. 35 tegn. strFileFelt = Left(rst!Betalingsident & Space(35), 35) Case 13 ' Modtager (firmanavn). 32 tegn. ' Beh?ves ikke, men vises i bankprogrammet. strFileFelt = Left(rst!Firma & Space(32), 32) Case 14, 15, 17 ' Tomme. strFileFelt = Space(32) Case 16 ' Tomt. strFileFelt = String(4, "0") Case 18 ' Tekst p? afsenders kontoudskrift. Maks. 35 tegn. strFileFelt = Left((rst!Faktura + " ") & rst!Firma & Space(35), 35) Case 19 To 27 ' Tomme. strFileFelt = Space(35) Case 28 ' Fyld. strFileFelt = Space(1) Case 29 ' Tomt. strFileFelt = Space(215) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & StrAnsiToOem(strFileFelt) strFileFelt = "" Next intFelt Else ' Betalingskort. strBankdata = cstrTranstypeImport & cstrTranstypeBetalingskort intFilFelter = cintFilFelterBetalingskort For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Index. strFileFelt = "0001" Case 3 ' Dato. ?nsket overf?rselsdato. datDatoOvf = rst!Bankdato If datDatoOvf < Date Then ' Selv om Bankdata vil rette datoen til dags dato, g?r vi det alligevel. datDatoOvf = Date End If strFileFelt = Format(datDatoOvf, "yyyymmdd") Case 4 ' Bel?b. SKAL v?re uden decimalkomma. strFileFelt = Format(rst!BankOvf * 100, String(13, "0")) & "+" Case 5 ' Fra-konto, finans eller bank. Bank: 2. strFileFelt = "2" Case 6 ' Fra konto med fast l?ngde p? 14 tegn og med foranstillet "0". strFileFelt = "0" & FormatBankkonto410(strEgenKonto) Case 7 ' Kortart. strFileFelt = Format(intKortart, "00") Case 8 ' Betalingsident p? IK/FIK. 19 tegn. NB: Streng, ikke tal. Select Case intKortart Case 4, 15, 71, 75 strFileFelt = "" & rst!Betalingsident If IsNumeric(strFileFelt) Then strFileFelt = Left(strFileFelt & Space(19), 19) Else ' Vil v?re en fejl. strFileFelt = Space(19) End If Case Else strFileFelt = Space(19) End Select Case 9 ' Tomt. strFileFelt = String(4, "0") Case 10 ' "Girokonto" for IK, kortart 01, 04 og 15, ellers tomt. Select Case intKortart Case 1, 4, 15 strFileFelt = Format(TrimNumStr("" & rst!ModtagerID), String(10, "0")) Case Else strFileFelt = String(10, "0") End Select Case 11 ' ModtagerID for FIK. Tomt for kortart 01, 04 og 15. Select Case intKortart Case 1, 4, 15 strFileFelt = String(8, "0") Case Else strFileFelt = Format(TrimNumStr("" & rst!ModtagerID), String(8, "0")) End Select Case 12 ' Modtager (firmanavn). 32 tegn. ' Beh?ves ikke, men vises i bankprogrammet. strFileFelt = Left(rst!Firma & Space(32), 32) Case 13 ' Tomt. strFileFelt = Space(32) Case 14 ' Eget bilagsnummer. 35 tegn. strFileFelt = Left((rst!Faktura + " ") & rst!Firma & Space(35), 35) Case 15 To 19 ' Tomme. strFileFelt = Space(35) Case 20 ' Adviseringstekst. Maks. 35 tegn. Select Case intKortart Case 1, 73 strFileFelt = Left(rst!Betalingsident & Space(35), 35) Case Else strFileFelt = Space(35) End Select Case 21 To 25 ' Tomme. strFileFelt = Space(35) Case 26 ' Fyld. strFileFelt = Space(16) Case 27 ' Tomt. strFileFelt = Space(215) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & StrAnsiToOem(strFileFelt) strFileFelt = "" Next intFelt End If Print #intFile, strFileLine strFileLine = "" varSum = rst!BankOvf If Not IsNull(varSum) Then curSum = curSum + varSum End If rst.MoveNext Wend intBetalinger = rst.RecordCount rst.Close ' Skriv slutrecord. strBankdata = cstrTranstypeImport & cstrTranstypeSlut intFilFelter = cintFilFelterSlut For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Dato for dannelse. strFileFelt = Format(Date, "yyyymmdd") Case 3 ' Antal transaktionslinier. strFileFelt = Format(intBetalinger, String(6, "0")) Case 4 ' Sum af betalinger. strFileFelt = Format(curSum * 100, String(13, "0")) & "+" Case 5 ' Fyld. strFileFelt = Space(64) Case 6, 7, 8 ' Fyld. strFileFelt = Space(255) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & strFileFelt strFileFelt = "" Next intFelt Print #intFile, strFileLine Close #intFile intOK = IsFileLong(strFilExp) End If End If strMsgTitle = cstrMsgTitle If intOK = True Then strMsgPrompt = strMsgPrompt & intBetalinger & " betaling" & IIf(intBetalinger = 1, "", "er") & " blev oprettet i filen" & nl strMsgPrompt = strMsgPrompt & strFilExp & "." & nl & nl strMsgPrompt = strMsgPrompt & "Samlet bel?b: " & strValuta & " " & Format(curSum, "Standard") & "." lngMsgStyle = 0 + 64 Else strMsgPrompt = strMsgPrompt & "Betalingsfilen" & nl strMsgPrompt = strMsgPrompt & strFilExp & nl & nl strMsgPrompt = strMsgPrompt & "kunne ikke oprettes." lngMsgStyle = 0 + 48 End If MsgBox strMsgPrompt, lngMsgStyle, strMsgTitle Set rst = Nothing Set qdf = Nothing Set dbs = Nothing BetalingTilBank_System_Bankdata = intOK Exit_BetalingTilBank_System_Bankdata: Exit Function Err_BetalingTilBank_System_Bankdata: MsgBox "Fejlkode " & Err & ". " & Error Resume Exit_BetalingTilBank_System_Bankdata End Function --- >>> jwcolby at ColbyConsulting.com 18-10-2005 05:33:25 >>> I have created a system similar to that which we are about to create. That system was the first time I attempted to create a table driven method for doing this and was dedicated to a specific export for a specific client. I think it would be useful to pull the concepts out, hash them over in public, and write up a specification of how this can be done in a generic manner so that it can be applied to a wide range of "delimited export" applications. From zora_db at yahoo.com Tue Oct 18 04:15:05 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Tue, 18 Oct 2005 10:15:05 +0100 (BST) Subject: [AccessD] Paging Roz Clarke In-Reply-To: <001a01c5d344$bbbb5360$6e01a8c0@ScuzzPaq> Message-ID: <20051018091505.10053.qmail@web50107.mail.yahoo.com> Hi John. Sorry about that. I had unsubbed from accessd at my work address but forgotten to unsub from dba_sqlserver and dba_tech. Odd of work not to contact me and ask me to sort it out. Oh well. Roz --- John Bartow wrote: > Paging Roz Clarke. > > Are you still around? > > John Bartow, President > Database Advisors, Inc. > Email: mailto:president at databaseadvisors.com > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From cyx5 at cdc.gov Tue Oct 18 05:53:32 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 18 Oct 2005 06:53:32 -0400 Subject: [AccessD] Pass, Fail or Null Message-ID: I never thought of a dcount. Daaah! Thank you so much. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Monday, October 17, 2005 2:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass, Fail or Null Karen, Apparently, you are seeking the following display in a calculated text box on the main form, depending upon the status of records in subform. (a) Failed - If even one of the records has zero as result. (In addition, there may be many other records where result is Null or other than zero). (b) Passed - If no record has zero result, but at least one or more records carry a definite value for the result, other than zero. (In addition, there may be many other records where result is Null). (c) No Result Posted - If all the records carry Null as result. The expression given below, in a text box on the main form, should be able to get you the desired outcome. "Result" is the name of field holding the result (0 for failed, other than 0 for passed and Null for no posting). "T_Test" is the assumed name of table. = IIf(DCount("Result","T_Test","Result = 0") > 0, "Failed", IIf(DCount("Result","T_Test","Not IsNull(Result)") > 0, "Passed", "No Result Posted")) Note - (a) If it is a linked subform, criteria string in the expression given above should be suitably modified so as to include the linked child field as well. (b) In form's AfterUpdate event for the subform, put the following statement Me.Parent.Recalc Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Nicholson, Karen To: Access Developers discussion and problem solving Sent: Monday, October 17, 2005 22:25 Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 18 07:11:16 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 08:11:16 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <43550698.9355.E7495B@localhost> Message-ID: <002401c5d3dd$0a6d8530$667aa8c0@ColbyM6805> Stuart, Thanks for taking the time to read ad comment. >Even in delimited fields you will still often need a format string Yes you do. This is one of those areas that gets deep quickly. For example, if it is fixed width, what do you pad with? Do you pad left or right (align to the left or the right?). In the system I designed previously, I placed into the fld record the starting position inside the "big string" (as I called it) and the total width. As for placing the DS_FixedWidth in the field in the data set table - I think we need a third table above the usystblDataSet, which is usystblExport. This table holds the information about whether the export of a given data set is going to be fixed width or delimited, and the tablespec of where to place the exported file. Perhaps also information such as whether this will be attached to an email (and if so an email address), or FTPed (an FTP address/Username/password), faxed etc. Thus usystblExport would have a m-m between it and usystblDataSet so that you define exports to destinations, and what data set(s) get exported to that destination. The concept has a basic problem that all too often different sets of people want the same data, with the fields formatted the same way, but the "big string" formatted differently. >Also: DS_QuoteText Yes/No Whether text fields are quoted >Possibly: DS_TotalChars Number Record length for fixed width files (easier than trying to calculate it from summing the fields Format definitions ) So all of these would go in the usystblExport >FLD_OutputFieldName Text Name of the field in the output file Default Null = same as in data source Yes, probably necessary. In my original system I was given a big table with the "expected format" which included their field name, start AND end positions, field length and format, though the format was just a code such as str or num. It was from this that I expanded that table, added MY source data field name, and an actual format string to use with the format() function on each data field. >Is there any such thing as delimited and fixed width? Surely that is an either/or Yes, there is such a thing. Where there are idiots, there will be every combination under the sun. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of stuart at lexacorp.com.pg Sent: Tuesday, October 18, 2005 12:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? On 17 Oct 2005 at 23:33, John Colby wrote: > I propose a system of two tables: > > usystblDataSource > DS_ID Autonumber PK > DS_Source Memo Data source - can be a sql statement, a > query name or a table name > DS_Type Text Source of the data (table, query or > SQL statement > DS_FixedWidth Yes/No This data is a fixed width export - If > true, then the format string in each field is responsible for getting > the width right Even in delimited fields you will still often need a format string > DS_Delimiter Text The delimiter between fields (if any) > Also: DS_QuoteText Yes/No Whether text fields are quoted Possibly: DS_TotalChars Number Record length for fixed width files (easier than trying to calculate it from summing the fields Format definitions ) > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the > output string > FLD_FldName Text Name of the field in the data source FLD_OutputFieldName Text Name of the field in the output file Default Null = same as in data source > Thus usystblDataSource represents the source of the data and whether > this export specification is going to be fixed width, delimited, or > both. Is there any such thing as delimited and fixed width? Surely that is an either/or -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 18 07:13:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 08:13:15 -0400 Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. In-Reply-To: Message-ID: <002501c5d3dd$51996e10$667aa8c0@ColbyM6805> IIRC a clone is just a pointer to the same data set. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Tuesday, October 18, 2005 4:39 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. To all, I am writing a particularly small application using Visual Basic 6.0 and SQL Server to keep track of our client costs (what we charge per man day etc etc)....and have to keep an audit trail of anything that gets changed, I thought I would try a recordset clone approach based on the following: 1. User finds the client, and recordset stored in an ADODB data control. 2. Before user does anything get a clone of the recordset (read only). 3. When the user finds another record, or selects another menu option. Loop through the fields to look for the differences... This is where I am a bit confused the recordset clone seems to also be updating even though I have told it to be read only..... Am I going about this the totally wrong way ?, is there a better way ?....Can someone offer me advice and/or sample code to how they would go about checking each individual field to see if it's been changed.... The code below just uses a msgbox to display on screen (after the ADODB.Recordset.Update has processed) (rsCheck is the clone) For intFld = 0 To rsCheck.Fields.Count - 2 MsgBox rsCheck.Fields(intFld).Name & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld).Name & vbCrLf & _ rsCheck.Fields(intFld) & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld) Next intFld Thanks in advance for any help on this Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 18 08:38:32 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 09:38:32 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: Message-ID: <002601c5d3e9$3b7c4dd0$667aa8c0@ColbyM6805> Gustav, I certainly appreciate the "hard code" approach, I have doe that myself. OTOH, I have had a handful now that were fixed formats but needed "adjustments" to get it just right. For example: I am working on an export (and later an import) to the US government for what is called PlanD, having something to do with medicare re-imbursements to the city government. The upload specification is VERY loosely defined, basically they say "fixed width (with field widths specified), comma delimited, with no header (field name) line, then they specify the format inside of date fields to be YYYYMMDD. And THEN they say "if there is no data then you don't need anything in that field, but the commas must exist. So much for FIXED WIDTH!!! The issue here is that there is no upload test site. How this is going to work I don't know, but we will submit a batch to them "hoping" that it is in the format they want, and they will either accept it, or they will respond "change this thing over here". Seems pretty stupid to me, but that is what I am dealing with. Another example: The first system I built was for an insurance company. This insurance company is in the middle of changing their software to a package they purchased. It is mainframe stuff, and so they dumped an export spec into a spreadsheet of a series of records consisting of their field name, start / end position, data type (string, numeric, date etc) and format CODES such as date, fixed, str etc. I did the "hard code" routine, then they promptly came back with "yea but this field has to be fixed with 4 decimal places, this one has to have two decimal places, this date has to have ddmmyy, this one has to ... This is STUPID. So I built a table from the spec they sent, added my own fields to add a format string, and a code for left / right align etc. This really does work. They are apparently adjusting something out in their system because they have come back with "ok, add these fields IN THE MIDDLE of the string... At which point I added a "field position" field (numbering the field's position in the BigString). Voila, I just change the field position and shove the fields around as I need. Of course if you are dealing with a format cast in cement, where they actually know what they want, and provide a CLEAR specification, then just "hard coding" the solution works fine. OTOH, if you can design a table driven system that works, then you can just open the table and modify the necessary parameter as the client waffles. This does work, I am using it with my waffling insurance company. I haven't changed my code at all since I moved to the table driven design. After doing this a few times, it becomes obvious that there are field objects, there is a data set object, and there is an export object. Design a system to fit that and it will probably work just fine for many, and perhaps most such exports. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 18, 2005 5:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Re-Invent The Wheel?? Hi John et all I prefer to hardcode such routines. Most of them have been for creating files for transfer of data to banks and these specs change very rarely and if they do, often both the old and the new format can used for a while. As the fields of such files are formatted in all sorts of ways, I've found it convenient to use a Select Case structure for looping through the fields of a record - an example is appended below - building a line field by field. Routines of this sort need careful debugging but it's easy this way if you include in-line documentation. Also, lines can have different formats dependant of the "type" of record (transaction) or the contents of another field - and may even have different count of fields. And to complicate it further, a transfer may have "attached" one or more lines with text lines from long notes (not used in this example), and a batch of transfers may need special start and stop records/lines, not to say (say, for transfer of salaries) a special "Totals" line (not used here). It will take some efforts to bring this to a class but, of course, for many other purposes a class for text export can be nice. /gustav Example (Access 2.0 code with Danish comments, but you'll get the idea): Function BetalingTilBank_System_Bankdata (ByVal strKontoID As String, ByVal strEgenKonto As String, ByVal strFilExp As String) As Integer ' RecordSource der udtr?kker valgte betalinger. Const cstrRecordSource = "qdxBetalingsfil" Const cstrMsgTitle = "Betalingsfil til Bankdata" ' Transaktionstyper (delm?ngde) if. specifikation 2002-01-10. Const cstrTranstypeImport = "IB" Const cstrTranstypeStart = "000000000000" Const cstrTranstypeSlut = "999999999999" Const cstrTranstypeIndenlandskOvf = "030202000005" Const cstrTranstypeBetalingskort = "030207000002" ' Fast antal felter (ekskl. CR + LF) for de transaktionstyper, vi benytter. Const cintFilFelterStart = 6 Const cintFilFelterSlut = 8 Const cintFilFelterIndenlandskOvf = 29 Const cintFilFelterBetalingskort = 27 Dim dbs As Database Dim qdf As QueryDef Dim rst As Recordset Dim intFile As Integer ' Nummer p? fil. Bruges af OS. Dim strFileFelt As String ' Felt, der skal f?jes til linien. Dim strFileLine As String ' Linie, der skal skrives til filen. Dim varSum As Variant Dim curSum As Currency ' Totalbel?b til overf?rsel. Dim intBetalinger As Integer ' Antal betalinger. Dim strValuta As String ' ISO valutakode. Dim intFilFelter As Integer ' Antal felter i fil til Bankdata. Dim strBankdata As String ' F?rste felt i fil til Bankdata. Dim intFelt As Integer ' T?ller til feltoprettelse. Dim datDatoOvf As Variant ' Dato for overf?rsel. Dim intKortart As Integer ' 0 for bankoverf?rsel, ellers type af IK/FIK. Dim strMsgTitle As String Dim strMsgPrompt As String Dim lngMsgStyle As Long Dim intOK As Integer ' Resultat. Dim nl As String ' Ny linie. On Error GoTo Err_BetalingTilBank_System_Bankdata strValuta = "DKK" ' Kan ogs? v?re "EUR". nl = Chr(13) & Chr(10) ' Opret ny betalingsfil, hvis filen ikke findes, eller ' brug den betalingsfil, der findes. If CreateFile(strFilExp) = True Then ' Tilf?j til betalingsfilen. intFile = FreeFile Open GetShortFileName(strFilExp) For Append As #intFile Set dbs = DBEngine(0)(0) Set qdf = dbs.Querydefs(cstrRecordSource) qdf.Parameters("FirmaNr") = Forms!Main!FirmaID qdf.Parameters("OvfTid") = pdatBank Set rst = qdf.OpenRecordset() qdf.Close If rst.RecordCount > 0 Then ' Skriv startrecord. strBankdata = cstrTranstypeImport & cstrTranstypeStart intFilFelter = cintFilFelterStart For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Dato for dannelse. strFileFelt = Format(Date, "yyyymmdd") Case 3 ' Fyld. strFileFelt = Space(90) Case 4, 5, 6 ' Fyld. strFileFelt = Space(255) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & strFileFelt strFileFelt = "" Next intFelt Print #intFile, strFileLine strFileLine = "" ' Skriv betalingsrecords. While Not rst.EOF intKortart = rst!Kortart If intKortart = 0 Then ' Bankoverf?rsel. Fast l?ngde records. strBankdata = cstrTranstypeImport & cstrTranstypeIndenlandskOvf intFilFelter = cintFilFelterIndenlandskOvf For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Index. strFileFelt = "0001" Case 3 ' Dato. ?nsket overf?rselsdato. datDatoOvf = rst!Bankdato If datDatoOvf < Date Then ' Selv om Bankdata vil rette datoen til dags dato, g?r vi det alligevel. datDatoOvf = Date End If strFileFelt = Format(datDatoOvf, "yyyymmdd") Case 4 ' Bel?b. SKAL v?re uden decimalkomma. strFileFelt = Format(rst!BankOvf * 100, String(13, "0")) & "+" Case 5 ' Valuta strFileFelt = strValuta Case 6 ' Fra-konto, finans eller bank. Bank: 2. strFileFelt = "2" Case 7 ' Fra konto med fast l?ngde p? 14 tegn og med foranstillet "0". strFileFelt = "0" & FormatBankkonto410(strEgenKonto) Case 8 ' Overf?rselstype, check eller bank. Bank: 2. strFileFelt = "2" Case 9 ' Til registreringsnummer. strFileFelt = Left(TrimNumStr("" & rst!Bankkonto), 4) Case 10 ' Til konto. Altid 10 cifre med foranstillede nuller, uden registreringsnr. strFileFelt = Format(Mid(TrimNumStr("" & rst!Bankkonto), 4 + 1), String(10, "0")) Case 11 ' Adviseringstype. P? kontoudtog: 0. strFileFelt = "0" Case 12 ' Tekst p? modtagers kontoudskrift. 35 tegn. strFileFelt = Left(rst!Betalingsident & Space(35), 35) Case 13 ' Modtager (firmanavn). 32 tegn. ' Beh?ves ikke, men vises i bankprogrammet. strFileFelt = Left(rst!Firma & Space(32), 32) Case 14, 15, 17 ' Tomme. strFileFelt = Space(32) Case 16 ' Tomt. strFileFelt = String(4, "0") Case 18 ' Tekst p? afsenders kontoudskrift. Maks. 35 tegn. strFileFelt = Left((rst!Faktura + " ") & rst!Firma & Space(35), 35) Case 19 To 27 ' Tomme. strFileFelt = Space(35) Case 28 ' Fyld. strFileFelt = Space(1) Case 29 ' Tomt. strFileFelt = Space(215) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & StrAnsiToOem(strFileFelt) strFileFelt = "" Next intFelt Else ' Betalingskort. strBankdata = cstrTranstypeImport & cstrTranstypeBetalingskort intFilFelter = cintFilFelterBetalingskort For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Index. strFileFelt = "0001" Case 3 ' Dato. ?nsket overf?rselsdato. datDatoOvf = rst!Bankdato If datDatoOvf < Date Then ' Selv om Bankdata vil rette datoen til dags dato, g?r vi det alligevel. datDatoOvf = Date End If strFileFelt = Format(datDatoOvf, "yyyymmdd") Case 4 ' Bel?b. SKAL v?re uden decimalkomma. strFileFelt = Format(rst!BankOvf * 100, String(13, "0")) & "+" Case 5 ' Fra-konto, finans eller bank. Bank: 2. strFileFelt = "2" Case 6 ' Fra konto med fast l?ngde p? 14 tegn og med foranstillet "0". strFileFelt = "0" & FormatBankkonto410(strEgenKonto) Case 7 ' Kortart. strFileFelt = Format(intKortart, "00") Case 8 ' Betalingsident p? IK/FIK. 19 tegn. NB: Streng, ikke tal. Select Case intKortart Case 4, 15, 71, 75 strFileFelt = "" & rst!Betalingsident If IsNumeric(strFileFelt) Then strFileFelt = Left(strFileFelt & Space(19), 19) Else ' Vil v?re en fejl. strFileFelt = Space(19) End If Case Else strFileFelt = Space(19) End Select Case 9 ' Tomt. strFileFelt = String(4, "0") Case 10 ' "Girokonto" for IK, kortart 01, 04 og 15, ellers tomt. Select Case intKortart Case 1, 4, 15 strFileFelt = Format(TrimNumStr("" & rst!ModtagerID), String(10, "0")) Case Else strFileFelt = String(10, "0") End Select Case 11 ' ModtagerID for FIK. Tomt for kortart 01, 04 og 15. Select Case intKortart Case 1, 4, 15 strFileFelt = String(8, "0") Case Else strFileFelt = Format(TrimNumStr("" & rst!ModtagerID), String(8, "0")) End Select Case 12 ' Modtager (firmanavn). 32 tegn. ' Beh?ves ikke, men vises i bankprogrammet. strFileFelt = Left(rst!Firma & Space(32), 32) Case 13 ' Tomt. strFileFelt = Space(32) Case 14 ' Eget bilagsnummer. 35 tegn. strFileFelt = Left((rst!Faktura + " ") & rst!Firma & Space(35), 35) Case 15 To 19 ' Tomme. strFileFelt = Space(35) Case 20 ' Adviseringstekst. Maks. 35 tegn. Select Case intKortart Case 1, 73 strFileFelt = Left(rst!Betalingsident & Space(35), 35) Case Else strFileFelt = Space(35) End Select Case 21 To 25 ' Tomme. strFileFelt = Space(35) Case 26 ' Fyld. strFileFelt = Space(16) Case 27 ' Tomt. strFileFelt = Space(215) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & StrAnsiToOem(strFileFelt) strFileFelt = "" Next intFelt End If Print #intFile, strFileLine strFileLine = "" varSum = rst!BankOvf If Not IsNull(varSum) Then curSum = curSum + varSum End If rst.MoveNext Wend intBetalinger = rst.RecordCount rst.Close ' Skriv slutrecord. strBankdata = cstrTranstypeImport & cstrTranstypeSlut intFilFelter = cintFilFelterSlut For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Dato for dannelse. strFileFelt = Format(Date, "yyyymmdd") Case 3 ' Antal transaktionslinier. strFileFelt = Format(intBetalinger, String(6, "0")) Case 4 ' Sum af betalinger. strFileFelt = Format(curSum * 100, String(13, "0")) & "+" Case 5 ' Fyld. strFileFelt = Space(64) Case 6, 7, 8 ' Fyld. strFileFelt = Space(255) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & strFileFelt strFileFelt = "" Next intFelt Print #intFile, strFileLine Close #intFile intOK = IsFileLong(strFilExp) End If End If strMsgTitle = cstrMsgTitle If intOK = True Then strMsgPrompt = strMsgPrompt & intBetalinger & " betaling" & IIf(intBetalinger = 1, "", "er") & " blev oprettet i filen" & nl strMsgPrompt = strMsgPrompt & strFilExp & "." & nl & nl strMsgPrompt = strMsgPrompt & "Samlet bel?b: " & strValuta & " " & Format(curSum, "Standard") & "." lngMsgStyle = 0 + 64 Else strMsgPrompt = strMsgPrompt & "Betalingsfilen" & nl strMsgPrompt = strMsgPrompt & strFilExp & nl & nl strMsgPrompt = strMsgPrompt & "kunne ikke oprettes." lngMsgStyle = 0 + 48 End If MsgBox strMsgPrompt, lngMsgStyle, strMsgTitle Set rst = Nothing Set qdf = Nothing Set dbs = Nothing BetalingTilBank_System_Bankdata = intOK Exit_BetalingTilBank_System_Bankdata: Exit Function Err_BetalingTilBank_System_Bankdata: MsgBox "Fejlkode " & Err & ". " & Error Resume Exit_BetalingTilBank_System_Bankdata End Function --- >>> jwcolby at ColbyConsulting.com 18-10-2005 05:33:25 >>> I have created a system similar to that which we are about to create. That system was the first time I attempted to create a table driven method for doing this and was dedicated to a specific export for a specific client. I think it would be useful to pull the concepts out, hash them over in public, and write up a specification of how this can be done in a generic manner so that it can be applied to a wide range of "delimited export" applications. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 18 09:05:48 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 16:05:48 +0200 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: Hi John Well, that's the difference. Specifications for these formats go from 30 to 70 pages. As all sorts of ERP apps use these specs it causes a lot of trouble if they are changed. If you have control of both ends, life is much easier. But in that case you would today probably choose XML for the format as that eliminates many of the problems here. "Anything" in a fixed width field would for me be spaces. You'll notice my heavy use of Space(n) cause even in monospaced coding it's hard to see if you have 18 or 20 spaces in some code string - it takes forever to debug such things. /gustav >>> jwcolby at ColbyConsulting.com 18-10-2005 15:38:32 >>> Gustav, I certainly appreciate the "hard code" approach, I have doe that myself. OTOH, I have had a handful now that were fixed formats but needed "adjustments" to get it just right. For example: I am working on an export (and later an import) to the US government for what is called PlanD, having something to do with medicare re-imbursements to the city government. The upload specification is VERY loosely defined, basically they say "fixed width (with field widths specified), comma delimited, with no header (field name) line, then they specify the format inside of date fields to be YYYYMMDD. And THEN they say "if there is no data then you don't need anything in that field, but the commas must exist. So much for FIXED WIDTH!!! The issue here is that there is no upload test site. How this is going to work I don't know, but we will submit a batch to them "hoping" that it is in the format they want, and they will either accept it, or they will respond "change this thing over here". Seems pretty stupid to me, but that is what I am dealing with. Another example: The first system I built was for an insurance company. This insurance company is in the middle of changing their software to a package they purchased. It is mainframe stuff, and so they dumped an export spec into a spreadsheet of a series of records consisting of their field name, start / end position, data type (string, numeric, date etc) and format CODES such as date, fixed, str etc. I did the "hard code" routine, then they promptly came back with "yea but this field has to be fixed with 4 decimal places, this one has to have two decimal places, this date has to have ddmmyy, this one has to ... This is STUPID. So I built a table from the spec they sent, added my own fields to add a format string, and a code for left / right align etc. This really does work. They are apparently adjusting something out in their system because they have come back with "ok, add these fields IN THE MIDDLE of the string... At which point I added a "field position" field (numbering the field's position in the BigString). Voila, I just change the field position and shove the fields around as I need. Of course if you are dealing with a format cast in cement, where they actually know what they want, and provide a CLEAR specification, then just "hard coding" the solution works fine. OTOH, if you can design a table driven system that works, then you can just open the table and modify the necessary parameter as the client waffles. This does work, I am using it with my waffling insurance company. I haven't changed my code at all since I moved to the table driven design. After doing this a few times, it becomes obvious that there are field objects, there is a data set object, and there is an export object. Design a system to fit that and it will probably work just fine for many, and perhaps most such exports. John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Tue Oct 18 09:31:10 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 19 Oct 2005 00:31:10 +1000 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <002601c5d3e9$3b7c4dd0$667aa8c0@ColbyM6805> References: Message-ID: <435593CE.3845.19F5A23@stuart.lexacorp.com.pg> On 18 Oct 2005 at 9:38, John Colby wrote: > Gustav, > > I certainly appreciate the "hard code" approach, I have doe that myself. > OTOH, I have had a handful now that were fixed formats but needed > "adjustments" to get it just right. For example: > > I am working on an export (and later an import) to the US government for > what is called PlanD, having something to do with medicare re-imbursements > to the city government. The upload specification is VERY loosely defined, > basically they say "fixed width (with field widths specified), comma > delimited, with no header (field name) line, then they specify the format > inside of date fields to be YYYYMMDD. And THEN they say "if there is no > data then you don't need anything in that field, but the commas must exist. Yep, that certainly answers my question about whether there is such a thing as a fixed width, delimited file :-) -- Stuart From jwcolby at ColbyConsulting.com Tue Oct 18 09:50:55 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 10:50:55 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <435593CE.3845.19F5A23@stuart.lexacorp.com.pg> Message-ID: <002b01c5d3f3$5b697a00$667aa8c0@ColbyM6805> LOL, yep. And that is exactly why a table driven method is my goal. You want delimited? NO PROBLEM. You want Fixed width? NO PROBLEM. You want fixed width delimited? NO PROBLEM. You want fries with that? Some idiot is going to ask for it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 18, 2005 10:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? On 18 Oct 2005 at 9:38, John Colby wrote: > Gustav, > > I certainly appreciate the "hard code" approach, I have doe that > myself. OTOH, I have had a handful now that were fixed formats but > needed "adjustments" to get it just right. For example: > > I am working on an export (and later an import) to the US government > for what is called PlanD, having something to do with medicare > re-imbursements to the city government. The upload specification is > VERY loosely defined, basically they say "fixed width (with field > widths specified), comma delimited, with no header (field name) line, > then they specify the format inside of date fields to be YYYYMMDD. > And THEN they say "if there is no data then you don't need anything in > that field, but the commas must exist. Yep, that certainly answers my question about whether there is such a thing as a fixed width, delimited file :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Oct 18 10:53:13 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 18 Oct 2005 08:53:13 -0700 Subject: [AccessD] How to turn off auto-correct off? In-Reply-To: <4354F730.24735.AB18CB@localhost> References: <4354F730.24735.AB18CB@localhost> Message-ID: Sturat, Thanks for the update, I've never used that field :), man you do learn something new all the time especially on a product like 'good ol access' :P On 10/17/05, stuart at lexacorp.com.pg wrote: > > On 17 Oct 2005 at 19:37, Francisco Tapia wrote: > > > i ran into a problem because of the default behaviour in access 2000. We > > have company id codes and one of these companies codes is "HSA", but > when > > users key this information in, the auto correct fixes the word to HAS. > > That's all fine and dandy for notes fields but in this case it's really > not > > acceptable. How can I programatically turn this option off in access? I > know > > I can run through the option and remove the entry in the auto-correct > menu > > but that's not a really feasable option since I have 90+ users > > > > Turn it off for the controls that you don't want it on: > In the Properties sheet for textboxes, comboboxes etc, under the "Other" > tab is a > setting "AllowAutocorrect" > > To turn it off for all controls in the application: > Run a loop through every control on form and if it's a textbox or combobox > set the > control's AllowAutoCorrect property to false > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From Gustav at cactus.dk Tue Oct 18 11:20:25 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 18:20:25 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav >>> shamil at users.mns.ru 17-10-2005 01:22 >>> Gustav, But as far as I understand well thought through and properly applied O/R mapping doesn't reject "dozens of highly optimized queries" - not at all. With active O/R mapping (including LINQ) Queries/SPs will continue to do their "dirty&heavy duty" optimized and effective work and the results of this work will be mapped on object level by O/R mapping and if needed these results will be polished on this level and then transmitted to the presentation/visual level/layer/tier... <<< unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. >>> Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that nowadays "pure object DBDMs/engines" can't be as effective as relational databases are for real commercial hundred gygabytes/terabytes size databases. I mean they can be as effective or more for some special, well tuned cases or for the cases when the whole object database is loaded in memory. But the latter effect is a "deja vue" from "good old" Hierarchical data model and Network(CODASYL) data model based DBMSs times. But even in memory processing for ad-hoc "chaotic" queries for object DBMSs is expected (here) to be considerably slower that similar querying of in memory relational DBMS's database because nowadays relational databases use so advanced database query processing optimization. Yes, as far as I may guess there are many tasks and real applications in many business areas where pure object DBMSs will be OK and effective used for development even these days but this still will be a limited(/niche) use comparing with modern relational DBMSs broad and effective applicability.... There is no miracles in this World (or I'm missing them?) - the only way for effective data processing/querying this (IT) industry and computer science found for the last 40+ years is by: - 1. (fine) tuning physical location/placement of the data to be queried to make it located as effective/close as possible for the set of queries executed more often; - 2. introducing as much as possible parallelism in query execution; - 3. creating auxiliary indexing data structures; - 4. putting/(pre-)loading as much as possible data to be processed into speedy RAM. That's all? And the numbering above is made according to how these query optimization techniques/mainstream ideas were emering/evoloving: 1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer memory was limited, both external and RAM, CPUs were rather slow, to build multi-processor units was a very expensive idea - so the only commercially approved optimization was #1. 2nd: First supercomputers/multi-CPU computers appeared, more speedy memory become reality - commercially approved idea of parallel query execution (#2) arrived but got limited implementation because of not enough experience and still expensive hardware; 3rd: Relational model investigation resulted in commercially approved RDBMs - the only (/the main way) to optimize query execution in RDBMS is by using indexes - #3 (together with #2 - still limited by hardware) and #1 are in use in RDBMS; 4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream together with ideas #3 and #2(multi-core processors) and #1 is still here and even getting more use in such advanced modern DBMS like MS SQL 2005... I think that the times of the broad and effective use of pure object DBMSs are not yet arrived. They should come of course sooner or later - and it may happen that MS evolutional approach will bring the best results sooner than the other "revolutionary" approaches. I can be wrong... I did make a project several years ago(MS Access/mdb), which have had a lot of complicated queries, with many indexes on the base tables optimized for these queries etc. - we found it slow (not speedy enough for the target audience). Then most of the queries were dropped and code was rewritten to (pre)load most of data in memory - it started to work a matter of magnitude or more faster. The database had not that much tables - around 15 but the total quantity of test records was about half a million. This real life story above shows how far superior is in memory data processing over modern relational DBMSs query processing(I think MS Access is a good representative case of relational DBMS here in this story because database wasn't big). But as I noted above unordered "chaotic" in memory processing for ad-hoc queries for a general case promise to be (much) slower than similar ad-hoc querying of an advanced modern relational DBMSs provided most of the data to query is cached in memory by RDBMS engine and modern query optimization techniques are used by this engine.... And I think that nowadays "true object oriented DBMSs" use these "tricks": - they in their tests do not use commercail size (terabytes) databases and/or - they are used in a very specialized business areas/use case scenarios where physical data structures are optimized to have most of the data preloaded(cached) during query processing and/or processed in parallel.... Am I totally wrong? Where can I find real pure ODBMSs tests results as the ones existing for relational DBMSs - http://www.tpc.org/? No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts are enough to make decision to use OODBMS or RDBMS for a certain business area/task - I'd use the one best suited to solve/develop certain tasks/projects as effective and as quickly as possible... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 12:19 AM Subject: Re: [AccessD] Data interface The best way Hi Shamil Thanks for your snippets and thoughts. I think these fellows hit the point. I would like to believe in the value of full O/R mapping - and maybe LINQ will make this come true. But when I study my latest task (with an Jet backend, not SQL Server) with some quite complicated statistical calculations using dozens of highly optimized queries - which I probably would not have been able to construct without the query designer of Access - I have a hard time imagining how this should have been accomplished in pure OO code without running at a crawl ... unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. But I would like to be positively surprised ... /gustav From prodevmg at yahoo.com Tue Oct 18 12:01:18 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 18 Oct 2005 10:01:18 -0700 (PDT) Subject: [AccessD] Why 255? Message-ID: <20051018170118.16679.qmail@web33108.mail.mud.yahoo.com> I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? Just curious. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From garykjos at gmail.com Tue Oct 18 12:14:55 2005 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 18 Oct 2005 12:14:55 -0500 Subject: [AccessD] Why 255? In-Reply-To: <20051018170118.16679.qmail@web33108.mail.mud.yahoo.com> References: <20051018170118.16679.qmail@web33108.mail.mud.yahoo.com> Message-ID: Hi Lonnie, Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the largest number you can express in a single byte GK On 10/18/05, Lonnie Johnson wrote: > I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? > > Just curious. > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > 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 prodevmg at yahoo.com Tue Oct 18 12:43:51 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 18 Oct 2005 10:43:51 -0700 (PDT) Subject: [AccessD] Why 255? In-Reply-To: Message-ID: <20051018174351.15168.qmail@web33102.mail.mud.yahoo.com> I knew that was some cool geek explanation. I love this stuff. Gary Kjos wrote:Hi Lonnie, Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the largest number you can express in a single byte GK On 10/18/05, Lonnie Johnson wrote: > I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? > > Just curious. > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From martyconnelly at shaw.ca Tue Oct 18 15:16:27 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Oct 2005 13:16:27 -0700 Subject: [AccessD] Data interface The best way References: Message-ID: <4355581B.3080102@shaw.ca> Here is one DB I have used on and off since DOS 3.2 CodeBase from Sequitur Software http://www.codebase.com/products/ Runs on Macs, Linux, Unix, Windows, PDA's, Win CE Really small foot print and price, expands to Terabytes. Lots of ODBC drivers. Very Fast. Oh yes, it is an Excel VBA interface so I guess it goes to Access too I think it is still ISAM based. Gustav Brock wrote: >Hi Shamil > >You are right - there is no single answer to all needs and that counts for db engines as well. >I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. > >You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. > >As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. > >/gustav > > > >>>>shamil at users.mns.ru 17-10-2005 01:22 >>> >>>> >>>> >Gustav, > >But as far as I understand well thought through and properly applied O/R mapping doesn't reject "dozens of highly optimized queries" - not at all. >With active O/R mapping (including LINQ) Queries/SPs will continue to do their "dirty&heavy duty" optimized and effective work and the results of this work >will be mapped on object level by O/R mapping and if needed these results will be polished on this level and then transmitted to the presentation/visual level/layer/tier... > ><<< >unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. > > >Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that nowadays "pure object DBDMs/engines" can't be as effective as relational >databases are for real commercial hundred gygabytes/terabytes size databases. I mean they can be as effective or more for some special, well tuned cases or for the cases when the whole object database is loaded in memory. But the latter effect is a "deja vue" from "good old" Hierarchical data model and Network(CODASYL) data model based DBMSs times. But even in memory processing for ad-hoc "chaotic" queries for object DBMSs is expected (here) to be considerably slower that similar querying of in memory relational DBMS's database because nowadays relational databases use so advanced database query processing optimization. > >Yes, as far as I may guess there are many tasks and real applications in many business areas where pure object DBMSs will be OK and effective used for development even these days but this still will be a limited(/niche) use comparing with modern relational DBMSs broad and effective applicability.... > >There is no miracles in this World (or I'm missing them?) - the only way for effective data processing/querying this (IT) industry and computer science found for the last 40+ years is by: > >- 1. (fine) tuning physical location/placement of the data to be queried to >make it located as effective/close as possible for the set of queries >executed more often; >- 2. introducing as much as possible parallelism in query execution; >- 3. creating auxiliary indexing data structures; >- 4. putting/(pre-)loading as much as possible data to be processed into >speedy RAM. > >That's all? >And the numbering above is made according to how these query optimization >techniques/mainstream ideas were emering/evoloving: > >1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer >memory was limited, both external and RAM, CPUs were rather slow, to build >multi-processor units was a very expensive idea - so the only commercially >approved optimization was #1. >2nd: First supercomputers/multi-CPU computers appeared, more speedy memory >become reality - commercially approved idea of parallel query execution (#2) >arrived but got limited implementation because of not enough experience and >still expensive hardware; >3rd: Relational model investigation resulted in commercially approved >RDBMs - the only (/the main way) to optimize query execution in RDBMS is by >using indexes - #3 (together with #2 - still limited by hardware) and #1 are >in use in RDBMS; >4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream >together with ideas #3 and #2(multi-core processors) and #1 is still here >and even getting more use in such advanced modern DBMS like MS SQL 2005... > >I think that the times of the broad and effective use of pure object DBMSs >are not yet arrived. >They should come of course sooner or later - and it may happen that MS >evolutional approach will bring the best results sooner than the other >"revolutionary" approaches. I can be wrong... > >I did make a project several years ago(MS Access/mdb), which have had a lot >of complicated queries, with many indexes on the base tables optimized for >these queries etc. - we found it slow (not speedy enough for the target >audience). Then most of the queries were dropped and code was rewritten to >(pre)load most of data in memory - it started to work a matter of magnitude >or more faster. The database had not that much tables - around 15 but the >total quantity of test records was about half a million. > >This real life story above shows how far superior is in memory data >processing over modern relational DBMSs query processing(I think MS Access >is a good representative case of relational DBMS here in this story because >database wasn't big). But as I noted above unordered "chaotic" in memory >processing for ad-hoc queries for a general case promise to be (much) slower >than similar ad-hoc querying of an advanced modern relational DBMSs provided >most of the data to query is cached in memory by RDBMS engine and modern >query optimization techniques are used by this engine.... > >And I think that nowadays "true object oriented DBMSs" use these "tricks": > >- they in their tests do not use commercail size (terabytes) databases >and/or >- they are used in a very specialized business areas/use case scenarios >where physical data structures are optimized to have most of the data >preloaded(cached) during query processing and/or processed in parallel.... > >Am I totally wrong? Where can I find real pure ODBMSs tests results as the >ones existing for relational DBMSs - http://www.tpc.org/? > >No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts >are enough to make decision to use OODBMS or RDBMS for a certain business >area/task - I'd use the one best suited to solve/develop certain >tasks/projects as effective and as quickly as possible... > >Shamil > >----- Original Message ----- >From: "Gustav Brock" >To: >Sent: Monday, October 17, 2005 12:19 AM >Subject: Re: [AccessD] Data interface The best way > > >Hi Shamil > >Thanks for your snippets and thoughts. > >I think these fellows hit the point. I would like to believe in the >value of full O/R mapping - and maybe LINQ will make this come true. >But when I study my latest task (with an Jet backend, not SQL Server) >with some quite complicated statistical calculations using dozens of >highly optimized queries - which I probably would not have been able to >construct without the query designer of Access - I have a hard time >imagining how this should have been accomplished in pure OO code without >running at a crawl ... unless, of course, if the objects operate >directly in the engine as the case is for Intersystems' Cach? engine. > >But I would like to be positively surprised ... > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Tue Oct 18 15:46:20 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 18 Oct 2005 22:46:20 +0200 Subject: [AccessD] datatype mismatch in query References: Message-ID: <005101c5d425$060c1220$4001a8c0@laptop> Hello Gustav and others, when using Val() or CLng(), i get a message, that says: Not all records in the append query can be added: ...... records as a result of conflict in validationrules. How can this be solved? Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 9:33 PM Subject: Re: [AccessD] datatype mismatch in query > Hi Pedro > > Try comparing numbers too: > > WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > You can use SQL-native VAL() for CLng(). > > /gustav > >>>> pedro at plex.nl 17-10-2005 21:26 >>> > Hello All, > > i am using the following append-query to update a table > (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is > linked to this database: > > SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) > SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf > FROM DEBSTM IN 'C:\ThisDatabase.mdb' > WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > When using this query, i get an error. Datatype mismatch. > This is because field DebID is Number and field Nummer is text. > Although field Nummer is text, the values are al numbers. Because this > field is in a commercial database, i can't change the field type. Is there > another way?? > > Pedro Janssen > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Tue Oct 18 16:38:10 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 19 Oct 2005 01:38:10 +0400 Subject: [AccessD] Data interface The best way References: <4355581B.3080102@shaw.ca> Message-ID: <001401c5d42d$24c56420$6401a8c0@fincomplex.spb.ru> <<< Runs on Macs, Linux, Unix, Windows, PDA's, Win CE >>> :) Well, and I used this one since DOS 2.x(?) IBM PC XT 8MHz 640KB RAM/10GB HDD, Turbo C 1.0 - it was called first dbVista then Raima Data Manager and now RDM Embedded: http://www.raimabenelux.com/Products/RDM_embedded/default.htm The fastest on Earth probably embedded DBMS :) Has server vesion too. Has ODBC. Has query language a la SQL. Has advanced object mapping since year 1990 or earlier (C++). Runs on all OSes you listed + QNX etc. - in fact it runs on any OS, which can compile C - it is delivered as binary executables and libraries for certain OS + full C source code i.e. it's written completely on C. etc.etc. It uses ISAM-like/VSAM-like indexed files and double-linked lists. But it can't compete with MS SQL and even with MS Access these days and so it occupies rather narrow niche of embedded DBMSs.... ...my colleague uses it for many years for an advanced lightning fast payroll system, which was first programmed on MS DOS and now runs under MS Windows (any version) and under IIS - one example how C/C++ programminng saves one's code assets forever.... Shamil ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 12:16 AM Subject: Re: [AccessD] Data interface The best way Here is one DB I have used on and off since DOS 3.2 CodeBase from Sequitur Software http://www.codebase.com/products/ Runs on Macs, Linux, Unix, Windows, PDA's, Win CE Really small foot print and price, expands to Terabytes. Lots of ODBC drivers. Very Fast. Oh yes, it is an Excel VBA interface so I guess it goes to Access too I think it is still ISAM based. Gustav Brock wrote: >Hi Shamil > >You are right - there is no single answer to all needs and that counts for db engines as well. >I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. > >You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. > >As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. > >/gustav > > > >>>>shamil at users.mns.ru 17-10-2005 01:22 >>> >>>> >>>> >Gustav, > >But as far as I understand well thought through and properly applied O/R mapping doesn't reject "dozens of highly optimized queries" - not at all. >With active O/R mapping (including LINQ) Queries/SPs will continue to do their "dirty&heavy duty" optimized and effective work and the results of this work >will be mapped on object level by O/R mapping and if needed these results will be polished on this level and then transmitted to the presentation/visual level/layer/tier... > ><<< >unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. > > >Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that nowadays "pure object DBDMs/engines" can't be as effective as relational >databases are for real commercial hundred gygabytes/terabytes size databases. I mean they can be as effective or more for some special, well tuned cases or for the cases when the whole object database is loaded in memory. But the latter effect is a "deja vue" from "good old" Hierarchical data model and Network(CODASYL) data model based DBMSs times. But even in memory processing for ad-hoc "chaotic" queries for object DBMSs is expected (here) to be considerably slower that similar querying of in memory relational DBMS's database because nowadays relational databases use so advanced database query processing optimization. > >Yes, as far as I may guess there are many tasks and real applications in many business areas where pure object DBMSs will be OK and effective used for development even these days but this still will be a limited(/niche) use comparing with modern relational DBMSs broad and effective applicability.... > >There is no miracles in this World (or I'm missing them?) - the only way for effective data processing/querying this (IT) industry and computer science found for the last 40+ years is by: > >- 1. (fine) tuning physical location/placement of the data to be queried to >make it located as effective/close as possible for the set of queries >executed more often; >- 2. introducing as much as possible parallelism in query execution; >- 3. creating auxiliary indexing data structures; >- 4. putting/(pre-)loading as much as possible data to be processed into >speedy RAM. > >That's all? >And the numbering above is made according to how these query optimization >techniques/mainstream ideas were emering/evoloving: > >1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer >memory was limited, both external and RAM, CPUs were rather slow, to build >multi-processor units was a very expensive idea - so the only commercially >approved optimization was #1. >2nd: First supercomputers/multi-CPU computers appeared, more speedy memory >become reality - commercially approved idea of parallel query execution (#2) >arrived but got limited implementation because of not enough experience and >still expensive hardware; >3rd: Relational model investigation resulted in commercially approved >RDBMs - the only (/the main way) to optimize query execution in RDBMS is by >using indexes - #3 (together with #2 - still limited by hardware) and #1 are >in use in RDBMS; >4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream >together with ideas #3 and #2(multi-core processors) and #1 is still here >and even getting more use in such advanced modern DBMS like MS SQL 2005... > >I think that the times of the broad and effective use of pure object DBMSs >are not yet arrived. >They should come of course sooner or later - and it may happen that MS >evolutional approach will bring the best results sooner than the other >"revolutionary" approaches. I can be wrong... > >I did make a project several years ago(MS Access/mdb), which have had a lot >of complicated queries, with many indexes on the base tables optimized for >these queries etc. - we found it slow (not speedy enough for the target >audience). Then most of the queries were dropped and code was rewritten to >(pre)load most of data in memory - it started to work a matter of magnitude >or more faster. The database had not that much tables - around 15 but the >total quantity of test records was about half a million. > >This real life story above shows how far superior is in memory data >processing over modern relational DBMSs query processing(I think MS Access >is a good representative case of relational DBMS here in this story because >database wasn't big). But as I noted above unordered "chaotic" in memory >processing for ad-hoc queries for a general case promise to be (much) slower >than similar ad-hoc querying of an advanced modern relational DBMSs provided >most of the data to query is cached in memory by RDBMS engine and modern >query optimization techniques are used by this engine.... > >And I think that nowadays "true object oriented DBMSs" use these "tricks": > >- they in their tests do not use commercail size (terabytes) databases >and/or >- they are used in a very specialized business areas/use case scenarios >where physical data structures are optimized to have most of the data >preloaded(cached) during query processing and/or processed in parallel.... > >Am I totally wrong? Where can I find real pure ODBMSs tests results as the >ones existing for relational DBMSs - http://www.tpc.org/? > >No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts >are enough to make decision to use OODBMS or RDBMS for a certain business >area/task - I'd use the one best suited to solve/develop certain >tasks/projects as effective and as quickly as possible... > >Shamil > >----- Original Message ----- >From: "Gustav Brock" >To: >Sent: Monday, October 17, 2005 12:19 AM >Subject: Re: [AccessD] Data interface The best way > > >Hi Shamil > >Thanks for your snippets and thoughts. > >I think these fellows hit the point. I would like to believe in the >value of full O/R mapping - and maybe LINQ will make this come true. >But when I study my latest task (with an Jet backend, not SQL Server) >with some quite complicated statistical calculations using dozens of >highly optimized queries - which I probably would not have been able to >construct without the query designer of Access - I have a hard time >imagining how this should have been accomplished in pure OO code without >running at a crawl ... unless, of course, if the objects operate >directly in the engine as the case is for Intersystems' Cach? engine. > >But I would like to be positively surprised ... > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Tue Oct 18 17:41:11 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Tue, 18 Oct 2005 15:41:11 -0700 (PDT) Subject: [AccessD] Does anyone know how to gets tables from an PPC using ASP.Net? Message-ID: <20051018224111.91172.qmail@web80804.mail.yahoo.com> Does anyone know how to gets tables from an iPAQ using ASP.Net? I have an existing GUI program that was developed in C# that creates a temp Access MDB then retrieves data from a Pocket PC (PPC/ iPAQ) and inserts the data into the mdb. It uses some Active Sync dlls called DEVICETODESKTOP and DESKTOPTODEVICE. THe C# program then sends new data to a SQL BE and retreives some data back to the mdb, then finally sends the data back to the PPC. This program has worked great for a couple of years and has recently been awarded to some new distributors who we do not want access out VPN. My employer want me to "webify" this program and create it in ASP.Net. I was able to import the C# classes into the ASP.Net project, but the API call class does not compile. I believe this is due to the fact that the IIS server does not see the iPAQ. My question is, does anyone know of a way to ASP.Net to read the tables from the PPC either into temp Access mdbs or into an XML file? I'm willing to work in either VB.Net or C# dialect of ASP.Net Someone told me that I would probably have to create an active X control to do this task, which I dont know how to do either :( Does anyone have any ideas? TIA, David From martyconnelly at shaw.ca Tue Oct 18 18:47:25 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Oct 2005 16:47:25 -0700 Subject: [AccessD] Data interface The best way References: <4355581B.3080102@shaw.ca> <001401c5d42d$24c56420$6401a8c0@fincomplex.spb.ru> Message-ID: <4355898D.4000307@shaw.ca> I suppose CodeBase would run on QNX, but I did it the hard way, ran it on 3.1 DOS emulator which sat on top of QNX. It was sort of handy as C compilers were slow in those days. We just transfered the compiler build via a network of PC's and did it on another box. So we could continue on with something else. QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, I think a couple went over to work with Zanthe Software in Ottawa, the guys who built the Zim database. Nowadays you don't come across QNX unless you are fairly tied into the hardware Most of the machines that did film or CD or stick to prints in your local photoshop had a QNX OS. running a couple of networked pc's Shamil Salakhetdinov wrote: ><<< >Runs on Macs, Linux, Unix, Windows, PDA's, Win CE > > >:) > >Well, and I used this one since DOS 2.x(?) IBM PC XT 8MHz 640KB RAM/10GB >HDD, Turbo C 1.0 - it was called first dbVista then Raima Data Manager and >now RDM Embedded: >http://www.raimabenelux.com/Products/RDM_embedded/default.htm > >The fastest on Earth probably embedded DBMS :) >Has server vesion too. >Has ODBC. >Has query language a la SQL. >Has advanced object mapping since year 1990 or earlier (C++). >Runs on all OSes you listed + QNX etc. - in fact it runs on any OS, which >can compile C - it is delivered as binary executables and libraries for >certain OS + full C source code i.e. it's written completely on C. > >etc.etc. > >It uses ISAM-like/VSAM-like indexed files and double-linked lists. > >But it can't compete with MS SQL and even with MS Access these days and so >it occupies rather narrow niche of embedded DBMSs.... > >...my colleague uses it for many years for an advanced lightning fast >payroll system, which was first programmed on MS DOS and now runs under MS >Windows (any version) and under IIS - one example how C/C++ programminng >saves one's code assets forever.... > >Shamil > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Wednesday, October 19, 2005 12:16 AM >Subject: Re: [AccessD] Data interface The best way > > >Here is one DB I have used on and off since DOS 3.2 >CodeBase from Sequitur Software >http://www.codebase.com/products/ >Runs on Macs, Linux, Unix, Windows, PDA's, Win CE >Really small foot print and price, expands to Terabytes. >Lots of ODBC drivers. >Very Fast. >Oh yes, it is an Excel VBA interface so I guess it goes to Access too >I think it is still ISAM based. > >Gustav Brock wrote: > > > >>Hi Shamil >> >>You are right - there is no single answer to all needs and that counts for >> >> >db engines as well. > > >>I have no idea where, say, Cach? is faster than other solutions, if any, >> >> >but I'm sure in _some_ cases it will be. It is difficult to say as >Intersystems as well as other suppliers are very reluctant to publish >comparable benchmarks which reflect real scenarios. > > >>You can also turn it upside down; in some cases speed is not that important >> >> >and for such scenarios it an object design down to the lowest level could be >preferable. > > >>As for sheer speed using code, some years ago I posted to the list a >> >> >routine for recursive lookup (self referencing a table) using DAO only - and >it ran at a speed that surprised me. > > >>/gustav >> >> >> >> >> >>>>>shamil at users.mns.ru 17-10-2005 01:22 >>> >>>>> >>>>> >>>>> >>>>> >>Gustav, >> >>But as far as I understand well thought through and properly applied O/R >> >> >mapping doesn't reject "dozens of highly optimized queries" - not at all. > > >>With active O/R mapping (including LINQ) Queries/SPs will continue to do >> >> >their "dirty&heavy duty" optimized and effective work and the results of >this work > > >>will be mapped on object level by O/R mapping and if needed these results >> >> >will be polished on this level and then transmitted to the >presentation/visual level/layer/tier... > > >><<< >>unless, of course, if the objects operate directly in the engine as the >> >> >case is for Intersystems' Cach? engine. > > >>Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that >> >> >nowadays "pure object DBDMs/engines" can't be as effective as relational > > >>databases are for real commercial hundred gygabytes/terabytes size >> >> >databases. I mean they can be as effective or more for some special, well >tuned cases or for the cases when the whole object database is loaded in >memory. But the latter effect is a "deja vue" from "good old" Hierarchical >data model and Network(CODASYL) data model based DBMSs times. But even in >memory processing for ad-hoc "chaotic" queries for object DBMSs is expected >(here) to be considerably slower that similar querying of in memory >relational DBMS's database because nowadays relational databases use so >advanced database query processing optimization. > > >>Yes, as far as I may guess there are many tasks and real applications in >> >> >many business areas where pure object DBMSs will be OK and effective used >for development even these days but this still will be a limited(/niche) use >comparing with modern relational DBMSs broad and effective applicability.... > > >>There is no miracles in this World (or I'm missing them?) - the only way >> >> >for effective data processing/querying this (IT) industry and computer >science found for the last 40+ years is by: > > >>- 1. (fine) tuning physical location/placement of the data to be queried to >>make it located as effective/close as possible for the set of queries >>executed more often; >>- 2. introducing as much as possible parallelism in query execution; >>- 3. creating auxiliary indexing data structures; >>- 4. putting/(pre-)loading as much as possible data to be processed into >>speedy RAM. >> >>That's all? >>And the numbering above is made according to how these query optimization >>techniques/mainstream ideas were emering/evoloving: >> >>1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer >>memory was limited, both external and RAM, CPUs were rather slow, to build >>multi-processor units was a very expensive idea - so the only commercially >>approved optimization was #1. >>2nd: First supercomputers/multi-CPU computers appeared, more speedy memory >>become reality - commercially approved idea of parallel query execution >> >> >(#2) > > >>arrived but got limited implementation because of not enough experience and >>still expensive hardware; >>3rd: Relational model investigation resulted in commercially approved >>RDBMs - the only (/the main way) to optimize query execution in RDBMS is by >>using indexes - #3 (together with #2 - still limited by hardware) and #1 >> >> >are > > >>in use in RDBMS; >>4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream >>together with ideas #3 and #2(multi-core processors) and #1 is still here >>and even getting more use in such advanced modern DBMS like MS SQL 2005... >> >>I think that the times of the broad and effective use of pure object DBMSs >>are not yet arrived. >>They should come of course sooner or later - and it may happen that MS >>evolutional approach will bring the best results sooner than the other >>"revolutionary" approaches. I can be wrong... >> >>I did make a project several years ago(MS Access/mdb), which have had a lot >>of complicated queries, with many indexes on the base tables optimized for >>these queries etc. - we found it slow (not speedy enough for the target >>audience). Then most of the queries were dropped and code was rewritten to >>(pre)load most of data in memory - it started to work a matter of magnitude >>or more faster. The database had not that much tables - around 15 but the >>total quantity of test records was about half a million. >> >>This real life story above shows how far superior is in memory data >>processing over modern relational DBMSs query processing(I think MS Access >>is a good representative case of relational DBMS here in this story because >>database wasn't big). But as I noted above unordered "chaotic" in memory >>processing for ad-hoc queries for a general case promise to be (much) >> >> >slower > > >>than similar ad-hoc querying of an advanced modern relational DBMSs >> >> >provided > > >>most of the data to query is cached in memory by RDBMS engine and modern >>query optimization techniques are used by this engine.... >> >>And I think that nowadays "true object oriented DBMSs" use these "tricks": >> >>- they in their tests do not use commercail size (terabytes) databases >>and/or >>- they are used in a very specialized business areas/use case scenarios >>where physical data structures are optimized to have most of the data >>preloaded(cached) during query processing and/or processed in parallel.... >> >>Am I totally wrong? Where can I find real pure ODBMSs tests results as the >>ones existing for relational DBMSs - http://www.tpc.org/? >> >>No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts >>are enough to make decision to use OODBMS or RDBMS for a certain business >>area/task - I'd use the one best suited to solve/develop certain >>tasks/projects as effective and as quickly as possible... >> >>Shamil >> >>----- Original Message ----- >>From: "Gustav Brock" >>To: >>Sent: Monday, October 17, 2005 12:19 AM >>Subject: Re: [AccessD] Data interface The best way >> >> >>Hi Shamil >> >>Thanks for your snippets and thoughts. >> >>I think these fellows hit the point. I would like to believe in the >>value of full O/R mapping - and maybe LINQ will make this come true. >>But when I study my latest task (with an Jet backend, not SQL Server) >>with some quite complicated statistical calculations using dozens of >>highly optimized queries - which I probably would not have been able to >>construct without the query designer of Access - I have a hard time >>imagining how this should have been accomplished in pure OO code without >>running at a crawl ... unless, of course, if the objects operate >>directly in the engine as the case is for Intersystems' Cach? engine. >> >>But I would like to be positively surprised ... >> >>/gustav >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Tue Oct 18 18:50:01 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 18 Oct 2005 18:50:01 -0500 Subject: [AccessD] Call AfterUpdate Event From Module In-Reply-To: <8846582.1129620203813.JavaMail.root@sniper23> Message-ID: <000301c5d43e$a82f9a40$0200a8c0@danwaters> Thanks Gustav! You may not believe this, but I only like JC a lot. After I read his writings on WithEvents, I decided I just couldn't go any further with the relationship I thought we had. Dan ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 18, 2005 2:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Call AfterUpdate Event From Module Hi Dan Not really, as you would have to pass the name of the function as a variable which you can't (well, sometimes, using Eval() but that can quickly become a mess). One method is to move all the AfterUpdate subfunctions to a single AfterUpdate sub function: Public Sub ControlAfterUpdate(ByVal strControlName As String) Select Case strControlName Case "txtDate1" Call txtDate1_AfterUpdate Case "txtDate2" Call txtDate2_AfterUpdate '... etc. End Select End Sub This sub you can call from the outside. Not fancy but it works. The fancy method is to implement WithEvents. Highly recommended. Articles on this can be found on our own site, at Shamil's site, and - if you don't fall that much in love with JC that you just can't move beyond his title page - at John Colby's site. /gustav >>> dwaters at usinternet.com 18-10-2005 00:39 >>> I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 18 19:42:56 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 20:42:56 -0400 Subject: [AccessD] Call AfterUpdate Event From Module In-Reply-To: <000301c5d43e$a82f9a40$0200a8c0@danwaters> Message-ID: <00c101c5d446$0c4f25c0$667aa8c0@ColbyM6805> ROTFLMAO. You guys are stinkers. I have NO IDEA who that handsome guy is in the picture, I just borrowed his picture to spice up my site. You know like the picture frames you buy in a store. Cute girl, you just leave her picture in there and put it on the mantle. I was going to put a cute girl on my site but my wife objected. I was going to put my wife on the site, but the cute girl objected. That guy doesn't even know his picture is up there so no objections so far. And yea, I was going to suggest Withevents but didn't want to get into it. There is lots of existing info on my site for those who can manage to move beyond the title page. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, October 18, 2005 7:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Call AfterUpdate Event From Module Thanks Gustav! You may not believe this, but I only like JC a lot. After I read his writings on WithEvents, I decided I just couldn't go any further with the relationship I thought we had. Dan ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 18, 2005 2:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Call AfterUpdate Event From Module Hi Dan Not really, as you would have to pass the name of the function as a variable which you can't (well, sometimes, using Eval() but that can quickly become a mess). One method is to move all the AfterUpdate subfunctions to a single AfterUpdate sub function: Public Sub ControlAfterUpdate(ByVal strControlName As String) Select Case strControlName Case "txtDate1" Call txtDate1_AfterUpdate Case "txtDate2" Call txtDate2_AfterUpdate '... etc. End Select End Sub This sub you can call from the outside. Not fancy but it works. The fancy method is to implement WithEvents. Highly recommended. Articles on this can be found on our own site, at Shamil's site, and - if you don't fall that much in love with JC that you just can't move beyond his title page - at John Colby's site. /gustav >>> dwaters at usinternet.com 18-10-2005 00:39 >>> I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Tue Oct 18 21:27:45 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 18 Oct 2005 19:27:45 -0700 Subject: [AccessD] Null Values Message-ID: <000001c5d454$b16980b0$0a01a8c0@desktop> Is there a tool or trick to locate and count null fields in a table. I am doing data quality checks on a new project and have an hour into about half the table building and running manual queries Thanks Joe From wdhindman at bellsouth.net Tue Oct 18 22:15:38 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 18 Oct 2005 23:15:38 -0400 Subject: [AccessD] Null Values References: <000001c5d454$b16980b0$0a01a8c0@desktop> Message-ID: <00fb01c5d45b$614bfed0$6101a8c0@JISREGISTRATION.local> http://www.cleandatasystems.com/ William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 18, 2005 10:27 PM Subject: [AccessD] Null Values > Is there a tool or trick to locate and count null fields in a table. > > > > I am doing data quality checks on a new project and have an hour into > about > half the table building and running manual queries > > > > > > Thanks > > > > Joe > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Tue Oct 18 23:24:00 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 19 Oct 2005 00:24:00 -0400 Subject: [AccessD] Wizard Generator for Access In-Reply-To: Message-ID: <200510190423.j9J4NnJ25813@databaseadvisors.com> Years ago I grabbed an Access wizard generator that was MS produced, I believe. I cannot find it on any of my backup CDs. Does anyone know the tool I am talking about... it had strengths but decided weaknesses, most specifically that you could not gen two wizards within a single app. Does anyone have a link to a wiz-generator... I have need to gen about five wizards in my current app. The aforementioned tool will not suffice, even if I could find it, but somebody somewhere must have written a better tool since then. Pointers appreciated! Thx, Arthur From artful at rogers.com Tue Oct 18 23:26:57 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 19 Oct 2005 00:26:57 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <002b01c5d3f3$5b697a00$667aa8c0@ColbyM6805> Message-ID: <200510190426.j9J4QcJ26457@databaseadvisors.com> The only thing that I would add is that everything should be driven from named queries not tables, so as to make the port to SQL Server easier. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 18, 2005 10:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-Invent The Wheel?? LOL, yep. And that is exactly why a table driven method is my goal. You want delimited? NO PROBLEM. You want Fixed width? NO PROBLEM. You want fixed width delimited? NO PROBLEM. You want fries with that? Some idiot is going to ask for it. John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Wed Oct 19 06:12:36 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Oct 2005 13:12:36 +0200 Subject: [AccessD] datatype mismatch in query Message-ID: Hi Pedro It sounds like a validation rule for DebID is kicking in. Obtain a specification for this. If that is not possible, change the query to a normal select query and study the records. Or add a filter to the append query to select only a subset of the records. Then make this smaller and smaller until you haved focused some of the records that breaks the validation. /gustav >>> pedro at plex.nl 18-10-2005 22:46 >>> Hello Gustav and others, when using Val() or CLng(), i get a message, that says: Not all records in the append query can be added: ...... records as a result of conflict in validationrules. How can this be solved? Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 9:33 PM Subject: Re: [AccessD] datatype mismatch in query > Hi Pedro > > Try comparing numbers too: > > WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > You can use SQL-native VAL() for CLng(). > > /gustav > >>>> pedro at plex.nl 17-10-2005 21:26 >>> > Hello All, > > i am using the following append-query to update a table > (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is > linked to this database: > > SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) > SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf > FROM DEBSTM IN 'C:\ThisDatabase.mdb' > WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > When using this query, i get an error. Datatype mismatch. > This is because field DebID is Number and field Nummer is text. > Although field Nummer is text, the values are al numbers. Because this > field is in a commercial database, i can't change the field type. Is there > another way?? > > Pedro Janssen From shamil at users.mns.ru Wed Oct 19 06:47:38 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 19 Oct 2005 15:47:38 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <005301c5d4a5$7ba7bd10$6401a8c0@fincomplex.spb.ru> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav <<< tail trimmed>>> From shamil at users.mns.ru Wed Oct 19 06:10:17 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 19 Oct 2005 15:10:17 +0400 Subject: [AccessD] Data interface The best way References: <4355581B.3080102@shaw.ca><001401c5d42d$24c56420$6401a8c0@fincomplex.spb.ru> <4355898D.4000307@shaw.ca> Message-ID: <005201c5d4a5$7b819770$6401a8c0@fincomplex.spb.ru> <<< QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, >>> I didn't work with it - I did olny plan to work with it - that was a beauty OS - one 1.44MB floppy AFAIKR installation diskette for an OS with advanced graphical interface! It was written on assembler as far as I understood. Shamil ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 3:47 AM Subject: Re: [AccessD] Data interface The best way I suppose CodeBase would run on QNX, but I did it the hard way, ran it on 3.1 DOS emulator which sat on top of QNX. It was sort of handy as C compilers were slow in those days. We just transfered the compiler build via a network of PC's and did it on another box. So we could continue on with something else. QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, I think a couple went over to work with Zanthe Software in Ottawa, the guys who built the Zim database. Nowadays you don't come across QNX unless you are fairly tied into the hardware Most of the machines that did film or CD or stick to prints in your local photoshop had a QNX OS. running a couple of networked pc's Shamil Salakhetdinov wrote: ><<< >Runs on Macs, Linux, Unix, Windows, PDA's, Win CE > > >:) > >Well, and I used this one since DOS 2.x(?) IBM PC XT 8MHz 640KB RAM/10GB >HDD, Turbo C 1.0 - it was called first dbVista then Raima Data Manager and >now RDM Embedded: >http://www.raimabenelux.com/Products/RDM_embedded/default.htm > >The fastest on Earth probably embedded DBMS :) >Has server vesion too. >Has ODBC. >Has query language a la SQL. >Has advanced object mapping since year 1990 or earlier (C++). >Runs on all OSes you listed + QNX etc. - in fact it runs on any OS, which >can compile C - it is delivered as binary executables and libraries for >certain OS + full C source code i.e. it's written completely on C. > >etc.etc. > >It uses ISAM-like/VSAM-like indexed files and double-linked lists. > >But it can't compete with MS SQL and even with MS Access these days and so >it occupies rather narrow niche of embedded DBMSs.... > >...my colleague uses it for many years for an advanced lightning fast >payroll system, which was first programmed on MS DOS and now runs under MS >Windows (any version) and under IIS - one example how C/C++ programminng >saves one's code assets forever.... > >Shamil <<< tail trimmed>>> From jeffrey.demulling at usbank.com Wed Oct 19 07:53:46 2005 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 19 Oct 2005 07:53:46 -0500 Subject: [AccessD] Wizard Generator for Access In-Reply-To: <200510190423.j9J4NnJ25813@databaseadvisors.com> Message-ID: Found the following article. You will want to look near the bottom in the section titled "Side Bar - The Microsoft Wizard Builder Wizard" to find a link to what you are actually looking for. http://vb123.com/Toolshed/00_Docs/buildwizards.htm Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com ------------------------------------------------------------------------------ Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================== From jeffrey.demulling at usbank.com Wed Oct 19 07:55:58 2005 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 19 Oct 2005 07:55:58 -0500 Subject: [AccessD] Wizard Generator for Access In-Reply-To: <200510190423.j9J4NnJ25813@databaseadvisors.com> Message-ID: The link in the article did not work so here is one that does. http://support.microsoft.com/kb/q172184/ Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com ------------------------------------------------------------------------------ Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================== From bchacc at san.rr.com Wed Oct 19 09:59:05 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 19 Oct 2005 07:59:05 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Message-ID: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From Gustav at cactus.dk Wed Oct 19 10:08:20 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Oct 2005 17:08:20 +0200 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Message-ID: Hi Rocky You forgot the link: http://www.eff.org/news/archives/2005_10.php#004063 /gustav From Jim.Hale at FleetPride.com Wed Oct 19 10:24:02 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 19 Oct 2005 10:24:02 -0500 Subject: [AccessD] OT: Group cracks code hidden in printers to ID coun terfeiters Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337931@corp-es01.fleetpride.com> The report on NPR I heard yesterday says that similar identification capabilities exist for digital cameras and scanners. Not necessarily a hidden code but characteristics that make each photo unique much like marks on a bullet or the old typewriter forensics. Jim Hale -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 19, 2005 9:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Wed Oct 19 10:36:04 2005 From: john at winhaven.net (John Bartow) Date: Wed, 19 Oct 2005 10:36:04 -0500 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters In-Reply-To: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Message-ID: <005701c5d4c2$d1947ac0$7501a8c0@ScuzzPaq> So, we should all print solid yellow backgrounds on our top secret documents? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. From harkinsss at bellsouth.net Wed Oct 19 10:37:24 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 19 Oct 2005 11:37:24 -0400 Subject: [AccessD] OT: Group cracks code hidden in printers toIDcounterfeiters In-Reply-To: <005701c5d4c2$d1947ac0$7501a8c0@ScuzzPaq> Message-ID: <20051019153723.EJZZ24528.ibm56aec.bellsouth.net@SUSANONE> No, on your money silly! ;) Susan H. So, we should all print solid yellow backgrounds on our top secret documents? ;o) From bchacc at san.rr.com Wed Oct 19 10:48:27 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 19 Oct 2005 08:48:27 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers toIDcounterfeiters References: <005701c5d4c2$d1947ac0$7501a8c0@ScuzzPaq> Message-ID: <01fb01c5d4c4$8c6a1c50$6501a8c0@HAL9004> Someday I hope to have a top secret document. Rocky ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 19, 2005 8:36 AM Subject: Re: [AccessD] OT: Group cracks code hidden in printers toIDcounterfeiters > So, we should all print solid yellow backgrounds on our top secret > documents? > ;o) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > > Last year, an article in PC World magazine pointed out that printouts from > many color laser printers contained yellow dots scattered across the page, > viewable only with a special kind of flashlight. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Wed Oct 19 10:55:01 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 19 Oct 2005 11:55:01 -0400 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters In-Reply-To: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Message-ID: Rocky, That's been around for a while. Also back doors into most products that offer to encrypt your data from prying eyes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 19, 2005 10:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Oct 19 10:55:35 2005 From: john at winhaven.net (John Bartow) Date: Wed, 19 Oct 2005 10:55:35 -0500 Subject: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters In-Reply-To: <01fb01c5d4c4$8c6a1c50$6501a8c0@HAL9004> Message-ID: <005901c5d4c5$8af90ab0$7501a8c0@ScuzzPaq> I just sent you one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 19, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters Someday I hope to have a top secret document. Rocky From DElam at jenkens.com Wed Oct 19 11:03:26 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 19 Oct 2005 11:03:26 -0500 Subject: [AccessD] OT: Group cracks code hidden in printers to ID coun terfeiters Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CF2D@natexch.jenkens.com> Definitely not conspiracy. Hunter had to fill out lots of documents to get a particularly good printer for Progrssive. The quality was high enough to do good counterfeits and he learned that in addition to the paperwork to buy this thing, there was also the microscopic encoding. It was meant as a warning so they were not careless about unauthorized people using the printer because they would take the heat. Debbie -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 19, 2005 9:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From prodevmg at yahoo.com Wed Oct 19 11:00:19 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 09:00:19 -0700 (PDT) Subject: [AccessD] Automatically Sending Mail on Office XP ives message Message-ID: <20051019160019.95954.qmail@web33105.mail.mud.yahoo.com> Ok, I am visiting this age old problem again. We have Office XP on a machine that automatically sends out emails from windows May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From prodevmg at yahoo.com Wed Oct 19 11:04:20 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 09:04:20 -0700 (PDT) Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ives message Message-ID: <20051019160421.81874.qmail@web33104.mail.mud.yahoo.com> Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From Robin at rolledgold.net Wed Oct 19 11:11:29 2005 From: Robin at rolledgold.net (Robin ) Date: Wed, 19 Oct 2005 17:11:29 +0100 Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Message-ID: <560E2B80EC8F624B93A87B943B7A9CD52E2C04@rgiserv.rg.local> Lonnie, Have a look at this http://www.outlookcode.com/d/sec.htm Unforunately it's far from simple to implement in any real world scenario - the temptation is just to disable all automation security - even then some calls will still fire the security prompt unless you got to digital signing (Outlook 2002/3 only) Alternative is to recode using CDOSYS as mentioned in this article or redemptiom which you know about..... Rgds Robin Lawrence -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 19 October 2005 17:04 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Wed Oct 19 11:29:51 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 19 Oct 2005 12:29:51 -0400 Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage In-Reply-To: <20051019160421.81874.qmail@web33104.mail.mud.yahoo.com> Message-ID: <200510191629.j9JGTnT37731@ultradnt.com> I had the same req. a few months ago ... eventually found it; the trick was to search on 'Outlook' instead of 'Exchange': Outlook E-mail Security Administrative Package site: http://www.microsoft.com/downloads/details.aspx?FamilyID=15673dc4-2406-4946- aa02-8a8b0e0165b0&DisplayLang=en#instructions Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Wednesday, October 19, 2005 12:04 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Oct 19 11:30:52 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 09:30:52 -0700 (PDT) Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage In-Reply-To: <560E2B80EC8F624B93A87B943B7A9CD52E2C04@rgiserv.rg.local> Message-ID: <20051019163052.36020.qmail@web33101.mail.mud.yahoo.com> Thanks Robin. We had an IT Manager that had some very unorthadox ways of doing things. He was able to disable it on one of our computers. He no longer works here and is kind of disgruntled. I did email him and got a short reply... It was settings that where inside the Public Folders that where read by Microsoft Office on what to do and not to do with security concerns Do you or anyone else have a clue what he did? I looked in my public folders properties in outlook and did not see such a setting. Is it at the Exhange Server level? Thanks again for a prompt response. Robin wrote: Lonnie, Have a look at this http://www.outlookcode.com/d/sec.htm Unforunately it's far from simple to implement in any real world scenario - the temptation is just to disable all automation security - even then some calls will still fire the security prompt unless you got to digital signing (Outlook 2002/3 only) Alternative is to recode using CDOSYS as mentioned in this article or redemptiom which you know about..... Rgds Robin Lawrence -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 19 October 2005 17:04 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From DWUTKA at marlow.com Wed Oct 19 12:15:05 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Oct 2005 12:15:05 -0500 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcount erfeiters Message-ID: <123701F54509D9119A4F00D0B7473490EA5E86@main2.marlow.com> No, we should all file a class action lawsuit, for using COLOR INK when we print black and white documents!!! Those catridges ain't cheap! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, October 19, 2005 10:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters So, we should all print solid yellow backgrounds on our top secret documents? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 19 12:17:20 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Oct 2005 12:17:20 -0500 Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. Message-ID: <123701F54509D9119A4F00D0B7473490EA5E87@main2.marlow.com> Just a thought, instead of using the interface for the audit, use triggers instead, to create your audit trail. Triggers on the SQL Server would be a much more 'bullet proof' approach for an actual audit trail. Drew -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: Tuesday, October 18, 2005 3:39 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. To all, I am writing a particularly small application using Visual Basic 6.0 and SQL Server to keep track of our client costs (what we charge per man day etc etc)....and have to keep an audit trail of anything that gets changed, I thought I would try a recordset clone approach based on the following: 1. User finds the client, and recordset stored in an ADODB data control. 2. Before user does anything get a clone of the recordset (read only). 3. When the user finds another record, or selects another menu option. Loop through the fields to look for the differences... This is where I am a bit confused the recordset clone seems to also be updating even though I have told it to be read only..... Am I going about this the totally wrong way ?, is there a better way ?....Can someone offer me advice and/or sample code to how they would go about checking each individual field to see if it's been changed.... The code below just uses a msgbox to display on screen (after the ADODB.Recordset.Update has processed) (rsCheck is the clone) For intFld = 0 To rsCheck.Fields.Count - 2 MsgBox rsCheck.Fields(intFld).Name & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld).Name & vbCrLf & _ rsCheck.Fields(intFld) & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld) Next intFld Thanks in advance for any help on this Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 12:26:08 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 10:26:08 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <005301c5d4a5$7ba7bd10$6401a8c0@fincomplex.spb.ru> Message-ID: <012a01c5d4d2$3143e140$017ba8c0@xpserver> I have been playing with Cach? recently and found the database creation a very interesting and refreshing. Totally OOPS (Still getting my head around that one.) I have just been following the tutorials but tried some data importing the other night and it seems to run very fast... 370,000 records and the data searches are basically instantaneous. Nothing unusual for a major DB but the interesting thing is that I did not have to specify a database or table or field. Now the next big hurdle is how this can be attached to Access. (A friend likened it to towing a battle-ship with a VW.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, October 19, 2005 4:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav <<< tail trimmed>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 19 12:22:55 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Oct 2005 12:22:55 -0500 Subject: [AccessD] Why 255? Message-ID: <123701F54509D9119A4F00D0B7473490EA5E88@main2.marlow.com> And just for an example Lonnie, the size limit of a text field. It's 255. When Jet actually writes the data for a text field, it writes the first byte to represent the size of that field. For example, if you had a table like this: Field1: Happy Smiles A Howdy, how are you? Inside the .mdb file itself, you would have this information: (I will use Asc(*) to represent a byte with the value represented by the asterick) Asc(5)HappyAsc(6)SmilesAsc(1)AAsc(0)Asc(19)Howdy, how are you? That way, when Jet is reading the table, it reads the first byte, then it reads that number of following bytes to retrieve the data for that particular field. Thus the limit of 255 characters in a text field. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, October 18, 2005 12:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Why 255? I knew that was some cool geek explanation. I love this stuff. Gary Kjos wrote:Hi Lonnie, Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the largest number you can express in a single byte GK On 10/18/05, Lonnie Johnson wrote: > I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? > > Just curious. > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 12:31:10 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 10:31:10 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <005201c5d4a5$7b819770$6401a8c0@fincomplex.spb.ru> Message-ID: <012b01c5d4d2$e5bf0910$017ba8c0@xpserver> A good friend taught with QNX up at the local college, last year, in a course on designing 'Embedded Systems'. He described it as the ' the antithesis of Windows'. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, October 19, 2005 4:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way <<< QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, >>> I didn't work with it - I did olny plan to work with it - that was a beauty OS - one 1.44MB floppy AFAIKR installation diskette for an OS with advanced graphical interface! It was written on assembler as far as I understood. Shamil ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 3:47 AM Subject: Re: [AccessD] Data interface The best way I suppose CodeBase would run on QNX, but I did it the hard way, ran it on 3.1 DOS emulator which sat on top of QNX. It was sort of handy as C compilers were slow in those days. We just transfered the compiler build via a network of PC's and did it on another box. So we could continue on with something else. QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, I think a couple went over to work with Zanthe Software in Ottawa, the guys who built the Zim database. Nowadays you don't come across QNX unless you are fairly tied into the hardware Most of the machines that did film or CD or stick to prints in your local photoshop had a QNX OS. running a couple of networked pc's Shamil Salakhetdinov wrote: ><<< >Runs on Macs, Linux, Unix, Windows, PDA's, Win CE > > >:) > >Well, and I used this one since DOS 2.x(?) IBM PC XT 8MHz 640KB RAM/10GB >HDD, Turbo C 1.0 - it was called first dbVista then Raima Data Manager and >now RDM Embedded: >http://www.raimabenelux.com/Products/RDM_embedded/default.htm > >The fastest on Earth probably embedded DBMS :) >Has server vesion too. >Has ODBC. >Has query language a la SQL. >Has advanced object mapping since year 1990 or earlier (C++). >Runs on all OSes you listed + QNX etc. - in fact it runs on any OS, which >can compile C - it is delivered as binary executables and libraries for >certain OS + full C source code i.e. it's written completely on C. > >etc.etc. > >It uses ISAM-like/VSAM-like indexed files and double-linked lists. > >But it can't compete with MS SQL and even with MS Access these days and so >it occupies rather narrow niche of embedded DBMSs.... > >...my colleague uses it for many years for an advanced lightning fast >payroll system, which was first programmed on MS DOS and now runs under MS >Windows (any version) and under IIS - one example how C/C++ programminng >saves one's code assets forever.... > >Shamil <<< tail trimmed>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 12:33:02 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 10:33:02 -0700 Subject: [AccessD] Wizard Generator for Access In-Reply-To: Message-ID: <012c01c5d4d3$27fb5d60$017ba8c0@xpserver> Jeffery, A very interesting article. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Wednesday, October 19, 2005 5:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wizard Generator for Access Found the following article. You will want to look near the bottom in the section titled "Side Bar - The Microsoft Wizard Builder Wizard" to find a link to what you are actually looking for. http://vb123.com/Toolshed/00_Docs/buildwizards.htm Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com ---------------------------------------------------------------------------- -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================ == -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 12:39:58 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 10:39:58 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters In-Reply-To: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Message-ID: <012e01c5d4d4$26c86630$017ba8c0@xpserver> I knew it, I knew it. At breakfast this morning my corn flakes were crackling in a Morris code...:-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 19, 2005 7:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Oct 19 13:31:47 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 11:31:47 -0700 (PDT) Subject: [AccessD] (RESND): Automatically Sending Mail...( In-Reply-To: <20051019163052.36020.qmail@web33101.mail.mud.yahoo.com> Message-ID: <20051019183147.23223.qmail@web33111.mail.mud.yahoo.com> Got it. It is in the Exchange Server under Public Folders, then under Outlook Security Settings. Lonnie Johnson wrote: Thanks Robin. We had an IT Manager that had some very unorthadox ways of doing things. He was able to disable it on one of our computers. He no longer works here and is kind of disgruntled. I did email him and got a short reply... It was settings that where inside the Public Folders that where read by Microsoft Office on what to do and not to do with security concerns Do you or anyone else have a clue what he did? I looked in my public folders properties in outlook and did not see such a setting. Is it at the Exhange Server level? Thanks again for a prompt response. Robin wrote: Lonnie, Have a look at this http://www.outlookcode.com/d/sec.htm Unforunately it's far from simple to implement in any real world scenario - the temptation is just to disable all automation security - even then some calls will still fire the security prompt unless you got to digital signing (Outlook 2002/3 only) Alternative is to recode using CDOSYS as mentioned in this article or redemptiom which you know about..... Rgds Robin Lawrence -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 19 October 2005 17:04 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From prodevmg at yahoo.com Wed Oct 19 13:29:48 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 11:29:48 -0700 (PDT) Subject: [AccessD] Why 255? In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5E88@main2.marlow.com> Message-ID: <20051019182948.73776.qmail@web33115.mail.mud.yahoo.com> Thanks Drew for that breakdown. DWUTKA at marlow.com wrote: And just for an example Lonnie, the size limit of a text field. It's 255. When Jet actually writes the data for a text field, it writes the first byte to represent the size of that field. For example, if you had a table like this: Field1: Happy Smiles A Howdy, how are you? Inside the .mdb file itself, you would have this information: (I will use Asc(*) to represent a byte with the value represented by the asterick) Asc(5)HappyAsc(6)SmilesAsc(1)Astuff>Asc(0)Asc(19)Howdy, how are you? That way, when Jet is reading the table, it reads the first byte, then it reads that number of following bytes to retrieve the data for that particular field. Thus the limit of 255 characters in a text field. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, October 18, 2005 12:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Why 255? I knew that was some cool geek explanation. I love this stuff. Gary Kjos wrote:Hi Lonnie, Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the largest number you can express in a single byte GK On 10/18/05, Lonnie Johnson wrote: > I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? > > Just curious. > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From KIsmert at texassystems.com Wed Oct 19 14:26:08 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Wed, 19 Oct 2005 14:26:08 -0500 Subject: [AccessD] Data interface The best way Message-ID: Shamil, >As for "an object design down to the lowest level" - >this is still questionable here how it should be done - >and it's getting the more questionable what this design >should be the more I'm getting into the modern methods >of OOP&D... Theoretical questions aside, the notable object-data systems doing useful things now are the open-source web frameworks using the Model-View-Controller model. Ruby on Rails is the prime example. Since I have far from a deep understanding of MVC, I will just point out that the data objects are modeled in code, and changes in the data objects are reflected to the table structure of the underlying database. One challenge that future OO DBMS projects will have is equalling or bettering the ease-of-use of these MVC frameworks. One thing is certain: they'll never beat the price. Ruby on Rails http://www.rubyonrails.org/ Django http://www.djangoproject.com/ TurboGears http://www.turbogears.org/ Ruby on Rails Model-View-Controller Article http://en.wikipedia.org/wiki/Ruby_On_Rails -Ken From martyconnelly at shaw.ca Wed Oct 19 14:28:21 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Oct 2005 12:28:21 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers toIDcounterfeiters References: <20051019153723.EJZZ24528.ibm56aec.bellsouth.net@SUSANONE> Message-ID: <43569E55.2020704@shaw.ca> Nope print all your documents on black paper with red lettering, can't be photocopied on black and white copiers. By the way I heard about this a year ago about the yellow dots. But from what I heard it was only on specific makes of copiers at the time. For really Secret documents put "Burn before Reading" on top line. Susan Harkins wrote: >No, on your money silly! ;) > >Susan H. > >So, we should all print solid yellow backgrounds on our top secret >documents? >;o) > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Wed Oct 19 14:36:06 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 19 Oct 2005 12:36:06 -0700 Subject: [AccessD] Why 255? References: <20051019182948.73776.qmail@web33115.mail.mud.yahoo.com> Message-ID: <010c01c5d4e4$598afc80$6501a8c0@HAL9004> That's nothing. He's giving everybody breakdowns over on OT. Rocky ----- Original Message ----- From: "Lonnie Johnson" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 11:29 AM Subject: Re: [AccessD] Why 255? > Thanks Drew for that breakdown. > > DWUTKA at marlow.com wrote: > And just for an example Lonnie, the size limit of a text field. It's 255. > When Jet actually writes the data for a text field, it writes the first > byte > to represent the size of that field. For example, if you had a table like > this: > > Field1: > Happy > Smiles > A > > Howdy, how are you? > > Inside the .mdb file itself, you would have this information: (I will use > Asc(*) to represent a byte with the value represented by the asterick) > > Asc(5)HappyAsc(6)SmilesAsc(1)Astuff>Asc(0)Asc(19)Howdy, how are you? > > That way, when Jet is reading the table, it reads the first byte, then it > reads that number of following bytes to retrieve the data for that > particular field. > > Thus the limit of 255 characters in a text field. > > Drew > > > > -----Original Message----- > From: Lonnie Johnson [mailto:prodevmg at yahoo.com] > Sent: Tuesday, October 18, 2005 12:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Why 255? > > > I knew that was some cool geek explanation. I love this stuff. > > Gary Kjos wrote:Hi Lonnie, > > Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the > largest number you can express in a single byte > > GK > > On 10/18/05, Lonnie Johnson > wrote: >> I know this is going to be an easy one for most of you? I am a developer > but I don't know this. Why does Access have some limits of 255 for a lot > of > things such as number of fields in a table, number of concurrent users and > so forth? >> >> Just curious. >> >> >> >> May God bless you beyond your imagination! >> Lonnie Johnson >> ProDev, Professional Development of MS Access Databases >> Visit me at ==> http://www.prodev.us >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------- >> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. >> -- >> 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 > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Wed Oct 19 15:10:14 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Oct 2005 15:10:14 -0500 Subject: [AccessD] Why 255? Message-ID: <123701F54509D9119A4F00D0B7473490EA5E97@main2.marlow.com> Hey!!!!! If they aren't on OT, don't give em any hints!!!! What happens on OT stays on OT! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 19, 2005 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Why 255? That's nothing. He's giving everybody breakdowns over on OT. Rocky ----- Original Message ----- From: "Lonnie Johnson" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 11:29 AM Subject: Re: [AccessD] Why 255? > Thanks Drew for that breakdown. > > DWUTKA at marlow.com wrote: > And just for an example Lonnie, the size limit of a text field. It's 255. > When Jet actually writes the data for a text field, it writes the first > byte > to represent the size of that field. For example, if you had a table like > this: > > Field1: > Happy > Smiles > A > > Howdy, how are you? > > Inside the .mdb file itself, you would have this information: (I will use > Asc(*) to represent a byte with the value represented by the asterick) > > Asc(5)HappyAsc(6)SmilesAsc(1)Astuff>Asc(0)Asc(19)Howdy, how are you? > > That way, when Jet is reading the table, it reads the first byte, then it > reads that number of following bytes to retrieve the data for that > particular field. > > Thus the limit of 255 characters in a text field. > > Drew > > > > -----Original Message----- > From: Lonnie Johnson [mailto:prodevmg at yahoo.com] > Sent: Tuesday, October 18, 2005 12:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Why 255? > > > I knew that was some cool geek explanation. I love this stuff. > > Gary Kjos wrote:Hi Lonnie, > > Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the > largest number you can express in a single byte > > GK > > On 10/18/05, Lonnie Johnson > wrote: >> I know this is going to be an easy one for most of you? I am a developer > but I don't know this. Why does Access have some limits of 255 for a lot > of > things such as number of fields in a table, number of concurrent users and > so forth? >> >> Just curious. >> >> >> >> May God bless you beyond your imagination! >> Lonnie Johnson >> ProDev, Professional Development of MS Access Databases >> Visit me at ==> http://www.prodev.us >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------- >> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. >> -- >> 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 > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Oct 19 15:23:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Oct 2005 13:23:20 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters References: <012e01c5d4d4$26c86630$017ba8c0@xpserver> Message-ID: <4356AB38.6080403@shaw.ca> Do you mean they were doing this? ;) Morris dancing for the Olympics? http://news.bbc.co.uk/1/hi/uk_politics/4349088.stm Jim Lawrence wrote: >I knew it, I knew it. At breakfast this morning my corn flakes were >crackling in a Morris code...:-) > >Jim > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Wed Oct 19 17:02:47 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 20 Oct 2005 02:02:47 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <003701c5d4f8$dceacb00$6401a8c0@fincomplex.spb.ru> <<< Ruby on Rails is the prime example. >>> Ken, Believe or not but just yesterday I have bookmarked Ruby's main Web site: http://www.ruby-lang.org/en/ for investigations when (if ever) I will have free time. Yes, I have heard about Ruby or Rails and I also plan to give it a try. Ruby looks like being the most advanced modern OO language - it has amazing things like modifying class definition on-the-fly so it may happen a running application will have object instances of the same class with different call interfaces. I still to realize for what real-life applications such flexibility is needed... > Model-View-Controller model. Ruby on Rails is the prime example. Well, MS Avalon(Windows Presentation Foundation) has this model as one of its key concepts. And my own rather naive that times (1998) but so true as far as I see now VBA/VB6-programming concept I called "DEEP-object concept" (http://www.smsconsulting.spb.ru/shamil_s/articles/deepcnpt.htm) was partially about Model-View-Controller model partially about what is called "low coupling" and "high cohesion" OOP concepts and related stuff.(I wasn't aware about that concepts that times, stupid me) It was developed later into several proprietary commercial frameworks - so it was never published. (Well, I did give it a try to develop open source very advanced VBA framework using MS Access 2000 summer 1999 but because it was a programming on the edge and because MS Access 97/2000 have "termination bug", which didn't have stable workaround it didn't work and I deleted/lost all the code I developed that times. Stupid me again. In MS Access XP/2003 the "termination bug" was finally fixed.) Well known here in AccessD VBA framework based on these concepts is John Colby's framework of course. > Since I have far from a deep understanding of MVC IMO it would have better called Model View Dispatcher model (or Model Dispatcher View). Or I don't understand English well to feel all the nuances or certain words - for me Controller is something that controls and Dispatcher is something that dispatches - and dispatching IMO implies no strict control at all and less coupling between Model and View. And in MVC model Controller's role is just to dispatch messages (calls) from View to Model or callbacks(events) from Model to View(s) - it doesn't control anything... Thank you for the links on Django and TurboGears but it looks like I will have time for them "in my next life only"... Shamil ----- Original Message ----- From: "Ken Ismert" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 11:26 PM Subject: Re: [AccessD] Data interface The best way > > Shamil, > > >As for "an object design down to the lowest level" - > >this is still questionable here how it should be done - > >and it's getting the more questionable what this design > >should be the more I'm getting into the modern methods > >of OOP&D... > > Theoretical questions aside, the notable object-data systems doing > useful things now are the open-source web frameworks using the > Model-View-Controller model. Ruby on Rails is the prime example. > > Since I have far from a deep understanding of MVC, I will just point out > that the data objects are modeled in code, and changes in the data > objects are reflected to the table structure of the underlying database. > > > One challenge that future OO DBMS projects will have is equalling or > bettering the ease-of-use of these MVC frameworks. One thing is certain: > they'll never beat the price. > > Ruby on Rails > http://www.rubyonrails.org/ > > Django > http://www.djangoproject.com/ > > TurboGears > http://www.turbogears.org/ > > Ruby on Rails > Model-View-Controller Article > http://en.wikipedia.org/wiki/Ruby_On_Rails > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Oct 19 18:17:41 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Oct 2005 09:17:41 +1000 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters In-Reply-To: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Message-ID: <435760B5.13856.8A7B7B1@stuart.lexacorp.com.pg> On 19 Oct 2005 at 7:59, Rocky Smolin - Beach Access S wrote: > Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invis> > With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. > Actually old news. See 22 Nov 2004 http://www.pcworld.com/news/article/0,aid,118664,00.asp -- Stuart From wdhindman at bellsouth.net Wed Oct 19 18:50:46 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 19 Oct 2005 19:50:46 -0400 Subject: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters References: <005701c5d4c2$d1947ac0$7501a8c0@ScuzzPaq> <01fb01c5d4c4$8c6a1c50$6501a8c0@HAL9004> Message-ID: <003701c5d507$ecd31130$6101a8c0@JISREGISTRATION.local> ...no you don't ...its a bother, a real bother :( William ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 11:48 AM Subject: Re: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters > Someday I hope to have a top secret document. > > Rocky > > ----- Original Message ----- > From: "John Bartow" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, October 19, 2005 8:36 AM > Subject: Re: [AccessD] OT: Group cracks code hidden in printers > toIDcounterfeiters > > >> So, we should all print solid yellow backgrounds on our top secret >> documents? >> ;o) >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >> Beach Access Software >> >> Last year, an article in PC World magazine pointed out that printouts >> from >> many color laser printers contained yellow dots scattered across the >> page, >> viewable only with a special kind of flashlight. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Wed Oct 19 18:56:09 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 19 Oct 2005 16:56:09 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters References: <435760B5.13856.8A7B7B1@stuart.lexacorp.com.pg> Message-ID: <006e01c5d508$addc5580$6501a8c0@HAL9004> I guess I need to get out more. Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 4:17 PM Subject: Re: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters > On 19 Oct 2005 at 7:59, Rocky Smolin - Beach Access S wrote: > >> Yesterday, the Electronic Frontier Foundation, a San Francisco consumer >> privacy group, said it had cracked the code used in a widely used line of >> Xerox printers, an invis> >> With the Xerox printers, the information appears as a pattern of yellow >> dots, each only a millimeter wide and visible only with a magnifying >> glass and a blue light. >> > > Actually old news. See > 22 Nov 2004 http://www.pcworld.com/news/article/0,aid,118664,00.asp > > -- > Stuart > > > -- > 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 Oct 19 19:03:58 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Oct 2005 10:03:58 +1000 Subject: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters In-Reply-To: <003701c5d507$ecd31130$6101a8c0@JISREGISTRATION.local> Message-ID: <43576B8E.15695.8D21788@stuart.lexacorp.com.pg> On 19 Oct 2005 at 19:50, William Hindman wrote: > ...no you don't ...its a bother, a real bother :( > > > Someday I hope to have a top secret document. > > Depends on whose classification it is and where you have it. If you live in the US and it is classified as Top Secret by the US Govt, it *is* a real bother for you. If I happened to get my hands on a document classifed as Top Secret by the US Govt, it wouldn't be a bother to me at all. I am not governed by their laws :-) -- Stuart From accessd at shaw.ca Wed Oct 19 19:13:10 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 17:13:10 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <014c01c5d50b$0e640680$017ba8c0@xpserver> Ken this is a very interesting subject.... and warrants further research. Though it is not immediately relatable to the current versions of Access, I will not be surprised when these model variants start to morph 'our' database. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ken Ismert Sent: Wednesday, October 19, 2005 12:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Shamil, >As for "an object design down to the lowest level" - >this is still questionable here how it should be done - >and it's getting the more questionable what this design >should be the more I'm getting into the modern methods >of OOP&D... Theoretical questions aside, the notable object-data systems doing useful things now are the open-source web frameworks using the Model-View-Controller model. Ruby on Rails is the prime example. Since I have far from a deep understanding of MVC, I will just point out that the data objects are modeled in code, and changes in the data objects are reflected to the table structure of the underlying database. One challenge that future OO DBMS projects will have is equalling or bettering the ease-of-use of these MVC frameworks. One thing is certain: they'll never beat the price. Ruby on Rails http://www.rubyonrails.org/ Django http://www.djangoproject.com/ TurboGears http://www.turbogears.org/ Ruby on Rails Model-View-Controller Article http://en.wikipedia.org/wiki/Ruby_On_Rails -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 19:17:58 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 17:17:58 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters In-Reply-To: <4356AB38.6080403@shaw.ca> Message-ID: <014d01c5d50b$ba5275d0$017ba8c0@xpserver> ROTFLMAO... You have to stop doing this as I just about fell off my chair and could barely breathe. You are trying to kill me :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, October 19, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters Do you mean they were doing this? ;) Morris dancing for the Olympics? http://news.bbc.co.uk/1/hi/uk_politics/4349088.stm Jim Lawrence wrote: >I knew it, I knew it. At breakfast this morning my corn flakes were >crackling in a Morris code...:-) > >Jim > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Oct 19 21:33:47 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 19 Oct 2005 22:33:47 -0400 Subject: [AccessD] OT: Group cracks code hidden inprinterstoIDcounterfeiters References: <43576B8E.15695.8D21788@stuart.lexacorp.com.pg> Message-ID: <001501c5d51e$b2defae0$6101a8c0@JISREGISTRATION.local> ...the Official Secrets Act (sic) of both Canada and Great Britain protect the classified documents of allied nations ...which, much to some's chagrin, we remain ...its a bother. William ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 8:03 PM Subject: Re: [AccessD] OT: Group cracks code hidden inprinterstoIDcounterfeiters > On 19 Oct 2005 at 19:50, William Hindman wrote: > >> ...no you don't ...its a bother, a real bother :( >> >> > Someday I hope to have a top secret document. >> > > > Depends on whose classification it is and where you have it. > > If you live in the US and it is classified as Top Secret by the US Govt, > it > *is* a real bother for you. > > If I happened to get my hands on a document classifed as Top Secret by the > US Govt, it wouldn't be a bother to me at all. I am not governed by their > laws :-) > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at ColbyConsulting.com Wed Oct 19 21:49:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 19 Oct 2005 22:49:10 -0400 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: <003601c5d520$dc121710$667aa8c0@ColbyM6805> OK this is the first rev to the table specification for the data export module. Everyone is welcomed to try and figure out what we are up to and comment on how you would use this and what you think would be useful in order to nail down an export specification. usystblExport holds the top level information about an export, including the name of the export specification, whether the export needs to be fixed width, whether to quote the text files, what the delimiter is for this specific export of the data, and a fully pathed file spec for where to place the data. usystblExport EX_ID AutoNumber Export ID EX_Name Text Export Name EX_FixedWidth Yes/No True when Fixed Width EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter Text The delimiter between fields EX_FileSpec Text Fully pathed file name EX_HeaderLine Yes/No True when Place the field names in the first line of the file usystblExportDataSource holds the relationship between an Export and a data source. This is a many to one, i.e. a given export specification can only use a single data source, but a single data source can be used by many different exports. usystblExportDataSource EXDS_ID AutoNumber DataSourceExport ID EXDS_IDEX Number Export ID EXDS_IDDS Number Data Source ID usystblDataSource tells us the name of the table, query or possibly a raw SQL statement. It also gives us a code telling us how to interpret the Source field. The objective is to be able to create a single recordset and export that recordset to multiple destinations, in various formats, but still ensure that the data is identical. usystblDataSource DS_ID AutoNumber Data source ID DS_Name Text Name of the data set - not required DS_Source Memo Data source - can be a sql statement, a query name or a table name DS_Type Text Source of the data - TBL, QRY or SQL usystblFld gives us information about each field - the order of the field in the Big String, the source field name in the table, query or SQL statement, the OUTPUT field in the text file, the format string used to coerce the data into the correct format, The width of the field if used in a fixed width export, and the beginning position in the string for FIXED WIDTH fields. The beginning position can be calculated from the position and the width of all the fields, and is mostly used as a cross check on the specification. Fixed width export specifications are very specific and we need to be certain that the client receiving the data tells us these numbers correctly. usystblFld FLD_ID AutoNumber Field ID FLD_IDDS Number Data Source ID FLD_Order Number The order that the field appears in the output string FLD_FldName Text Name of the field in the data source FLD_OutputFldName Text The name of the field in the output file FLD_Format Text Format string to use on the data FLD_BeginPos Number Beginning position in the Big String FLD_Width Number The width if this is to be used in a fixed width export. In my current concept of how to implement this set of tables, usystblFld would be a class (clsFld) which is responsible for formatting a piece of data from a specific field. usystblDataSource becomes a class (clsDataSource) which is the supervisor of a collection of clsFld. The first thing that clsDataSource does is to take the DS_ID and use that to pull all of the records in usystblFld with that value in FLD_IDDS. This basically gathers all of the field records that will be exported. Thus a query, table or SQL statement can have more fields than make it into the export, and the fields that make it into the export are determined solely by their presence in usystblFld. As clsDataSource reads the records out of usystblFld, it instantiates a clsFld for each field to be exported, and storing the class instances in Field Position order (FLD_Order), sort the fields coming out of usystblFlds on FLD_Order. Thus the clsFld instances are stored in the collection in their order in the output string. clsDataSource reads the dataset specified by the table name, query name, or SQL statement stored in DS_Name. This data set may have N records to be exported into the resulting text file. The data set is iterated record by record, and each record is then fed to each clsFld in consecutive order in the clsFld collection (pseudocode below): Dim rst as dao.recordset Dim db as dao.database Dim lclsFld as clsFld Dim strBigStr as string set db = currentdb set rst = db.Open(DS_Source) while not rst.eof 'the stuff above gets the data to be exported 'The stuff below formats the data using the collection of clsFld instances for each lclsFld in colClsFld str = lclsfld.Format(rst) strBigStr = strBigStr & SomeDelimiter & str next lclsFld wend As you can see, each clsFld instance gets a shot at the recordset, and uses FLD_FldName to determine which piece of the recordset it is supposed to format (pseudocode below): Function Format(rst as dao.recordset) as string Dim var as variant Dim str as string var = rst(FLD_FldName) str = format(var,FLD_Format) End function Thus as clsDataSource iterates the recordset of data to export, for each record to be exported it passes the recordset off to each clsFld instance, getting back formatted data and building up BigString. When all fields have been formatted and appended to BigString, BigString is written to EX_FileSpec. That is the big picture, starting to discuss implementation logic. I am going to cross post this to my forum out on my web site for the purpose of creating a thread where this can be read independently of AccessD chatter. All comments and suggestions welcomed. We need to nail down the table structure, since the information in the tables drives the construction of the classes that hold the data in the usys tables, and the logic of how to use this data to create an export file. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Wed Oct 19 22:06:24 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 19 Oct 2005 23:06:24 -0400 Subject: [AccessD] Web browsers hitting my site Message-ID: <003701c5d523$441a8ed0$667aa8c0@ColbyM6805> I found this interesting. I guess Firefox and the like has a much higher usage amongst technical types eh? IE 62.3% Netscape (versions) 34.7% Unknown 1.8% Opera 0.8% If course it's hard to tell how much my own browsing poisons the statistics since I use Firefox and I am out there a lot right now updating content and stuff. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From shamil at users.mns.ru Thu Oct 20 06:23:28 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 20 Oct 2005 15:23:28 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <003601c5d520$dc121710$667aa8c0@ColbyM6805> Message-ID: <001801c5d568$b6eeb720$6401a8c0@fincomplex.spb.ru> John, Question #1: You "dive into details" from the very beginning - but it is not clearly stated in your spec are your custom classes/modules to be developed planned to be used with DAO only? I mean if you consciously restrict applicability(/reusability) of the code to be developed - that's OK but it have to be clearly stated in the specs' abstract to avoid any misunderstanding/mistreatment of the goals of your project for all involved parties(/project stakeholders). As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 6:49 AM Subject: [AccessD] Data Export Spec - Rev1 > OK this is the first rev to the table specification for the data export > module. Everyone is welcomed to try and figure out what we are up to and > comment on how you would use this and what you think would be useful in > order to nail down an export specification. > > usystblExport holds the top level information about an export, including the > name of the export specification, whether the export needs to be fixed > width, whether to quote the text files, what the delimiter is for this > specific export of the data, and a fully pathed file spec for where to place > the data. > > usystblExport > EX_ID AutoNumber Export ID > EX_Name Text Export Name > EX_FixedWidth Yes/No True when Fixed Width > EX_QuoteText Yes/No True when quotes needed around text > EX_Delimiter Text The delimiter between fields > EX_FileSpec Text Fully pathed file name > EX_HeaderLine Yes/No True when Place the field names in the first line of > the file > > usystblExportDataSource holds the relationship between an Export and a data > source. This is a many to one, i.e. a given export specification can only > use a single data source, but a single data source can be used by many > different exports. > > usystblExportDataSource > EXDS_ID AutoNumber DataSourceExport ID > EXDS_IDEX Number Export ID > EXDS_IDDS Number Data Source ID > > usystblDataSource tells us the name of the table, query or possibly a raw > SQL statement. It also gives us a code telling us how to interpret the > Source field. The objective is to be able to create a single recordset and > export that recordset to multiple destinations, in various formats, but > still ensure that the data is identical. > > usystblDataSource > DS_ID AutoNumber Data source ID > DS_Name Text Name of the data set - not required > DS_Source Memo Data source - can be a sql > statement, a query name or a table name > DS_Type Text Source of the data - TBL, QRY or SQL > > usystblFld gives us information about each field - the order of the field in > the Big String, the source field name in the table, query or SQL statement, > the OUTPUT field in the text file, the format string used to coerce the data > into the correct format, The width of the field if used in a fixed width > export, and the beginning position in the string for FIXED WIDTH fields. > The beginning position can be calculated from the position and the width of > all the fields, and is mostly used as a cross check on the specification. > Fixed width export specifications are very specific and we need to be > certain that the client receiving the data tells us these numbers correctly. > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the > output string > FLD_FldName Text Name of the field in the data source > FLD_OutputFldName Text The name of the field in the output > file > FLD_Format Text Format string to use on the data > > FLD_BeginPos Number Beginning position in the Big String > FLD_Width Number The width if this is to be used in a fixed > width export. > > In my current concept of how to implement this set of tables, usystblFld > would be a class (clsFld) which is responsible for formatting a piece of > data from a specific field. > > usystblDataSource becomes a class (clsDataSource) which is the supervisor of > a collection of clsFld. The first thing that clsDataSource does is to take > the DS_ID and use that to pull all of the records in usystblFld with that > value in FLD_IDDS. This basically gathers all of the field records that > will be exported. Thus a query, table or SQL statement can have more fields > than make it into the export, and the fields that make it into the export > are determined solely by their presence in usystblFld. As clsDataSource > reads the records out of usystblFld, it instantiates a clsFld for each field > to be exported, and storing the class instances in Field Position order > (FLD_Order), sort the fields coming out of usystblFlds on FLD_Order. Thus > the clsFld instances are stored in the collection in their order in the > output string. > > clsDataSource reads the dataset specified by the table name, query name, or > SQL statement stored in DS_Name. This data set may have N records to be > exported into the resulting text file. The data set is iterated record by > record, and each record is then fed to each clsFld in consecutive order in > the clsFld collection (pseudocode below): > > Dim rst as dao.recordset > Dim db as dao.database > Dim lclsFld as clsFld > Dim strBigStr as string > set db = currentdb > set rst = db.Open(DS_Source) > while not rst.eof > > 'the stuff above gets the data to be exported > > 'The stuff below formats the data using the collection of > clsFld instances > > for each lclsFld in colClsFld > str = lclsfld.Format(rst) > strBigStr = strBigStr & SomeDelimiter & str > next lclsFld > wend > > As you can see, each clsFld instance gets a shot at the recordset, and uses > FLD_FldName to determine which piece of the recordset it is supposed to > format (pseudocode below): > > Function Format(rst as dao.recordset) as string > Dim var as variant > Dim str as string > var = rst(FLD_FldName) > str = format(var,FLD_Format) > End function > > Thus as clsDataSource iterates the recordset of data to export, for each > record to be exported it passes the recordset off to each clsFld instance, > getting back formatted data and building up BigString. When all fields have > been formatted and appended to BigString, BigString is written to > EX_FileSpec. > > That is the big picture, starting to discuss implementation logic. I am > going to cross post this to my forum out on my web site for the purpose of > creating a thread where this can be read independently of AccessD chatter. > > All comments and suggestions welcomed. We need to nail down the table > structure, since the information in the tables drives the construction of > the classes that hold the data in the usys tables, and the logic of how to > use this data to create an export file. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 20 06:44:08 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 07:44:08 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <001801c5d568$b6eeb720$6401a8c0@fincomplex.spb.ru> Message-ID: <000701c5d56b$94e61210$667aa8c0@ColbyM6805> Shamil, The modules do not have to use DAO as long as ADO provides the functionality of accessing the fields using the rst(fldname) operation. The code you see is pseudocode, intended to display the concept, not the actual execution, and I can write DAO in my sleep so it is easy for me to write the pseudocode in. In my framework I use ADO exclusively, however I am still not anywhere close to "as comfortable with it" as I am with DAO. My PREFERENCE is to use ADO throughout for widest applicability. My PREFERENCE is also to get a good SQL Server person on board to keep us running down a path that allows immediate, built-in usage with SQL Server. So far I do not have a lot of hands raised saying that they want an in-depth piece of the action. Also, I am not even sure that SQL Server does not have something similar built-in and therefore nobody using SQL Server would use this. As always happens in these projects, a lot of interest is expressed, but that doesn't necessarily translate into active participation. I have learned to be prepared to do what needs to be done, on my own, to get what -I- need done. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 20, 2005 7:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 John, Question #1: You "dive into details" from the very beginning - but it is not clearly stated in your spec are your custom classes/modules to be developed planned to be used with DAO only? I mean if you consciously restrict applicability(/reusability) of the code to be developed - that's OK but it have to be clearly stated in the specs' abstract to avoid any misunderstanding/mistreatment of the goals of your project for all involved parties(/project stakeholders). As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 6:49 AM Subject: [AccessD] Data Export Spec - Rev1 > OK this is the first rev to the table specification for the data > export module. Everyone is welcomed to try and figure out what we are > up to and comment on how you would use this and what you think would > be useful in order to nail down an export specification. > > usystblExport holds the top level information about an export, > including the > name of the export specification, whether the export needs to be fixed > width, whether to quote the text files, what the delimiter is for this > specific export of the data, and a fully pathed file spec for where to place > the data. > > usystblExport > EX_ID AutoNumber Export ID > EX_Name Text Export Name > EX_FixedWidth Yes/No True when Fixed Width > EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter > Text The delimiter between fields EX_FileSpec Text Fully pathed file > name EX_HeaderLine Yes/No True when Place the field names in the first > line of the file > > usystblExportDataSource holds the relationship between an Export and a data > source. This is a many to one, i.e. a given export specification can > only use a single data source, but a single data source can be used by > many different exports. > > usystblExportDataSource > EXDS_ID AutoNumber DataSourceExport ID > EXDS_IDEX Number Export ID > EXDS_IDDS Number Data Source ID > > usystblDataSource tells us the name of the table, query or possibly a > raw SQL statement. It also gives us a code telling us how to > interpret the Source field. The objective is to be able to create a > single recordset and > export that recordset to multiple destinations, in various formats, > but still ensure that the data is identical. > > usystblDataSource > DS_ID AutoNumber Data source ID > DS_Name Text Name of the data set - not required > DS_Source Memo Data source - can be a sql > statement, a query name or a table name > DS_Type Text Source of the data - TBL, QRY or SQL > > usystblFld gives us information about each field - the order of the > field in > the Big String, the source field name in the table, query or SQL statement, > the OUTPUT field in the text file, the format string used to coerce > the data > into the correct format, The width of the field if used in a fixed > width export, and the beginning position in the string for FIXED WIDTH > fields. The beginning position can be calculated from the position and > the width of > all the fields, and is mostly used as a cross check on the > specification. Fixed width export specifications are very specific and > we need to be certain that the client receiving the data tells us > these numbers correctly. > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the output string > FLD_FldName Text Name of the field in the data source > FLD_OutputFldName Text The name of the field in the output > file > FLD_Format Text Format string to use on the data > > FLD_BeginPos Number Beginning position in the Big String FLD_Width > Number The width if this is to be used in a fixed width export. > > In my current concept of how to implement this set of tables, > usystblFld would be a class (clsFld) which is responsible for > formatting a piece of data from a specific field. > > usystblDataSource becomes a class (clsDataSource) which is the > supervisor of > a collection of clsFld. The first thing that clsDataSource does is to take > the DS_ID and use that to pull all of the records in usystblFld with > that value in FLD_IDDS. This basically gathers all of the field > records that will be exported. Thus a query, table or SQL statement > can have more fields > than make it into the export, and the fields that make it into the > export are determined solely by their presence in usystblFld. As > clsDataSource reads the records out of usystblFld, it instantiates a > clsFld for each field > to be exported, and storing the class instances in Field Position > order (FLD_Order), sort the fields coming out of usystblFlds on > FLD_Order. Thus the clsFld instances are stored in the collection in > their order in the output string. > > clsDataSource reads the dataset specified by the table name, query > name, or > SQL statement stored in DS_Name. This data set may have N records to > be exported into the resulting text file. The data set is iterated > record by record, and each record is then fed to each clsFld in > consecutive order in the clsFld collection (pseudocode below): > > Dim rst as dao.recordset > Dim db as dao.database > Dim lclsFld as clsFld > Dim strBigStr as string > set db = currentdb > set rst = db.Open(DS_Source) > while not rst.eof > > 'the stuff above gets the data to be exported > > 'The stuff below formats the data using the collection of clsFld > instances > > for each lclsFld in colClsFld > str = lclsfld.Format(rst) > strBigStr = strBigStr & SomeDelimiter & str > next lclsFld > wend > > As you can see, each clsFld instance gets a shot at the recordset, and uses > FLD_FldName to determine which piece of the recordset it is supposed > to format (pseudocode below): > > Function Format(rst as dao.recordset) as string > Dim var as variant > Dim str as string > var = rst(FLD_FldName) > str = format(var,FLD_Format) > End function > > Thus as clsDataSource iterates the recordset of data to export, for > each record to be exported it passes the recordset off to each clsFld > instance, getting back formatted data and building up BigString. When > all fields have > been formatted and appended to BigString, BigString is written to > EX_FileSpec. > > That is the big picture, starting to discuss implementation logic. I > am going to cross post this to my forum out on my web site for the > purpose of creating a thread where this can be read independently of > AccessD chatter. > > All comments and suggestions welcomed. We need to nail down the table > structure, since the information in the tables drives the construction > of the classes that hold the data in the usys tables, and the logic of > how to use this data to create an export file. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Oct 20 06:57:03 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 13:57:03 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Ken Thanks for those links. Looks interesting. Just don't know where to find time to elaborate on these ... /gustav >>> KIsmert at texassystems.com 19-10-2005 21:26 >>> Shamil, >As for "an object design down to the lowest level" - >this is still questionable here how it should be done - >and it's getting the more questionable what this design >should be the more I'm getting into the modern methods >of OOP&D... Theoretical questions aside, the notable object-data systems doing useful things now are the open-source web frameworks using the Model-View-Controller model. Ruby on Rails is the prime example. Since I have far from a deep understanding of MVC, I will just point out that the data objects are modeled in code, and changes in the data objects are reflected to the table structure of the underlying database. One challenge that future OO DBMS projects will have is equalling or bettering the ease-of-use of these MVC frameworks. One thing is certain: they'll never beat the price. Ruby on Rails http://www.rubyonrails.org/ Django http://www.djangoproject.com/ TurboGears http://www.turbogears.org/ Ruby on Rails Model-View-Controller Article http://en.wikipedia.org/wiki/Ruby_On_Rails -Ken From Gustav at cactus.dk Thu Oct 20 07:09:44 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 14:09:44 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Jim You have two options: ODBC or OCX. ODBC works quite nicely and doesn't require further explanation. The OCX is the CacheObject where you need something like this: Dim fac As CacheObject.Factory Dim obj As CacheObject.ObjInstance Dim res As CacheObject.ResultSet I did play around with the OCX but was interrupted by real work. You somewhat loose the feeling of Access; it's more like VB where you move data back and forth but I guess you get used to it - or would write some wrapper class. Or just fall back to ODBC and use Access the normal way. /gustav >>> accessd at shaw.ca 19-10-2005 19:26 >>> I have been playing with Cach? recently and found the database creation a very interesting and refreshing. Totally OOPS (Still getting my head around that one.) I have just been following the tutorials but tried some data importing the other night and it seems to run very fast... 370,000 records and the data searches are basically instantaneous. Nothing unusual for a major DB but the interesting thing is that I did not have to specify a database or table or field. Now the next big hurdle is how this can be attached to Access. (A friend likened it to towing a battle-ship with a VW.) Jim From Gustav at cactus.dk Thu Oct 20 07:17:09 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 14:17:09 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Shamil I think you would have a nice experience with Cach?. It's quite fun - and a much different feeling - to deal with tables and related tables directly as persistent classes. And stored procedures etc. can be written in either VB syntax or Cach?Script which is more like C syntax. "Embedded" SQL can be used too. /gustav >>> shamil at users.mns.ru 19-10-2005 13:47 >>> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav From prosoft6 at hotmail.com Thu Oct 20 07:24:19 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 20 Oct 2005 08:24:19 -0400 Subject: [AccessD] OT: Group cracks code hidden inprinterstoIDcounterfeiters In-Reply-To: <43576B8E.15695.8D21788@stuart.lexacorp.com.pg> Message-ID: Where are you Stuart.......pg? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From pcs at azizaz.com Thu Oct 20 07:47:50 2005 From: pcs at azizaz.com (Borge Hansen) Date: Thu, 20 Oct 2005 22:47:50 +1000 Subject: [AccessD] OT Colby's Framework References: <000701c5d56b$94e61210$667aa8c0@ColbyM6805> Message-ID: <016e01c5d574$7ae7c760$fa10a8c0@Albatross> Hi John, This probably doesn't belong here... but Is someone framing me? Case : DemoFW_FE.mdb I have problem initializing..... When executing the line mclsFramework.Init Nothing in function FWinit() it runs the init of the clsFramework: Public Sub Init(ByRef robjParent As Object) Set mobjParent = robjParent cIS.Register Me assDebugPrint "init " & mstrInstanceName, DebugPrint mclsSVFW.Init Nothing, gfwcnn, "usystblFWSysVars" cIS.EnblPtrStack = SV("EnblPtrStack") <================== crashes here cIS.EnblNameStack = SV("EnblNameStack") mclsZip.Init Nothing End Sub The function Public Function SV(strSVName As String) As Variant SV = mclsSVFW.SV(strSVName) End Function takes us to : with "EnblPtrStack" as the strSVName value Function SV(strSVName As String, Optional strSVFld As String = "SV_VarValue") As Variant On Error GoTo Err_SV Select Case strSVFld Case "SV_VarValue" SV = mcolSysVars(strSVName).Value() <========= errors here (error number 5) Case "SV_Memo" SV = mcolSysVars(strSVName).Memo() Case "SV_UserEditable" SV = mcolSysVars(strSVName).UserEditable() Case "SV_AllowOverride" SV = mcolSysVars(strSVName).AllowOverride() Case Else End Select Exit_SV: Exit Function Err_SV: Select Case Err Case 0 Resume Exit_SV Case 5 SV = Null <======== You set the SV to null, but then errors with : "Invalid Use of NULL" Resume Exit_SV Case Else MsgBox Err.Description, , "Error in Function clsSysVars.SV" Resume Exit_SV End Select Resume 0 '.FOR TROUBLESHOOTING End Function ....... Being able to run your sample code is the first step ... Persistence is getting me nowhere! Any suggestions? /borge From stuart at lexacorp.com.pg Thu Oct 20 08:08:31 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Oct 2005 23:08:31 +1000 Subject: [AccessD] OT: Group cracks code hidden inprinterstoIDcounterfeiters In-Reply-To: References: <43576B8E.15695.8D21788@stuart.lexacorp.com.pg> Message-ID: <4358236F.25610.BA06045@stuart.lexacorp.com.pg> On 20 Oct 2005 at 8:24, Julie Reardon-Taylor wrote: > Where are you Stuart.......pg? > Papua New Guinea. That's just north of Australia and east of Indonesia, sticking out into the Pacific. (Not somewhere in Africa, which many people seem to think ) -- Stuart From developer at ultradnt.com Thu Oct 20 08:56:49 2005 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 20 Oct 2005 09:56:49 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <200510201356.j9KDukT14379@ultradnt.com> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 8:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Shamil I think you would have a nice experience with Cach?. It's quite fun - and a much different feeling - to deal with tables and related tables directly as persistent classes. And stored procedures etc. can be written in either VB syntax or Cach?Script which is more like C syntax. "Embedded" SQL can be used too. /gustav >>> shamil at users.mns.ru 19-10-2005 13:47 >>> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 20 09:10:46 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 10:10:46 -0400 Subject: [AccessD] OT Colby's Framework In-Reply-To: <016e01c5d574$7ae7c760$fa10a8c0@Albatross> Message-ID: <000f01c5d580$13cfe8d0$667aa8c0@ColbyM6805> LOL, Borg, I am impressed! I must admit that I haven't had anyone EVER contact me about this stuff, which is one reason that I don't spend a lot of time on the demo stuff after I write it. One quick question, did you work through all the articles or are you jumping in at the end? I don't care, if you know what you are doing and are jumping in that is cool, I'm just curious. If you worked through all the articles and the example code then I am absolutely floored at your persistence. This stuff is not necessarily easy. As for your problem, the framework is looking for a sysvar called "EnblPtrStack", which should be true or false. I use SysVars to turn on/off functionality in my framework, and this code is telling the cIS class to either use the class logging mechanism or do not use it. The class logging mechanism is a class which tracks the names of the classes as they are instantiated, so that you can get a listing in instantiation order of all the class instances currently loaded. I also have to say that "it is not failing here". I just opened the zip file, unzipped it and relinked FE to BE, and it runs perfectly, at least until you try and close the database, whereupon the module in the usysFrmFWCleanup in the framework throws a runtime error. There is a me. Code fragment in the form_Close. Sigh. I have fixed that and will upload the zip to my site. So what happens with the crash? Is SV() not returning a value (returning a null) which the cIS.EnblPtrStack cannot accept? IIRC, I return a null if the SysVar doesn't exist, which would indicate that the sysvar was not loaded from the SysVar table. Can you step into SV("EnblPtrStack"), and in the debug window ask for the count of the SysVar collection? Are there ANY sysvars in the SysVar collection? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Thursday, October 20, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT Colby's Framework Hi John, This probably doesn't belong here... but Is someone framing me? Case : DemoFW_FE.mdb I have problem initializing..... When executing the line mclsFramework.Init Nothing in function FWinit() it runs the init of the clsFramework: Public Sub Init(ByRef robjParent As Object) Set mobjParent = robjParent cIS.Register Me assDebugPrint "init " & mstrInstanceName, DebugPrint mclsSVFW.Init Nothing, gfwcnn, "usystblFWSysVars" cIS.EnblPtrStack = SV("EnblPtrStack") <================== crashes here cIS.EnblNameStack = SV("EnblNameStack") mclsZip.Init Nothing End Sub The function Public Function SV(strSVName As String) As Variant SV = mclsSVFW.SV(strSVName) End Function takes us to : with "EnblPtrStack" as the strSVName value Function SV(strSVName As String, Optional strSVFld As String = "SV_VarValue") As Variant On Error GoTo Err_SV Select Case strSVFld Case "SV_VarValue" SV = mcolSysVars(strSVName).Value() <========= errors here (error number 5) Case "SV_Memo" SV = mcolSysVars(strSVName).Memo() Case "SV_UserEditable" SV = mcolSysVars(strSVName).UserEditable() Case "SV_AllowOverride" SV = mcolSysVars(strSVName).AllowOverride() Case Else End Select Exit_SV: Exit Function Err_SV: Select Case Err Case 0 Resume Exit_SV Case 5 SV = Null <======== You set the SV to null, but then errors with : "Invalid Use of NULL" Resume Exit_SV Case Else MsgBox Err.Description, , "Error in Function clsSysVars.SV" Resume Exit_SV End Select Resume 0 '.FOR TROUBLESHOOTING End Function ....... Being able to run your sample code is the first step ... Persistence is getting me nowhere! Any suggestions? /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Oct 20 09:38:09 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 20 Oct 2005 07:38:09 -0700 (PDT) Subject: [AccessD] Zipping Certain Files Message-ID: <20051020143809.53878.qmail@web33108.mail.mud.yahoo.com> Hello Great Ones, I use the following to zip files and folders. Is there code to zip "specific" files in a folder? CODE Dim strAppName As String Dim FilesToBeZipped As String Dim NameOfNewZipFile As String strAppName = "C:\Program Files\WinZip\WINZIP32.EXE" FilesToBeZipped = "H:\ACCOUNT\CORP_RELO\Databases\" Dim toLoc As String Dim newDB As String toLoc = "C:\BackUp\Databases\" NameOfNewZipFile1 = toLoc1 & newDB Call Shell(strAppName & " -A -r -P " & NameOfNewZipFile & " " & FilesToBeZipped, 1) May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From Jim.Hale at FleetPride.com Thu Oct 20 09:55:30 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 20 Oct 2005 09:55:30 -0500 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337935@corp-es01.fleetpride.com> Good stuff. A couple of thoughts. Is it possible to automatically determine DS_Type? ie if the named query/table is in the system files we can assume it is a query/table, if not it is a raw sql string. Will multiple recordsets be able to write to the same export file? The alternative I guess is to use a union query as the record source. Should there be a boolean in usystblexport that signifies it is okay to kill existing copies of the named export file without asking? Does there need to be a method for handling nulls (or for that matter any illegal characters) in the recordset so that they are not written to the export file? What would really be interesting is a front end parser wizard that could take an example file and fill in whatever it could in usystblexport and usystablefield. It would be very useful but is not trivial to do. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, October 19, 2005 9:49 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data Export Spec - Rev1 OK this is the first rev to the table specification for the data export module. Everyone is welcomed to try and figure out what we are up to and comment on how you would use this and what you think would be useful in order to nail down an export specification. usystblExport holds the top level information about an export, including the name of the export specification, whether the export needs to be fixed width, whether to quote the text files, what the delimiter is for this specific export of the data, and a fully pathed file spec for where to place the data. usystblExport EX_ID AutoNumber Export ID EX_Name Text Export Name EX_FixedWidth Yes/No True when Fixed Width EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter Text The delimiter between fields EX_FileSpec Text Fully pathed file name EX_HeaderLine Yes/No True when Place the field names in the first line of the file usystblExportDataSource holds the relationship between an Export and a data source. This is a many to one, i.e. a given export specification can only use a single data source, but a single data source can be used by many different exports. usystblExportDataSource EXDS_ID AutoNumber DataSourceExport ID EXDS_IDEX Number Export ID EXDS_IDDS Number Data Source ID usystblDataSource tells us the name of the table, query or possibly a raw SQL statement. It also gives us a code telling us how to interpret the Source field. The objective is to be able to create a single recordset and export that recordset to multiple destinations, in various formats, but still ensure that the data is identical. usystblDataSource DS_ID AutoNumber Data source ID DS_Name Text Name of the data set - not required DS_Source Memo Data source - can be a sql statement, a query name or a table name DS_Type Text Source of the data - TBL, QRY or SQL usystblFld gives us information about each field - the order of the field in the Big String, the source field name in the table, query or SQL statement, the OUTPUT field in the text file, the format string used to coerce the data into the correct format, The width of the field if used in a fixed width export, and the beginning position in the string for FIXED WIDTH fields. The beginning position can be calculated from the position and the width of all the fields, and is mostly used as a cross check on the specification. Fixed width export specifications are very specific and we need to be certain that the client receiving the data tells us these numbers correctly. usystblFld FLD_ID AutoNumber Field ID FLD_IDDS Number Data Source ID FLD_Order Number The order that the field appears in the output string FLD_FldName Text Name of the field in the data source FLD_OutputFldName Text The name of the field in the output file FLD_Format Text Format string to use on the data FLD_BeginPos Number Beginning position in the Big String FLD_Width Number The width if this is to be used in a fixed width export. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From paul.hartland at isharp.co.uk Thu Oct 20 10:05:33 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 20 Oct 2005 16:05:33 +0100 Subject: [AccessD] OT - ASP Lists In-Reply-To: <20051020143809.53878.qmail@web33108.mail.mud.yahoo.com> Message-ID: To all, Anyone know any good lists like ours for ASP ? Thanks in advance Paul Hartland From bheid at appdevgrp.com Thu Oct 20 10:27:38 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 20 Oct 2005 11:27:38 -0400 Subject: [AccessD] Zipping Certain Files In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CB965A@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF174@ADGSERVER> I don't have the info hand at the moment, but look at the command line version of WinZip here: http://www.winzip.com/downcl.htm There are some docs with it that show all of the details. It's easy to do what you want. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, October 20, 2005 10:38 AM To: AccessD solving' Subject: [AccessD] Zipping Certain Files Hello Great Ones, I use the following to zip files and folders. Is there code to zip "specific" files in a folder? CODE Dim strAppName As String Dim FilesToBeZipped As String Dim NameOfNewZipFile As String strAppName = "C:\Program Files\WinZip\WINZIP32.EXE" FilesToBeZipped = "H:\ACCOUNT\CORP_RELO\Databases\" Dim toLoc As String Dim newDB As String toLoc = "C:\BackUp\Databases\" NameOfNewZipFile1 = toLoc1 & newDB Call Shell(strAppName & " -A -r -P " & NameOfNewZipFile & " " & FilesToBeZipped, 1) May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us From jwcolby at ColbyConsulting.com Thu Oct 20 10:35:45 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 11:35:45 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337935@corp-es01.fleetpride.com> Message-ID: <007501c5d58b$efeec420$667aa8c0@ColbyM6805> >Is it possible to automatically determine DS_Type? ie if the named query/table is in the system files we can assume it is a query/table, if not it is a raw sql string. It isn't clear yet that this is even necessary. When opening a DAO recordset db.open("SomeThingHere") the SomeThingHere is handled correctly whether it is a table, named query or SQL Statement. >Will multiple recordsets be able to write to the same export file? This could be done with an "append" flag in the usystblExport, i.e. if the file already exists then just append to the end of it. If we do that, then we would need to treat a False in that field as "if the file already exists, then delete it". Then multiple Export records could specify the same file name but different DataSource records. Of course then you need to be VERY careful that the data fields match up, all the delimiters etc match. >Does there need to be a method for handling nulls (or for that matter any illegal characters) in the recordset so that they are not written to the export file? In general, a null is treated as "nothing in the string", but SOMETHING still has to be output. "", for a quoted comma delimited, or " " for a quoted, fixed length etc. That one is not going to happen but you get the picture. The field in the export string has to have a fixed number of spaces, or a delimited field in there or the whole export gets out of sync. >What would really be interesting is a front end parser wizard that could take an example file and fill in whatever it could in usystblexport and usystablefield. It would be very useful but is not trivial to do. This would not be trivial to do, especially getting down to the fld record level since format strings are used. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 20, 2005 10:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 Good stuff. A couple of thoughts. Is it possible to automatically determine DS_Type? ie if the named query/table is in the system files we can assume it is a query/table, if not it is a raw sql string. Will multiple recordsets be able to write to the same export file? The alternative I guess is to use a union query as the record source. Should there be a boolean in usystblexport that signifies it is okay to kill existing copies of the named export file without asking? Does there need to be a method for handling nulls (or for that matter any illegal characters) in the recordset so that they are not written to the export file? What would really be interesting is a front end parser wizard that could take an example file and fill in whatever it could in usystblexport and usystablefield. It would be very useful but is not trivial to do. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, October 19, 2005 9:49 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data Export Spec - Rev1 OK this is the first rev to the table specification for the data export module. Everyone is welcomed to try and figure out what we are up to and comment on how you would use this and what you think would be useful in order to nail down an export specification. usystblExport holds the top level information about an export, including the name of the export specification, whether the export needs to be fixed width, whether to quote the text files, what the delimiter is for this specific export of the data, and a fully pathed file spec for where to place the data. usystblExport EX_ID AutoNumber Export ID EX_Name Text Export Name EX_FixedWidth Yes/No True when Fixed Width EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter Text The delimiter between fields EX_FileSpec Text Fully pathed file name EX_HeaderLine Yes/No True when Place the field names in the first line of the file usystblExportDataSource holds the relationship between an Export and a data source. This is a many to one, i.e. a given export specification can only use a single data source, but a single data source can be used by many different exports. usystblExportDataSource EXDS_ID AutoNumber DataSourceExport ID EXDS_IDEX Number Export ID EXDS_IDDS Number Data Source ID usystblDataSource tells us the name of the table, query or possibly a raw SQL statement. It also gives us a code telling us how to interpret the Source field. The objective is to be able to create a single recordset and export that recordset to multiple destinations, in various formats, but still ensure that the data is identical. usystblDataSource DS_ID AutoNumber Data source ID DS_Name Text Name of the data set - not required DS_Source Memo Data source - can be a sql statement, a query name or a table name DS_Type Text Source of the data - TBL, QRY or SQL usystblFld gives us information about each field - the order of the field in the Big String, the source field name in the table, query or SQL statement, the OUTPUT field in the text file, the format string used to coerce the data into the correct format, The width of the field if used in a fixed width export, and the beginning position in the string for FIXED WIDTH fields. The beginning position can be calculated from the position and the width of all the fields, and is mostly used as a cross check on the specification. Fixed width export specifications are very specific and we need to be certain that the client receiving the data tells us these numbers correctly. usystblFld FLD_ID AutoNumber Field ID FLD_IDDS Number Data Source ID FLD_Order Number The order that the field appears in the output string FLD_FldName Text Name of the field in the data source FLD_OutputFldName Text The name of the field in the output file FLD_Format Text Format string to use on the data FLD_BeginPos Number Beginning position in the Big String FLD_Width Number The width if this is to be used in a fixed width export. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Oct 20 10:50:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 17:50:21 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Steve Rekall can - at some level: http://www.thekompany.com/products/rekall/screenshots.php3?PHPSESSID=e89731b90ec5dd9d05c22f5ab6f86b6d /gustav >>> developer at ultradnt.com 20-10-2005 15:56 >>> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve From prodevmg at yahoo.com Thu Oct 20 11:21:12 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 20 Oct 2005 09:21:12 -0700 (PDT) Subject: [AccessD] Zipping Certain Files In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF174@ADGSERVER> Message-ID: <20051020162112.79090.qmail@web33107.mail.mud.yahoo.com> Thanks. I will take a look-see at this and let you know. Bobby Heid wrote:I don't have the info hand at the moment, but look at the command line version of WinZip here: http://www.winzip.com/downcl.htm There are some docs with it that show all of the details. It's easy to do what you want. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, October 20, 2005 10:38 AM To: AccessD solving' Subject: [AccessD] Zipping Certain Files Hello Great Ones, I use the following to zip files and folders. Is there code to zip "specific" files in a folder? CODE Dim strAppName As String Dim FilesToBeZipped As String Dim NameOfNewZipFile As String strAppName = "C:\Program Files\WinZip\WINZIP32.EXE" FilesToBeZipped = "H:\ACCOUNT\CORP_RELO\Databases\" Dim toLoc As String Dim newDB As String toLoc = "C:\BackUp\Databases\" NameOfNewZipFile1 = toLoc1 & newDB Call Shell(strAppName & " -A -r -P " & NameOfNewZipFile & " " & FilesToBeZipped, 1) May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From martyconnelly at shaw.ca Thu Oct 20 12:33:03 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 20 Oct 2005 10:33:03 -0700 Subject: [AccessD] OT - ASP Lists References: Message-ID: <4357D4CF.4020704@shaw.ca> Charles Carroll used to run a series of really good ASP mailing lists but I don't know where they have morphed to. The ones I subscribed to seem to have petered out to less than a couple of messages a week. This maybe of use http://www.learnasp.com/learn/ http://aspalliance.com/ Paul Hartland (ISHARP) wrote: > To all, > >Anyone know any good lists like ours for ASP ? > >Thanks in advance > >Paul Hartland > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at ColbyConsulting.com Thu Oct 20 13:46:09 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 14:46:09 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <001801c5d568$b6eeb720$6401a8c0@fincomplex.spb.ru> Message-ID: <000001c5d5a6$8d17c5c0$667aa8c0@ColbyM6805> >As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? So Shamil, are you discussing porting this out of an Access container to something like VB6 or VB.Net? Or is this a "I don't like to reference DAO" kind of thing. If the code that does this is contained inside the class, what difference does the choice of DAO vs ADO make - other than having to link to the DAO library? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 20, 2005 7:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 John, Question #1: You "dive into details" from the very beginning - but it is not clearly stated in your spec are your custom classes/modules to be developed planned to be used with DAO only? I mean if you consciously restrict applicability(/reusability) of the code to be developed - that's OK but it have to be clearly stated in the specs' abstract to avoid any misunderstanding/mistreatment of the goals of your project for all involved parties(/project stakeholders). As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 6:49 AM Subject: [AccessD] Data Export Spec - Rev1 > OK this is the first rev to the table specification for the data > export module. Everyone is welcomed to try and figure out what we are > up to and comment on how you would use this and what you think would > be useful in order to nail down an export specification. > > usystblExport holds the top level information about an export, > including the > name of the export specification, whether the export needs to be fixed > width, whether to quote the text files, what the delimiter is for this > specific export of the data, and a fully pathed file spec for where to place > the data. > > usystblExport > EX_ID AutoNumber Export ID > EX_Name Text Export Name > EX_FixedWidth Yes/No True when Fixed Width > EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter > Text The delimiter between fields EX_FileSpec Text Fully pathed file > name EX_HeaderLine Yes/No True when Place the field names in the first > line of the file > > usystblExportDataSource holds the relationship between an Export and a data > source. This is a many to one, i.e. a given export specification can > only use a single data source, but a single data source can be used by > many different exports. > > usystblExportDataSource > EXDS_ID AutoNumber DataSourceExport ID > EXDS_IDEX Number Export ID > EXDS_IDDS Number Data Source ID > > usystblDataSource tells us the name of the table, query or possibly a > raw SQL statement. It also gives us a code telling us how to > interpret the Source field. The objective is to be able to create a > single recordset and > export that recordset to multiple destinations, in various formats, > but still ensure that the data is identical. > > usystblDataSource > DS_ID AutoNumber Data source ID > DS_Name Text Name of the data set - not required > DS_Source Memo Data source - can be a sql > statement, a query name or a table name > DS_Type Text Source of the data - TBL, QRY or SQL > > usystblFld gives us information about each field - the order of the > field in > the Big String, the source field name in the table, query or SQL statement, > the OUTPUT field in the text file, the format string used to coerce > the data > into the correct format, The width of the field if used in a fixed > width export, and the beginning position in the string for FIXED WIDTH > fields. The beginning position can be calculated from the position and > the width of > all the fields, and is mostly used as a cross check on the > specification. Fixed width export specifications are very specific and > we need to be certain that the client receiving the data tells us > these numbers correctly. > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the output string > FLD_FldName Text Name of the field in the data source > FLD_OutputFldName Text The name of the field in the output > file > FLD_Format Text Format string to use on the data > > FLD_BeginPos Number Beginning position in the Big String FLD_Width > Number The width if this is to be used in a fixed width export. > > In my current concept of how to implement this set of tables, > usystblFld would be a class (clsFld) which is responsible for > formatting a piece of data from a specific field. > > usystblDataSource becomes a class (clsDataSource) which is the > supervisor of > a collection of clsFld. The first thing that clsDataSource does is to take > the DS_ID and use that to pull all of the records in usystblFld with > that value in FLD_IDDS. This basically gathers all of the field > records that will be exported. Thus a query, table or SQL statement > can have more fields > than make it into the export, and the fields that make it into the > export are determined solely by their presence in usystblFld. As > clsDataSource reads the records out of usystblFld, it instantiates a > clsFld for each field > to be exported, and storing the class instances in Field Position > order (FLD_Order), sort the fields coming out of usystblFlds on > FLD_Order. Thus the clsFld instances are stored in the collection in > their order in the output string. > > clsDataSource reads the dataset specified by the table name, query > name, or > SQL statement stored in DS_Name. This data set may have N records to > be exported into the resulting text file. The data set is iterated > record by record, and each record is then fed to each clsFld in > consecutive order in the clsFld collection (pseudocode below): > > Dim rst as dao.recordset > Dim db as dao.database > Dim lclsFld as clsFld > Dim strBigStr as string > set db = currentdb > set rst = db.Open(DS_Source) > while not rst.eof > > 'the stuff above gets the data to be exported > > 'The stuff below formats the data using the collection of clsFld > instances > > for each lclsFld in colClsFld > str = lclsfld.Format(rst) > strBigStr = strBigStr & SomeDelimiter & str > next lclsFld > wend > > As you can see, each clsFld instance gets a shot at the recordset, and uses > FLD_FldName to determine which piece of the recordset it is supposed > to format (pseudocode below): > > Function Format(rst as dao.recordset) as string > Dim var as variant > Dim str as string > var = rst(FLD_FldName) > str = format(var,FLD_Format) > End function > > Thus as clsDataSource iterates the recordset of data to export, for > each record to be exported it passes the recordset off to each clsFld > instance, getting back formatted data and building up BigString. When > all fields have > been formatted and appended to BigString, BigString is written to > EX_FileSpec. > > That is the big picture, starting to discuss implementation logic. I > am going to cross post this to my forum out on my web site for the > purpose of creating a thread where this can be read independently of > AccessD chatter. > > All comments and suggestions welcomed. We need to nail down the table > structure, since the information in the tables drives the construction > of the classes that hold the data in the usys tables, and the logic of > how to use this data to create an export file. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 20 13:48:26 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 20 Oct 2005 11:48:26 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <001b01c5d5a6$db1fa9e0$017ba8c0@xpserver> Hi Gustav: Thanks for that information. Some 'real' work has now got in my way too and I will have to get but to the fun later. This info will give me a start point. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 5:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Jim You have two options: ODBC or OCX. ODBC works quite nicely and doesn't require further explanation. The OCX is the CacheObject where you need something like this: Dim fac As CacheObject.Factory Dim obj As CacheObject.ObjInstance Dim res As CacheObject.ResultSet I did play around with the OCX but was interrupted by real work. You somewhat loose the feeling of Access; it's more like VB where you move data back and forth but I guess you get used to it - or would write some wrapper class. Or just fall back to ODBC and use Access the normal way. /gustav >>> accessd at shaw.ca 19-10-2005 19:26 >>> I have been playing with Cach? recently and found the database creation a very interesting and refreshing. Totally OOPS (Still getting my head around that one.) I have just been following the tutorials but tried some data importing the other night and it seems to run very fast... 370,000 records and the data searches are basically instantaneous. Nothing unusual for a major DB but the interesting thing is that I did not have to specify a database or table or field. Now the next big hurdle is how this can be attached to Access. (A friend likened it to towing a battle-ship with a VW.) Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Thu Oct 20 14:00:35 2005 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 20 Oct 2005 15:00:35 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <200510201900.j9KJ0WT60952@ultradnt.com> Gustav, This looks pretty cool, thanks. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 11:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Steve Rekall can - at some level: http://www.thekompany.com/products/rekall/screenshots.php3?PHPSESSID=e89731b 90ec5dd9d05c22f5ab6f86b6d /gustav >>> developer at ultradnt.com 20-10-2005 15:56 >>> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 20 14:01:14 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 20 Oct 2005 12:01:14 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <200510201356.j9KDukT14379@ultradnt.com> Message-ID: <001c01c5d5a8$a4de47e0$017ba8c0@xpserver> Steve: Some would say that you should be using an Oracle BE with their Developer tools for the FE (java). Runs in both environments as well but the price tag is quite different. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Thursday, October 20, 2005 6:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 8:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Shamil I think you would have a nice experience with Cach?. It's quite fun - and a much different feeling - to deal with tables and related tables directly as persistent classes. And stored procedures etc. can be written in either VB syntax or Cach?Script which is more like C syntax. "Embedded" SQL can be used too. /gustav >>> shamil at users.mns.ru 19-10-2005 13:47 >>> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Oct 20 14:13:10 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 21:13:10 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Steve If you find out something how to handle this Python driven animal, please share - I don't think anyone from the list has worked with it. Also note the more recent commercial (though cheap) version: http://www.totalrekall.co.uk where versions for both Win32, Linux, and MacXOS are available. However, the old version 2.2 is for download for free if you register at the site (no charge). /gustav >>> developer at ultradnt.com 20-10-2005 21:00 >>> Gustav, This looks pretty cool, thanks. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 11:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Steve Rekall can - at some level: http://www.thekompany.com/products/rekall/screenshots.php3?PHPSESSID=e89731b 90ec5dd9d05c22f5ab6f86b6d /gustav >>> developer at ultradnt.com 20-10-2005 15:56 >>> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve From developer at ultradnt.com Thu Oct 20 14:30:25 2005 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 20 Oct 2005 15:30:25 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: <001c01c5d5a8$a4de47e0$017ba8c0@xpserver> Message-ID: <200510201930.j9KJUMT65325@ultradnt.com> Jim: Yeah, I am dealing with some samll firms that don't even want to buy Office; Oracle is out of their range. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 20, 2005 3:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Steve: Some would say that you should be using an Oracle BE with their Developer tools for the FE (java). Runs in both environments as well but the price tag is quite different. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Thursday, October 20, 2005 6:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 8:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Shamil I think you would have a nice experience with Cach?. It's quite fun - and a much different feeling - to deal with tables and related tables directly as persistent classes. And stored procedures etc. can be written in either VB syntax or Cach?Script which is more like C syntax. "Embedded" SQL can be used too. /gustav >>> shamil at users.mns.ru 19-10-2005 13:47 >>> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Thu Oct 20 14:42:51 2005 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 20 Oct 2005 15:42:51 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <200510201942.j9KJgnT67079@ultradnt.com> Well, after I train myself on VS & SQL 2005 in my spare time, I'll give it a test drive (some time in 2008?) LOL -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 3:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Steve If you find out something how to handle this Python driven animal, please share - I don't think anyone from the list has worked with it. Also note the more recent commercial (though cheap) version: http://www.totalrekall.co.uk where versions for both Win32, Linux, and MacXOS are available. However, the old version 2.2 is for download for free if you register at the site (no charge). /gustav >>> developer at ultradnt.com 20-10-2005 21:00 >>> Gustav, This looks pretty cool, thanks. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 11:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Steve Rekall can - at some level: http://www.thekompany.com/products/rekall/screenshots.php3?PHPSESSID=e89731b 90ec5dd9d05c22f5ab6f86b6d /gustav >>> developer at ultradnt.com 20-10-2005 15:56 >>> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Oct 20 15:56:04 2005 From: john at winhaven.net (John Bartow) Date: Thu, 20 Oct 2005 15:56:04 -0500 Subject: [AccessD] OT - ASP Lists In-Reply-To: <4357D4CF.4020704@shaw.ca> Message-ID: <003501c5d5b8$afef9520$7601a8c0@ScuzzPaq> If there's a need out there we could consider starting one here. You could contact all your ASP pals and invite them. What Say ye? John B. From pedro at plex.nl Thu Oct 20 16:08:47 2005 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 20 Oct 2005 23:08:47 +0200 Subject: [AccessD] datatype mismatch in query References: Message-ID: <000401c5d5ba$78878d70$4001a8c0@laptop> Hello Gustav, i figured it out. I was trying to insert zero length values into a field with the "Allow zero Length property" of. Thanks for your help. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, October 19, 2005 1:12 PM Subject: Re: [AccessD] datatype mismatch in query > Hi Pedro > > It sounds like a validation rule for DebID is kicking in. Obtain a > specification for this. > If that is not possible, change the query to a normal select query and > study the records. > Or add a filter to the append query to select only a subset of the > records. Then make this smaller and smaller until you haved focused some > of the records that breaks the validation. > > /gustav > >>>> pedro at plex.nl 18-10-2005 22:46 >>> > Hello Gustav and others, > > when using Val() or CLng(), i get a message, that says: > > Not all records in the append query can be added: ...... records as a > result of conflict in validationrules. > How can this be solved? > > Pedro Janssen > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Monday, October 17, 2005 9:33 PM > Subject: Re: [AccessD] datatype mismatch in query > > >> Hi Pedro >> >> Try comparing numbers too: >> >> WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM >> tblDebiteurAlgemeen); >> >> You can use SQL-native VAL() for CLng(). >> >> /gustav >> >>>>> pedro at plex.nl 17-10-2005 21:26 >>> >> Hello All, >> >> i am using the following append-query to update a table >> (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is >> linked to this database: >> >> SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) >> SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf >> FROM DEBSTM IN 'C:\ThisDatabase.mdb' >> WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM >> tblDebiteurAlgemeen); >> >> When using this query, i get an error. Datatype mismatch. >> This is because field DebID is Number and field Nummer is text. >> Although field Nummer is text, the values are al numbers. Because this >> field is in a commercial database, i can't change the field type. Is >> there >> another way?? >> >> Pedro Janssen > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Thu Oct 20 16:29:07 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 21 Oct 2005 01:29:07 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <000001c5d5a6$8d17c5c0$667aa8c0@ColbyM6805> Message-ID: <002301c5d5bd$91df8f90$6401a8c0@fincomplex.spb.ru> > are you discussing porting this out of an Access container to > something like VB6 or VB.Net? I just wanted to make "crystal clear" what kind of the data sources/data source objects are planned to be used for export and transformation.... > Or is this a "I don't like to reference DAO" > kind of thing. No, I like DAO :) > If the code that does this is contained inside the class, > what difference does the choice of DAO vs ADO make > - other than having to > link to the DAO library? IMO the problem is as far as I see (I can be wrong) that you plan to develop tightly coupled synchronous solution. This is a problem if you work alone but this is even a bigger problem when working in a team: - problem to share the work between team members; - problem of duplicated code, which may become "nigthmarish" to support; - problem for future extensions; - problem for scaling up.... etc. Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 10:46 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > >As far as I see from your code samples you use DAO. xxx - and from that > usage one can make assumption that DAO and nothing else is planned to be > used to work with metadata and the real data sources - is that a correct > assumption? > > So Shamil, are you discussing porting this out of an Access container to > something like VB6 or VB.Net? Or is this a "I don't like to reference DAO" > kind of thing. If the code that does this is contained inside the class, > what difference does the choice of DAO vs ADO make - other than having to > link to the DAO library? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, October 20, 2005 7:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data Export Spec - Rev1 > > > John, > > Question #1: You "dive into details" from the very beginning - but it is not > clearly stated in your spec are your custom classes/modules to be developed > planned to be used with DAO only? I mean if you consciously restrict > applicability(/reusability) of the code to be developed - that's OK but it > have to be clearly stated in the specs' abstract to avoid any > misunderstanding/mistreatment of the goals of your project for all involved > parties(/project stakeholders). As far as I see from your code samples you > use DAO. xxx - and from that usage one can make assumption that DAO and > nothing else is planned to be used to work with metadata and the real data > sources - is that a correct assumption? > > Shamil > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, October 20, 2005 6:49 AM > Subject: [AccessD] Data Export Spec - Rev1 > > > > OK this is the first rev to the table specification for the data > > export module. Everyone is welcomed to try and figure out what we are > > up to and comment on how you would use this and what you think would > > be useful in order to nail down an export specification. > > > > usystblExport holds the top level information about an export, > > including > the > > name of the export specification, whether the export needs to be fixed > > width, whether to quote the text files, what the delimiter is for this > > specific export of the data, and a fully pathed file spec for where to > place > > the data. > > > > usystblExport > > EX_ID AutoNumber Export ID > > EX_Name Text Export Name > > EX_FixedWidth Yes/No True when Fixed Width > > EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter > > Text The delimiter between fields EX_FileSpec Text Fully pathed file > > name EX_HeaderLine Yes/No True when Place the field names in the first > > line of the file > > > > usystblExportDataSource holds the relationship between an Export and a > data > > source. This is a many to one, i.e. a given export specification can > > only use a single data source, but a single data source can be used by > > many different exports. > > > > usystblExportDataSource > > EXDS_ID AutoNumber DataSourceExport ID > > EXDS_IDEX Number Export ID > > EXDS_IDDS Number Data Source ID > > > > usystblDataSource tells us the name of the table, query or possibly a > > raw SQL statement. It also gives us a code telling us how to > > interpret the Source field. The objective is to be able to create a > > single recordset > and > > export that recordset to multiple destinations, in various formats, > > but still ensure that the data is identical. > > > > usystblDataSource > > DS_ID AutoNumber Data source ID > > DS_Name Text Name of the data set - not required > > DS_Source Memo Data source - can be a sql > > statement, a query name or a table name > > DS_Type Text Source of the data - TBL, QRY or SQL > > > > usystblFld gives us information about each field - the order of the > > field > in > > the Big String, the source field name in the table, query or SQL > statement, > > the OUTPUT field in the text file, the format string used to coerce > > the > data > > into the correct format, The width of the field if used in a fixed > > width export, and the beginning position in the string for FIXED WIDTH > > fields. The beginning position can be calculated from the position and > > the width > of > > all the fields, and is mostly used as a cross check on the > > specification. Fixed width export specifications are very specific and > > we need to be certain that the client receiving the data tells us > > these numbers > correctly. > > > > usystblFld > > FLD_ID AutoNumber Field ID > > FLD_IDDS Number Data Source ID > > FLD_Order Number The order that the field appears in the output string > > FLD_FldName Text Name of the field in the data source > > FLD_OutputFldName Text The name of the field in the output > > file > > FLD_Format Text Format string to use on the data > > > > FLD_BeginPos Number Beginning position in the Big String FLD_Width > > Number The width if this is to be used in a fixed width export. > > > > In my current concept of how to implement this set of tables, > > usystblFld would be a class (clsFld) which is responsible for > > formatting a piece of data from a specific field. > > > > usystblDataSource becomes a class (clsDataSource) which is the > > supervisor > of > > a collection of clsFld. The first thing that clsDataSource does is to > take > > the DS_ID and use that to pull all of the records in usystblFld with > > that value in FLD_IDDS. This basically gathers all of the field > > records that will be exported. Thus a query, table or SQL statement > > can have more > fields > > than make it into the export, and the fields that make it into the > > export are determined solely by their presence in usystblFld. As > > clsDataSource reads the records out of usystblFld, it instantiates a > > clsFld for each > field > > to be exported, and storing the class instances in Field Position > > order (FLD_Order), sort the fields coming out of usystblFlds on > > FLD_Order. Thus the clsFld instances are stored in the collection in > > their order in the output string. > > > > clsDataSource reads the dataset specified by the table name, query > > name, > or > > SQL statement stored in DS_Name. This data set may have N records to > > be exported into the resulting text file. The data set is iterated > > record by record, and each record is then fed to each clsFld in > > consecutive order in the clsFld collection (pseudocode below): > > > > Dim rst as dao.recordset > > Dim db as dao.database > > Dim lclsFld as clsFld > > Dim strBigStr as string > > set db = currentdb > > set rst = db.Open(DS_Source) > > while not rst.eof > > > > 'the stuff above gets the data to be exported > > > > 'The stuff below formats the data using the collection of clsFld > > instances > > > > for each lclsFld in colClsFld > > str = lclsfld.Format(rst) > > strBigStr = strBigStr & SomeDelimiter & str > > next lclsFld > > wend > > > > As you can see, each clsFld instance gets a shot at the recordset, and > uses > > FLD_FldName to determine which piece of the recordset it is supposed > > to format (pseudocode below): > > > > Function Format(rst as dao.recordset) as string > > Dim var as variant > > Dim str as string > > var = rst(FLD_FldName) > > str = format(var,FLD_Format) > > End function > > > > Thus as clsDataSource iterates the recordset of data to export, for > > each record to be exported it passes the recordset off to each clsFld > > instance, getting back formatted data and building up BigString. When > > all fields > have > > been formatted and appended to BigString, BigString is written to > > EX_FileSpec. > > > > That is the big picture, starting to discuss implementation logic. I > > am going to cross post this to my forum out on my web site for the > > purpose of creating a thread where this can be read independently of > > AccessD chatter. > > > > All comments and suggestions welcomed. We need to nail down the table > > structure, since the information in the tables drives the construction > > of the classes that hold the data in the usys tables, and the logic of > > how to use this data to create an export file. > > > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Thu Oct 20 17:11:00 2005 From: dmcafee at pacbell.net (David McAfee) Date: Thu, 20 Oct 2005 15:11:00 -0700 Subject: [AccessD] OT - ASP Lists In-Reply-To: <003501c5d5b8$afef9520$7601a8c0@ScuzzPaq> Message-ID: That would be cool, especially with ASP.Net topics :) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Thursday, October 20, 2005 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - ASP Lists If there's a need out there we could consider starting one here. You could contact all your ASP pals and invite them. What Say ye? John B. From accessd at shaw.ca Thu Oct 20 17:32:55 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 20 Oct 2005 15:32:55 -0700 Subject: [AccessD] OT - ASP Lists In-Reply-To: <003501c5d5b8$afef9520$7601a8c0@ScuzzPaq> Message-ID: <002b01c5d5c6$37ecbdb0$017ba8c0@xpserver> Hi John: Maybe all things .Net (?) and as the list grows separate it out into it's various components. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, October 20, 2005 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - ASP Lists If there's a need out there we could consider starting one here. You could contact all your ASP pals and invite them. What Say ye? John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 20 19:22:22 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 20:22:22 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <002301c5d5bd$91df8f90$6401a8c0@fincomplex.spb.ru> Message-ID: <000a01c5d5d5$848387d0$667aa8c0@ColbyM6805> Shamil, I guess I don't understand what you mean. This is a self contained system. Place data in the tables, call a function, out pops a text file. That is precisely the plan, to make a table driven export SYSTEM, where you place specifications for exporting data into a set of tables (well defined interface), instantiate a class, and call a method of the class. Out pops a text file. It is intentionally (or intended to be) that simple. At the same time it can be simultaneously used by 1 or a dozen (or a hundred) different users, exporting different data files, each exporting the files they choose by selecting which Export record(s) they use. I run this thing on a server, automatically, in the middle of the night, but that doesn't have to be. >- problem to share the work between team members; Work on this export wizard? There are only a handful of classes envisioned, possibly as few as two. I am not getting volunteers buy the droves you might notice, so it does not appear that splitting up the work is going to be one of the major concerns. >- problem of duplicated code, which may become "nightmarish" to support; I guess I just don't understand what you see. The entire system will likely be a pair of classes. One class holds the data and methods for a field, the other holds the data and methods for the recordset export. >- problem for future extensions; Am I missing something? If you are going to define a program, that performs a fixed functionality, then you always risk "problem for future extensions". This is not .net, there is no inheritance. The best we can do is to open the discussion up and get as much input and ideas for future expansions as possible right up front so that they can be planned for. If additions are needed later, then you do like you do in any project, you attempt to make them fit. This is not Windows however, or SQL Server, or Office, it is a pair of classes and 4 tables. >- problem for scaling up.... Well... This one will indeed be a problem. If you intend to export millions of records using this method the results will likely be unsatisfactory. That said however, this method loads the field class instances into memory and just passes a pointer to the recordset to each one. We can certainly run timing analysis per record (per field) but what you get is what you get. Again, there is no magic involved here. In fact using DAO instead of ADO will likely INCREASE the speed rather than decrease it. It just occurred to me that you might be able to scale it up using parallel processing, have 10 machines each append to it's own file, then append the 10 files together. However, if you envision something that needs to export millions of records at a shot, then a custom highly optimized solution is probably preferred. >etc. Sorry, can't really address that one until it is fleshed out a bit. ;-) I have a "similar" system actually running. It is very application specific, but the concept is virtually identical. I export 4 files with it daily. I can time it to get a feel for performance, but like anything, performance will always "depend" on a lot of different variables. Your Mileage May Vary GREATLY. My intention here is to attempt to "genericize" a common requirement - delimited or fixed width text file export. It is just plain silly to code this over and over and over (and over). BTW, I will eventually be porting this to .NET as I have a requirement for that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 20, 2005 5:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 > are you discussing porting this out of an Access container to > something like VB6 or VB.Net? I just wanted to make "crystal clear" what kind of the data sources/data source objects are planned to be used for export and transformation.... > Or is this a "I don't like to reference DAO" > kind of thing. No, I like DAO :) > If the code that does this is contained inside the class, what > difference does the choice of DAO vs ADO make > - other than having to > link to the DAO library? IMO the problem is as far as I see (I can be wrong) that you plan to develop tightly coupled synchronous solution. This is a problem if you work alone but this is even a bigger problem when working in a team: - problem to share the work between team members; - problem of duplicated code, which may become "nigthmarish" to support; - problem for future extensions; - problem for scaling up.... etc. Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Oct 21 01:48:22 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 21 Oct 2005 07:48:22 +0100 Subject: [AccessD] OT Friday Humour In-Reply-To: <000a01c5d5d5$848387d0$667aa8c0@ColbyM6805> Message-ID: <001201c5d60b$6e30bf80$934f0c54@minster33c3r25> I loved this. Great writing. Creased me up (pun intended) http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=8335653541 Then our Independent newspaper picked it up http://news.independent.co.uk/uk/this_britain/article320432.ece Surely only a Brit would sell something by taking the p out of himself, the item and any prospective buyers. -- Andy Lacey http://www.minstersystems.co.uk From shamil at users.mns.ru Fri Oct 21 04:09:58 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 21 Oct 2005 13:09:58 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <000a01c5d5d5$848387d0$667aa8c0@ColbyM6805> Message-ID: <002c01c5d61f$41649c10$6401a8c0@fincomplex.spb.ru> <<< It is intentionally (or intended to be) that simple. >>> OK. I see now. And as far as I see the only source data transformation method is to apply specified format. This looks of rather limited applicability. I think with a few additional efforts this program can be made to use additionally runtime pluggable data formatters - then it would be more useful. I'd also add that some export files (for banks e.g here in Russia) have special header and footer sections - I'd add this feature to your spec. Of course this feature can be added later when there will be real customer's request to add it. > There are only a handful of classes envisioned, > possibly as few as two. If you add pluggable data formatters feature then you can get hundreds additional small classes written by others for their own needs. You can combine them in one library database (MS Access), ATL/COM library(VB6 or C++ ATL/COM) or class library (.NET). Or they can be used as separate pluggable units. And hey will be used by your generic core code. > The entire system will likely > be a pair of classes. OK. But it may grow as far as I see to use different data sources then you'll have duplicated code to synchronize. Classes are small but when you do changes even in small classes then they have to be tested. There should be a solution with generic core code ready for new data sources to be added. And this core code will not be needed to changes/retest when these new data sources will be added. Small change in you code design and small additional work on this project phase will results in big savings on next phases. > If additions are needed later, then you do like > you do in any project, you attempt to make > them fit. With this approach the risk is high to rewrite whole system in attempts to make the new features to fit it. Or add a lot of patch code here and there (as it usually happens) getting migrated your simple code into "spaghetti" code. Yes, I see your system is small but nowadays mainstream requirement is to design the system as easy adaptable as possible to the future changes. Yes, to "foresee" the future changes some additional work is needed but in long run this small additional work will result in considerable savings. If in your case "long run"(many changes in the future) is not planned then there is no need of course in any additional work on your small system architecture. You can go coding "blindly"... > It just occurred to > me that you might be able to scale it up using parallel processing, have 10 > machines each append to it's own file, then append the 10 files together. John, when I'm talking on scaling I'm NOT talking will your system be able to make export of huge amount of source rows as speedy as the small amount(here 10 machines "brute force" is one of the possible solutions) - I'm talking will your system be able to do that export of huge source data sources at all on ONE PC without stopping all the other work on it? The time it will spend on this export and transformation doesn't matter in this case. > However, if you envision something that needs to export millions of records > at a shot, then a custom highly optimized solution is probably preferred. When your customer will grow to have million records to export then you will write a speedy custom solution or adapt your one to run in parallel on many threads/PCs/processors (in the case you use VB.NET). But WHILE your customer is growing you will not need to adjust your solution if you make it a little bit more flexible NOW. You will sleep well, your customer will sleep well when their data will be exported night time. Yes, you will have less work for this customer for this certain project in long run(patch coding work will not be needed) but they will like you and they will deliver you more work in other areas and they will recommend you to their partners - they gain in long run, you gain in long run, everybody gains - "win-win" approach with some small additional efforts on first stages. Well, maybe the picture I'm drawing is too bright :) If your customer is not ready to pay for this additional efforts on first stage or you do not want to invest your time - then just go coding without trying to envision future changes. You ( and I and anybody else) can't foresee all the possible changes of course - if they will try they will end up in "analysis paralysis". But modern design and programming approaches allow to make right design decisions without detailed analysis of what changes may come in the future... > I can time it to get a feel for performance, but like anything, > performance will always "depend" on a lot of different variables. Your > Mileage May Vary GREATLY. I'm not talking about system performance - it depends of course. I'm talking about programming ready for many(but not all of course) future changes without many troubles... > It is just plain silly to code > this over and over and over (and over). Well, as Gustav noted for him hardcoded approach works well. I did program last year for my customer on C++ a rather flexible approach based on XML metadefinitions - it was still a semi-hardcoded because I used inherited legacy code I started with and there were no time and resources to generalize it. And this semi-hardcoded approach worked rather well. But you is keen to make it more generic as far as I see. And ready to go with that generic coding. OK. For your certain case if you foresee you will have in the near future 10 customers requests for 10 different export formats and this work will take, say one working week (5 days) but now for developing the code for two export formats your customers is ready to pay you for two working days and you will make your generic solution in these two days, which will fit all the ten formats then you of course can go with a generic solution. Then your customer will save money and you will have a generic solution applicable in other projects. If you invest one additional day or convince your customer to pay you for this additional day to work on your small system architecture(this additional day's work will be spread on three days work) then you will get even more flexible more generic solution, easily portable to VB.NET and scalable. Does it makes sense to spend this additional working day now or not? This a question to you and your customer.... (I say 5 working days, 1 additional working day etc. just as an example not as an evaluation of the amount of work needed for this certain project or for the work needed to work on this project's architecture). > BTW, I will eventually be porting this to .NET > as I have a requirement for that. Here we go! Then later they will ask you to convert it to a Web Service but they will not have enough money for that work because these money will be spend on patch coding, scaling and VBA->VB.NET conversion of your "cowboy coding" solution. And then they will find Indian, Pakistanian, Romanian, Russian,... young guys who will use your code and make it converted to Web service because these young guys can work on 5USD/hour rate or less and they are rather good(very good sometimes) programmers after all and your customer will have money to pay these young guys and maybe they will make him(your lost customer) happy maybe not... But in long run you will loose your customer. Your customer will think you're not a good developer because your code wasn't flexible enough to adapt to the changes. Young Indian,... guys will spoil your customer by "free-cheese" kind of work but the chances they will make your customer happy in long run are questionnable... Everybody unhappy, resources wasted, mutual credibility low - isn't that situation what is so often happens in IT industry? Maybe I'm generalizing too much for this small project, I know... Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 21, 2005 4:22 AM Subject: Re: [AccessD] Data Export Spec - Rev1 > Shamil, > > I guess I don't understand what you mean. This is a self contained system. > Place data in the tables, call a function, out pops a text file. That is > precisely the plan, to make a table driven export SYSTEM, where you place > specifications for exporting data into a set of tables (well defined > interface), instantiate a class, and call a method of the class. Out pops a > text file. It is intentionally (or intended to be) that simple. At the > same time it can be simultaneously used by 1 or a dozen (or a hundred) > different users, exporting different data files, each exporting the files > they choose by selecting which Export record(s) they use. I run this thing > on a server, automatically, in the middle of the night, but that doesn't > have to be. > > >- problem to share the work between team members; > > Work on this export wizard? There are only a handful of classes envisioned, > possibly as few as two. I am not getting volunteers buy the droves you > might notice, so it does not appear that splitting up the work is going to > be one of the major concerns. > > >- problem of duplicated code, which may become "nightmarish" to support; > > I guess I just don't understand what you see. The entire system will likely > be a pair of classes. One class holds the data and methods for a field, the > other holds the data and methods for the recordset export. > > >- problem for future extensions; > > Am I missing something? If you are going to define a program, that performs > a fixed functionality, then you always risk "problem for future extensions". > This is not .net, there is no inheritance. The best we can do is to open > the discussion up and get as much input and ideas for future expansions as > possible right up front so that they can be planned for. If additions are > needed later, then you do like you do in any project, you attempt to make > them fit. This is not Windows however, or SQL Server, or Office, it is a > pair of classes and 4 tables. > > >- problem for scaling up.... > > Well... This one will indeed be a problem. If you intend to export millions > of records using this method the results will likely be unsatisfactory. > That said however, this method loads the field class instances into memory > and just passes a pointer to the recordset to each one. We can certainly > run timing analysis per record (per field) but what you get is what you get. > Again, there is no magic involved here. In fact using DAO instead of ADO > will likely INCREASE the speed rather than decrease it. It just occurred to > me that you might be able to scale it up using parallel processing, have 10 > machines each append to it's own file, then append the 10 files together. > > However, if you envision something that needs to export millions of records > at a shot, then a custom highly optimized solution is probably preferred. > > >etc. > > Sorry, can't really address that one until it is fleshed out a bit. ;-) > > I have a "similar" system actually running. It is very application > specific, but the concept is virtually identical. I export 4 files with it > daily. I can time it to get a feel for performance, but like anything, > performance will always "depend" on a lot of different variables. Your > Mileage May Vary GREATLY. > > My intention here is to attempt to "genericize" a common requirement - > delimited or fixed width text file export. It is just plain silly to code > this over and over and over (and over). > > BTW, I will eventually be porting this to .NET as I have a requirement for > that. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > <<< tail trimmed>>> From Gustav at cactus.dk Fri Oct 21 05:11:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Oct 2005 12:11:35 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi John and Shamil Interesting to follow this thread. It demonstrates what happens when you move from a fixed to-the-point solution (like my example) over a generic solution as John is suggesting to a universal solution as Shamil has in mind - and all the considerations that move causes. I'm pretty much in line with Shamil on this. However, time has shown me that such thoughts most often are over the head and/or pockets of the client and you'll have to compromise. Clients are very pragmatic. But during this at least you have a nice intellectual time with yourself realizing that you are ahead of the client! /gustav >>> shamil at users.mns.ru 21-10-2005 11:09 >>> <<< It is intentionally (or intended to be) that simple. >>> OK. I see now. And as far as I see the only source data transformation method is to apply specified format. This looks of rather limited applicability. I think with a few additional efforts this program can be made to use additionally runtime pluggable data formatters - then it would be more useful. From andy at minstersystems.co.uk Fri Oct 21 06:06:34 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 21 Oct 2005 12:06:34 +0100 Subject: [AccessD] OT Friday Humour Message-ID: <20051021110631.6D50F250DD4@smtp.nildram.co.uk> Further to the earlier post I must apologise. The ebay guy is not a brit at all (I'd assumed that from the entry in the UK newspaper) he's from NY. Well, respect to him. Also the link I posted to the Independent newspaper is not worth following (only gave full article on day of publication, now just a suumary) but here's one to the guy's blog instead. A fun read. In fact the blog contains the full ebay ad (plus lots of follow-up comments) so you only need read this. http://www.banterist.com/archivefiles/000286.html -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at ColbyConsulting.com Fri Oct 21 08:56:20 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 09:56:20 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <002c01c5d61f$41649c10$6401a8c0@fincomplex.spb.ru> Message-ID: <002001c5d647$36ec8720$667aa8c0@ColbyM6805> Shamil, LOL, I NEVER want to be all those backwards things that you portray me to be, so join the team and show me (all of us) how we accomplish this? What I am discussing is getting data out of a row of a record, into a delimited string of text, with any format you desire (or which format$() can handle anyway). Each field can have its own format string stored right in the field definition, so you can specify the output format of the field. For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. Every fld record has a place to store a format string like this, so each field can be formatted as precisely as format strings allows you to format that field. Let's back up a minute. The objective is to create a system for creating fixed width / delimited data files for exchanging data between our puny little micro computers and those monsters of calculation mainframes. Specifically for EXPORTING data to these monsters of computing. The "typical" way that developers export data is: 1) Use the export wizard, which works well IF the format is well understood. Call up the wizard, point to a query, fill in the blanks, use the export specification with the OutputTo vba function. This is fine, except that if anything in the format needs to change, you have to step back through the wizard, selecting the field, and then find and fix the format. And of course, if you need any formatting not provided by the wizard you are stuck. The wizard is pretty cool, I use it, but I always find it a bit of a PITA. I also have one HUGE issue with this, which is that the OutputTo occasionally errors out for reasons completely unknown to me. Come back through and execute again and it works the second time. Reliability sucks. The exports that I do occur in the middle of the night because my client's client needs them on their desk in the morning. Every few weeks I come in to find it not happening. I even tried just looping back to do it again until it works and for whatever reason that doesn't work. So... Output to is a fine solution as long as you don't need reliability. 2) Write a custom output module that takes a record, pulls each field, and outputs it however it needs to be seen in the file, hard coding the quotes, if any, the delimit property, the fixed width etc. This is Gustav's solution, and if your spec is carved in stone, and you don't need to do lots of them, this method also works just fine. In either case, what often happens is that any necessary FORMATTING is often accomplished in the query that pulls the data. IOW, I pull a currency field, alias it, and right in the query use a format$() to get it in the desired format. This certainly works, but the issue is that if you want to find out (and change) how it is formatted, you have to go find the specific query that has the format$() statement in the field alias and change the format there. My intention is to: Move the formatting out of the queries entirely. Allow the query just selects data to export, nothing more. Allow the system to export data using the same query (so that IDENTICAL data is sent) into multiple files with varying DELIMITING format requirements. Place the formatting (if any) in a table. Make the formatting field specific, i.e. have a place to specify that for THIS field, I want THIS format. Place the other "delimiting information" such as "fixed width" or "comma delimited", or "Tab delimited" in a table, easy to see, easy to edit. Place the other "export name", "file name" etc. in a table, easy to see, easy to edit. Break the process into pieces - specify the data source, specify the field format, specify the delimiter format in the exported line of code. All of this allows me to build a specific kind of output, commonly known as fixed "width / delimited". This is not a report generator, it is used (typically) to exchange data between computers. The receiving computer MUST HAVE FieldX at PositionY, formatted EXACTLY Z. Getting the client to change how their program accepts the data is not an option. I have run into this a dozen times or more, and I see this same request come by the list several times a year so others are seeing it as well. Every time I have this requirement, these things are what I needed to format, never anything else, which is why I have "blinders on" I suppose. I admit to having a specific purpose in mind. You obviously have something more far ranging in mind, so please take a few minutes to expand what you have in mind, and how we can accomplish this. Everything you have said so far is so generalized that I cannot even understand what you have in mind. I understand "plug-in modules". My questions are: 1) Given what I am attempting to accomplish how do you create the module that you swap out. 2) What piece(s) of this puzzle is modified when I swap out this module for another. 3) How do the modules interface together. 4) How is this accomplished in VBA? 5) Give me a specific example of the kind of export / format that you are running into which isn't fixed/delimited/formatted and how modularizing this program would allow you to handle this kind of export. It sounds like my blinders are crippling me but we all think about handling the problems that we run into. It appears that you are running into problems that I am not seeing, and without ever seeing your problems, I can't comprehend how to respond to them. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 21, 2005 5:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 <<< It is intentionally (or intended to be) that simple. >>> OK. I see now. And as far as I see the only source data transformation method is to apply specified format. This looks of rather limited applicability. I think with a few additional efforts this program can be made to use additionally runtime pluggable data formatters - then it would be more useful. I'd also add that some export files (for banks e.g here in Russia) have special header and footer sections - I'd add this feature to your spec. Of course this feature can be added later when there will be real customer's request to add it. > There are only a handful of classes envisioned, > possibly as few as two. If you add pluggable data formatters feature then you can get hundreds additional small classes written by others for their own needs. You can combine them in one library database (MS Access), ATL/COM library(VB6 or C++ ATL/COM) or class library (.NET). Or they can be used as separate pluggable units. And hey will be used by your generic core code. > The entire system will likely > be a pair of classes. OK. But it may grow as far as I see to use different data sources then you'll have duplicated code to synchronize. Classes are small but when you do changes even in small classes then they have to be tested. There should be a solution with generic core code ready for new data sources to be added. And this core code will not be needed to changes/retest when these new data sources will be added. Small change in you code design and small additional work on this project phase will results in big savings on next phases. > If additions are needed later, then you do like > you do in any project, you attempt to make > them fit. With this approach the risk is high to rewrite whole system in attempts to make the new features to fit it. Or add a lot of patch code here and there (as it usually happens) getting migrated your simple code into "spaghetti" code. Yes, I see your system is small but nowadays mainstream requirement is to design the system as easy adaptable as possible to the future changes. Yes, to "foresee" the future changes some additional work is needed but in long run this small additional work will result in considerable savings. If in your case "long run"(many changes in the future) is not planned then there is no need of course in any additional work on your small system architecture. You can go coding "blindly"... > It just occurred to > me that you might be able to scale it up using parallel processing, > have 10 > machines each append to it's own file, then append the 10 files > together. John, when I'm talking on scaling I'm NOT talking will your system be able to make export of huge amount of source rows as speedy as the small amount(here 10 machines "brute force" is one of the possible solutions) - I'm talking will your system be able to do that export of huge source data sources at all on ONE PC without stopping all the other work on it? The time it will spend on this export and transformation doesn't matter in this case. > However, if you envision something that needs to export millions of records > at a shot, then a custom highly optimized solution is probably > preferred. When your customer will grow to have million records to export then you will write a speedy custom solution or adapt your one to run in parallel on many threads/PCs/processors (in the case you use VB.NET). But WHILE your customer is growing you will not need to adjust your solution if you make it a little bit more flexible NOW. You will sleep well, your customer will sleep well when their data will be exported night time. Yes, you will have less work for this customer for this certain project in long run(patch coding work will not be needed) but they will like you and they will deliver you more work in other areas and they will recommend you to their partners - they gain in long run, you gain in long run, everybody gains - "win-win" approach with some small additional efforts on first stages. Well, maybe the picture I'm drawing is too bright :) If your customer is not ready to pay for this additional efforts on first stage or you do not want to invest your time - then just go coding without trying to envision future changes. You ( and I and anybody else) can't foresee all the possible changes of course - if they will try they will end up in "analysis paralysis". But modern design and programming approaches allow to make right design decisions without detailed analysis of what changes may come in the future... > I can time it to get a feel for performance, but like anything, > performance will always "depend" on a lot of different variables. > Your Mileage May Vary GREATLY. I'm not talking about system performance - it depends of course. I'm talking about programming ready for many(but not all of course) future changes without many troubles... > It is just plain silly to code > this over and over and over (and over). Well, as Gustav noted for him hardcoded approach works well. I did program last year for my customer on C++ a rather flexible approach based on XML metadefinitions - it was still a semi-hardcoded because I used inherited legacy code I started with and there were no time and resources to generalize it. And this semi-hardcoded approach worked rather well. But you is keen to make it more generic as far as I see. And ready to go with that generic coding. OK. For your certain case if you foresee you will have in the near future 10 customers requests for 10 different export formats and this work will take, say one working week (5 days) but now for developing the code for two export formats your customers is ready to pay you for two working days and you will make your generic solution in these two days, which will fit all the ten formats then you of course can go with a generic solution. Then your customer will save money and you will have a generic solution applicable in other projects. If you invest one additional day or convince your customer to pay you for this additional day to work on your small system architecture(this additional day's work will be spread on three days work) then you will get even more flexible more generic solution, easily portable to VB.NET and scalable. Does it makes sense to spend this additional working day now or not? This a question to you and your customer.... (I say 5 working days, 1 additional working day etc. just as an example not as an evaluation of the amount of work needed for this certain project or for the work needed to work on this project's architecture). > BTW, I will eventually be porting this to .NET > as I have a requirement for that. Here we go! Then later they will ask you to convert it to a Web Service but they will not have enough money for that work because these money will be spend on patch coding, scaling and VBA->VB.NET conversion of your "cowboy coding" solution. And then they will find Indian, Pakistanian, Romanian, Russian,... young guys who will use your code and make it converted to Web service because these young guys can work on 5USD/hour rate or less and they are rather good(very good sometimes) programmers after all and your customer will have money to pay these young guys and maybe they will make him(your lost customer) happy maybe not... But in long run you will loose your customer. Your customer will think you're not a good developer because your code wasn't flexible enough to adapt to the changes. Young Indian,... guys will spoil your customer by "free-cheese" kind of work but the chances they will make your customer happy in long run are questionnable... Everybody unhappy, resources wasted, mutual credibility low - isn't that situation what is so often happens in IT industry? Maybe I'm generalizing too much for this small project, I know... Shamil From Gustav at cactus.dk Fri Oct 21 09:39:00 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Oct 2005 16:39:00 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. From Jdemarco at hudsonhealthplan.org Fri Oct 21 09:46:24 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 10:46:24 -0400 Subject: [AccessD] OT: Who's Who listings Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F73@TTNEXCHCL2.hshhp.com> List, Is there some scam going on on the Net regarding Who's Who listings? By coincidence (maybe) my daughter received a letter yesterday from Who's Who in Middle School saying she'd been pre-selected for a listing in this book (Who's Who in Middle School). We were certainly proud to see this but I checked my personal e-mail account this AM after being away from any PC related activity yesterday to find that I've been selected to appear in something called the Madison Who's Who which I've never heard of. Both requests ask for additional biographical information. I don't know what info. off-hand sorry (don't have the docs here with me). Does anyone else find the timing of these notifications "interesting"? Is there some funny biz going on I should be aware of? Thanks, Jim DeMarco *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ldoering at symphonyinfo.com Fri Oct 21 10:21:56 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Fri, 21 Oct 2005 10:21:56 -0500 Subject: [AccessD] OT: Who's Who listings Message-ID: <855499653F55AD4190B242717DF132BC10BA33@dewey.Symphony.local> Jim, I don't know of any new or specific scam that is going on recently, but the old one is to collect the information to get you to buy a very expensive book. Which will be read by no one. I haven't seen it for middle-schoolers before, but several variations arrive when children are in high school. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, October 21, 2005 10:01 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Who's Who listings List, Is there some scam going on on the Net regarding Who's Who listings? By coincidence (maybe) my daughter received a letter yesterday from Who's Who in Middle School saying she'd been pre-selected for a listing in this book (Who's Who in Middle School). We were certainly proud to see this but I checked my personal e-mail account this AM after being away from any PC related activity yesterday to find that I've been selected to appear in something called the Madison Who's Who which I've never heard of. Both requests ask for additional biographical information. I don't know what info. off-hand sorry (don't have the docs here with me). Does anyone else find the timing of these notifications "interesting"? Is there some funny biz going on I should be aware of? Thanks, Jim DeMarco ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Oct 21 10:25:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 11:25:13 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: Message-ID: <002501c5d653$a21d5c70$667aa8c0@ColbyM6805> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Oct 21 10:31:50 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 21 Oct 2005 11:31:50 -0400 Subject: [AccessD] OT: Who's Who listings In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3F73@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C74016C3F73@TTNEXCHCL2.hshhp.com> Message-ID: On 21/10/05, Jim DeMarco wrote: > List, > > Is there some scam going on on the Net regarding Who's Who listings? By coincidence (maybe) my daughter received a letter yesterday from Who's Who in Middle School saying she'd been pre-selected for a listing in this book (Who's Who in Middle School). We were certainly proud to see this but I checked my personal e-mail account this AM after being away from any PC related activity yesterday to find that I've been selected to appear in something called the Madison Who's Who which I've never heard of. Both requests ask for additional biographical information. I don't know what info. off-hand sorry (don't have the docs here with me). > > Does anyone else find the timing of these notifications "interesting"? Is there some funny biz going on I should be aware of? Jim, If the letter your daughter got was a paper letter, then I do believe that it's probably valid. I received one when I was in High School in FL for a year. The e-mail you received, I'd be wary of. I think that the timing of the e-mail is probably just a coincidence, but if the paper letters come out this time every year, then the timing may be more than just coincidece. It may be specifically designed to coincide with the real letters. Just my $0.02 -- 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 Jimjih at comcast.net Fri Oct 21 10:33:46 2005 From: Jimjih at comcast.net (Jimjih at comcast.net) Date: Fri, 21 Oct 2005 15:33:46 +0000 Subject: [AccessD] OT: Who's Who listings Message-ID: <102120051533.16666.43590A5A000BBF040000411A22007347480807060307B6@comcast.net> Jim, I have found the best policy: be suspicious if they ask for any personal information. There are many scams going on that look perfectly legitimate, so I would check it out before furnishing anything. Did you check the source header of the e-mail. I get tons of e-mails that show "misconfigured sender". And they aren't even addressed to me, but they get in my box anyway. Looks like the Spammers (Scammers) in Nigeria are smarter that the ISPs and have found ways around alleged security. Jim -------------- Original message -------------- > List, > > Is there some scam going on on the Net regarding Who's Who listings? By > coincidence (maybe) my daughter received a letter yesterday from Who's Who in > Middle School saying she'd been pre-selected for a listing in this book (Who's > Who in Middle School). We were certainly proud to see this but I checked my > personal e-mail account this AM after being away from any PC related activity > yesterday to find that I've been selected to appear in something called the > Madison Who's Who which I've never heard of. Both requests ask for additional > biographical information. I don't know what info. off-hand sorry (don't have > the docs here with me). > > Does anyone else find the timing of these notifications "interesting"? Is there > some funny biz going on I should be aware of? > > Thanks, > > Jim DeMarco > > > ******************************************************************************** > *** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us immediately, > either by contacting the sender at the electronic mail address noted above or > calling HHP at (914) 631-1611. If you are not the intended recipient, please do > not forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ******************************************************************************** > *** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Oct 21 10:46:41 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 11:46:41 -0400 Subject: [AccessD] OT: Who's Who listings Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F77@TTNEXCHCL2.hshhp.com> The paper letter seems to be legit by virtue of the paper for sure. I don't beleive either request is asking for really personal info but I sure took a leap when I checked my e-mail and saw another version of the same thing! Who's the real Who's Who anyway? Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Friday, October 21, 2005 11:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Who's Who listings On 21/10/05, Jim DeMarco wrote: > List, > > Is there some scam going on on the Net regarding Who's Who listings? By coincidence (maybe) my daughter received a letter yesterday from Who's Who in Middle School saying she'd been pre-selected for a listing in this book (Who's Who in Middle School). We were certainly proud to see this but I checked my personal e-mail account this AM after being away from any PC related activity yesterday to find that I've been selected to appear in something called the Madison Who's Who which I've never heard of. Both requests ask for additional biographical information. I don't know what info. off-hand sorry (don't have the docs here with me). > > Does anyone else find the timing of these notifications "interesting"? Is there some funny biz going on I should be aware of? Jim, If the letter your daughter got was a paper letter, then I do believe that it's probably valid. I received one when I was in High School in FL for a year. The e-mail you received, I'd be wary of. I think that the timing of the e-mail is probably just a coincidence, but if the paper letters come out this time every year, then the timing may be more than just coincidece. It may be specifically designed to coincide with the real letters. Just my $0.02 -- 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 *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hudsonhealthplan.org Fri Oct 21 10:48:10 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 11:48:10 -0400 Subject: [AccessD] OT: Who's Who listings Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F78@TTNEXCHCL2.hshhp.com> Sucks that even someone (possibly) trying to recognize accomplishments has to be analyzed 9 ways to Sunday doesn't it? Good points thanks, Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jimjih at comcast.net Sent: Friday, October 21, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Who's Who listings Jim, I have found the best policy: be suspicious if they ask for any personal information. There are many scams going on that look perfectly legitimate, so I would check it out before furnishing anything. Did you check the source header of the e-mail. I get tons of e-mails that show "misconfigured sender". And they aren't even addressed to me, but they get in my box anyway. Looks like the Spammers (Scammers) in Nigeria are smarter that the ISPs and have found ways around alleged security. Jim -------------- Original message -------------- > List, > > Is there some scam going on on the Net regarding Who's Who listings? By > coincidence (maybe) my daughter received a letter yesterday from Who's Who in > Middle School saying she'd been pre-selected for a listing in this book (Who's > Who in Middle School). We were certainly proud to see this but I checked my > personal e-mail account this AM after being away from any PC related activity > yesterday to find that I've been selected to appear in something called the > Madison Who's Who which I've never heard of. Both requests ask for additional > biographical information. I don't know what info. off-hand sorry (don't have > the docs here with me). > > Does anyone else find the timing of these notifications "interesting"? Is there > some funny biz going on I should be aware of? > > Thanks, > > Jim DeMarco > > > ******************************************************************************** > *** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us immediately, > either by contacting the sender at the electronic mail address noted above or > calling HHP at (914) 631-1611. If you are not the intended recipient, please do > not forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ******************************************************************************** > *** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From hoopesg at hotmail.com Fri Oct 21 10:55:06 2005 From: hoopesg at hotmail.com (Gina Hoopes) Date: Fri, 21 Oct 2005 10:55:06 -0500 Subject: [AccessD] Quarter hour increments Message-ID: Hi all. I've got a database that lets people enter the amount of time they spent on a particular project. To make it easier on those of us who have to work with the data after they've entered it, we'd like to restrict them to quarter hour increments. So, they could enter 1.25 or .5 or 3.75 or 5 but never 1.08 or 2.66. Can I restrict their entries in that way? Thanks! Gina From mikedorism at verizon.net Fri Oct 21 11:04:45 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Fri, 21 Oct 2005 12:04:45 -0400 Subject: [AccessD] Quarter hour increments In-Reply-To: Message-ID: <000b01c5d659$285acd40$2e01a8c0@dorismanning> I always found it easier to do tenths of hours (every 6 minutes = .1) just because of this. The only way to police this would be a BeforeUpdate event to check if there is a decimal and what is behind it. Doris Manning mikedorism at verizon.net From john at winhaven.net Fri Oct 21 11:05:34 2005 From: john at winhaven.net (John Bartow) Date: Fri, 21 Oct 2005 11:05:34 -0500 Subject: [AccessD] OT - ASP Lists In-Reply-To: <002b01c5d5c6$37ecbdb0$017ba8c0@xpserver> Message-ID: <006301c5d659$451eb180$7701a8c0@ScuzzPaq> Jim, That sounds good. Anyone else have a comment on this? If you have an interest in starting a "dba.Net" list here send me an email: mailto:president at databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Hi John: Maybe all things .Net (?) and as the list grows separate it out into it's various components. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow If there's a need out there we could consider starting one here. You could contact all your ASP pals and invite them. From wdhindman at bellsouth.net Fri Oct 21 11:21:01 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 21 Oct 2005 12:21:01 -0400 Subject: [AccessD] OT: Who's Who listings References: <08F823FD83787D4BA0B99CA580AD3C74016C3F77@TTNEXCHCL2.hshhp.com> Message-ID: <00a701c5d65b$6d5bd4f0$6101a8c0@JISREGISTRATION.local> ...if you think about it for a moment Jim ...who are they going to sell these books to? William ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, October 21, 2005 11:46 AM Subject: Re: [AccessD] OT: Who's Who listings > The paper letter seems to be legit by virtue of the paper for sure. I > don't beleive either request is asking for really personal info but I sure > took a leap when I checked my e-mail and saw another version of the same > thing! Who's the real Who's Who anyway? > > Jim D. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Friday, October 21, 2005 11:32 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Who's Who listings > > > On 21/10/05, Jim DeMarco wrote: >> List, >> >> Is there some scam going on on the Net regarding Who's Who listings? By >> coincidence (maybe) my daughter received a letter yesterday from Who's >> Who in Middle School saying she'd been pre-selected for a listing in this >> book (Who's Who in Middle School). We were certainly proud to see this >> but I checked my personal e-mail account this AM after being away from >> any PC related activity yesterday to find that I've been selected to >> appear in something called the Madison Who's Who which I've never heard >> of. Both requests ask for additional biographical information. I don't >> know what info. off-hand sorry (don't have the docs here with me). >> >> Does anyone else find the timing of these notifications "interesting"? >> Is there some funny biz going on I should be aware of? > > Jim, > > If the letter your daughter got was a paper letter, then I do believe > that it's probably valid. > > I received one when I was in High School in FL for a year. > > The e-mail you received, I'd be wary of. I think that the timing of > the e-mail is probably just a coincidence, but if the paper letters > come out this time every year, then the timing may be more than just > coincidece. It may be specifically designed to coincide with the real > letters. > > Just my $0.02 > > -- > 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 > > > > > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is confidential or privileged. If you are not the intended recipient, you > are hereby notified that any disclosure, copying, distribution or use of > the contents of this message is strictly prohibited. If you have received > this message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address noted above or calling HHP at (914) 631-1611. If you are not the > intended recipient, please do not forward this email to anyone, and delete > and destroy all copies of this message. Thank You". > *********************************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Fri Oct 21 11:18:04 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 21 Oct 2005 11:18:04 -0500 Subject: [AccessD] Quarter hour increments In-Reply-To: <8999601.1129910901970.JavaMail.root@sniper22> Message-ID: <000001c5d65b$042e5340$0200a8c0@danwaters> Hi Gina, I also record hours by tenths. It's easy, and if I'm not exactly accurate it's OK because 1/10 is a small amount. Dan Waters www.promationsystems.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, October 21, 2005 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Quarter hour increments I always found it easier to do tenths of hours (every 6 minutes = .1) just because of this. The only way to police this would be a BeforeUpdate event to check if there is a decimal and what is behind it. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 21 12:38:36 2005 From: john at winhaven.net (John Bartow) Date: Fri, 21 Oct 2005 12:38:36 -0500 Subject: [AccessD] Multiple Currency types Message-ID: <009301c5d666$4436af90$7701a8c0@ScuzzPaq> I have a field that is used to retain the historical cost of an item and up to now is has all been in US dollars. Just got one in UK pounds. There's more coming up too. I've never dealt with multiple currency types before. How do you suggest I store different currencies in my table? Do I need one column for amount and one for type of currency or is there a way to do this with formatting, masks, etc. From Lambert.Heenan at AIG.com Fri Oct 21 12:41:29 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 21 Oct 2005 12:41:29 -0500 Subject: [AccessD] Quarter hour increments Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF1C97@xlivmbx21.aig.com> Well you could have them enter the hours in a textbox and the quarters via a combox. The combo would just have a simple value list (0;0.25;0.5;0.75) as its data source and be limited to the list. Saves a whole lot of code in validating what they entered as a decimal number. For that matter you could have the hours in a combo as well. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gina Hoopes Sent: Friday, October 21, 2005 11:55 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Quarter hour increments Hi all. I've got a database that lets people enter the amount of time they spent on a particular project. To make it easier on those of us who have to work with the data after they've entered it, we'd like to restrict them to quarter hour increments. So, they could enter 1.25 or .5 or 3.75 or 5 but never 1.08 or 2.66. Can I restrict their entries in that way? Thanks! Gina -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Oct 21 12:55:03 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 21 Oct 2005 10:55:03 -0700 Subject: [AccessD] OT Friday Humour References: <001201c5d60b$6e30bf80$934f0c54@minster33c3r25> Message-ID: <02b601c5d668$90b4fb90$6501a8c0@HAL9004> The letters were a riot. Rocky ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 11:48 PM Subject: [AccessD] OT Friday Humour >I loved this. Great writing. Creased me up (pun intended) > > http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=8335653541 > > Then our Independent newspaper picked it up > http://news.independent.co.uk/uk/this_britain/article320432.ece > > Surely only a Brit would sell something by taking the p out of himself, > the > item and any prospective buyers. > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Oct 21 12:56:25 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 13:56:25 -0400 Subject: [AccessD] OT: Who's Who listings Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F79@TTNEXCHCL2.hshhp.com> Correct but... The Madison one isn't really trying to sell me anything (not at this point at least). They've got a searchable web site as well as a hard copy book (or as they call it "Leather Bound Registry). In fact I just took a look at whoswhoinmiddleschool.com and it doesn't look like they're selling anything either. The pitch probably comes later on (they'll give us time to tell the grandparents!!). At any rate I'll wait for the real Who's Who to contact me. So if I turn blue... Thanks JD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, October 21, 2005 12:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Who's Who listings ...if you think about it for a moment Jim ...who are they going to sell these books to? William ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, October 21, 2005 11:46 AM Subject: Re: [AccessD] OT: Who's Who listings > The paper letter seems to be legit by virtue of the paper for sure. I > don't beleive either request is asking for really personal info but I sure > took a leap when I checked my e-mail and saw another version of the same > thing! Who's the real Who's Who anyway? > > Jim D. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Friday, October 21, 2005 11:32 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Who's Who listings > > > On 21/10/05, Jim DeMarco wrote: >> List, >> >> Is there some scam going on on the Net regarding Who's Who listings? By >> coincidence (maybe) my daughter received a letter yesterday from Who's >> Who in Middle School saying she'd been pre-selected for a listing in this >> book (Who's Who in Middle School). We were certainly proud to see this >> but I checked my personal e-mail account this AM after being away from >> any PC related activity yesterday to find that I've been selected to >> appear in something called the Madison Who's Who which I've never heard >> of. Both requests ask for additional biographical information. I don't >> know what info. off-hand sorry (don't have the docs here with me). >> >> Does anyone else find the timing of these notifications "interesting"? >> Is there some funny biz going on I should be aware of? > > Jim, > > If the letter your daughter got was a paper letter, then I do believe > that it's probably valid. > > I received one when I was in High School in FL for a year. > > The e-mail you received, I'd be wary of. I think that the timing of > the e-mail is probably just a coincidence, but if the paper letters > come out this time every year, then the timing may be more than just > coincidece. It may be specifically designed to coincide with the real > letters. > > Just my $0.02 > > -- > 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 > > > > > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is confidential or privileged. If you are not the intended recipient, you > are hereby notified that any disclosure, copying, distribution or use of > the contents of this message is strictly prohibited. If you have received > this message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address noted above or calling HHP at (914) 631-1611. If you are not the > intended recipient, please do not forward this email to anyone, and delete > and destroy all copies of this message. Thank You". > *********************************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hudsonhealthplan.org Fri Oct 21 12:58:20 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 13:58:20 -0400 Subject: [AccessD] Quarter hour increments Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F7A@TTNEXCHCL2.hshhp.com> Or couldn't you just provide a drop down with the increments you want for the fractional portion of the time? You could probably do the same for the hours to prevent any decimal entries. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, October 21, 2005 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Quarter hour increments Hi Gina, I also record hours by tenths. It's easy, and if I'm not exactly accurate it's OK because 1/10 is a small amount. Dan Waters www.promationsystems.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, October 21, 2005 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Quarter hour increments I always found it easier to do tenths of hours (every 6 minutes = .1) just because of this. The only way to police this would be a BeforeUpdate event to check if there is a decimal and what is behind it. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From marcus at tsstech.com Fri Oct 21 13:19:44 2005 From: marcus at tsstech.com (Scott Marcus) Date: Fri, 21 Oct 2005 14:19:44 -0400 Subject: [AccessD] Quarter hour increments Message-ID: In the table, use the Validation Rule and Validation Text like the following... Validation Rule - ([name of your field]*100) Mod 25 = 0 Validation Text - The decimal portion of the time entered must be 0, 25, 50, or 75! Hope that helps... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From KIsmert at texassystems.com Fri Oct 21 13:25:48 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Fri, 21 Oct 2005 13:25:48 -0500 Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface The best way Message-ID: >I see now VBA/VB6-programming concept I called "DEEP-object concept" >(http://www.smsconsulting.spb.ru/shamil_s/articles/deepcnpt.htm) Shamil, Colby turned me on to your site some years ago. All I can say is that you were way ahead of the curve -- it even took MS 3 years to come up with a stable platform to run your concept. I too have dabbled with my own form management frameworks for Access. I got two running, the first a modestly complex, class-based framework that relied on sinking events (developed independently), and the second a stripped down, much-simplified framework based on interfaces. The interface framework managed not only Access forms, but Excel Userforms and standalone objects, as well. The shift in thinking was from a reactive style (respond to an event from something that already happened) to an active style (tell some object to do something with this information). One aim of the interface-based framework was to produce a more loosely-coupled system by moving parameters directly to the object, eliminating the reliance on any global objects (external form controls, global variables, functions and collections...). The other goal was to move away from the flakey form event system, and instead build framework "events" (in reality interface callbacks) on the much more reliable mechanism of object termination. I have thought of building a third framework that combined the best ideas of the first two, but have run into these problems: * Access Form objects have no parameterized constructor (a true Initialize event with a user-definable parameter list). Form_Open happens way too late for my purposes. (Maybe Access 2005 will correct this) * No easy way to deliver the framework. COM-based approaches would require Active-X dlls, developed in VB6. .NET seems to provide some answers: * VB.NET, C# and similar have the object sophistication to build a technically satisfying framework. * Packaging and installation appear to be simpler and more robust (although I can't say this firsthand) Some interesting thoughts on what such a framework should and shouldn't have: * Based in .NET * Works with Access via COM Interop to an Office Add-In. * Automates other form types, including Userforms and .NET forms. * Form Roles defined by the Interfaces they support. * Extensible by defining new Form Role Interfaces, and providing the support code to implement them. * Not driven by Form events. The form communicates to other forms in the framework via interfaces. Form events are considered private to the form, in that they don't drive inter-form communication. The form can use helper objects that sink form events and perform various services, including communication via the proper channels. These would be explicitly set up in the form. Of course, the larger question is, "why do this?". Maybe Microsoft will revive enough developer interest in its next release of Access to justify investing in such a framework. -Ken From jwcolby at ColbyConsulting.com Fri Oct 21 13:34:43 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 14:34:43 -0400 Subject: [AccessD] OT Colby's Framework In-Reply-To: <016e01c5d574$7ae7c760$fa10a8c0@Albatross> Message-ID: <002a01c5d66e$1af2e600$667aa8c0@ColbyM6805> Borg, Did my response help at all. Do you want to discuss this? Here on the list is fine, or off list as well if you wish. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Thursday, October 20, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT Colby's Framework Hi John, This probably doesn't belong here... but Is someone framing me? Case : DemoFW_FE.mdb I have problem initializing..... When executing the line mclsFramework.Init Nothing in function FWinit() it runs the init of the clsFramework: Public Sub Init(ByRef robjParent As Object) Set mobjParent = robjParent cIS.Register Me assDebugPrint "init " & mstrInstanceName, DebugPrint mclsSVFW.Init Nothing, gfwcnn, "usystblFWSysVars" cIS.EnblPtrStack = SV("EnblPtrStack") <================== crashes here cIS.EnblNameStack = SV("EnblNameStack") mclsZip.Init Nothing End Sub The function Public Function SV(strSVName As String) As Variant SV = mclsSVFW.SV(strSVName) End Function takes us to : with "EnblPtrStack" as the strSVName value Function SV(strSVName As String, Optional strSVFld As String = "SV_VarValue") As Variant On Error GoTo Err_SV Select Case strSVFld Case "SV_VarValue" SV = mcolSysVars(strSVName).Value() <========= errors here (error number 5) Case "SV_Memo" SV = mcolSysVars(strSVName).Memo() Case "SV_UserEditable" SV = mcolSysVars(strSVName).UserEditable() Case "SV_AllowOverride" SV = mcolSysVars(strSVName).AllowOverride() Case Else End Select Exit_SV: Exit Function Err_SV: Select Case Err Case 0 Resume Exit_SV Case 5 SV = Null <======== You set the SV to null, but then errors with : "Invalid Use of NULL" Resume Exit_SV Case Else MsgBox Err.Description, , "Error in Function clsSysVars.SV" Resume Exit_SV End Select Resume 0 '.FOR TROUBLESHOOTING End Function ....... Being able to run your sample code is the first step ... Persistence is getting me nowhere! Any suggestions? /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Oct 21 13:57:01 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Oct 2005 20:57:01 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. From hoopesg at hotmail.com Fri Oct 21 14:17:47 2005 From: hoopesg at hotmail.com (Gina Hoopes) Date: Fri, 21 Oct 2005 14:17:47 -0500 Subject: [AccessD] Quarter hour increments Message-ID: Works perfectly! Thanks, Scott! Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Friday, October 21, 2005 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Quarter hour increments In the table, use the Validation Rule and Validation Text like the following... Validation Rule - ([name of your field]*100) Mod 25 = 0 Validation Text - The decimal portion of the time entered must be 0, 25, 50, or 75! Hope that helps... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From jwcolby at ColbyConsulting.com Fri Oct 21 14:51:55 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 15:51:55 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: Message-ID: <002b01c5d678$e3eb5ec0$667aa8c0@ColbyM6805> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 21 15:04:57 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 21 Oct 2005 15:04:57 -0500 Subject: [AccessD] Quarter hour increments Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337943@corp-es01.fleetpride.com> cool. That one goes in the goody bag Jim Hale -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Friday, October 21, 2005 2:18 PM To: AccessD at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Works perfectly! Thanks, Scott! Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Friday, October 21, 2005 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Quarter hour increments In the table, use the Validation Rule and Validation Text like the following... Validation Rule - ([name of your field]*100) Mod 25 = 0 Validation Text - The decimal portion of the time entered must be 0, 25, 50, or 75! Hope that helps... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jim.moss at jlmoss.net Fri Oct 21 15:54:42 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Fri, 21 Oct 2005 15:54:42 -0500 (CDT) Subject: [AccessD] Multiple Currency types In-Reply-To: <009301c5d666$4436af90$7701a8c0@ScuzzPaq> References: <009301c5d666$4436af90$7701a8c0@ScuzzPaq> Message-ID: <25743.65.196.182.34.1129928082.squirrel@65.196.182.34> John, I do a lot of work for corporate finance of a large multinational firm and what we do is save the amount along with the functional currency type. I have a currency conversion table that gets updated from Oracle monthly; the table includes the currency code, the USD conversion rate to foreign currency rate and the foreign currency rate to USD. Jim > I have a field that is used to retain the historical cost of an item and > up > to now is has all been in US dollars. Just got one in UK pounds. There's > more coming up too. > > I've never dealt with multiple currency types before. How do you suggest I > store different currencies in my table? Do I need one column for amount > and > one for type of currency or is there a way to do this with formatting, > masks, etc. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at ColbyConsulting.com Fri Oct 21 16:42:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 17:42:15 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: Message-ID: <002e01c5d688$50b32060$667aa8c0@ColbyM6805> Perhaps we need a plug-in currency converter where the currency symbol, decimal point and thousands delimiter can be specified, and which then takes the currency value and formats it in the expected manner? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Oct 21 16:42:19 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 01:42:19 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: Message-ID: <001e01c5d689$1cc67940$6401a8c0@fincomplex.spb.ru> <<< a universal solution as Shamil has in mind >>> Gustav, My solution is not not intented to be universal. What I propose is to develop a solution, which will allow to not patch the core code but use pluggable custom classes additionally to the "default formatter", which use metadata and Format$ function. Additionally I propose to take into consideration from the very beginning that data source rows' quantity can be very large in general case and that developed solution should be ready to work well in such a case too on a moderate average PC.... Additionally... a limited short list of proposals may follow - but that's all - and for the universal solutuion this list promise to be endless.... <<< Clients are very pragmatic. >>> Yes, I know. And I saw it many times and I'm continuing to see how this client's pragmatism results in bad software and then they blaim bad developers. I'm pragmatic too I think - let's try to educate clients step by step? IT industry is mature enough now for this clients educatiion work. (Yes, I know I sound too optimistic, real life isn't like that, Been there, seen that. Or I'd better say I'm still there and see that everyday troubles in my own work with "badly educated in software development" customers. It's not easy to convince clients to wait a little bit more for end results they needed "yesterday". It's even more complicated to convince them to pay today for additional work, which results in their own savings in long run. It's often necessary to invest our own time. But when customers see good final results then the next steps for the next projects are easier...) It's just silly (as John said) to see how resources are wasted when relatively small additional efforts used on project envision and solution architecture design phase result in savings in short and long runs and in a flexible ready for future changes solution, which may find application in the areas, where "quick&dirty" will never find.... Recap ====== 1. I'm not pretending to develop a universal solution. 2. I'm pragmatic 3. I believe(I see) that IT industry is mature enough for simple but flexible, ready for future changes, mature software design and development solutions. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, October 21, 2005 2:11 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Hi John and Shamil > > Interesting to follow this thread. It demonstrates what happens when you move from a fixed to-the-point solution (like my example) over a generic solution as John is suggesting to a universal solution as Shamil has in mind - and all the considerations that move causes. > > I'm pretty much in line with Shamil on this. However, time has shown me that such thoughts most often are over the head and/or pockets of the client and you'll have to compromise. Clients are very pragmatic. But during this at least you have a nice intellectual time with yourself realizing that you are ahead of the client! > > /gustav > > > >>> shamil at users.mns.ru 21-10-2005 11:09 >>> > <<< > It is intentionally (or intended to be) that simple. > >>> > OK. I see now. > And as far as I see the only source data transformation method is to apply > specified format. > This looks of rather limited applicability. > I think with a few additional efforts this program can be made to use > additionally runtime pluggable data formatters - then it would be more > useful. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Oct 21 16:47:57 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 01:47:57 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <002001c5d647$36ec8720$667aa8c0@ColbyM6805> Message-ID: <001f01c5d689$1cf159d0$6401a8c0@fincomplex.spb.ru> <<< LOL, I NEVER want to be all those backwards things that you portray me to be >>> I think I should have added that in solution I envision, young Indian,Pakistnian,... guys and/or American, Canadian, West European... students will gain also because they can have some work delegated by you, e.g. the work to develop specific data formatters etc. - you can keep them busy with this simple work and as far as they get more experienced you will delegate them more and more complicated work and therefore you and your customers will be ready to pay them more... Everybody's "win" approach. Yes, I know, it sounds too optimistic... <<< so join the team and show me (all of us) how we accomplish this? >>> I think I joined it, didn't I? :) <<< Specifically for EXPORTING data > to these monsters of computing. >>> OK, let's make it clear - for EXPORTING and nothing else? And that the data source is something like DAO, ADO,.... recordsets and the target is delimited or fixed width text file. As you I did work many times on such tasks here and in the West Europe. Until last year I didn't program them more or less generic way - the customers didn't ask for that and my solutions were hardcoded. Last year it was a requirement to make it metadata based. Now it's your idea to make it even more generic. OK. Let's make it more generic and let's also get new experience and some fun while designing/coding it and supporing it in the future? > My intention is to: OK. They are clear and good enough specified for now. > so please take a few > minutes to expand what you have in mind, It will take more than a few minutes for sure. And I have problems to find free time now. > 1) Given what I am attempting to accomplish how do you create the module > that you swap out. > 2) What piece(s) of this puzzle is modified when I swap out this module for > another. > 3) How do the modules interface together. > 4) How is this accomplished in VBA? These all positions above can be accomplished using custom classes, Implements feature and several software design patterns like the ones described here - http://home.earthlink.net/~huston2/dp/patterns.html (Classical book on software design patterns is this one: http://www.amazon.com/gp/product/0201633612/102-0631645-6216162?v=glance&n=283155) The risk factor for VBA is that the more interfaces to implement you introduce/use in Implements the higher the probability it (VBA) will start breaking unexpectedly. It was so for me - when I used several interface custom classes it worked OK. When I introduced more - I was forced by VBA engine to give up.(MS Excel, MS Access) For this solution there should be a few interface custom classes - so it should work well I hope in VBA, If it will not then the solution should be to upsize to VB.NET and create COM Callable Wrapper(relatively easy task) (The problem with Implements in VBA exists in Office 2003 too - I can't give real examples because the problems is floating - and I guess MS will never convince it exists - so there is no sense to spend time to create reproducible description of this bug/feature.) > 5) Give me a specific example of the kind of export / format that you are > running into which isn't fixed/delimited/formatted and how modularizing this > program would allow you to handle this kind of export. John, where did I write that my solution pretends to be that far generic? I think I didn't write that. Yes, I did write that I did program an export data solution for the banks here, which used header (and footer) additionally to the fixed length/delimited export records. Do you mean this my note? My main points were: - use pluggable custom classes additionally to your generic formatter based on Format$ function and metadefinitions; - make solution ready to process large amounts of source data without stopping all the other work on the PC running export code; - make solution working in asynchronous mode; - make solution working with different source data sources. That's all I think. Did I promise more? (Hopefully not :) ) > and without ever seeing your problems, I > can't comprehend how to respond to them. OK, John. Let's make it this way - you develop your solution your way. Then I will try to show what (potential) problems it has - and it may happen that what you call my problems becomes yours :) It should be the best approach for this small project because my solution has a risk to not run well on VBA because of my plan to use Implements feature, which is buggy on VBA as my experience shows. If you(we) start with your solution it should be also like it's getting done in popular now eXtreme Programming approach when a quick satisfactory solution is developed, which makes customers happy and busy with using it/playing with it but then this solution is refactored to make its architecture more flexible. Your small task is also interesting to develop using Test Driven Development (http://www.objectmentor.com/writeUps/TestDrivenDevelopment), but VBA doesn't have unit testing framework and to write one is senseless for this(VBA) dying development environment. So TDD should be left for other VB.NET/C# based projects... Recap: ===== 1. My proposal is that you write your solution your planned way(as far as I see it's good traditional solution good enough specified now) to have 0% risk of fail (Risks are: a Technical problems with VBA & Implements b. My inactive participation in this project because of my need to work for my customers currently - urgent release due end of the next week "blood from nose".) 2. When your solution ready I will try to find and show its "weak points" and when we agree on them/some of them then we will refactor your solution together in several steps, with every step getting running and more and more flexible, scalable and asynchronous solution. 3. You proceed with your team with or without me because I will again have to hardwork for my customers... If I have been free from my customer's work these days we could have done it different way with more advanced architecture designed from the very beginning but my approach has relatively high risk of failure when implemented on VBA because of VBA enigine bugs... Currently I see nine major "players" of my solution: - 1. DataExportService - 2. DataFeeder - 3. DataCruncher (DataProcessor) - 4. (Export)FileDefinition - 5. (Export)FileSection - 6. (Export)Record - 7. ((Export)Record)Field - 8. (Data)Formatter - 9. (Export)FileWriter These should be loosely coupled, highly cohesive custom classes. There could be more of them and several Interfaces including events. The ones above can be changed/renamed. Some may go out probably. It will be more custom classes than in your solution. It will be more coding for sure than in your solution. But the coding should be more streamlined with less code lines in custom classes methods/properties. This more coding will make sense only if it will be shown that it brings real gains in long run. Therefore IMO this is pragmatic approach. No "air castles", no "miracles", no "universal solutions" - I base my work on my own experience and on the concepts of the books like "Object Thinking" http://www.bookpool.com/sm/0735619654 published by MS Press - who can blaim MS as being non pragmatic? (One can blaim me that I misinterpret the books like this one referred above and published by MS - feel free to say that if you think so..) Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 21, 2005 5:56 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Shamil, > > LOL, I NEVER want to be all those backwards things that you portray me to > be, so join the team and show me (all of us) how we accomplish this? > > What I am discussing is getting data out of a row of a record, into a > delimited string of text, with any format you desire (or which format$() can > handle anyway). Each field can have its own format string stored right in > the field definition, so you can specify the output format of the field. > For example, if a field needs to be currency, placing the format$ > "$###,###.00" gives an output in the text string of $23,423.00, etc etc. > Every fld record has a place to store a format string like this, so each > field can be formatted as precisely as format strings allows you to format > that field. > > Let's back up a minute. > > The objective is to create a system for creating fixed width / delimited > data files for exchanging data between our puny little micro computers and > those monsters of calculation mainframes. Specifically for EXPORTING data > to these monsters of computing. > > The "typical" way that developers export data is: > > 1) Use the export wizard, which works well IF the format is well understood. > Call up the wizard, point to a query, fill in the blanks, use the export > specification with the OutputTo vba function. This is fine, except that if > anything in the format needs to change, you have to step back through the > wizard, selecting the field, and then find and fix the format. And of > course, if you need any formatting not provided by the wizard you are stuck. > The wizard is pretty cool, I use it, but I always find it a bit of a PITA. > > I also have one HUGE issue with this, which is that the OutputTo > occasionally errors out for reasons completely unknown to me. Come back > through and execute again and it works the second time. Reliability sucks. > The exports that I do occur in the middle of the night because my client's > client needs them on their desk in the morning. Every few weeks I come in > to find it not happening. I even tried just looping back to do it again > until it works and for whatever reason that doesn't work. So... Output to > is a fine solution as long as you don't need reliability. > > 2) Write a custom output module that takes a record, pulls each field, and > outputs it however it needs to be seen in the file, hard coding the quotes, > if any, the delimit property, the fixed width etc. This is Gustav's > solution, and if your spec is carved in stone, and you don't need to do lots > of them, this method also works just fine. > > In either case, what often happens is that any necessary FORMATTING is often > accomplished in the query that pulls the data. IOW, I pull a currency > field, alias it, and right in the query use a format$() to get it in the > desired format. This certainly works, but the issue is that if you want to > find out (and change) how it is formatted, you have to go find the specific > query that has the format$() statement in the field alias and change the > format there. > > My intention is to: > > Move the formatting out of the queries entirely. > Allow the query just selects data to export, nothing more. > Allow the system to export data using the same query (so that IDENTICAL data > is sent) into multiple files with varying DELIMITING format requirements. > Place the formatting (if any) in a table. > Make the formatting field specific, i.e. have a place to specify that for > THIS field, I want THIS format. > Place the other "delimiting information" such as "fixed width" or "comma > delimited", or "Tab delimited" in a table, easy to see, easy to edit. > Place the other "export name", "file name" etc. in a table, easy to see, > easy to edit. > Break the process into pieces - specify the data source, specify the field > format, specify the delimiter format in the exported line of code. > > All of this allows me to build a specific kind of output, commonly known as > fixed "width / delimited". This is not a report generator, it is used > (typically) to exchange data between computers. The receiving computer MUST > HAVE FieldX at PositionY, formatted EXACTLY Z. Getting the client to change > how their program accepts the data is not an option. > > I have run into this a dozen times or more, and I see this same request come > by the list several times a year so others are seeing it as well. Every > time I have this requirement, these things are what I needed to format, > never anything else, which is why I have "blinders on" I suppose. I admit > to having a specific purpose in mind. > > You obviously have something more far ranging in mind, so please take a few > minutes to expand what you have in mind, and how we can accomplish this. > Everything you have said so far is so generalized that I cannot even > understand what you have in mind. I understand "plug-in modules". My > questions are: > > 1) Given what I am attempting to accomplish how do you create the module > that you swap out. > 2) What piece(s) of this puzzle is modified when I swap out this module for > another. > 3) How do the modules interface together. > 4) How is this accomplished in VBA? > 5) Give me a specific example of the kind of export / format that you are > running into which isn't fixed/delimited/formatted and how modularizing this > program would allow you to handle this kind of export. > > > > It sounds like my blinders are crippling me but we all think about handling > the problems that we run into. It appears that you are running into > problems that I am not seeing, and without ever seeing your problems, I > can't comprehend how to respond to them. > > John W. Colby > www.ColbyConsulting.com > <<< tail trimmed>>> From stuart at lexacorp.com.pg Fri Oct 21 17:51:42 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 22 Oct 2005 08:51:42 +1000 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <002e01c5d688$50b32060$667aa8c0@ColbyM6805> References: Message-ID: <4359FD9E.3654.12DC9995@stuart.lexacorp.com.pg> On 21 Oct 2005 at 17:42, John Colby wrote: > Perhaps we need a plug-in currency converter where the currency symbol, > decimal point and thousands delimiter can be specified, and the number of decimal places. Some currencies, rupiah,baht,yen etc are always whole numbers. Some have 1,000 subunits, dinar= 1,000 dirham etc. > and which then takes > the currency value and formats it in the expected manner? > -- Stuart From KIsmert at texassystems.com Fri Oct 21 18:19:06 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Fri, 21 Oct 2005 18:19:06 -0500 Subject: [AccessD] Quarter hour increments Message-ID: Gina, >>we'd like to restrict them to quarter hour increments. Just put this code in the AfterUpdate event for the form control: Private Sub txtTaskHours_AfterUpdate() Dim sgHours As Single ' Round to nearest quarter sgHours = CSng(Round(txtTaskHours.Value * 4) / 4) txtTaskHours.Value = sgHours End Sub -Ken From shamil at users.mns.ru Sat Oct 22 02:23:15 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 11:23:15 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <002001c5d647$36ec8720$667aa8c0@ColbyM6805> <001f01c5d689$1cf159d0$6401a8c0@fincomplex.spb.ru> Message-ID: <001f01c5d6d9$79007e90$6401a8c0@fincomplex.spb.ru> > Currently I see nine major "players" of my solution: Correction: Currently I see ten major "players" of my solution: - 01. DataExportService - 02. DataFeeder - 03. DataCruncher (DataProcessor) - 04. DataDictionary - 05. (Export)FileDefinition - 06. (Export)FileSection - 07. (Export)Record - 08. ((Export)Record)Field - 09. (Data)Formatter - 10. (Export)FileWriter Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Saturday, October 22, 2005 1:47 AM Subject: Re: [AccessD] Data Export Spec - Rev1 > <<< > LOL, I NEVER want to be all those backwards things > that you portray me to be > >>> > I think I should have added that in solution I envision, young > Indian,Pakistnian,... guys and/or American, Canadian, West European... > students will gain also because they can have some work delegated by you, > e.g. the work to develop specific data formatters etc. - you can keep them > busy with this simple work and as far as they get more experienced you will > delegate them more and more complicated work and therefore you and your > customers will be ready to pay them more... Everybody's "win" approach. > Yes, I know, it sounds too optimistic... > > <<< > so join the team and show me (all of us) how we accomplish this? > >>> > I think I joined it, didn't I? :) > > <<< > Specifically for EXPORTING data > > to these monsters of computing. > >>> > OK, let's make it clear - for EXPORTING and nothing else? > And that the data source is something like DAO, ADO,.... recordsets and the > target is delimited or fixed width text file. > > As you I did work many times on such tasks here and in the West Europe. > Until last year I didn't program them more or less generic way - the > customers didn't ask for that and my solutions were hardcoded. Last year it > was a requirement to make it metadata based. Now it's your idea to make it > even more generic. OK. Let's make it more generic and let's also get new > experience and some fun while designing/coding it and supporing it in the > future? > > > My intention is to: > OK. They are clear and good enough specified for now. > > > so please take a few > > minutes to expand what you have in mind, > It will take more than a few minutes for sure. > And I have problems to find free time now. > > > 1) Given what I am attempting to accomplish how do you create the module > > that you swap out. > > 2) What piece(s) of this puzzle is modified when I swap out this module > for > > another. > > 3) How do the modules interface together. > > 4) How is this accomplished in VBA? > These all positions above can be accomplished using custom classes, > Implements feature and several software design patterns like the ones > described here - http://home.earthlink.net/~huston2/dp/patterns.html > (Classical book on software design patterns is this one: > http://www.amazon.com/gp/product/0201633612/102-0631645-6216162?v=glance&n=283155) > > The risk factor for VBA is that the more interfaces to implement you > introduce/use in Implements the higher the probability it (VBA) will start > breaking unexpectedly. It was so for me - when I used several interface > custom classes it worked OK. When I introduced more - I was forced by VBA > engine to give up.(MS Excel, MS Access) For this solution there should be a > few interface custom classes - so it should work well I hope in VBA, If it > will not then the solution should be to upsize to VB.NET and create COM > Callable Wrapper(relatively easy task) (The problem with Implements in VBA > exists in Office 2003 too - I can't give real examples because the problems > is floating - and I guess MS will never convince it exists - so there is no > sense to spend time to create reproducible description of this bug/feature.) > > > 5) Give me a specific example of the kind of export / format that you are > > running into which isn't fixed/delimited/formatted and how modularizing > this > > program would allow you to handle this kind of export. > John, where did I write that my solution pretends to be that far generic? > I think I didn't write that. > Yes, I did write that I did program an export data solution for the banks > here, which used header (and footer) additionally to the fixed > length/delimited export records. Do you mean this my note? > > My main points were: > > - use pluggable custom classes additionally to your generic formatter based > on Format$ function and metadefinitions; > - make solution ready to process large amounts of source data without > stopping all the other work on the PC running export code; > - make solution working in asynchronous mode; > - make solution working with different source data sources. > > That's all I think. > Did I promise more? (Hopefully not :) ) > > > and without ever seeing your problems, I > > can't comprehend how to respond to them. > OK, John. > Let's make it this way - you develop your solution your way. > Then I will try to show what (potential) problems it has - and it may happen > that what you call my problems becomes yours :) > > It should be the best approach for this small project because my solution > has a risk to not run well on VBA because of my plan to use Implements > feature, which is buggy on VBA as my experience shows. > > If you(we) start with your solution it should be also like it's getting done > in popular now eXtreme Programming approach when a quick satisfactory > solution is developed, which makes customers happy and busy with using > it/playing with it but then this solution is refactored to make its > architecture more flexible. > > Your small task is also interesting to develop using Test Driven Development > (http://www.objectmentor.com/writeUps/TestDrivenDevelopment), but VBA > doesn't have unit testing framework and to write one is senseless for > this(VBA) dying development environment. So TDD should be left for other > VB.NET/C# based projects... > > Recap: > ===== > 1. My proposal is that you write your solution your planned way(as far as I > see it's good traditional solution good enough specified now) to have 0% > risk of fail (Risks are: a Technical problems with VBA & Implements b. My > inactive participation in this project because of my need to work for my > customers currently - urgent release due end of the next week "blood from > nose".) > > 2. When your solution ready I will try to find and show its "weak points" > and when we agree on them/some of them then we will refactor your solution > together in several steps, with every step getting running and more and more > flexible, scalable and asynchronous solution. > > 3. You proceed with your team with or without me because I will again have > to hardwork for my customers... > > If I have been free from my customer's work these days we could have done it > different way with more advanced architecture designed from the very > beginning but my approach has relatively high risk of failure when > implemented on VBA because of VBA enigine bugs... > > Currently I see nine major "players" of my solution: > > - 1. DataExportService > - 2. DataFeeder > - 3. DataCruncher (DataProcessor) > - 4. (Export)FileDefinition > - 5. (Export)FileSection > - 6. (Export)Record > - 7. ((Export)Record)Field > - 8. (Data)Formatter > - 9. (Export)FileWriter > > These should be loosely coupled, highly cohesive custom classes. > There could be more of them and several Interfaces including events. > The ones above can be changed/renamed. Some may go out probably. > It will be more custom classes than in your solution. > It will be more coding for sure than in your solution. > But the coding should be more streamlined with less code lines in custom > classes methods/properties. > This more coding will make sense only if it will be shown that it brings > real gains in long run. > Therefore IMO this is pragmatic approach. > No "air castles", no "miracles", no "universal solutions" - I base my work > on my own experience and on the concepts of the books like "Object Thinking" > http://www.bookpool.com/sm/0735619654 published by MS Press - who can blaim > MS as being non pragmatic? (One can blaim me that I misinterpret the books > like this one referred above and published by MS - feel free to say that if > you think so..) > > Shamil <<< tail skipped>>> From Gustav at cactus.dk Sat Oct 22 04:52:04 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 11:52:04 +0200 Subject: [AccessD] Quarter hour increments Message-ID: Hi Jim and Scott With all respect, in my opinion this is not the route to follow. Machines should help people (users) not bother them. Thus the rounding solution as suggested by Ken is what you should (and I do) use. Perhaps associated by a Beep when rounding occurs ... /gustav >>> Jim.Hale at FleetPride.com 21-10-2005 22:04:57 >>> cool. That one goes in the goody bag Jim Hale -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Friday, October 21, 2005 2:18 PM To: AccessD at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Works perfectly! Thanks, Scott! Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Friday, October 21, 2005 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Quarter hour increments In the table, use the Validation Rule and Validation Text like the following... Validation Rule - ([name of your field]*100) Mod 25 = 0 Validation Text - The decimal portion of the time entered must be 0, 25, 50, or 75! Hope that helps... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From Gustav at cactus.dk Sat Oct 22 05:07:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 12:07:35 +0200 Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface The best way Message-ID: Hi Ken Some interesting thoughts here. I think you should communicate them to the Access Developer Team (I don't have names or addresses). /gustav >>> KIsmert at texassystems.com 21-10-2005 20:25:48 >>> >I see now VBA/VB6-programming concept I called "DEEP-object concept" >(http://www.smsconsulting.spb.ru/shamil_s/articles/deepcnpt.htm) Shamil, Colby turned me on to your site some years ago. All I can say is that you were way ahead of the curve -- it even took MS 3 years to come up with a stable platform to run your concept. I too have dabbled with my own form management frameworks for Access. I got two running, the first a modestly complex, class-based framework that relied on sinking events (developed independently), and the second a stripped down, much-simplified framework based on interfaces. The interface framework managed not only Access forms, but Excel Userforms and standalone objects, as well. The shift in thinking was from a reactive style (respond to an event from something that already happened) to an active style (tell some object to do something with this information). One aim of the interface-based framework was to produce a more loosely-coupled system by moving parameters directly to the object, eliminating the reliance on any global objects (external form controls, global variables, functions and collections...). The other goal was to move away from the flakey form event system, and instead build framework "events" (in reality interface callbacks) on the much more reliable mechanism of object termination. I have thought of building a third framework that combined the best ideas of the first two, but have run into these problems: * Access Form objects have no parameterized constructor (a true Initialize event with a user-definable parameter list). Form_Open happens way too late for my purposes. (Maybe Access 2005 will correct this) * No easy way to deliver the framework. COM-based approaches would require Active-X dlls, developed in VB6. .NET seems to provide some answers: * VB.NET, C# and similar have the object sophistication to build a technically satisfying framework. * Packaging and installation appear to be simpler and more robust (although I can't say this firsthand) Some interesting thoughts on what such a framework should and shouldn't have: * Based in .NET * Works with Access via COM Interop to an Office Add-In. * Automates other form types, including Userforms and .NET forms. * Form Roles defined by the Interfaces they support. * Extensible by defining new Form Role Interfaces, and providing the support code to implement them. * Not driven by Form events. The form communicates to other forms in the framework via interfaces. Form events are considered private to the form, in that they don't drive inter-form communication. The form can use helper objects that sink form events and perform various services, including communication via the proper channels. These would be explicitly set up in the form. Of course, the larger question is, "why do this?". Maybe Microsoft will revive enough developer interest in its next release of Access to justify investing in such a framework. -Ken From Gustav at cactus.dk Sat Oct 22 06:18:10 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 13:18:10 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. From Gustav at cactus.dk Sat Oct 22 06:23:31 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 13:23:31 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi Shamil OK. What I meant is "a potential universal solution" ... /gustav >>> shamil at users.mns.ru 21-10-2005 23:42:19 >>> <<< a universal solution as Shamil has in mind >>> Gustav, My solution is not not intented to be universal. What I propose is to develop a solution, which will allow to not patch the core code but use pluggable custom classes additionally to the "default formatter", which use metadata and Format$ function. Additionally I propose to take into consideration from the very beginning that data source rows' quantity can be very large in general case and that developed solution should be ready to work well in such a case too on a moderate average PC.... Additionally... a limited short list of proposals may follow - but that's all - and for the universal solutuion this list promise to be endless.... From Gustav at cactus.dk Sat Oct 22 06:34:25 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 13:34:25 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi Shamil I've found that most clients don't have a clue on what and how things are programmed. They are only interested in results and working apps. Thus, programming anything "for the future" we do on our own, either for fun, for testing new techniques or for being prepared for the client's next step. Should he take this next step, we charge in full even though it can be programmed in a fraction of the time for programming the first step. /gustav >>> shamil at users.mns.ru 21-10-2005 23:42:19 >>> <<< Clients are very pragmatic. >>> Yes, I know. And I saw it many times and I'm continuing to see how this client's pragmatism results in bad software and then they blaim bad developers. I'm pragmatic too I think - let's try to educate clients step by step? IT industry is mature enough now for this clients educatiion work. (Yes, I know I sound too optimistic, real life isn't like that, Been there, seen that. Or I'd better say I'm still there and see that everyday troubles in my own work with "badly educated in software development" customers. It's not easy to convince clients to wait a little bit more for end results they needed "yesterday". It's even more complicated to convince them to pay today for additional work, which results in their own savings in long run. It's often necessary to invest our own time. But when customers see good final results then the next steps for the next projects are easier...) It's just silly (as John said) to see how resources are wasted when relatively small additional efforts used on project envision and solution architecture design phase result in savings in short and long runs and in a flexible ready for future changes solution, which may find application in the areas, where "quick&dirty" will never find.... Recap ====== 1. I'm not pretending to develop a universal solution. 2. I'm pragmatic 3. I believe(I see) that IT industry is mature enough for simple but flexible, ready for future changes, mature software design and development solutions. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, October 21, 2005 2:11 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Hi John and Shamil > > Interesting to follow this thread. It demonstrates what happens when you move from a fixed to-the-point solution (like my example) over a generic solution as John is suggesting to a universal solution as Shamil has in mind - and all the considerations that move causes. > > I'm pretty much in line with Shamil on this. However, time has shown me that such thoughts most often are over the head and/or pockets of the client and you'll have to compromise. Clients are very pragmatic. But during this at least you have a nice intellectual time with yourself realizing that you are ahead of the client! From Gustav at cactus.dk Sat Oct 22 07:38:23 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 14:38:23 +0200 Subject: [AccessD] Multiple Currency types Message-ID: Hi John The single problem is, of course, that exchange rates vary ... If all you need is the historical cost, the easiest method is to have another field with the USD equivalent of the amount at the date of the transaction. Which exchange rate to use is a question of its own; you probably have an official daily list from your (central) bank in addition to buying and selling rates. And which date to use? That of shipping, delivery, registration, or payment? Here the customs authorities publish another weekly (averaged) list for calculation of duties. You would also need a third field for registration of the currency. Use the official ISO 4217 code (USD, EUR, GBP, etc.): http://www.xe.com/iso4217.htm A source for daily rates is the xe.com Currency Update Service: http://www.xe.com/cus/ A variation of this method is to store the foreign amount, the ISO code, and the exchange rate decided for (which in your case always will be 100 for USD). Then you can always calculate the dollar equivalent. This method, however, violates the normalization rules because the exchange rates will be repeated. Thus you may choose to move the exchange rates to a separate table where you store ISO code Type of exchange rate (official, buying, selling, etc.) Date of exchange rate change Exchange rate This way you can always find any exchange rate used on a specific date by looking up the exchange rate for that currency with the newest "Date of exchange rate change" smaller than (prior to) the specific date. That will allow you to do calculations like "What if those items purchased four months ago charged in Euro were purchased today at equivalent prices?" /gustav >>> john at winhaven.net 21-10-2005 19:38:36 >>> I have a field that is used to retain the historical cost of an item and up to now is has all been in US dollars. Just got one in UK pounds. There's more coming up too. I've never dealt with multiple currency types before. How do you suggest I store different currencies in my table? Do I need one column for amount and one for type of currency or is there a way to do this with formatting, masks, etc. From jwcolby at ColbyConsulting.com Sat Oct 22 09:06:00 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 22 Oct 2005 10:06:00 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: Message-ID: <000501c5d711$bea64230$667aa8c0@ColbyM6805> >I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. Correct. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sat Oct 22 10:16:12 2005 From: robert at servicexp.com (Robert Gracie) Date: Sat, 22 Oct 2005 11:16:12 -0400 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F70@gbsserver.GBS.local> Really, I would think that it would be necessary in a technical environment, such as in mechanical engineering...???? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 22, 2005 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 >I have never seen an export specification requiring a thousand >separator - on the contrary, it must not exist. Correct. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 22 10:45:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 22 Oct 2005 11:45:06 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F70@gbsserver.GBS.local> Message-ID: <000a01c5d71f$96575130$667aa8c0@ColbyM6805> Are you discussing a report generator or a data export facility? Generally data import programs don't want or need thousand separators, only data left of the decimal point, the decimal point, and N places behind the decimal point. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Saturday, October 22, 2005 11:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 Really, I would think that it would be necessary in a technical environment, such as in mechanical engineering...???? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 22, 2005 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 >I have never seen an export specification requiring a thousand >separator - on the contrary, it must not exist. Correct. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 22 11:35:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 22 Oct 2005 12:35:06 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <4359FD9E.3654.12DC9995@stuart.lexacorp.com.pg> Message-ID: <000b01c5d726$92e3f830$667aa8c0@ColbyM6805> OK, two things still need to be fleshed out: Custom field formatting - I have been looking at the formatting information created by the export wizard. They use: DateDelim DateFourDigitYear DateLeadingZeros (what is this?) DateOrder (yyyymmdd kind of thing) DecimalPoint FieldSeparator TextDelim TimeDelim I have questions about placing the delimiting characters in the field. Has anyone run into cases where the delimiter changes from field to field? The other big thing remaining is what the header / footer records look like and how to handle them. If they are just delimited data similar to any other delimited data, then I would suggest that we simply use the existing functionality, treat them like any other export spec, but figure out a means of specifying that a specific export is the header or footer of another export spec. Thoughts / comments on this? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From robert at servicexp.com Sat Oct 22 12:10:03 2005 From: robert at servicexp.com (Robert Gracie) Date: Sat, 22 Oct 2005 13:10:03 -0400 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F71@gbsserver.GBS.local> Hmmmm, Good question.. I would think if you are exporting data between 2 system you would need to keep the data in tacked. I would say that if you are in an engineering environment that you would indeed need to format .005 or even .00025 to keep the data integrity. I'm I miss understanding the problems ? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 22, 2005 12:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 Are you discussing a report generator or a data export facility? Generally data import programs don't want or need thousand separators, only data left of the decimal point, the decimal point, and N places behind the decimal point. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Saturday, October 22, 2005 11:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 Really, I would think that it would be necessary in a technical environment, such as in mechanical engineering...???? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 22, 2005 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 >I have never seen an export specification requiring a thousand >separator - on the contrary, it must not exist. Correct. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sat Oct 22 13:18:53 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 22:18:53 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: Message-ID: <001001c5d735$120bd110$6401a8c0@fincomplex.spb.ru> > I've found that most clients don't have a clue > on what and how things are programmed. Hi Gustav, Yes, I know, and I'm constantly trying to educate them, it works sometimes, sometimes fails. I'm trying to involve them in software development process. I'm trying to explain them that going ahead without planning and taking some additional actions to be ready for future changes is a risky and expensive "adventure" not serious modern business. Why should I do that education for free? I should be fair with my customers and explain why I do this or that and how much this or that work costs and how much it could cost them if we skip some work I think is important. And then they decide take the risk on themselves or pay me more now and put the risks of future changes for relatively low costs on my shoulders. As far as I see mainstream modern development is based on the sentence "the World of software is the World of constant change". My customers should know that and understand that these changes can be very costly if do not take preventive measures. I'm a kind of tired on constant redoing because of "silly impatient customers" or my own impatient silliness. Customers pay for that work but this kind of work is so boring - and it's like building a "Tower of Babylon"... I'm trying to change with my customers that widespread situation in software development for small- and middle- size businesses. Yes, there are situations when customers need a "quick&dirty" work done today to use it immediately - in such situations I just quickly program requested solution and let them use it. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, October 22, 2005 3:34 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Hi Shamil > > I've found that most clients don't have a clue on what and how things are programmed. They are only interested in results and working apps. > > Thus, programming anything "for the future" we do on our own, either for fun, for testing new techniques or for being prepared for the client's next step. Should he take this next step, we charge in full even though it can be programmed in a fraction of the time for programming the first step. > > /gustav > > >>> shamil at users.mns.ru 21-10-2005 23:42:19 >>> > > <<< > Clients are very pragmatic. > >>> > Yes, I know. > And I saw it many times and I'm continuing to see how this client's > pragmatism results in bad software and then they blaim bad developers. > I'm pragmatic too I think - let's try to educate clients step by step? IT > industry is mature enough now for this clients educatiion work. (Yes, I know > I sound too optimistic, real life isn't like that, Been there, seen that. Or > I'd better say I'm still there and see that everyday troubles in my own work > with "badly educated in software development" customers. It's not easy to > convince clients to wait a little bit more for end results they needed > "yesterday". It's even more complicated to convince them to pay today for > additional work, which results in their own savings in long run. It's often > necessary to invest our own time. But when customers see good final > results then the next steps for the next projects are easier...) > > It's just silly (as John said) to see how resources are wasted when > relatively small additional efforts used on project envision and solution > architecture design phase result in savings in short and long runs and in a > flexible ready for future changes solution, which may find application in > the areas, where "quick&dirty" will never find.... > > Recap > ====== > 1. I'm not pretending to develop a universal solution. > 2. I'm pragmatic > 3. I believe(I see) that IT industry is mature enough for simple but > flexible, ready for future changes, mature software design and development > solutions. > > Shamil > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, October 21, 2005 2:11 PM > Subject: Re: [AccessD] Data Export Spec - Rev1 > > > > Hi John and Shamil > > > > Interesting to follow this thread. It demonstrates what happens when you > move from a fixed to-the-point solution (like my example) over a generic > solution as John is suggesting to a universal solution as Shamil has in > mind - and all the considerations that move causes. > > > > I'm pretty much in line with Shamil on this. However, time has shown me > that such thoughts most often are over the head and/or pockets of the client > and you'll have to compromise. Clients are very pragmatic. But during this > at least you have a nice intellectual time with yourself realizing that you > are ahead of the client! > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sat Oct 22 14:08:28 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 23:08:28 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <000b01c5d726$92e3f830$667aa8c0@ColbyM6805> Message-ID: <000b01c5d73c$1741b940$6401a8c0@fincomplex.spb.ru> > I have been looking at the formatting information > created by the export wizard. John, Have a look at this download - it has VBA code to manipulate Import/Export specs - I think you can use it to not spend time on running Export/Import wizard to analyze what kind of output formats it supports: http://smsconsulting.spb.ru/shamil_s/download/imex.htm > The other big thing remaining is what the header / footer records look like > and how to handle them. These are usually checksum records and/or records having common to all detail records information. > I have questions about placing the delimiting characters in the field. Has > anyone run into cases where the delimiter changes from field to field? Yes, it may happen. E.g. for the cases when export records have repeating groups of attributes - e.g. employee with family members information in one export record - COBOL-like stuff... Export files can also have different types of body(detail) records - I did program such applications. Well, maybe you'd better leave this case out of scope now - it will make things too complicated to get first prototype version quick... Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 22, 2005 8:35 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > OK, two things still need to be fleshed out: > > Custom field formatting - I have been looking at the formatting information > created by the export wizard. They use: > > DateDelim > DateFourDigitYear > DateLeadingZeros (what is this?) > DateOrder (yyyymmdd kind of thing) > DecimalPoint > FieldSeparator > TextDelim > TimeDelim > > I have questions about placing the delimiting characters in the field. Has > anyone run into cases where the delimiter changes from field to field? > > The other big thing remaining is what the header / footer records look like > and how to handle them. If they are just delimited data similar to any > other delimited data, then I would suggest that we simply use the existing > functionality, treat them like any other export spec, but figure out a means > of specifying that a specific export is the header or footer of another > export spec. > > Thoughts / comments on this? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > 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 Oct 22 16:57:24 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 23 Oct 2005 07:57:24 +1000 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <000a01c5d71f$96575130$667aa8c0@ColbyM6805> References: <3C6BD610FA11044CADFC8C13E6D5508F4F70@gbsserver.GBS.local> Message-ID: <435B4264.6142.17D13D20@stuart.lexacorp.com.pg> On 22 Oct 2005 at 11:45, John Colby wrote: > Are you discussing a report generator or a data export facility? Generally > data import programs don't want or need thousand separators, only data left > of the decimal point, the decimal point, and N places behind the decimal > point. > Except for the standard bank transfers files used here where they don't want the decimal point either. In US terms, they want the amount to be expressed as cents, right justified in a 12 character field. -- Stuart From stuart at lexacorp.com.pg Sat Oct 22 17:07:20 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 23 Oct 2005 08:07:20 +1000 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <000b01c5d726$92e3f830$667aa8c0@ColbyM6805> References: <4359FD9E.3654.12DC9995@stuart.lexacorp.com.pg> Message-ID: <435B44B8.28209.17DA5502@stuart.lexacorp.com.pg> On 22 Oct 2005 at 12:35, John Colby wrote: > OK, two things still need to be fleshed out: > > Custom field formatting - I have been looking at the formatting information > created by the export wizard. They use: > > DateDelim > DateFourDigitYear > DateLeadingZeros (what is this?) Whether to pad day with leading zero - 1 Jan 2005 or 01 Jan 2005. and 1/1/2005 or 01/01/2005 > DateOrder (yyyymmdd kind of thing) > DecimalPoint > FieldSeparator > TextDelim > TimeDelim > > I have questions about placing the delimiting characters in the field. Has > anyone run into cases where the delimiter changes from field to field? > Some files require text to be delimited but not numbers so the "text delimiter: characters would only be placed around certain fields. > The other big thing remaining is what the header / footer records look like > and how to handle them. If they are just delimited data similar to any > other delimited data, then I would suggest that we simply use the existing > functionality, treat them like any other export spec, but figure out a means > of specifying that a specific export is the header or footer of another > export spec. > The only problem that I can see is that the data in footers is generally summary information which is built as you loop through the records in the body of the export. Specifying an export spec to include calculated totals on fields of another spec is likely to get messy in a hurry :-( -- Stuart From artful at rogers.com Sat Oct 22 21:24:08 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 22 Oct 2005 22:24:08 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <000701c5d56b$94e61210$667aa8c0@ColbyM6805> Message-ID: <200510230224.j9N2O4J23030@databaseadvisors.com> That is all very nice, JC, and as a reasonably well qualified SQL person I might even be prepared to volunteer, but I must second Shamil's comment about you diving into details right away. I need an introduction to what the class is intended to do and what methods it supports and what they are intended to do -- all in language-agnostic English with not a single reference to Access, ADO, DAO or any such underpinnings. Then, and only then, IMO, can we get past our preconceptions, habits, etc. and design something both intelligent and worth using. For example, the various Patterns things have been implemented in many languages. Without referring to a single programming language, document the 10 components and give some examples of how you expect a developer to combine them into something useful. For example (not that this immediately concerns the current project)... Class 1: FormReferee Class 2: Form Class 3: FormMessage Class 3 describes a Message object which must contain attributes A, B and C, and may optionally contain D, E and F. In addition, it contains a Post (sender) attribute and a Get (receiver) collection. (A single message cannot be sent by more than one form, but may be Received by many forms.) Class 2 is the foundation for all forms used in the system, and contains a Post and a Get method, each working with a queue. The former packages the message and posts it to the FormReferee. (As stated in the foregoing paragraph, the given form may Post a message to more than one form, or even to all open forms.) The FormReferee merely collects the messages in either appropriate queue. It is up to each form to interrogate the Sent queue, looking either for its own name or for messages with no recipient (i.e. all). Messages Received by the given Form go into its MessageQueue and are processed in the order Received. A message object contains a collection of Getr-forms. If the collection is empty, the message is intended to be sent to all open forms. Otherwise the message is sent to the member-forms comprising the collection of forms. It may occur that one or more forms in the collection are not in fact open at the moment the message is sent. Class 1 is a singular class (one instance only), and referees all interactions between all forms. It uses two queues, each containing FormMessage objects. It also uses a list of all open forms. Any given message may be sent to one particular form, to N forms, or even to all forms. Messages sent to forms that are not open are ignored. ------------------- This was improvised so it may have numerous holes, but it was intended as an example of the introduction to each class that I find sorely missing in the emails presented thus far in this thread. Regardless of its shortcomings, the above a) attempts to describe the purpose of three interacting classes and the way in which they collaborate; b) avoids any specific programming language ---------------------------- A quick re-read suggests several changes: a) No need for two queues in the Referee; one will do. b) The Referee may need a collection of all open forms to make this work efficiently. The next item explains why. c) The queue should be a special-purpose stack (i.e. a message is received by all relevant open forms, the message is removed from the stack). But I hope that you get the idea. The programming language is not mentioned; that is the big idea. The code is not specified; that is the second biggest idea. All that is described is the nature of the classes and a couple of their messages, along with an indication of their intended interaction. IMO, you have to get all this down first before you even begin to describe all the details. Bottom-up class design, IMO, is doomed to fail. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 20, 2005 7:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 Shamil, The modules do not have to use DAO as long as ADO provides the functionality of accessing the fields using the rst(fldname) operation. The code you see is pseudocode, intended to display the concept, not the actual execution, and I can write DAO in my sleep so it is easy for me to write the pseudocode in. In my framework I use ADO exclusively, however I am still not anywhere close to "as comfortable with it" as I am with DAO. My PREFERENCE is to use ADO throughout for widest applicability. My PREFERENCE is also to get a good SQL Server person on board to keep us running down a path that allows immediate, built-in usage with SQL Server. So far I do not have a lot of hands raised saying that they want an in-depth piece of the action. Also, I am not even sure that SQL Server does not have something similar built-in and therefore nobody using SQL Server would use this. As always happens in these projects, a lot of interest is expressed, but that doesn't necessarily translate into active participation. I have learned to be prepared to do what needs to be done, on my own, to get what -I- need done. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 20, 2005 7:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 John, Question #1: You "dive into details" from the very beginning - but it is not clearly stated in your spec are your custom classes/modules to be developed planned to be used with DAO only? I mean if you consciously restrict applicability(/reusability) of the code to be developed - that's OK but it have to be clearly stated in the specs' abstract to avoid any misunderstanding/mistreatment of the goals of your project for all involved parties(/project stakeholders). As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 6:49 AM Subject: [AccessD] Data Export Spec - Rev1 > OK this is the first rev to the table specification for the data > export module. Everyone is welcomed to try and figure out what we are > up to and comment on how you would use this and what you think would > be useful in order to nail down an export specification. > > usystblExport holds the top level information about an export, > including the > name of the export specification, whether the export needs to be fixed > width, whether to quote the text files, what the delimiter is for this > specific export of the data, and a fully pathed file spec for where to place > the data. > > usystblExport > EX_ID AutoNumber Export ID > EX_Name Text Export Name > EX_FixedWidth Yes/No True when Fixed Width > EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter > Text The delimiter between fields EX_FileSpec Text Fully pathed file > name EX_HeaderLine Yes/No True when Place the field names in the first > line of the file > > usystblExportDataSource holds the relationship between an Export and a data > source. This is a many to one, i.e. a given export specification can > only use a single data source, but a single data source can be used by > many different exports. > > usystblExportDataSource > EXDS_ID AutoNumber DataSourceExport ID > EXDS_IDEX Number Export ID > EXDS_IDDS Number Data Source ID > > usystblDataSource tells us the name of the table, query or possibly a > raw SQL statement. It also gives us a code telling us how to > interpret the Source field. The objective is to be able to create a > single recordset and > export that recordset to multiple destinations, in various formats, > but still ensure that the data is identical. > > usystblDataSource > DS_ID AutoNumber Data source ID > DS_Name Text Name of the data set - not required > DS_Source Memo Data source - can be a sql > statement, a query name or a table name > DS_Type Text Source of the data - TBL, QRY or SQL > > usystblFld gives us information about each field - the order of the > field in > the Big String, the source field name in the table, query or SQL statement, > the OUTPUT field in the text file, the format string used to coerce > the data > into the correct format, The width of the field if used in a fixed > width export, and the beginning position in the string for FIXED WIDTH > fields. The beginning position can be calculated from the position and > the width of > all the fields, and is mostly used as a cross check on the > specification. Fixed width export specifications are very specific and > we need to be certain that the client receiving the data tells us > these numbers correctly. > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the output string > FLD_FldName Text Name of the field in the data source > FLD_OutputFldName Text The name of the field in the output > file > FLD_Format Text Format string to use on the data > > FLD_BeginPos Number Beginning position in the Big String FLD_Width > Number The width if this is to be used in a fixed width export. > > In my current concept of how to implement this set of tables, > usystblFld would be a class (clsFld) which is responsible for > formatting a piece of data from a specific field. > > usystblDataSource becomes a class (clsDataSource) which is the > supervisor of > a collection of clsFld. The first thing that clsDataSource does is to take > the DS_ID and use that to pull all of the records in usystblFld with > that value in FLD_IDDS. This basically gathers all of the field > records that will be exported. Thus a query, table or SQL statement > can have more fields > than make it into the export, and the fields that make it into the > export are determined solely by their presence in usystblFld. As > clsDataSource reads the records out of usystblFld, it instantiates a > clsFld for each field > to be exported, and storing the class instances in Field Position > order (FLD_Order), sort the fields coming out of usystblFlds on > FLD_Order. Thus the clsFld instances are stored in the collection in > their order in the output string. > > clsDataSource reads the dataset specified by the table name, query > name, or > SQL statement stored in DS_Name. This data set may have N records to > be exported into the resulting text file. The data set is iterated > record by record, and each record is then fed to each clsFld in > consecutive order in the clsFld collection (pseudocode below): > > Dim rst as dao.recordset > Dim db as dao.database > Dim lclsFld as clsFld > Dim strBigStr as string > set db = currentdb > set rst = db.Open(DS_Source) > while not rst.eof > > 'the stuff above gets the data to be exported > > 'The stuff below formats the data using the collection of clsFld > instances > > for each lclsFld in colClsFld > str = lclsfld.Format(rst) > strBigStr = strBigStr & SomeDelimiter & str > next lclsFld > wend > > As you can see, each clsFld instance gets a shot at the recordset, and uses > FLD_FldName to determine which piece of the recordset it is supposed > to format (pseudocode below): > > Function Format(rst as dao.recordset) as string > Dim var as variant > Dim str as string > var = rst(FLD_FldName) > str = format(var,FLD_Format) > End function > > Thus as clsDataSource iterates the recordset of data to export, for > each record to be exported it passes the recordset off to each clsFld > instance, getting back formatted data and building up BigString. When > all fields have > been formatted and appended to BigString, BigString is written to > EX_FileSpec. > > That is the big picture, starting to discuss implementation logic. I > am going to cross post this to my forum out on my web site for the > purpose of creating a thread where this can be read independently of > AccessD chatter. > > All comments and suggestions welcomed. We need to nail down the table > structure, since the information in the tables drives the construction > of the classes that hold the data in the usys tables, and the logic of > how to use this data to create an export file. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 22 22:24:07 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 22 Oct 2005 23:24:07 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <200510230224.j9N2O4J23030@databaseadvisors.com> Message-ID: <000101c5d781$3ddd3f30$667aa8c0@ColbyM6805> ROTFL. 1) I already have the whole thing working, without ever having done anything like that. 2) Whatever that was that you said, it was Greek to me. 3) I read the original pattern book (or one of the first I think) back in about 1995, but haven't referred to it since, in fact I think I gave it to a friend although now that you mention it, I should search my book boxes. It was cute, cool, but way abstract. Now that I am moving toward .net perhaps it will be of more use to me - I was actually looking at buying a design patterns book (it's in my "to buy later" list at Amazon.com). Without collecting the requirements, how can I say anything about the classes, what they will look like, or how they will interface? All I did was discuss (VERY briefly) how I had already done this. As I mentioned, I already have a solution up and running. I wrote it about a year ago. I know what I needed, I know the table structure I used, which worked for my purposes. And BTW, it was both intelligent and worth using. I wrote it precisely because I was getting revisions to the export format spec on a regular basis and got tired of trying to keep up with that so I just wrote a table driven design. It works. I have had to insert a dozen fields right in the middle of the (~2000 byte) string and it was a simple matter of adding more records in the field table, and changing the order field so that they were inserted in the right place. It took me a few minutes to modify the query that pulls the data to be exported, and about 15 minutes to add the field records, reran the export and out pops the data just as the (new) spec says it should look. I do a fixed width for the export, and a CSV for in-house use. I know the classes that I used, and how they interacted. I can describe that to you and you can write the gobbledygook if you need it. I would certainly be interested in reading the gobbledygook when you are done. I shamefully hang my head and admit I didn't write a spec before writing the solution I created last year. I work in Access, in VBA, and I have no need for an abstracted "devoid of any programming language" specification. OTOH, this thing was pretty simple, just a pair of classes. What we are about to do will be a bit more complex in order to handle the general case. BTW, I also wrote an interprocess communication class, using withevents. It is a SINGLE class, having TWO functions, a total of 14 lines of code, and works a treat. Of course it has no queue, it just broadcasts a message (raises an event, passing parameters). Anyone can broadcast, anyone can listen. You can find it on my web site in the Withevents demo. And no, I didn't write any specification before I wrote that either. How will I ever look myself in the mirror tomorrow? I do think we need a good spec writer though, if you want to volunteer for that position. And yes, we do need someone to help us get this thing working with SQL Server as well. Since you will have written the spec, I assume that you will be comfortable in knowing that it is intelligent and worth using. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, October 22, 2005 10:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 That is all very nice, JC, and as a reasonably well qualified SQL person I might even be prepared to volunteer, but I must second Shamil's comment about you diving into details right away. I need an introduction to what the class is intended to do and what methods it supports and what they are intended to do -- all in language-agnostic English with not a single reference to Access, ADO, DAO or any such underpinnings. Then, and only then, IMO, can we get past our preconceptions, habits, etc. and design something both intelligent and worth using. For example, the various Patterns things have been implemented in many languages. Without referring to a single programming language, document the 10 components and give some examples of how you expect a developer to combine them into something useful. For example (not that this immediately concerns the current project)... Class 1: FormReferee Class 2: Form Class 3: FormMessage Class 3 describes a Message object which must contain attributes A, B and C, and may optionally contain D, E and F. In addition, it contains a Post (sender) attribute and a Get (receiver) collection. (A single message cannot be sent by more than one form, but may be Received by many forms.) Class 2 is the foundation for all forms used in the system, and contains a Post and a Get method, each working with a queue. The former packages the message and posts it to the FormReferee. (As stated in the foregoing paragraph, the given form may Post a message to more than one form, or even to all open forms.) The FormReferee merely collects the messages in either appropriate queue. It is up to each form to interrogate the Sent queue, looking either for its own name or for messages with no recipient (i.e. all). Messages Received by the given Form go into its MessageQueue and are processed in the order Received. A message object contains a collection of Getr-forms. If the collection is empty, the message is intended to be sent to all open forms. Otherwise the message is sent to the member-forms comprising the collection of forms. It may occur that one or more forms in the collection are not in fact open at the moment the message is sent. Class 1 is a singular class (one instance only), and referees all interactions between all forms. It uses two queues, each containing FormMessage objects. It also uses a list of all open forms. Any given message may be sent to one particular form, to N forms, or even to all forms. Messages sent to forms that are not open are ignored. ------------------- This was improvised so it may have numerous holes, but it was intended as an example of the introduction to each class that I find sorely missing in the emails presented thus far in this thread. Regardless of its shortcomings, the above a) attempts to describe the purpose of three interacting classes and the way in which they collaborate; b) avoids any specific programming language ---------------------------- A quick re-read suggests several changes: a) No need for two queues in the Referee; one will do. b) The Referee may need a collection of all open forms to make this work efficiently. The next item explains why. c) The queue should be a special-purpose stack (i.e. a message is received by all relevant open forms, the message is removed from the stack). But I hope that you get the idea. The programming language is not mentioned; that is the big idea. The code is not specified; that is the second biggest idea. All that is described is the nature of the classes and a couple of their messages, along with an indication of their intended interaction. IMO, you have to get all this down first before you even begin to describe all the details. Bottom-up class design, IMO, is doomed to fail. A. From handyman at actcom.co.il Sun Oct 23 01:12:37 2005 From: handyman at actcom.co.il (handyman at actcom.co.il) Date: Sun, 23 Oct 2005 08:12:37 +0200 Subject: [AccessD] CallerID code Message-ID: <6.2.3.4.2.20051023080354.01f57ad0@pop5.actcom.net.il> I have been exploring the possibility of using callerid code that I can monitor my incoming phone calls. I found a very simple freeware program called Phonetray which keeps a log of incoming calls, and has an address book in Excel. I am interested in trying to write code using VBA to use my own address book from Access. Does anyone know where I can find code or information on how to capture information from a modem? By having this info, I can then automatically pop onto the screen information about the customer. Thanks Gershon Markowitz mailto:Handyman at actcom.co.il From stuart at lexacorp.com.pg Sun Oct 23 05:03:12 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 23 Oct 2005 20:03:12 +1000 Subject: [AccessD] CallerID code In-Reply-To: <6.2.3.4.2.20051023080354.01f57ad0@pop5.actcom.net.il> Message-ID: <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> On 23 Oct 2005 at 8:12, handyman at actcom.co.il wrote: > I have been exploring the possibility of using callerid code that I > can monitor my incoming phone calls. I found a very simple freeware > program called Phonetray which keeps a log of incoming calls, and has > an address book in Excel. I am interested in trying to write code > using VBA to use my own address book from Access. Does anyone know > where I can find code or information on how to capture information > from a modem? By having this info, I can then automatically pop onto > the screen information about the customer. > Heres the source for a simple VB application whih you should be able to adapt. http://www.yes-tele.com/modem.html -- Stuart From d.dick at tripledee.com.au Sun Oct 23 08:39:52 2005 From: d.dick at tripledee.com.au (Darren DICK) Date: Sun, 23 Oct 2005 23:39:52 +1000 Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge Message-ID: <200510231341.j9NDfCJ23742@databaseadvisors.com> Hi Team I am trying to get the syntax right to plot a vertical line on a horizontal "fuel gauge" Fuel gauge looks something like |___|___|___|___| Fuel gauge is made up of 5 vertical lines representing (from L to R) Empty(Minimum), 1/4, 1/2, 3/4, and Full (Maximum) With a long line underneath the 5 vertical lines representing the plane User enters 3 values into controls on a form 1 = MIN 2 = MAX 3 = Desired (Is always going to fall somewhere between min and max - handled by data entry rules) The 1st and 2nd values entered indicate what the max and min are to be IE Empty and Full EG Min = 100,000 Eg Max = 300,000 EG "Desired" = 200,000 So I should see (Using the above example) the vertical line indicating "Desired" sit above the Half Full vertical line But so far I am doing something wrong - 'cause when I enter 1 as a min 3 as a max and 2 as desired the vertical line plots perfectly But when I use 100 as min 300 as max and 200 as "desired" I get a slight shift of the "Desired" vertical line to the right And it increases (I think exponetially) as I increase the Min and Max by increments of say...thousands So...Any tips on the logic I should use? Anyone wanna see the demo - lemme know Many thanks in advance Darren From bchacc at san.rr.com Sun Oct 23 11:02:15 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 23 Oct 2005 09:02:15 -0700 Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge References: <200510231341.j9NDfCJ23742@databaseadvisors.com> Message-ID: <007401c5d7eb$2390b660$6501a8c0@HAL9004> Darren: I had to make a rather complicated bar graph for an app years ago and what I decided to do, instead of drawing the lines was to start with the maximum length line and adjust the length in the Detail_Format event. You could do the same by making all the lines in the report, set them to Visible No, and visiblizing the ones you want. That's the easy way. You can also draw stuff like this using .Line: ' Draw up-pointing triangle for txt box rptBigOne.DrawWidth = 10 rptBigOne.Line (txtParticipantAverage.Left - 30, txtParticipantAverage.Top + 40)- _ (txtParticipantAverage.Left, txtParticipantAverage.Top + 100), QBColor(0) rptBigOne.Line (txtParticipantAverage.Left, txtParticipantAverage.Top + 100)- _ (txtParticipantAverage.Left + 30, txtParticipantAverage.Top + 40), QBColor(0) rptBigOne.Line (txtParticipantAverage.Left - 30, txtParticipantAverage.Top + 40)- _ (txtParticipantAverage.Left + 30, txtParticipantAverage.Top + 40), QBColor(0) rptBigOne.DrawWidth = 1 ' Draw down-pointing triangle for txt box rptBigOne.DrawWidth = 10 rptBigOne.Line (txtOrganizationAverage.Left, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 30, txtOrganizationAverage.Top + 60), QBColor(0) rptBigOne.Line (txtOrganizationAverage.Left + 60, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 30, txtOrganizationAverage.Top + 60), QBColor(0) rptBigOne.Line (txtOrganizationAverage.Left, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 60, txtOrganizationAverage.Top + 120), QBColor(0) rptBigOne.DrawWidth = 1 End If where rptBigOne is set to the name of the report. You can use CurrentX and CurrentY properties of the report which is a lot of fun and print something at the current location: rptBigOne.CurrentY = Text109.Top + (intJ - 1) * 142 rptBigOne.CurrentX = intLeft - 75 + intK * 1.5 / intPointMax * 1440 If Nz(gintGraph2(ItemNumber, intJ, intK)) <> 0 Then rptBigOne.Print Str(gintGraph2(ItemNumber, intJ, intK)) Else rptBigOne.CurrentX = rptBigOne.CurrentX + 60 rptBigOne.CurrentY = rptBigOne.CurrentY - 60 rptBigOne.Print "." ' MsgBox "X=" & rptBigOne.CurrentX & " " & "Y=" & rptBigOne.CurrentY & " " & "gintgraph2=" & gintgraph2(ItemNumber, intJ, intK) End If But I think making the lines you want to show visible in the Format event is probably the easiest way I know of. HTH Rocky ----- Original Message ----- From: "Darren DICK" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 23, 2005 6:39 AM Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge > Hi Team > I am trying to get the syntax right to plot a vertical line on a > horizontal > "fuel gauge" > Fuel gauge looks something like |___|___|___|___| > > Fuel gauge is made up of 5 vertical lines representing (from L to R) > Empty(Minimum), 1/4, 1/2, 3/4, and Full (Maximum) > With a long line underneath the 5 vertical lines representing the plane > > User enters 3 values into controls on a form > 1 = MIN > 2 = MAX > 3 = Desired (Is always going to fall somewhere between min and max - > handled > by data entry rules) > > The 1st and 2nd values entered indicate what the max and min are to be IE > Empty and Full > EG Min = 100,000 > Eg Max = 300,000 > EG "Desired" = 200,000 > > So I should see (Using the above example) the vertical line indicating > "Desired" sit above the Half Full vertical line > But so far I am doing something wrong - 'cause when I enter 1 as a min 3 > as > a max and 2 as desired the vertical line plots perfectly > > But when I use 100 as min 300 as max and 200 as "desired" I get a slight > shift of the "Desired" vertical line to the right > And it increases (I think exponetially) as I increase the Min and Max by > increments of say...thousands > > So...Any tips on the logic I should use? > > Anyone wanna see the demo - lemme know > > Many thanks in advance > > Darren > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Sun Oct 23 12:53:32 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 23 Oct 2005 10:53:32 -0700 Subject: [AccessD] CallerID code References: <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> Message-ID: <435BCE1C.5000800@shaw.ca> Caller ID works by transferring a couple of 80 byte records (depending on the phone company) between the first and second ring. There are about 3 or 4 standards as to what is transmitted. It does get messy, for example on my phone I live in a place where there was a recent area code split into Vancouver getting it's own area code and the rest of the province another. So you may get an incoming call indicated as 555-1212 from my local area code but to redial it has to be dialed 1-250-555-1212, you may have to sort this out as to what is local or long distance. Stuart McLachlan wrote: >On 23 Oct 2005 at 8:12, handyman at actcom.co.il wrote: > > > >>I have been exploring the possibility of using callerid code that I >>can monitor my incoming phone calls. I found a very simple freeware >>program called Phonetray which keeps a log of incoming calls, and has >>an address book in Excel. I am interested in trying to write code >>using VBA to use my own address book from Access. Does anyone know >>where I can find code or information on how to capture information >>from a modem? By having this info, I can then automatically pop onto >>the screen information about the customer. >> >> >> > >Heres the source for a simple VB application whih you should be able to >adapt. > >http://www.yes-tele.com/modem.html > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sun Oct 23 13:25:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 23 Oct 2005 20:25:26 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi Stuart That's right. This is used here as well, not by all but a few banks. My previously posted code snippet is designed to handle that too; just let strDecimal = vbNullString In fact, it will even handle decimal separators of type Space and of any length(?!) ... /gustav >>> stuart at lexacorp.com.pg 22-10-2005 23:57 >>> On 22 Oct 2005 at 11:45, John Colby wrote: > Are you discussing a report generator or a data export facility? Generally > data import programs don't want or need thousand separators, only data left > of the decimal point, the decimal point, and N places behind the decimal > point. Except for the standard bank transfers files used here where they don't want the decimal point either. In US terms, they want the amount to be expressed as cents, right justified in a 12 character field. From d.dick at tripledee.com.au Sun Oct 23 18:39:48 2005 From: d.dick at tripledee.com.au (Darren DICK) Date: Mon, 24 Oct 2005 09:39:48 +1000 Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge In-Reply-To: <007401c5d7eb$2390b660$6501a8c0@HAL9004> Message-ID: <200510232341.j9NNfnJ09080@databaseadvisors.com> Thanks heaps Rocky I'll give it a go Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, 24 October 2005 2:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Plot a Vertical Line on a fuel gauge Darren: I had to make a rather complicated bar graph for an app years ago and what I decided to do, instead of drawing the lines was to start with the maximum length line and adjust the length in the Detail_Format event. You could do the same by making all the lines in the report, set them to Visible No, and visiblizing the ones you want. That's the easy way. You can also draw stuff like this using .Line: ' Draw up-pointing triangle for txt box rptBigOne.DrawWidth = 10 rptBigOne.Line (txtParticipantAverage.Left - 30, txtParticipantAverage.Top + 40)- _ (txtParticipantAverage.Left, txtParticipantAverage.Top + 100), QBColor(0) rptBigOne.Line (txtParticipantAverage.Left, txtParticipantAverage.Top + 100)- _ (txtParticipantAverage.Left + 30, txtParticipantAverage.Top + 40), QBColor(0) rptBigOne.Line (txtParticipantAverage.Left - 30, txtParticipantAverage.Top + 40)- _ (txtParticipantAverage.Left + 30, txtParticipantAverage.Top + 40), QBColor(0) rptBigOne.DrawWidth = 1 ' Draw down-pointing triangle for txt box rptBigOne.DrawWidth = 10 rptBigOne.Line (txtOrganizationAverage.Left, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 30, txtOrganizationAverage.Top + 60), QBColor(0) rptBigOne.Line (txtOrganizationAverage.Left + 60, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 30, txtOrganizationAverage.Top + 60), QBColor(0) rptBigOne.Line (txtOrganizationAverage.Left, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 60, txtOrganizationAverage.Top + 120), QBColor(0) rptBigOne.DrawWidth = 1 End If where rptBigOne is set to the name of the report. You can use CurrentX and CurrentY properties of the report which is a lot of fun and print something at the current location: rptBigOne.CurrentY = Text109.Top + (intJ - 1) * 142 rptBigOne.CurrentX = intLeft - 75 + intK * 1.5 / intPointMax * 1440 If Nz(gintGraph2(ItemNumber, intJ, intK)) <> 0 Then rptBigOne.Print Str(gintGraph2(ItemNumber, intJ, intK)) Else rptBigOne.CurrentX = rptBigOne.CurrentX + 60 rptBigOne.CurrentY = rptBigOne.CurrentY - 60 rptBigOne.Print "." ' MsgBox "X=" & rptBigOne.CurrentX & " " & "Y=" & rptBigOne.CurrentY & " " & "gintgraph2=" & gintgraph2(ItemNumber, intJ, intK) End If But I think making the lines you want to show visible in the Format event is probably the easiest way I know of. HTH Rocky ----- Original Message ----- From: "Darren DICK" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 23, 2005 6:39 AM Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge > Hi Team > I am trying to get the syntax right to plot a vertical line on a > horizontal > "fuel gauge" > Fuel gauge looks something like |___|___|___|___| > > Fuel gauge is made up of 5 vertical lines representing (from L to R) > Empty(Minimum), 1/4, 1/2, 3/4, and Full (Maximum) > With a long line underneath the 5 vertical lines representing the plane > > User enters 3 values into controls on a form > 1 = MIN > 2 = MAX > 3 = Desired (Is always going to fall somewhere between min and max - > handled > by data entry rules) > > The 1st and 2nd values entered indicate what the max and min are to be IE > Empty and Full > EG Min = 100,000 > Eg Max = 300,000 > EG "Desired" = 200,000 > > So I should see (Using the above example) the vertical line indicating > "Desired" sit above the Half Full vertical line > But so far I am doing something wrong - 'cause when I enter 1 as a min 3 > as > a max and 2 as desired the vertical line plots perfectly > > But when I use 100 as min 300 as max and 200 as "desired" I get a slight > shift of the "Desired" vertical line to the right > And it increases (I think exponetially) as I increase the Min and Max by > increments of say...thousands > > So...Any tips on the logic I should use? > > Anyone wanna see the demo - lemme know > > Many thanks in advance > > Darren > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Oct 23 19:41:30 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 23 Oct 2005 20:41:30 -0400 Subject: [AccessD] Switchboard Question In-Reply-To: Message-ID: <200510240041.j9O0fSJ32318@databaseadvisors.com> I think that I have asked this before and been answered, but I`m getting old and infirm so forgive me please. Using the SB Manager, I create an item which is supposed to open a form in DS mode, but instead it opens it in single-row mode. In this particular case, this defeats all my intentions. How to get around this... I suppose that I could write a function that opens the form of interest, but cannot the SB manager be persuaded to do what I wish it to do.... Even if I specify that form abc be opened in DS format, the SB manager seems to ignore my instructions, opening the form instead in single-row format, which is NOT what I wish in this particular case. How can I pass params or otherwise defeat the allegedly intelligent SB manager... and make it do what I want. TIA, Arthur From KP at sdsonline.net Sun Oct 23 20:20:06 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Mon, 24 Oct 2005 11:20:06 +1000 Subject: [AccessD] OT Friday Humour References: <20051021110631.6D50F250DD4@smtp.nildram.co.uk> Message-ID: <009801c5d839$122ea730$6401a8c0@user> Don't apologise! V. funny, :) Kath ----- Original Message ----- From: Andy Lacey To: Dba Sent: Friday, October 21, 2005 9:06 PM Subject: [AccessD] OT Friday Humour Further to the earlier post I must apologise. The ebay guy is not a brit at all (I'd assumed that from the entry in the UK newspaper) he's from NY. Well, respect to him. Also the link I posted to the Independent newspaper is not worth following (only gave full article on day of publication, now just a suumary) but here's one to the guy's blog instead. A fun read. In fact the blog contains the full ebay ad (plus lots of follow-up comments) so you only need read this. http://www.banterist.com/archivefiles/000286.html -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 23 21:02:33 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 23 Oct 2005 21:02:33 -0500 Subject: [AccessD] Switchboard Question In-Reply-To: <18431895.1130114694711.JavaMail.root@sniper15> Message-ID: <000001c5d83f$02ed42d0$0200a8c0@danwaters> Dear Arthur, Yes the Switchboard Manager is allegedly intelligent, but only in a mean, nasty, 'I hate developers' kind of way. I used it for a while and traced through the code. After I recovered from that I made my own. I'd suggest simply using command buttons or colored labels that look like buttons and put a DoCmd.OpenForm behind the Click event. It's kind of a dumb switchboard, but it's a nice one! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, October 23, 2005 7:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Switchboard Question I think that I have asked this before and been answered, but I`m getting old and infirm so forgive me please. Using the SB Manager, I create an item which is supposed to open a form in DS mode, but instead it opens it in single-row mode. In this particular case, this defeats all my intentions. How to get around this... I suppose that I could write a function that opens the form of interest, but cannot the SB manager be persuaded to do what I wish it to do.... Even if I specify that form abc be opened in DS format, the SB manager seems to ignore my instructions, opening the form instead in single-row format, which is NOT what I wish in this particular case. How can I pass params or otherwise defeat the allegedly intelligent SB manager... and make it do what I want. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Oct 23 23:10:03 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Mon, 24 Oct 2005 14:10:03 +1000 Subject: [AccessD] Switchboard Question In-Reply-To: <200510240041.j9O0fSJ32318@databaseadvisors.com> References: Message-ID: <435CEB3B.19876.1156CB7@localhost> On 23 Oct 2005 at 20:41, Arthur Fuller wrote: > I think that I have asked this before and been answered, but I`m getting old > and infirm so forgive me please. > Using the SB Manager, I create an item which is supposed to open a form in > DS mode, but instead it opens it in single-row mode. In this particular > case, this defeats all my intentions. > How to get around this... I suppose that I could write a function that opens > the form of interest, but cannot the SB manager be persuaded to do what I > wish it to do.... > Even if I specify that form abc be opened in DS format, the SB manager seems > to ignore my instructions, opening the form instead in single-row format, > which is NOT what I wish in this particular case. > How can I pass params or otherwise defeat the allegedly intelligent SB > manager... and make it do what I want. > TIA, > Arthur > In the switchboards code module, edit the HandleButtonClick() function. Create a new constant: Const conCmdOpenDatasheet = 10 and include a new case Case conCmdOpenDatasheet DoCmd.OpenForm rs![Argument], acFormDS In the SwitchboardItems table, set the "Command" of the particular menu item to 10. From handyman at actcom.co.il Mon Oct 24 00:28:51 2005 From: handyman at actcom.co.il (handyman at actcom.co.il) Date: Mon, 24 Oct 2005 07:28:51 +0200 Subject: [AccessD] CallerID code In-Reply-To: <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> References: <6.2.3.4.2.20051023080354.01f57ad0@pop5.actcom.net.il> <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> Message-ID: <6.2.3.4.2.20051024072624.04b8b1f0@pop5.actcom.net.il> This looks more complicated than I originally thought. Does anyone know of any third party program or controls that I can use to extract the incoming data? gm At 08:03 PM, 10/23/2005 +1000, you wrote: >On 23 Oct 2005 at 8:12, handyman at actcom.co.il wrote: > > > I have been exploring the possibility of using callerid code that I > > can monitor my incoming phone calls. I found a very simple freeware > > program called Phonetray which keeps a log of incoming calls, and has > > an address book in Excel. I am interested in trying to write code > > using VBA to use my own address book from Access. Does anyone know > > where I can find code or information on how to capture information > > from a modem? By having this info, I can then automatically pop onto > > the screen information about the customer. > > > >Heres the source for a simple VB application whih you should be able to >adapt. > >http://www.yes-tele.com/modem.html > >-- >Stuart > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.361 / Virus Database: 267.12.4/146 - Release Date: 10/21/2005 Gershon Markowitz mailto:Handyman at actcom.co.il From pcs at azizaz.com Mon Oct 24 00:58:57 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 24 Oct 2005 15:58:57 +1000 Subject: [AccessD] OT Colby's Framework References: <000f01c5d580$13cfe8d0$667aa8c0@ColbyM6805> Message-ID: <007801c5d860$05c6c5a0$fa10a8c0@Albatross> John, Reply in line below... and then more ----- Original Message ----- From: "John Colby" Subject: Re: [AccessD] OT Colby's Framework > One quick question, did you work > through all the articles or are you jumping in at the end? I don't care, if > you know what you are doing and are jumping in that is cool, I'm just > curious. I am jumping in at the [deep] end! I have been stepping through your code a few times, and hopefully learnt a bit. My knowledge and experience with class modules, objects, eventsinking etc. is minimal. > As for your problem, the framework is looking for a sysvar called > "EnblPtrStack", which should be true or false. I use SysVars to turn on/off > functionality in my framework, and this code is telling the cIS class to > either use the class logging mechanism or do not use it. The class logging > mechanism is a class which tracks the names of the classes as they are > instantiated, so that you can get a listing in instantiation order of all > the class instances currently loaded. In your table "usystblFWSysVars " in the MDA code library your have the two sysvar records: 53 EnblPtrStack 54 EnblNameStack In the Init() code of the clsInstanceStack the corresponding two variables blnEnblPtrStack and blnEnblNameStack are set to True by default. So while initializing the Framework class logging is On by default. Then you can have it turned on or off > I also have to say that "it is not failing here". I just opened the zip > file, unzipped it and relinked FE to BE, and it runs perfectly, at least > until you try and close the database, whereupon the module in the > usysFrmFWCleanup in the framework throws a runtime error. There is a me. > Code fragment in the form_Close. Sigh. I have fixed that and will upload > the zip to my site. > So what happens with the crash? Is SV() not returning a value (returning a > null) which the cIS.EnblPtrStack cannot accept? IIRC, I return a null if > the SysVar doesn't exist, which would indicate that the sysvar was not > loaded from the SysVar table. Can you step into SV("EnblPtrStack"), and in > the debug window ask for the count of the SysVar collection? Are there ANY > sysvars in the SysVar collection? > > -----Original Message----- [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Thursday, October 20, 2005 8:48 AM > Subject: [AccessD] OT Colby's Framework > > > Hi John, > This probably doesn't belong here... but > > Is someone framing me? > > Case : DemoFW_FE.mdb > > I have problem initializing..... > > When executing the line > mclsFramework.Init Nothing in function FWinit() > > it runs the init of the clsFramework: > > Public Sub Init(ByRef robjParent As Object) > Set mobjParent = robjParent > cIS.Register Me > assDebugPrint "init " & mstrInstanceName, DebugPrint > mclsSVFW.Init Nothing, gfwcnn, "usystblFWSysVars" > cIS.EnblPtrStack = SV("EnblPtrStack") <================== crashes > here > cIS.EnblNameStack = SV("EnblNameStack") > mclsZip.Init Nothing > End Sub > > The function > Public Function SV(strSVName As String) As Variant > SV = mclsSVFW.SV(strSVName) > End Function > > takes us to : with "EnblPtrStack" as the strSVName value > > Function SV(strSVName As String, Optional strSVFld As String = > "SV_VarValue") As Variant > On Error GoTo Err_SV > Select Case strSVFld > Case "SV_VarValue" > SV = mcolSysVars(strSVName).Value() <========= errors here (error > number 5) > Case "SV_Memo" > SV = mcolSysVars(strSVName).Memo() > Case "SV_UserEditable" > SV = mcolSysVars(strSVName).UserEditable() > Case "SV_AllowOverride" > SV = mcolSysVars(strSVName).AllowOverride() > Case Else > End Select > Exit_SV: > Exit Function > Err_SV: > Select Case Err > Case 0 > Resume Exit_SV > Case 5 > SV = Null <======== You set the SV to null, but > then errors with : "Invalid Use of NULL" > Resume Exit_SV > Case Else > MsgBox Err.Description, , "Error in Function clsSysVars.SV" > Resume Exit_SV > End Select > Resume 0 '.FOR TROUBLESHOOTING > End Function > > ....... > Being able to run your sample code is the first step ... > > Persistence is getting me nowhere! > > Any suggestions? > > /borge From pcs at azizaz.com Mon Oct 24 01:01:06 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 24 Oct 2005 16:01:06 +1000 Subject: [AccessD] Fw: OT Colby's Framework Message-ID: <007e01c5d860$52f7d1c0$fa10a8c0@Albatross> @#%#%# the Control Enter button.... standby My apologies /borge > > So while initializing the Framework class logging is On by default. Then you > can have it turned on or off > From pcs at azizaz.com Mon Oct 24 02:41:23 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 24 Oct 2005 17:41:23 +1000 Subject: [AccessD] OT Colby's Framework References: <000f01c5d580$13cfe8d0$667aa8c0@ColbyM6805> Message-ID: <009601c5d86e$5539ca20$fa10a8c0@Albatross> John, Reply and questions inline below, /borge ----- Original Message ----- From: "John Colby" Subject: Re: [AccessD] OT Colby's Framework > One quick question, did you work > through all the articles or are you jumping in at the end? I don't care, if > you know what you are doing and are jumping in that is cool, I'm just > curious. If you worked through all the articles and the example code then I > am absolutely floored at your persistence. This stuff is not necessarily > easy. I am jumping in at the [deep] end! I have been stepping through your code a few times, and hopefully learnt a bit. My knowledge and experience with class modules, objects, eventsinking etc. is minimal. > As for your problem, the framework is looking for a sysvar called > "EnblPtrStack", which should be true or false. I use SysVars to turn on/off > functionality in my framework, and this code is telling the cIS class to > either use the class logging mechanism or do not use it. The class logging > mechanism is a class which tracks the names of the classes as they are > instantiated, so that you can get a listing in instantiation order of all > the class instances currently loaded. In your table "usystblFWSysVars " in the MDA code library your have the two sysvar records: 53 EnblPtrStack 54 EnblNameStack In the Init() code of the clsInstanceStack the corresponding two variables blnEnblPtrStack and blnEnblNameStack are set to True by default. So while initializing the Framework Class Logging is On by default. Then you can have it turned on or off. Right? Now, why would you want to turn it off? Reading your article I was under the impression that the Class Logging feature is essential to a proper managed termination procedure? > I also have to say that "it is not failing here". I just opened the zip > file, unzipped it and relinked FE to BE, and it runs perfectly, at least > until you try and close the database, whereupon the module in the > usysFrmFWCleanup in the framework throws a runtime error. There is a me. > Code fragment in the form_Close. Sigh. I have fixed that and will upload > the zip to my site. After your reply I unzipped a 'fresh' version of your demo. Runs smoothly - no problem (Yes, I deleted the Me. code fragment) Last week I had problems with the MDAC and had to install latest version of MDAC for several things to function properly. While having the corrupt MDA on my system I had changed the Set mfwcnn = CodeProject.Connection to read Set mfwcnn = CurrentProject.Connection because my Help would'nt recognize CodeProject , ...and I was just mocking around in the dark. This was the reason for my demo version falling over. I had of course forgotten about this "minor" change in the code. Questions: So, Codeproject in this instance refers to your C2DbFW3G.MDA code library. I guess this link is established when you set up the MDA in the References?? General question: Can you have more than one MDA linked to your FrontEnd? If so, what is CodeProject then referring to? The first instance of MDAs in the Reference List? For your demo purpose why do you have the usystblFWSysVars both in the MDA and in the FrontEnd? It doesn't appear that the table in the FrontEnd is used. If it was to be used, I assume it would be to demonstrate the 'over ride' facility of the SysVar values as they exist in a particular FrontEnd. If that is the case, am I correct in assuming that the usystblFWSysVars table in the FrontEnd woud be read and dealt with in the same manner as the tables usystblAppCont usystblFWSysVars by running similar code as fw.SVAPPContInit "usystblAppCont" fw.SVAPPDataInit "usystblAppData" with the necessary functions established in the clsFramework? Or am I missing something? /borge From marcus at tsstech.com Mon Oct 24 06:24:50 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 24 Oct 2005 07:24:50 -0400 Subject: [AccessD] Quarter hour increments Message-ID: Gustav, With all respect, I was just giving options. My opinion is that this belongs in a business layer, separate from the backend or front end. Hardly seems worth all that fuss (a separate layer). Choose what is appropriate for your situation. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 5:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Hi Jim and Scott With all respect, in my opinion this is not the route to follow. Machines should help people (users) not bother them. Thus the rounding solution as suggested by Ken is what you should (and I do) use. Perhaps associated by a Beep when rounding occurs ... /gustav From shamil at users.mns.ru Mon Oct 24 07:15:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 24 Oct 2005 16:15:30 +0400 Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface Thebest way References: Message-ID: <003901c5d894$dd54aa80$6401a8c0@fincomplex.spb.ru> <<< * Access Form objects have no parameterized constructor (a true Initialize event with a user-definable parameter list). Form_Open happens way too late for my purposes. (Maybe Access 2005 will correct this) You can trick around this limitation using: - fake recordsources; - fake subforms, which are created before mainform. <<< * No easy way to deliver the framework. COM-based approaches would require Active-X dlls, developed in VB6. >>> In fact it's relatively easy to convert VBA code into VB6 ActiveX Dlls if there is no CurrentDB, CodeDB, DbEngine(..), DoCmd... and similar code constructs chaotically distributed in VBA code... <<< .NET seems to provide some answers: >>> Yes, .NET is much better to build such frameworks. And taking into account a very sad story of Bruce McKinney(http://brucem.mystarband.net/) - the author of excellent book "HardCore Visual Basic": http://vb.mvps.org/hardcore/html/notessecondinternetedition.htm I'd not recommend now to spend any time on hardcore experiments with VBA - it is not worth the trouble... <<< Of course, the larger question is, "why do this?". >>> "Just for fun"? (But ptogramming on .NET is much more fun... C# and C++ is even more fun... Ruby (people say) - is enormous fun - maybe better start learning Ruby, especially taking into account mentioned here Ruby on Rails framework and other Ruby related stuff?) <<< Maybe Microsoft will revive enough developer interest in its next release of Access to justify investing in such a framework. >>> It looks like MS Access is becoming pure power users tool. MS SQL Server 2005 Express Edition is becoming its killer as developer's platform... Shamil ----- Original Message ----- From: "Ken Ismert" To: "Access Developers discussion and problem solving" Sent: Friday, October 21, 2005 10:25 PM Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface Thebest way > > >I see now VBA/VB6-programming concept I called "DEEP-object concept" > >(http://www.smsconsulting.spb.ru/shamil_s/articles/deepcnpt.htm) > > Shamil, > > Colby turned me on to your site some years ago. All I can say is that > you were way ahead of the curve -- it even took MS 3 years to come up > with a stable platform to run your concept. > > I too have dabbled with my own form management frameworks for Access. I > got two running, the first a modestly complex, class-based framework > that relied on sinking events (developed independently), and the second > a stripped down, much-simplified framework based on interfaces. The > interface framework managed not only Access forms, but Excel Userforms > and standalone objects, as well. > > The shift in thinking was from a reactive style (respond to an event > from something that already happened) to an active style (tell some > object to do something with this information). > > One aim of the interface-based framework was to produce a more > loosely-coupled system by moving parameters directly to the object, > eliminating the reliance on any global objects (external form controls, > global variables, functions and collections...). The other goal was to > move away from the flakey form event system, and instead build framework > "events" (in reality interface callbacks) on the much more reliable > mechanism of object termination. > > I have thought of building a third framework that combined the best > ideas of the first two, but have run into these problems: > * Access Form objects have no parameterized constructor (a true > Initialize event with a user-definable parameter list). Form_Open > happens way too late for my purposes. (Maybe Access 2005 will correct > this) > * No easy way to deliver the framework. COM-based approaches would > require Active-X dlls, developed in VB6. > > .NET seems to provide some answers: > * VB.NET, C# and similar have the object sophistication to build a > technically satisfying framework. > * Packaging and installation appear to be simpler and more robust > (although I can't say this firsthand) > > Some interesting thoughts on what such a framework should and shouldn't > have: > * Based in .NET > * Works with Access via COM Interop to an Office Add-In. > * Automates other form types, including Userforms and .NET forms. > * Form Roles defined by the Interfaces they support. > * Extensible by defining new Form Role Interfaces, and providing the > support code to implement them. > * Not driven by Form events. The form communicates to other forms in the > framework via interfaces. Form events are considered private to the > form, in that they don't drive inter-form communication. The form can > use helper objects that sink form events and perform various services, > including communication via the proper channels. These would be > explicitly set up in the form. > > Of course, the larger question is, "why do this?". Maybe Microsoft will > revive enough developer interest in its next release of Access to > justify investing in such a framework. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 24 07:16:07 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Oct 2005 14:16:07 +0200 Subject: [AccessD] Quarter hour increments Message-ID: Hi Scott That's right, but you were suggesting validation at the table level. Validation in a business layer is, of course, preferable and logical as it would not be an error at the table level to store a value with a count of minutes of, say, 10 in a date/time field. However, my point is another. Wherever the "error" is caught it should not raise an error. Error messages bother users, indeed in situations where the user will think "stupid application, when I type 12 minutes, why doesn't it just round that to 15?". Thus your business rule should catch this "error" silently, and gently and/or quietly guide the user to the desired input which - according to your business rule - in this case would be to round up, down, or to closest quarter of an hour. I think it is worth the fuzz. Details like these handled in a way that has the user in focus add quite a lot to the total user satisfaction. Also - and that's important - when you care for the details, the client (the user) automatically will think that if the details are taken properly care of, so are the big tasks. /gustav >>> marcus at tsstech.com 24-10-2005 13:24 >>> Gustav, With all respect, I was just giving options. My opinion is that this belongs in a business layer, separate from the backend or front end. Hardly seems worth all that fuss (a separate layer). Choose what is appropriate for your situation. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 5:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Hi Jim and Scott With all respect, in my opinion this is not the route to follow. Machines should help people (users) not bother them. Thus the rounding solution as suggested by Ken is what you should (and I do) use. Perhaps associated by a Beep when rounding occurs ... /gustav From shamil at users.mns.ru Mon Oct 24 07:54:18 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 24 Oct 2005 16:54:18 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <000701c5d56b$94e61210$667aa8c0@ColbyM6805> Message-ID: <008801c5d89a$122efe40$6401a8c0@fincomplex.spb.ru> > As always happens in these projects, a lot of interest is expressed, but > that doesn't necessarily translate into active participation. John, I cannot promise active participation because of heavy workload but what I promised so far - convert your code using Implements and design patterns and a set of low coupled/highly cohesive custom classes and/or move the converted code to VB.NET/C# for scalability, real asynchronous execution etc. - this is what I plan to do sooner or later... > Also, I am not even sure that SQL Server does not have > something similar built-in and therefore nobody using SQL Server would use > this. MS SQL Server has Data Transformation Services(DTS) - one may use them to automate data export to fixed width/delimited text files. And DTS can also generate VB6 code, and transformation/formatting VB6 code can be written/edited during DTS Wizard helping to prepare DTS package.... IMO you can compete with DTS if your code will have different area of applications, which DTS doesn't cover.... Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 3:44 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Shamil, > > The modules do not have to use DAO as long as ADO provides the functionality > of accessing the fields using the rst(fldname) operation. The code you see > is pseudocode, intended to display the concept, not the actual execution, > and I can write DAO in my sleep so it is easy for me to write the pseudocode > in. In my framework I use ADO exclusively, however I am still not anywhere > close to "as comfortable with it" as I am with DAO. > > My PREFERENCE is to use ADO throughout for widest applicability. My > PREFERENCE is also to get a good SQL Server person on board to keep us > running down a path that allows immediate, built-in usage with SQL Server. > So far I do not have a lot of hands raised saying that they want an in-depth > piece of the action. Also, I am not even sure that SQL Server does not have > something similar built-in and therefore nobody using SQL Server would use > this. > > As always happens in these projects, a lot of interest is expressed, but > that doesn't necessarily translate into active participation. I have > learned to be prepared to do what needs to be done, on my own, to get what > -I- need done. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > <<< tail skipped>>> From marcus at tsstech.com Mon Oct 24 08:09:39 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 24 Oct 2005 09:09:39 -0400 Subject: [AccessD] Quarter hour increments Message-ID: Gustav, << Hi Scott << << That's right, but you were suggesting validation at the table level. And the other solution offers it at the application level. That's still not a middle tier. To make it a middle tier, could be a silly decision. << Thus your business rule should catch this "error" silently, << and gently and/or quietly guide the user to the desired input << which - according to your business rule - in this case << would be to round up, down, or to closest quarter of an hour. If you just round, the user gets accustom to that so that when they really 'fat finger' the entry (27 oops I meant 07), it is rounded (likely incorrectly) and probably ignored. I don't like that solution. I would rather the user put in valid data than just rely on the program to fix the time. I have learned that time tends to be very import (in my case peoples pay depends on it) I want no mistakes when entering it. To each his own... << Details like these handled in a way that has the user in << focus add quite a lot to the total user satisfaction. And the first time you get called into a meeting as to why the data is wrong and someone has to cut another check, you try explaining how you thought it would make for a better user experience, you'll understand where I'm coming from. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From jwcolby at ColbyConsulting.com Mon Oct 24 08:14:38 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 24 Oct 2005 09:14:38 -0400 Subject: [AccessD] OT Colby's Framework In-Reply-To: <009601c5d86e$5539ca20$fa10a8c0@Albatross> Message-ID: <007e01c5d89c$e34031a0$667aa8c0@ColbyM6805> >So while initializing the Framework Class Logging is On by default. Then you can have it turned on or off. Right? Now, why would you want to turn it off? Reading your article I was under the impression that the Class Logging feature is essential to a proper managed termination procedure? The stacks are a troubleshooting tool, nothing more. They allow you to discover what has loaded, in what order, and waaaay more importantly, what has NOT unloaded. In point of fact, the stacks can all by themselves PREVENT classes from unloading IF for some reason the class pointer is not unloaded from the stack when the class closes. That in fact has happened, I had a bug where a the name I used as the index (key) for the stack collection was not the name I was trying to use as the key for unloading the class. Oooops! It got put in but never taken out. What happens in Access is that ANY object (and classes are just objects) don't truly close until the last pointer to the class is deleted from all the various variables holding that pointer. Collections can, and my stack system does, hold pointers to classes. Since my stack was not correctly finding and unloading the pointer to some specific classes, they never unloaded. So no, the stacks have nothing to do with proper unloading of the classes, they are just a way for you to look at the names of (and count of) all the classes loaded, then (for example) load a form that loads 20 classes, then turn right around and close that form, and check the count of classes loaded. If a form loads 20 classes, it MUST unload 20 classes when it closes or it has somehow left a class open which may now be orphaned. A troubleshooting tool. There are obvious exceptions such as some service that the form asks the framework to load. It was not loaded previously, but the framework opens it and holds a pointer to that service. Now, as the form closes any classes associated with that service will still be loaded, and that's OK. We often leave services loaded "for the next time". ***** >Questions: So, Codeproject in this instance refers to your C2DbFW3G.MDA code library. I guess this link is established when you set up the MDA in the References?? CodeProject refers to the place that code is currently executing when the "codeproject" line of code is executed (resolved). Thus if code INSIDE the framework executes a reference to codeproject, it points to itself (the framework). If the FE executes the line referring to codeproject, it points to the itself (the FE). ***** >General question: Can you have more than one MDA linked to your FrontEnd? If so, what is CodeProject then referring to? The first instance of MDAs in the Reference List? Whatever container (MDB/A/E) that the code is executing in when the CodeProject reference is resolved. ***** > For your demo purpose why do you have the usystblFWSysVars both in the MDA and in the FrontEnd? It doesn't appear that the table in the FrontEnd is used. If it was to be used, I assume it would be to demonstrate the 'over ride' facility of the SysVar values as they exist in a particular FrontEnd. usystblFWSysVars is used to "override" the DEFAULT behaviors of the FE. What is SUPPOSED to happen is that the usystblFWSysVars in the framework container (MDA) is read out and placed into the SysVars class. IMMEDIATELY after this, the usystblFWSysVars from the FE container is supposed to be read out and placed into the SysVars class. Since the SysVar NAME is used as a key (index) into the SysVar class and collection, if the name is already in the SysVar collection, an exception occurs. I trap that exception, unload the value already in the collection, then place the "new" value in the collection. Thus the new value "overrides" the old value. Let's assume that I set up a DEFAULT where I do NOT USE just-in-time (JIT) subforms. If you do not override that in the FE, then as a form loads, it immediately loads all subforms on the form as well. Suppose that in THIS frontend you WANT JIT subforms. Find the JITSubforms variable, set it to true in the FE and voila, all forms in the FE will use JIT Subforms. It turns out that we also want a form by form control over some things (like JIT subforms), so I also have a method of overriding SysVars on a form basis. THAT occurs in the form class however, not in the loading of the SysVar collection as the framework loads. So you can NOT turn on JIT subforms and still have JIT functionality for SPECIFIC forms. ***** >If that is the case, am I correct in assuming that the usystblFWSysVars table in the FrontEnd would be read and dealt with in the same manner as the tables usystblAppCont usystblFWSysVars by running similar code as fw.SVAPPContInit "usystblAppCont" fw.SVAPPDataInit "usystblAppData" with the necessary functions established in the clsFramework? Or am I missing something? That is precisely correct. In fact you should find that I load the usystblAppCont and usystblAppData right as the framework loads, so that by the time control returns to the calling FE (from loading the framework) both of those SysVar classes are loaded and ready to go. BTW, if you are NOT particularly strong in classes ad objects, I recommend working through the whole series, as each lecture discusses some specific thing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 24, 2005 3:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Colby's Framework John, Reply and questions inline below, /borge ----- Original Message ----- From: "John Colby" Subject: Re: [AccessD] OT Colby's Framework > One quick question, did you work > through all the articles or are you jumping in at the end? I don't > care, if > you know what you are doing and are jumping in that is cool, I'm just > curious. If you worked through all the articles and the example code > then I > am absolutely floored at your persistence. This stuff is not > necessarily easy. I am jumping in at the [deep] end! I have been stepping through your code a few times, and hopefully learnt a bit. My knowledge and experience with class modules, objects, eventsinking etc. is minimal. > As for your problem, the framework is looking for a sysvar called > "EnblPtrStack", which should be true or false. I use SysVars to turn on/off > functionality in my framework, and this code is telling the cIS class > to either use the class logging mechanism or do not use it. The class logging > mechanism is a class which tracks the names of the classes as they are > instantiated, so that you can get a listing in instantiation order of > all the class instances currently loaded. In your table "usystblFWSysVars " in the MDA code library your have the two sysvar records: 53 EnblPtrStack 54 EnblNameStack In the Init() code of the clsInstanceStack the corresponding two variables blnEnblPtrStack and blnEnblNameStack are set to True by default. So while initializing the Framework Class Logging is On by default. Then you can have it turned on or off. Right? Now, why would you want to turn it off? Reading your article I was under the impression that the Class Logging feature is essential to a proper managed termination procedure? > I also have to say that "it is not failing here". I just opened the > zip file, unzipped it and relinked FE to BE, and it runs perfectly, at > least until you try and close the database, whereupon the module in > the usysFrmFWCleanup in the framework throws a runtime error. There > is a me. Code fragment in the form_Close. Sigh. I have fixed that > and will upload the zip to my site. After your reply I unzipped a 'fresh' version of your demo. Runs smoothly - no problem (Yes, I deleted the Me. code fragment) Last week I had problems with the MDAC and had to install latest version of MDAC for several things to function properly. While having the corrupt MDA on my system I had changed the Set mfwcnn = CodeProject.Connection to read Set mfwcnn = CurrentProject.Connection because my Help would'nt recognize CodeProject , ...and I was just mocking around in the dark. This was the reason for my demo version falling over. I had of course forgotten about this "minor" change in the code. Questions: So, Codeproject in this instance refers to your C2DbFW3G.MDA code library. I guess this link is established when you set up the MDA in the References?? General question: Can you have more than one MDA linked to your FrontEnd? If so, what is CodeProject then referring to? The first instance of MDAs in the Reference List? For your demo purpose why do you have the usystblFWSysVars both in the MDA and in the FrontEnd? It doesn't appear that the table in the FrontEnd is used. If it was to be used, I assume it would be to demonstrate the 'over ride' facility of the SysVar values as they exist in a particular FrontEnd. If that is the case, am I correct in assuming that the usystblFWSysVars table in the FrontEnd woud be read and dealt with in the same manner as the tables usystblAppCont usystblFWSysVars by running similar code as fw.SVAPPContInit "usystblAppCont" fw.SVAPPDataInit "usystblAppData" with the necessary functions established in the clsFramework? Or am I missing something? /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Mon Oct 24 09:37:00 2005 From: pcs at azizaz.com (Borge Hansen) Date: Tue, 25 Oct 2005 00:37:00 +1000 Subject: [AccessD] OT Colby's Framework References: <007e01c5d89c$e34031a0$667aa8c0@ColbyM6805> Message-ID: <00d501c5d8a8$64cbcb70$fa10a8c0@Albatross> I'll be reading the whole series of articles.... One more question: in usystblFWSysVars for SV : gEnblCtlBackGndColorChg your comment is : Global prefix ALLOWS controls to change background colors as they get / lose focus. Does NOT CAUSE this to happen. Setting the color codes (gCtlBackGndColor and gLblBackGndColorDblClk) to another value, does not cause the background color to change on neither labels or textcontrols when starting up the FE again. How come? /borge ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 24, 2005 11:14 PM Subject: Re: [AccessD] OT Colby's Framework > > BTW, if you are NOT particularly strong in classes ad objects, I recommend > working through the whole series, as each lecture discusses some specific > thing. > From Gustav at cactus.dk Mon Oct 24 10:05:56 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Oct 2005 17:05:56 +0200 Subject: [AccessD] Quarter hour increments Message-ID: Hi Scott First, you forget the original questioner, Gina. I don't think she has a business layer. If so, the frontend is where to put sophisticated business rules as only simple validation is possible at the table level. Still, if a business layer should be present, I agree that would be where to put it. Second, I'm not telling you what to do with your specific users in your particular scenario. My opnion is general and nothing more than that. Third, no rules can take care of allowed but incorrect input. If the user types 27 for 07 minutes that would be rounded to 30 for 0, no more no less. 27 is a valid input but if the user meant 07, it is incorrect, and so is 30 minutes. As you user probably is typing into a textbox, he/she can study the input and decide wether it is correct or not before moving on. If this is a time sheet, it probably has an Accept button, and the user has the responsibility to check the filled in data before pressing that button. Finally, if you wish to tell the user that a rounding occurred, send a Beep, or - if the rounding would be an indication of a possible incorrect user input - pop a messagebox telling the user that "The 27 minutes were rounded to 30 minutes." which leaves the user with the option to correct or accept it. In our time billing application we have put a lot of efforts in helping the users to not type in figures that may be incorrect. We don't round to 15 minutes but to one minute, you have the option of typing decimal hours as well as time duration in hours and minutes where automatic correction of time (0 to 24) and minutes (0 to 59) without typing the separator colon and eventually passing Midnight is an exercise on its own. But users appreciate it very much. /gustav >>> marcus at tsstech.com 24-10-2005 15:09 >>> Gustav, << Hi Scott << << That's right, but you were suggesting validation at the table level. And the other solution offers it at the application level. That's still not a middle tier. To make it a middle tier, could be a silly decision. << Thus your business rule should catch this "error" silently, << and gently and/or quietly guide the user to the desired input << which - according to your business rule - in this case << would be to round up, down, or to closest quarter of an hour. If you just round, the user gets accustom to that so that when they really 'fat finger' the entry (27 oops I meant 07), it is rounded (likely incorrectly) and probably ignored. I don't like that solution. I would rather the user put in valid data than just rely on the program to fix the time. I have learned that time tends to be very import (in my case peoples pay depends on it) I want no mistakes when entering it. To each his own... << Details like these handled in a way that has the user in << focus add quite a lot to the total user satisfaction. And the first time you get called into a meeting as to why the data is wrong and someone has to cut another check, you try explaining how you thought it would make for a better user experience, you'll understand where I'm coming from. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From hoopesg at hotmail.com Mon Oct 24 10:29:52 2005 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 24 Oct 2005 10:29:52 -0500 Subject: [AccessD] Quarter hour increments Message-ID: Scott and Gustav, I've been reading your comments with interest. I agree with Gustav on the theoretical level because I'm a trainer and I do try to make things as friendly as possible for the end user. However, in this particular case, Scott's solution is still the best. The user has a maximum of 40 hours that s/he can enter. So if I allow them to prepare their own breakdown, usually in an Excel spreadsheet, when they come to the database to enter their final result in my database the rounding would change their total. In this case the user needs to know that the only acceptable increments are quarter hours and prepare their data accordingly. This is a new restriction for them so we need to re-train their process rather than "fix" the data they enter. Thanks for a good discussion with more than one good solution. Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, October 24, 2005 10:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Hi Scott First, you forget the original questioner, Gina. I don't think she has a business layer. If so, the frontend is where to put sophisticated business rules as only simple validation is possible at the table level. Still, if a business layer should be present, I agree that would be where to put it. From hoopesg at hotmail.com Mon Oct 24 10:48:50 2005 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 24 Oct 2005 10:48:50 -0500 Subject: [AccessD] Quarter hour increments Message-ID: By the way, I did remove the exclamation point from the validation text since I don't want to appear to be scolding them, just correcting them. Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, October 24, 2005 10:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Hi Scott First, you forget the original questioner, Gina. I don't think she has a business layer. If so, the frontend is where to put sophisticated business rules as only simple validation is possible at the table level. Still, if a business layer should be present, I agree that would be where to put it. From jwcolby at ColbyConsulting.com Mon Oct 24 10:51:04 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 24 Oct 2005 11:51:04 -0400 Subject: [AccessD] OT Colby's Framework In-Reply-To: <00d501c5d8a8$64cbcb70$fa10a8c0@Albatross> Message-ID: <008c01c5d8b2$c0659bf0$667aa8c0@ColbyM6805> >One more question: in usystblFWSysVars, for SV : gEnblCtlBackGndColorChg, your comment is : Global prefix ALLOWS controls to change background colors as they get / lose focus. Does NOT CAUSE this to happen. Setting the color codes (gCtlBackGndColor and gLblBackGndColorDblClk) to another value, does not cause the background color to change on neither labels or text controls when starting up the FE again. How come? IIRC gCtlBackGndColor and gLblBackGndColorDblClk are the colors that the background changes to. The EnblXXX is generally an ENABLE for something to happen. Thus changing gCtlBackGndColor and gLblBackGndColorDblClk will only change the color that the background changes to IF it is enabled. The ENBLXXX still has to be set to TRUE to ENABLE the background color to change when it gets the focus. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 24, 2005 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Colby's Framework I'll be reading the whole series of articles.... One more question: in usystblFWSysVars for SV : gEnblCtlBackGndColorChg your comment is : Global prefix ALLOWS controls to change background colors as they get / lose focus. Does NOT CAUSE this to happen. Setting the color codes (gCtlBackGndColor and gLblBackGndColorDblClk) to another value, does not cause the background color to change on neither labels or textcontrols when starting up the FE again. How come? /borge ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 24, 2005 11:14 PM Subject: Re: [AccessD] OT Colby's Framework > > BTW, if you are NOT particularly strong in classes ad objects, I > recommend working through the whole series, as each lecture discusses > some specific thing. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Mon Oct 24 10:55:27 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 24 Oct 2005 11:55:27 -0400 Subject: [AccessD] Flag Previously Deleted Recs Message-ID: Once a week, I receive a list of all open accounts from one of our DB's. If an account is no longer open, it will not appear on the list. After receiving the current week's list, I need to flag accounts in my master DB that are no longer open. For example, if Acct# 12345 appeared in last weeks file, but not in this week's file, I need to update my master file so this acct shows as deleted. When I receive the file, I import the data into an Access table, and update the [FileDate] field with today's date. All accounts from my master table that were not in this week's file need to be flagged as Deleted. This seems like a fairly simple thing to do, but I'm having trouble figuring it out. Any ideas?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From Gustav at cactus.dk Mon Oct 24 11:08:08 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Oct 2005 18:08:08 +0200 Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface Thebest way Message-ID: Hi Shamil Not that I had planned to do anything with Visual Basic but the thoughts of this Bruce is an eye-opener: http://brucem.mystarband.net By the way, any of you using VB, note his book is available on-line at no charge. Link is in the links below. /gustav >>> shamil at users.mns.ru 24-10-2005 14:15 >>> <<< .NET seems to provide some answers: >>> Yes, .NET is much better to build such frameworks. And taking into account a very sad story of Bruce McKinney(http://brucem.mystarband.net/) - the author of excellent book "HardCore Visual Basic": http://vb.mvps.org/hardcore/html/notessecondinternetedition.htm I'd not recommend now to spend any time on hardcore experiments with VBA - it is not worth the trouble... From Gustav at cactus.dk Mon Oct 24 11:17:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Oct 2005 18:17:21 +0200 Subject: [AccessD] Quarter hour increments Message-ID: Hi Gina Thanks for the clarification. You are right - rounding just doesn't make sense in this situation. Here where things have to fit, the method of choice is "polite and bruce force" ... /gustav >>> hoopesg at hotmail.com 24-10-2005 17:29 >>> Scott and Gustav, I've been reading your comments with interest. I agree with Gustav on the theoretical level because I'm a trainer and I do try to make things as friendly as possible for the end user. However, in this particular case, Scott's solution is still the best. The user has a maximum of 40 hours that s/he can enter. So if I allow them to prepare their own breakdown, usually in an Excel spreadsheet, when they come to the database to enter their final result in my database the rounding would change their total. In this case the user needs to know that the only acceptable increments are quarter hours and prepare their data accordingly. This is a new restriction for them so we need to re-train their process rather than "fix" the data they enter. Thanks for a good discussion with more than one good solution. Gina From mikedorism at verizon.net Mon Oct 24 11:19:37 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 24 Oct 2005 12:19:37 -0400 Subject: [AccessD] Flag Previously Deleted Recs In-Reply-To: Message-ID: <001801c5d8b6$bb8af220$2e01a8c0@dorismanning> After you update the FileDate for those that match, you need change (update) the DeleteFlag in all records of the AccountTable where the FileDate is less than Today's Date. Doris Manning mikedorism at verizon.net From martyconnelly at shaw.ca Mon Oct 24 11:20:30 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Oct 2005 09:20:30 -0700 Subject: [AccessD] CallerID code References: <6.2.3.4.2.20051023080354.01f57ad0@pop5.actcom.net.il> <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> <6.2.3.4.2.20051024072624.04b8b1f0@pop5.actcom.net.il> Message-ID: <435D09CE.5030308@shaw.ca> There is some VB6 code here but you will need the MSComm dll that is licensed through VB6 Or you will have to look up the TAPI SDK through MS site. http://www.yes-tele.com/modem.html handyman at actcom.co.il wrote: >This looks more complicated than I originally thought. Does anyone >know of any third party program or controls that I can use to extract >the incoming data? > >gm > >At 08:03 PM, 10/23/2005 +1000, you wrote: > > >>On 23 Oct 2005 at 8:12, handyman at actcom.co.il wrote: >> >> >> >>>I have been exploring the possibility of using callerid code that I >>>can monitor my incoming phone calls. I found a very simple freeware >>>program called Phonetray which keeps a log of incoming calls, and has >>>an address book in Excel. I am interested in trying to write code >>>using VBA to use my own address book from Access. Does anyone know >>>where I can find code or information on how to capture information >>>from a modem? By having this info, I can then automatically pop onto >>>the screen information about the customer. >>> >>> >>> >>Heres the source for a simple VB application whih you should be able to >>adapt. >> >>http://www.yes-tele.com/modem.html >> >>-- >>Stuart >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>-- >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.1.361 / Virus Database: 267.12.4/146 - Release Date: 10/21/2005 >> >> > >Gershon Markowitz >mailto:Handyman at actcom.co.il > > -- Marty Connelly Victoria, B.C. Canada From mboyd at deloitte.com Mon Oct 24 11:31:08 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 24 Oct 2005 12:31:08 -0400 Subject: [AccessD] Flag Previously Deleted Recs Message-ID: The problem with this is I don't want to flag prior instances of the same Acct# as deleted. For example, if Acct# 12345 was open in the 10/6/2005 file, and also in the 10/13/2005 file, your suggestion would update the 10/6 record to Deleted. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, October 24, 2005 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Flag Previously Deleted Recs After you update the FileDate for those that match, you need change (update) the DeleteFlag in all records of the AccountTable where the FileDate is less than Today's Date. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From marcus at tsstech.com Mon Oct 24 11:41:00 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 24 Oct 2005 12:41:00 -0400 Subject: [AccessD] Quarter hour increments Message-ID: <<... try to make things as friendly as possible for the end user. This is a good point, and I agree with it. However, I don't sacrifice data integrity over user friendliness (rounding time seems to be one of those touchy areas where I use more caution). I agree with Gustav on most of his points. Sometimes though, less is more. From jwcolby at ColbyConsulting.com Mon Oct 24 12:19:32 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 24 Oct 2005 13:19:32 -0400 Subject: [AccessD] BE differences Message-ID: <00a301c5d8bf$1c3adce0$667aa8c0@ColbyM6805> Does anyone have any code for discovering the DIFFERENCES between the tables in two Bes? I can't remember if this is available in the BE Updater. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From tewald at comcast.net Mon Oct 24 12:50:38 2005 From: tewald at comcast.net (tewald at comcast.net) Date: Mon, 24 Oct 2005 17:50:38 +0000 Subject: [AccessD] Breaking up a text field Message-ID: <102420051750.209.435D1EEE00083F92000000D122073007930B040E990A9B@comcast.net> Say we have a text field that has the word "Stuff" in it several times. We want to break up the field everywhere that word appears, creating new fields. How can we do that? Putting the data into associated fields in a separate table would be fine. This seems to me to resemble normalization in one sense, but I can't quite put my finger on it. For example, we have: "The stuff that we have is stuff that we don't want and so you can go and stuff it." We want 4 fields (the first because there is text prior to the first "stuff"): The stuff that we have is stuff that we don't want and so you can go and stuff it. Any suggestions? TIA, Tom Ewald From carbonnb at gmail.com Mon Oct 24 13:20:27 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 24 Oct 2005 14:20:27 -0400 Subject: [AccessD] BE differences In-Reply-To: <00a301c5d8bf$1c3adce0$667aa8c0@ColbyM6805> References: <00a301c5d8bf$1c3adce0$667aa8c0@ColbyM6805> Message-ID: On 24/10/05, John Colby wrote: > Does anyone have any code for discovering the DIFFERENCES between the tables > in two Bes? I can't remember if this is available in the BE Updater. No, it's not available in the BEU. I beleive that feature is on the TODO list, but way down near the bottom. -- 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 martyconnelly at shaw.ca Mon Oct 24 13:28:08 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Oct 2005 11:28:08 -0700 Subject: [AccessD] BE differences References: <00a301c5d8bf$1c3adce0$667aa8c0@ColbyM6805> Message-ID: <435D27B8.2060400@shaw.ca> Easy way is Total Access Detective from FMS $199. http://www.fmsinc.com Here is a function that should do part of the trick (it assumes that there are the same records in each table matching on primary key ID. If not, just put in logic to move the recordsets until the keys match.) If they are out of sync the coding gets busy real fast. Function CompTables() Dim DB As DAO.Database, i As Long Dim rs1 As DAO.Recordset, rs2 As DAO.Recordset Set DB = CurrentDb() Set rs1 = DB.OpenRecordset("Vc") Set rs2 = DB.OpenRecordset("Vp") Do Until rs1.EOF For i = 0 To rs1.Fields.Count - 1 If rs1(i) <> rs2(i) Then 'do something here like write it to a log table End If Next i rs1.MoveNext rs2.MoveNext Loop rs1.Close rs2.Close Set rs1 = Nothing Set rs2 = Nothing End Function John Colby wrote: >Does anyone have any code for discovering the DIFFERENCES between the tables >in two Bes? I can't remember if this is available in the BE Updater. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Mon Oct 24 13:41:45 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 24 Oct 2005 22:41:45 +0400 Subject: [AccessD] Breaking up a text field References: <102420051750.209.435D1EEE00083F92000000D122073007930B040E990A9B@comcast.net> Message-ID: <003501c5d8ca$9df9bbb0$6401a8c0@fincomplex.spb.ru> Option Compare Text '... Dim strTest As String strTest = "The stuff that we have " & _ "is stuff that we don't want" & _ "and so you can go and stuff it." Dim i As Integer Dim avar As Variant avar = SplitStr(strTest) For i = 0 To UBound(avar) Debug.Print avar(i) Next i '... Public Function SplitStr( _ ByVal vstr As String, _ Optional ByVal vstrDlm As String = "stuff") _ As Variant Dim avar As Variant Dim i As Integer avar = Split(vstr, vstrDlm) avar(0) = avar(0) For i = 1 To UBound(avar) avar(i) = vstrDlm & avar(i) Next i SplitStr = avar End Function HTH, Shamil ----- Original Message ----- From: To: Sent: Monday, October 24, 2005 9:50 PM Subject: [AccessD] Breaking up a text field > Say we have a text field that has the word "Stuff" in it several times. We want to break up the field everywhere that word appears, creating new fields. How can we do that? Putting the data into associated fields in a separate table would be fine. This seems to me to resemble normalization in one sense, but I can't quite put my finger on it. > For example, we have: "The stuff that we have is stuff that we don't want and so you can go and stuff it." > We want 4 fields (the first because there is text prior to the first "stuff"): > The > stuff that we have is > stuff that we don't want and so you can go and > stuff it. > Any suggestions? > TIA, > Tom Ewald > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Oct 24 13:41:02 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 24 Oct 2005 14:41:02 -0400 Subject: [AccessD] Flag Previously Deleted Recs In-Reply-To: Message-ID: <001d01c5d8ca$7cd16be0$2e01a8c0@dorismanning> Gotcha... so you need to do a GroupBy and do the comparison against the Max value of FileDate... Mike & Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Monday, October 24, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Flag Previously Deleted Recs The problem with this is I don't want to flag prior instances of the same Acct# as deleted. For example, if Acct# 12345 was open in the 10/6/2005 file, and also in the 10/13/2005 file, your suggestion would update the 10/6 record to Deleted. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, October 24, 2005 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Flag Previously Deleted Recs After you update the FileDate for those that match, you need change (update) the DeleteFlag in all records of the AccountTable where the FileDate is less than Today's Date. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Mon Oct 24 14:01:23 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 24 Oct 2005 15:01:23 -0400 Subject: [AccessD] Flag Previously Deleted Recs Message-ID: That is exactly how I ended up doing it. I ran a query to return all Acct #'s that match the Max [FileDate], then ran an Unmatched Query against these Acct #'s to determine the records that were not included in the most recent file. These records were then flagged as deleted. Thanks for your help. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, October 24, 2005 2:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Flag Previously Deleted Recs Gotcha... so you need to do a GroupBy and do the comparison against the Max value of FileDate... Mike & Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Monday, October 24, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Flag Previously Deleted Recs The problem with this is I don't want to flag prior instances of the same Acct# as deleted. For example, if Acct# 12345 was open in the 10/6/2005 file, and also in the 10/13/2005 file, your suggestion would update the 10/6 record to Deleted. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, October 24, 2005 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Flag Previously Deleted Recs After you update the FileDate for those that match, you need change (update) the DeleteFlag in all records of the AccountTable where the FileDate is less than Today's Date. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Mon Oct 24 14:21:02 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Mon, 24 Oct 2005 14:21:02 -0500 Subject: [AccessD] BE differences Message-ID: <855499653F55AD4190B242717DF132BC10BA60@dewey.Symphony.local> Even easier--because it's free--is MDBDiff, which I learned about on this list once upon a time. It can be found here: http://www.pb-sys.com/ under retired products. Liz Doering Symphony Information Services liz at symphonyinfo.com www.symphonyinfo.com Marty Connelly wrote: Easy way is Total Access Detective from FMS $199. http://www.fmsinc.com Here is a function that should do part of the trick (it assumes that there are the same records in each table matching on primary key ID. If not, just put in logic to move the recordsets until the keys match.) If they are out of sync the coding gets busy real fast. Function CompTables() Dim DB As DAO.Database, i As Long Dim rs1 As DAO.Recordset, rs2 As DAO.Recordset Set DB = CurrentDb() Set rs1 = DB.OpenRecordset("Vc") Set rs2 = DB.OpenRecordset("Vp") Do Until rs1.EOF For i = 0 To rs1.Fields.Count - 1 If rs1(i) <> rs2(i) Then 'do something here like write it to a log table End If Next i rs1.MoveNext rs2.MoveNext Loop rs1.Close rs2.Close Set rs1 = Nothing Set rs2 = Nothing End Function John Colby wrote: >Does anyone have any code for discovering the DIFFERENCES between the tables >in two Bes? I can't remember if this is available in the BE Updater. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Oct 24 14:28:58 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Oct 2005 12:28:58 -0700 Subject: [AccessD] Office 2003 Service pack 2 References: <102420051750.209.435D1EEE00083F92000000D122073007930B040E990A9B@comcast.net> <003501c5d8ca$9df9bbb0$6401a8c0@fincomplex.spb.ru> Message-ID: <435D35FA.7070701@shaw.ca> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-5735432.html -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Oct 24 14:36:01 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Oct 2005 12:36:01 -0700 Subject: [AccessD] BE differences References: <855499653F55AD4190B242717DF132BC10BA60@dewey.Symphony.local> Message-ID: <435D37A1.7010908@shaw.ca> ooohh neat! Liz Doering wrote: >Even easier--because it's free--is MDBDiff, which I learned about on >this list once upon a time. > >It can be found here: http://www.pb-sys.com/ under retired products. > > >Liz Doering >Symphony Information Services >liz at symphonyinfo.com >www.symphonyinfo.com > > > >Marty Connelly wrote: > >Easy way is Total Access Detective from FMS $199. > >http://www.fmsinc.com > >Here is a function that should do part of the trick (it assumes that >there are the >same records in each table matching on primary key ID. If not, just put >in >logic to move the recordsets until the keys match.) >If they are out of sync the coding gets busy real fast. > >Function CompTables() > >Dim DB As DAO.Database, i As Long >Dim rs1 As DAO.Recordset, rs2 As DAO.Recordset > >Set DB = CurrentDb() > >Set rs1 = DB.OpenRecordset("Vc") >Set rs2 = DB.OpenRecordset("Vp") > >Do Until rs1.EOF >For i = 0 To rs1.Fields.Count - 1 >If rs1(i) <> rs2(i) Then >'do something here like write it to a log table >End If >Next i >rs1.MoveNext >rs2.MoveNext >Loop > >rs1.Close >rs2.Close > >Set rs1 = Nothing >Set rs2 = Nothing > >End Function > > > >John Colby wrote: > > > >>Does anyone have any code for discovering the DIFFERENCES between the >> >> >tables > > >>in two Bes? I can't remember if this is available in the BE Updater. >> >>John W. Colby >>www.ColbyConsulting.com >> >>Contribute your unused CPU cycles to a good cause: >>http://folding.stanford.edu/ >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Mon Oct 24 16:58:00 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 25 Oct 2005 07:58:00 +1000 Subject: [AccessD] Breaking up a text field In-Reply-To: <003501c5d8ca$9df9bbb0$6401a8c0@fincomplex.spb.ru> Message-ID: <435DE588.22186.221E7414@stuart.lexacorp.com.pg> On 24 Oct 2005 at 22:41, Shamil Salakhetdinov wrote: > Option Compare Text > '... .... > avar = SplitStr(strTest) > For i = 0 To UBound(avar) > Debug.Print avar(i) > Next i > .... > Public Function SplitStr( _ > Or for Access2K and above, use the built in Split() Function avar = Split(strTest,"stuff") -- Stuart From shamil at users.mns.ru Mon Oct 24 17:13:11 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 25 Oct 2005 02:13:11 +0400 Subject: [AccessD] Breaking up a text field References: <435DE588.22186.221E7414@stuart.lexacorp.com.pg> Message-ID: <002801c5d8e8$2d74aa80$6401a8c0@fincomplex.spb.ru> Stuart, Built-in Split function was used. But it wasn't enough because it strips out delimiter words. Therefore SplitStr(...) wrapper function was written. Shamil ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 25, 2005 1:58 AM Subject: Re: [AccessD] Breaking up a text field > On 24 Oct 2005 at 22:41, Shamil Salakhetdinov wrote: > > > Option Compare Text > > '... > .... > > avar = SplitStr(strTest) > > For i = 0 To UBound(avar) > > Debug.Print avar(i) > > Next i > > > .... > > Public Function SplitStr( _ > > > > Or for Access2K and above, use the built in Split() Function > > avar = Split(strTest,"stuff") > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 25 03:21:50 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 25 Oct 2005 10:21:50 +0200 Subject: [AccessD] Office 2003 Service pack 2 Message-ID: Hi Marty Oh my, isn't this outstanding? Those of you still in favour of software patents, please raise your hand. /gustav >>> martyconnelly at shaw.ca 24-10-2005 21:28 >>> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-5735432.html -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Tue Oct 25 03:46:09 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 25 Oct 2005 9:46:09 +0100 Subject: [AccessD] Office 2003 Service pack 2 Message-ID: <20051025084608.0E49724F683@smtp.nildram.co.uk> Well the article's inevitably short on detail but if Amado won the case because, as he claimed, MS actually used his code, rather than develop their own link, then I'd say he's right, MS are dead wrong, and he got blazingly lucky. Office users are of course the losers, but the complaint should be directed at MS for doing such an insane thing. Why haven't they used the years that this case must have been pending for to develop a new link? Was there anything stopping them? If on the other hand he manged to patent the entire concept of the link then that's crazy. But I rather doubt that that's the case. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Office 2003 Service pack 2 Date: 25/10/05 08:24 Hi Marty Oh my, isn't this outstanding? Those of you still in favour of software patents, please raise your hand. /gustav >>> martyconnelly at shaw.ca 24-10-2005 21:28 >>> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-5735432.html -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From stuart at lexacorp.com.pg Tue Oct 25 03:50:46 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 25 Oct 2005 18:50:46 +1000 Subject: [AccessD] Office 2003 Service pack 2 In-Reply-To: Message-ID: <435E7E86.4282.2473FE4B@stuart.lexacorp.com.pg> On 25 Oct 2005 at 10:21, Gustav Brock wrote: > Hi Marty > > Oh my, isn't this outstanding? > Those of you still in favour of software patents, please raise your hand. > I especially liked this quote in the article: "We do not believe today's verdict will have any impact on our customers," said Microsoft spokeswoman Stacy Drake. -- Stuart From mwp.reid at qub.ac.uk Tue Oct 25 03:56:09 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 25 Oct 2005 09:56:09 +0100 Subject: [AccessD] Office 2003 Service pack 2 References: <435E7E86.4282.2473FE4B@stuart.lexacorp.com.pg> Message-ID: <002501c5d941$f1908890$9111758f@aine> Will cause all sorts of problems here. Martin ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 25, 2005 9:50 AM Subject: Re: [AccessD] Office 2003 Service pack 2 > On 25 Oct 2005 at 10:21, Gustav Brock wrote: > >> Hi Marty >> >> Oh my, isn't this outstanding? >> Those of you still in favour of software patents, please raise your hand. >> > > I especially liked this quote in the article: > > "We do not believe today's verdict will have any impact on our customers," > said Microsoft spokeswoman Stacy Drake. > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Tue Oct 25 09:40:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 25 Oct 2005 07:40:09 -0700 Subject: [AccessD] Office 2003 Service pack 2 In-Reply-To: <435D35FA.7070701@shaw.ca> Message-ID: <00ad01c5d972$0041f970$017ba8c0@xpserver> Marty: Is it my imagination but are the 'solutions' to the new Excel issues empty? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, October 24, 2005 12:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Office 2003 Service pack 2 Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-57 35432.html -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Oct 25 09:42:56 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 25 Oct 2005 07:42:56 -0700 Subject: [AccessD] Office 2003 Service pack 2 In-Reply-To: Message-ID: <00ae01c5d972$63311f70$017ba8c0@xpserver> This is an issue looking for an open source solution. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 25, 2005 1:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 Service pack 2 Hi Marty Oh my, isn't this outstanding? Those of you still in favour of software patents, please raise your hand. /gustav >>> martyconnelly at shaw.ca 24-10-2005 21:28 >>> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-57 35432.html -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 25 09:59:39 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 25 Oct 2005 16:59:39 +0200 Subject: [AccessD] Office 2003 Service pack 2 Message-ID: Hi Marty et all Please note that is relevant for Access 2002/XP as well! In Microsoft Office Access 2003 or in Microsoft Access 2002, you cannot change, add, or delete data in tables that are linked to a Microsoft Excel workbook. This expected behavior occurs when either of the following conditions is true: You have installed Microsoft Office 2003 Service Pack 2 (SP2). You have installed the update for Access 2002 (KB904018) that is dated October 18, 2005. Thus it does not disable linking of Excel tables but disables update, delete, or append "only". Tables can still be read. /gustav >>> martyconnelly at shaw.ca 24-10-2005 21:28:58 >>> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-5735432.html -- Marty Connelly Victoria, B.C. Canada From Jeff at outbaktech.com Tue Oct 25 11:38:15 2005 From: Jeff at outbaktech.com (Jeff Barrows) Date: Tue, 25 Oct 2005 11:38:15 -0500 Subject: [AccessD] MySQL Help Message-ID: Hello all, I am working with a company whose previous 'programmer' (and I use that term VERY loosely in his case) decided that the best database system was MySQL. He was using Access 2003 as a front end, importing multiple text files and spreadsheets (some of them with 1 million + records) into Access and MySQL. What I am looking for is some reference materials, books, web sites, forums, anything that might help. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com From fhtapia at gmail.com Tue Oct 25 11:50:33 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 25 Oct 2005 09:50:33 -0700 Subject: [AccessD] MySQL Help In-Reply-To: References: Message-ID: mySQL is now a very robust db engine. w/ Version 5.0 they support triggers/sprocs (stored procedres) and of course transactions. I have not had a chance to load it and play with the system but you can bet I will. I'm acctually looking forward to "Base" (Open Office desktop db) it supports connecting to Access, (for data/ not code nor reports). For me the idea of such a move is to help move some sql server databases to mysql because they really do not justify begin in MSSQL. I'd rather save those licenses for our enterprise db's On 10/25/05, Jeff Barrows wrote: > > Hello all, > > I am working with a company whose previous 'programmer' (and I use that > term VERY loosely in his case) decided that the best database system was > MySQL. He was using Access 2003 as a front end, importing multiple text > files and spreadsheets (some of them with 1 million + records) into Access > and MySQL. > > What I am looking for is some reference materials, books, web sites, > forums, anything that might help. > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From developer at ultradnt.com Tue Oct 25 12:04:57 2005 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 25 Oct 2005 13:04:57 -0400 Subject: [AccessD] MySQL Help In-Reply-To: Message-ID: <200510251704.j9PH4vT83577@ultradnt.com> At the risk of starting a never-ending debate-thread, why not put the "minor" db's in MSDE, (especially since you have MSSQL in house, you can get around the lack of E-M for MSDE alone)? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, October 25, 2005 12:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MySQL Help mySQL is now a very robust db engine. w/ Version 5.0 they support triggers/sprocs (stored procedres) and of course transactions. I have not had a chance to load it and play with the system but you can bet I will. I'm acctually looking forward to "Base" (Open Office desktop db) it supports connecting to Access, (for data/ not code nor reports). For me the idea of such a move is to help move some sql server databases to mysql because they really do not justify begin in MSSQL. I'd rather save those licenses for our enterprise db's On 10/25/05, Jeff Barrows wrote: > > Hello all, > > I am working with a company whose previous 'programmer' (and I use > that term VERY loosely in his case) decided that the best database > system was MySQL. He was using Access 2003 as a front end, importing > multiple text files and spreadsheets (some of them with 1 million + > records) into Access and MySQL. > > What I am looking for is some reference materials, books, web sites, > forums, anything that might help. > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Oct 25 12:34:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 25 Oct 2005 10:34:13 -0700 Subject: [AccessD] MySQL Help In-Reply-To: Message-ID: <00b501c5d98a$520264d0$017ba8c0@xpserver> If MySQL is used right it can be an excellent DB connected to Access. The main problem that I had to deal with in the past (no current related contracts) was that an ODBC connection was the only option. It proved quite a bottle-neck. I believe there is now an OLE driver, somewhere, at a price but have not research it. This combination would be excellent especially with the latest version 5 I believe. There are plenty articles on the internet on translating an Access MDB to MySQL but not the other way around. Like: http://www.kitebird.com/articles/access-migrate.html And using an ODBC driver http://www.washington.edu/computing/web/publishing/mysql-access.html and there is a forum on MySQL: http://forums.mysql.com/list.php?65,page=5 HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Barrows Sent: Tuesday, October 25, 2005 9:38 AM To: AccessD Subject: [AccessD] MySQL Help Hello all, I am working with a company whose previous 'programmer' (and I use that term VERY loosely in his case) decided that the best database system was MySQL. He was using Access 2003 as a front end, importing multiple text files and spreadsheets (some of them with 1 million + records) into Access and MySQL. What I am looking for is some reference materials, books, web sites, forums, anything that might help. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Oct 25 12:37:19 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 25 Oct 2005 10:37:19 -0700 Subject: [AccessD] MySQL Help In-Reply-To: <200510251704.j9PH4vT83577@ultradnt.com> References: <200510251704.j9PH4vT83577@ultradnt.com> Message-ID: Because... MSDE has a governor...We plan on moving to Sql Server 2005 after the first SP, so we will be able to use Sql Server Express in lue of mySQL or MSDE. mySQL is licensing free as is MSDE (when you buy the right software). I'd like to be proficient in mySQL because for certain tasks, it may be bigger/better/faster in our environment. On 10/25/05, Steve Conklin wrote: > > At the risk of starting a never-ending debate-thread, why not put the > "minor" db's in MSDE, (especially since you have MSSQL in house, you can > get > around the lack of E-M for MSDE alone)? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Tuesday, October 25, 2005 12:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MySQL Help > > mySQL is now a very robust db engine. w/ Version 5.0 they support > triggers/sprocs (stored procedres) and of course transactions. I have not > had a chance to load it and play with the system but you can bet I will. > I'm > acctually looking forward to "Base" (Open Office desktop db) it supports > connecting to Access, (for data/ not code nor reports). For me the idea of > such a move is to help move some sql server databases to mysql because > they > really do not justify begin in MSSQL. I'd rather save those licenses for > our > enterprise db's > > > > On 10/25/05, Jeff Barrows wrote: > > > > Hello all, > > > > I am working with a company whose previous 'programmer' (and I use > > that term VERY loosely in his case) decided that the best database > > system was MySQL. He was using Access 2003 as a front end, importing > > multiple text files and spreadsheets (some of them with 1 million + > > records) into Access and MySQL. > > > > What I am looking for is some reference materials, books, web sites, > > forums, anything that might help. > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff at outbaktech.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From accessd at shaw.ca Tue Oct 25 12:40:26 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 25 Oct 2005 10:40:26 -0700 Subject: [AccessD] MySQL Help In-Reply-To: Message-ID: <00b601c5d98b$2f26ca40$017ba8c0@xpserver> Jeff here is something I just checked and it may provide additional help: http://dev.mysql.com/doc/refman/5.0/en/programs-known-to-work-with-myodbc.ht ml HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Barrows Sent: Tuesday, October 25, 2005 9:38 AM To: AccessD Subject: [AccessD] MySQL Help Hello all, I am working with a company whose previous 'programmer' (and I use that term VERY loosely in his case) decided that the best database system was MySQL. He was using Access 2003 as a front end, importing multiple text files and spreadsheets (some of them with 1 million + records) into Access and MySQL. What I am looking for is some reference materials, books, web sites, forums, anything that might help. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.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 Oct 25 12:40:45 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 25 Oct 2005 13:40:45 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <001501c5d98b$3dcf8960$667aa8c0@ColbyM6805> When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Jdemarco at hudsonhealthplan.org Tue Oct 25 12:47:25 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 25 Oct 2005 13:47:25 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FA9@TTNEXCHCL2.hshhp.com> Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jwcolby at ColbyConsulting.com Tue Oct 25 12:55:12 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 25 Oct 2005 13:55:12 -0400 Subject: [AccessD] When is a collection not a collection? In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3FA9@TTNEXCHCL2.hshhp.com> Message-ID: <001601c5d98d$3f9a4c60$667aa8c0@ColbyM6805> You can iterate the collection just fine Dim prp as dao.property for each prp in MyObject.Properties Next prp John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Oct 25 13:01:41 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 25 Oct 2005 14:01:41 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FAC@TTNEXCHCL2.hshhp.com> Not sure what you're after then. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] When is a collection not a collection? You can iterate the collection just fine Dim prp as dao.property for each prp in MyObject.Properties Next prp John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From developer at ultradnt.com Tue Oct 25 13:02:20 2005 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 25 Oct 2005 14:02:20 -0400 Subject: [AccessD] MySQL Help In-Reply-To: Message-ID: <200510251802.j9PI2KT96420@ultradnt.com> I'm trying to get proficient in it as well, but was only thinking to introduce it where the client will not have any form of MSSQL. >anything that might help Have you looked at Toad? http://www.toadsoft.com/toadmysql/toad_mysql.htm It is indispensable for mysql. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, October 25, 2005 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MySQL Help Because... MSDE has a governor...We plan on moving to Sql Server 2005 after the first SP, so we will be able to use Sql Server Express in lue of mySQL or MSDE. mySQL is licensing free as is MSDE (when you buy the right software). I'd like to be proficient in mySQL because for certain tasks, it may be bigger/better/faster in our environment. On 10/25/05, Steve Conklin wrote: > > At the risk of starting a never-ending debate-thread, why not put the > "minor" db's in MSDE, (especially since you have MSSQL in house, you > can get around the lack of E-M for MSDE alone)? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Tuesday, October 25, 2005 12:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MySQL Help > > mySQL is now a very robust db engine. w/ Version 5.0 they support > triggers/sprocs (stored procedres) and of course transactions. I have > not had a chance to load it and play with the system but you can bet I will. > I'm > acctually looking forward to "Base" (Open Office desktop db) it > supports connecting to Access, (for data/ not code nor reports). For > me the idea of such a move is to help move some sql server databases > to mysql because they really do not justify begin in MSSQL. I'd rather > save those licenses for our enterprise db's > > > > On 10/25/05, Jeff Barrows wrote: > > > > Hello all, > > > > I am working with a company whose previous 'programmer' (and I use > > that term VERY loosely in his case) decided that the best database > > system was MySQL. He was using Access 2003 as a front end, importing > > multiple text files and spreadsheets (some of them with 1 million + > > records) into Access and MySQL. > > > > What I am looking for is some reference materials, books, web sites, > > forums, anything that might help. > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff at outbaktech.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 25 13:17:12 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 25 Oct 2005 14:17:12 -0400 Subject: [AccessD] When is a collection not a collection? In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3FAC@TTNEXCHCL2.hshhp.com> Message-ID: <001901c5d990$51da5bb0$667aa8c0@ColbyM6805> >Not sure what you're after then. LOL. I was just writing a little app that needs to iterate collections of objects and examine the properties. I fleshed it out, all things equal (everything including my clsObjProperties using a collection to hold the collection of objects). It works for everything else, just not properties. Instead of just dimming a collection object into which you throw the pointer to the properties collection, you have to dim a Properties object. I just found it interesting and annoying. I'm not "after" anything really except to point out to the group that you have to treat properties differently than all the other objects in the db container. Well... I haven't gotten to EVERYTHING yet, just the tbldefs on down. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Not sure what you're after then. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] When is a collection not a collection? You can iterate the collection just fine Dim prp as dao.property for each prp in MyObject.Properties Next prp John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Oct 25 13:23:36 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 25 Oct 2005 14:23:36 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FAD@TTNEXCHCL2.hshhp.com> Ahh...experimentation on such a beautiful day in the northeast (we're sitting in the midst of a nor'easter all day today for the rest of the world!!). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 2:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] When is a collection not a collection? >Not sure what you're after then. LOL. I was just writing a little app that needs to iterate collections of objects and examine the properties. I fleshed it out, all things equal (everything including my clsObjProperties using a collection to hold the collection of objects). It works for everything else, just not properties. Instead of just dimming a collection object into which you throw the pointer to the properties collection, you have to dim a Properties object. I just found it interesting and annoying. I'm not "after" anything really except to point out to the group that you have to treat properties differently than all the other objects in the db container. Well... I haven't gotten to EVERYTHING yet, just the tbldefs on down. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Not sure what you're after then. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] When is a collection not a collection? You can iterate the collection just fine Dim prp as dao.property for each prp in MyObject.Properties Next prp John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Tue Oct 25 13:23:17 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 25 Oct 2005 13:23:17 -0500 Subject: [AccessD] When is a collection not a collection? Message-ID: <123701F54509D9119A4F00D0B7473490EA5F12@main2.marlow.com> A couple of thoughts on this JC. First, a property really isn't an object. Let's say you had this for a class: Public SomeValue As Long Property Get MyTextValue() As String MyTextValue = "Something" End Property Now, if I were to do this: Dim MC As MyClass Dim lCol As Collection Set lCol = New Collection Set MC = New MyClass lCol.Add MC.MyTextValue Set lCol = Nothing Set MC = Nothing I'm not really adding the MyTextValue 'Property' to the lCol collection. I'm just adding the value of that property. The property isn't an object, it's only a property of an existing object, not really 'child objects' in a collection. The collection you can use 'Properties' is just a representation of those properties, not really a collection of child objects. I wrote a project a while back, which is an add-on for VB, that would create a 'Properties' 'collection' for a Class. Because when you have a custom class, you can't say 'MyClass.Properties("SomeProperty")=1', at least not without actually coding a 'Properties' class. So I wrote a project that did just that, it built a Properties class for you. So I wonder if the Properties collection in the DAO objects is similar to that, not a real collection, but simply a 'coded' method of being able to 'refer'/'cycle through' or soft code the properties of the object? Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, October 25, 2005 12:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Oct 25 13:35:15 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 25 Oct 2005 14:35:15 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FAE@TTNEXCHCL2.hshhp.com> I was thinking along the same lines because of the name/value association with properties. A collection doesn't really have a place to store the name except in the key which is not returnable by default (yes you can write your way around this shortcoming but it's not the natural nature of a collection). Storing objects in the collection would allow you store both. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Tuesday, October 25, 2005 2:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] When is a collection not a collection? A couple of thoughts on this JC. First, a property really isn't an object. Let's say you had this for a class: Public SomeValue As Long Property Get MyTextValue() As String MyTextValue = "Something" End Property Now, if I were to do this: Dim MC As MyClass Dim lCol As Collection Set lCol = New Collection Set MC = New MyClass lCol.Add MC.MyTextValue Set lCol = Nothing Set MC = Nothing I'm not really adding the MyTextValue 'Property' to the lCol collection. I'm just adding the value of that property. The property isn't an object, it's only a property of an existing object, not really 'child objects' in a collection. The collection you can use 'Properties' is just a representation of those properties, not really a collection of child objects. I wrote a project a while back, which is an add-on for VB, that would create a 'Properties' 'collection' for a Class. Because when you have a custom class, you can't say 'MyClass.Properties("SomeProperty")=1', at least not without actually coding a 'Properties' class. So I wrote a project that did just that, it built a Properties class for you. So I wonder if the Properties collection in the DAO objects is similar to that, not a real collection, but simply a 'coded' method of being able to 'refer'/'cycle through' or soft code the properties of the object? Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, October 25, 2005 12:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Lambert.Heenan at aig.com Tue Oct 25 13:38:38 2005 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 25 Oct 2005 14:38:38 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF22A7@xlivmbx21.aig.com> Isn't this just a simple case of trying to assign one object to another of an incompatible type? The DAO Properties collection is a class in the DAO library, and as you said, it has a set of member methods (Append, Delete and Refresh) as well as the Count and Item properties). The VBA library has other class "Collection" which has the methods Add, Item, Count, and Remove. These two classes are quite different from each other, and do not have any inherited relationship (even if access had inheritance), so you cannot assign one to the other. So as you said from the outset: The DAO Properties collection is not a VBA Collection, just as a Form is not a Report is not a Collection. But I don't see where you conclude that "you can dim a collection and save a pointer to these object collections in your collection". In the code below all three Set lines cause a Type Mismatch error in Access 2002. Dim db As Database Dim Col As Collection Set db = CurrentDb With db Set Col = .TableDefs Set Col = .QueryDefs Set Col = .Properties End With However code like this will work fine.... Dim db As Database Dim Col As Collection Dim Obj As Object Dim n As Long Set db = CurrentDb Set Col = New Collection With db Col.Add .TableDefs Col.Add .QueryDefs Col.Add .Properties End With For Each Obj In Col With Obj For n = 0 To .Count - 1 Debug.Print .Item(n).Name Next n End With Next Obj Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jeff at outbaktech.com Tue Oct 25 14:22:05 2005 From: Jeff at outbaktech.com (Jeff Barrows) Date: Tue, 25 Oct 2005 14:22:05 -0500 Subject: [AccessD] MySQL Help Message-ID: Thank you to everyone that responded, and so quickly too! I will take a look at the links and suggestions provided. If anyone has any additional info, please do not hesitate to send it on. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Steve Conklin Sent: Tue 10/25/2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MySQL Help I'm trying to get proficient in it as well, but was only thinking to introduce it where the client will not have any form of MSSQL. >anything that might help Have you looked at Toad? http://www.toadsoft.com/toadmysql/toad_mysql.htm It is indispensable for mysql. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, October 25, 2005 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MySQL Help Because... MSDE has a governor...We plan on moving to Sql Server 2005 after the first SP, so we will be able to use Sql Server Express in lue of mySQL or MSDE. mySQL is licensing free as is MSDE (when you buy the right software). I'd like to be proficient in mySQL because for certain tasks, it may be bigger/better/faster in our environment. On 10/25/05, Steve Conklin wrote: > > At the risk of starting a never-ending debate-thread, why not put the > "minor" db's in MSDE, (especially since you have MSSQL in house, you > can get around the lack of E-M for MSDE alone)? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Tuesday, October 25, 2005 12:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MySQL Help > > mySQL is now a very robust db engine. w/ Version 5.0 they support > triggers/sprocs (stored procedres) and of course transactions. I have > not had a chance to load it and play with the system but you can bet I will. > I'm > acctually looking forward to "Base" (Open Office desktop db) it > supports connecting to Access, (for data/ not code nor reports). For > me the idea of such a move is to help move some sql server databases > to mysql because they really do not justify begin in MSSQL. I'd rather > save those licenses for our enterprise db's > > > > On 10/25/05, Jeff Barrows wrote: > > > > Hello all, > > > > I am working with a company whose previous 'programmer' (and I use > > that term VERY loosely in his case) decided that the best database > > system was MySQL. He was using Access 2003 as a front end, importing > > multiple text files and spreadsheets (some of them with 1 million + > > records) into Access and MySQL. > > > > What I am looking for is some reference materials, books, web sites, > > forums, anything that might help. > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff at outbaktech.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Oct 25 14:29:14 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 25 Oct 2005 12:29:14 -0700 (PDT) Subject: [AccessD] Access Graphs Exported to Excel Message-ID: <20051025192915.30285.qmail@web33106.mail.mud.yahoo.com> I have some queries and graphs I built for a guy in the form of Access Reports. He wants me to export the report into Excel and show the detail and the graphs. The detail moves over but the graphs don't. Is there a simple way to do this? If not, what direction do I go? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From Lambert.Heenan at AIG.com Tue Oct 25 15:07:49 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 25 Oct 2005 16:07:49 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF2332@xlivmbx21.aig.com> On my system, with Office XP the DAO help file is located at... C:\Program Files\Common Files\Microsoft Shared\Office10\1033\DAO360.CHM 568k file. -----Original Message----- From: John Colby [mailto:jwcolby at ColbyConsulting.com] Sent: Tuesday, October 25, 2005 2:55 PM To: 'Heenan, Lambert' Subject: RE: [AccessD] When is a collection not a collection? Yes, of course you are correct. A Properties collection can be thought of as a strongly typed collection with custom methods. It DOES contain a collection, though you can't directly access the collection that is internal to the properties class. It just took me by surprise. I guess I have never directly dealt with the properties object per se, and it kinda "looks like" a collection (and of course contains one) so I tried to treat it as one. I have already discovered that a dao.property is not a normal object, i.e. it cannot be SET or instantiated (you cannot use a NEW keyword with it). It is a variable, and yet it has properties. Which makes it an object in its own right but not treated precisely the same as other objects. BTW, where can I find the DAO help file. I seem to be missing it on my laptop and can NOT track it down on the web. For something that is the guts of the MDB container, you would think MS would have the help file right out there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, October 25, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Cc: 'John Colby' Subject: RE: [AccessD] When is a collection not a collection? Isn't this just a simple case of trying to assign one object to another of an incompatible type? The DAO Properties collection is a class in the DAO library, and as you said, it has a set of member methods (Append, Delete and Refresh) as well as the Count and Item properties). The VBA library has other class "Collection" which has the methods Add, Item, Count, and Remove. These two classes are quite different from each other, and do not have any inherited relationship (even if access had inheritance), so you cannot assign one to the other. So as you said from the outset: The DAO Properties collection is not a VBA Collection, just as a Form is not a Report is not a Collection. But I don't see where you conclude that "you can dim a collection and save a pointer to these object collections in your collection". In the code below all three Set lines cause a Type Mismatch error in Access 2002. Dim db As Database Dim Col As Collection Set db = CurrentDb With db Set Col = .TableDefs Set Col = .QueryDefs Set Col = .Properties End With However code like this will work fine.... Dim db As Database Dim Col As Collection Dim Obj As Object Dim n As Long Set db = CurrentDb Set Col = New Collection With db Col.Add .TableDefs Col.Add .QueryDefs Col.Add .Properties End With For Each Obj In Col With Obj For n = 0 To .Count - 1 Debug.Print .Item(n).Name Next n End With Next Obj Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- 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 Oct 25 15:21:42 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 25 Oct 2005 15:21:42 -0500 Subject: [AccessD] Help needed with DSum Message-ID: I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 prodevmg at yahoo.com Tue Oct 25 15:39:37 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 25 Oct 2005 13:39:37 -0700 (PDT) Subject: [AccessD] Help needed with DSum In-Reply-To: Message-ID: <20051025203937.91649.qmail@web33109.mail.mud.yahoo.com> I don't think you can add two fields together inside the DSum's first parm. It only allows one field to be mentioned. Try ... SELECT Injection.RecordDate, DSum("[Theoretical CO2] ,"Injection","[RecordDate]=#" & [RecordDate] & "#") + DSum("[Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; "Kaup, Chester" wrote: I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From developer at ultradnt.com Tue Oct 25 15:42:04 2005 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 25 Oct 2005 16:42:04 -0400 Subject: [AccessD] Help needed with DSum In-Reply-To: Message-ID: <200510252042.j9PKg4T18035@ultradnt.com> Try: SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & date() & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; ' changed RecordDate to date() Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, October 25, 2005 4:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Help needed with DSum I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 Chester_Kaup at kindermorgan.com Tue Oct 25 15:55:22 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 25 Oct 2005 15:55:22 -0500 Subject: [AccessD] Help needed with DSum Message-ID: Sorry to report all I get is a sum for each day not a running total. Maybe I did not make it clear. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Tuesday, October 25, 2005 3:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Help needed with DSum Try: SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & date() & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; ' changed RecordDate to date() Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, October 25, 2005 4:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Help needed with DSum I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 Tue Oct 25 15:56:11 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 25 Oct 2005 15:56:11 -0500 Subject: [AccessD] Help needed with DSum Message-ID: Tried it with just one field. Sorry to report all I get is a sum for each day not a running total. Maybe I did not make it clear. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, October 25, 2005 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help needed with DSum I don't think you can add two fields together inside the DSum's first parm. It only allows one field to be mentioned. Try ... SELECT Injection.RecordDate, DSum("[Theoretical CO2] ,"Injection","[RecordDate]=#" & [RecordDate] & "#") + DSum("[Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; "Kaup, Chester" wrote: I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KIsmert at texassystems.com Tue Oct 25 16:23:03 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Tue, 25 Oct 2005 16:23:03 -0500 Subject: [AccessD] When is a collection not a collection? Message-ID: Instead of: >>Dim lcol as collection >>set lcol = MyFld.Properties Try: Dim lcol as DAO.Properties set lcol = MyFld.Properties -Ken From stuart at lexacorp.com.pg Tue Oct 25 16:46:30 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 26 Oct 2005 07:46:30 +1000 Subject: [AccessD] Help needed with DSum In-Reply-To: Message-ID: <435F3456.14100.273A3490@stuart.lexacorp.com.pg> On 25 Oct 2005 at 15:21, Kaup, Chester wrote: > I have the following query to try to get a running sum with a sum each > day. I am getting the same number each day. I probably have some simple > syntax error but am not seeing it. Her eis the SQL. > > SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical > Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] > Try SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate] <= #" & [RecordDate] & "#") AS [Cum Inj] Note the "<=" rather than "=". You are only summing the records for RecordDate. For a running sum, you need to sum all the records where the date is less than or equal to RecordDate. -- Stuart From Chester_Kaup at kindermorgan.com Tue Oct 25 16:51:55 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 25 Oct 2005 16:51:55 -0500 Subject: [AccessD] Help needed with DSum Message-ID: Thanks!! That got it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 25, 2005 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help needed with DSum On 25 Oct 2005 at 15:21, Kaup, Chester wrote: > I have the following query to try to get a running sum with a sum each > day. I am getting the same number each day. I probably have some simple > syntax error but am not seeing it. Her eis the SQL. > > SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical > Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] > Try SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate] <= #" & [RecordDate] & "#") AS [Cum Inj] Note the "<=" rather than "=". You are only summing the records for RecordDate. For a running sum, you need to sum all the records where the date is less than or equal to RecordDate. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Oct 26 00:20:27 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 25 Oct 2005 22:20:27 -0700 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From andy at minstersystems.co.uk Wed Oct 26 02:05:03 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 26 Oct 2005 08:05:03 +0100 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Message-ID: <000e01c5d9fb$9689d040$934f0c54@minster33c3r25> Well done Rocky. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 26 October 2005 06:20 > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally > got a product. The Sleep Advisor most of you are aware of. > For those who might not be, it is a program, an expert system > really, that diagnoses sleep disorders and gives a > personalized program of remedies and recommendations to > address them. > > This milestone in both of our professional careers is due in > no small measure to the selfless help I have been given by > members of this list for at least ten years, guiding me > through and outright solving many tough (for me) problems in > many applications over that time. > > More specifically, I have been given help on numerous Sleep > Advisor problems by many of you and especially I am grateful > to the generous efforts of A.D. Tejpal who simply would not > give up when presented with a thorny problem that had me beat. > > I would also like to acknowledge all those who volunteered to > be beta testers. Accumulating enough beta tests to prove > that the product worked was the critical last step. Several > hundred were required. But we're finally confident in the > accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who > wants to look at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Wed Oct 26 02:58:58 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Oct 2005 09:58:58 +0200 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: Hi Rocky Wow, that's what I call determination! 11? years. Sorry not to be a customer of yours. I just need to touch the pillow ... Nice site by the way. The soft (dare I say feminine) design matches the product perfectly. /gustav >>> bchacc at san.rr.com 26-10-2005 07:20 >>> Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From rbgajewski at adelphia.net Wed Oct 26 06:54:59 2005 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Wed, 26 Oct 2005 07:54:59 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Message-ID: <019101c5da24$17af2800$bd00a8c0@DG1P2N21> Congratulations, Rocky !! When one succeeds, we all succeed, and thanks are due right back to you for all the help and guidance that you have given so many of us too! Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 26, 2005 01:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 26 07:22:46 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 26 Oct 2005 05:22:46 -0700 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Message-ID: <000a01c5da27$f9545340$017ba8c0@xpserver> Congratulations Rocky! It looks like a great product. Very well done indeed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, October 25, 2005 10:20 PM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Oct 26 08:10:51 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 26 Oct 2005 09:10:51 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Message-ID: <000201c5da2e$b35d15a0$667aa8c0@ColbyM6805> Nice looking site! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 26, 2005 1:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Wed Oct 26 08:16:28 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 26 Oct 2005 14:16:28 +0100 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: Nice looking website, Rocky. I'm intrigued by the php code in the FAQ that lets causes the answer field to drop down - and with another click to retract. If it isn't a real trade secret, I would be most pleased to see it. Congratulations! Really nice job. Cheers paul -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: 26 October 2005 13:23 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] The Sleep Advisor is Live! Congratulations Rocky! It looks like a great product. Very well done indeed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, October 25, 2005 10:20 PM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 From carbonnb at gmail.com Wed Oct 26 08:25:40 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 26 Oct 2005 09:25:40 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: References: Message-ID: On 26/10/05, Paul Rodgers wrote: > Nice looking website, Rocky. I'm intrigued by the php code in the FAQ that > lets causes the answer field to drop down - and with another click to > retract. > > If it isn't a real trade secret, I would be most pleased to see it. Just view the source of the webpage. It's some Javascript code. -- 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 bchacc at san.rr.com Wed Oct 26 08:31:05 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Oct 2005 06:31:05 -0700 Subject: [AccessD] The Sleep Advisor is Live! References: Message-ID: <00fa01c5da31$847092f0$6501a8c0@HAL9004> Paul: Thanks. Not a secret, but a secret from me. The site was done by someone who knew what they were doing. Can you see the source for the page? Rocky ----- Original Message ----- From: "Paul Rodgers" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 6:16 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Nice looking website, Rocky. I'm intrigued by the php code in the FAQ that > lets causes the answer field to drop down - and with another click to > retract. > > If it isn't a real trade secret, I would be most pleased to see it. > > Congratulations! Really nice job. > Cheers paul > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: 26 October 2005 13:23 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] The Sleep Advisor is Live! > > > Congratulations Rocky! > > It looks like a great product. Very well done indeed. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Tuesday, October 25, 2005 10:20 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally got a > product. > The Sleep Advisor most of you are aware of. For those who might not be, > it > is a program, an expert system really, that diagnoses sleep disorders and > gives a personalized program of remedies and recommendations to address > them. > > This milestone in both of our professional careers is due in no small > measure to the selfless help I have been given by members of this list for > at least ten years, guiding me through and outright solving many tough > (for > me) problems in many applications over that time. > > More specifically, I have been given help on numerous Sleep Advisor > problems > by many of you and especially I am grateful to the generous efforts of > A.D. > Tejpal who simply would not give up when presented with a thorny problem > that had me beat. > > I would also like to acknowledge all those who volunteered to be beta > testers. Accumulating enough beta tests to prove that the product worked > was the critical last step. Several hundred were required. But we're > finally confident in the accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who wants to look > at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Paul.Rogers at SummitMedia.co.uk Wed Oct 26 08:38:07 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 26 Oct 2005 14:38:07 +0100 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: Cheers, Bryan. I should have looked closer. Many thanks. -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: 26 October 2005 14:26 To: Access Developers discussion and problem solving Subject: Re: [AccessD] The Sleep Advisor is Live! On 26/10/05, Paul Rodgers wrote: > Nice looking website, Rocky. I'm intrigued by the php code in the FAQ that > lets causes the answer field to drop down - and with another click to > retract. > > If it isn't a real trade secret, I would be most pleased to see it. Just view the source of the webpage. It's some Javascript code. -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 From dwaters at usinternet.com Wed Oct 26 08:41:30 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 26 Oct 2005 08:41:30 -0500 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <22240086.1130304807583.JavaMail.root@sniper17> Message-ID: <000101c5da32$f8c2c0a0$0200a8c0@danwaters> Hi Rocky! Great product and a nicely designed site! Right now I'm sitting here listening to Good Morning America, and they (and other talk shows) sometimes bring in people to talk about new things that many people would have an interest in - like being able to sleep! That would be some good advertising. With three years of testing behind you, I'd think your program has the credibility to get some good attention. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 26, 2005 12:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Oct 26 08:36:28 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Oct 2005 08:36:28 -0500 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233794E@corp-es01.fleetpride.com> Congrats Rocky. I hope you are able to successfully put everyone to sleep! :-) Jim Hale -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 26, 2005 12:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at ColbyConsulting.com Wed Oct 26 08:51:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 26 Oct 2005 09:51:13 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233794E@corp-es01.fleetpride.com> Message-ID: <000301c5da34$541c1bd0$667aa8c0@ColbyM6805> Obviously you never attended one of the AccessD conferences at his house. Every time he got up to speak you could hear the snores. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 9:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] The Sleep Advisor is Live! Congrats Rocky. I hope you are able to successfully put everyone to sleep! :-) Jim Hale -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 26, 2005 12:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Oct 26 08:55:03 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Oct 2005 06:55:03 -0700 Subject: [AccessD] The Sleep Advisor is Live! References: <000101c5da32$f8c2c0a0$0200a8c0@danwaters> Message-ID: <018301c5da34$dd631560$6501a8c0@HAL9004> My partner's goal is to get on Oprah. They say if you can get on Oprah your fortune is made. Rocky ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 6:41 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Hi Rocky! > > Great product and a nicely designed site! > > Right now I'm sitting here listening to Good Morning America, and they > (and > other talk shows) sometimes bring in people to talk about new things that > many people would have an interest in - like being able to sleep! That > would be some good advertising. With three years of testing behind you, > I'd > think your program has the credibility to get some good attention. > > All the best! > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, October 26, 2005 12:20 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally got a > product. > The Sleep Advisor most of you are aware of. For those who might not be, > it > is a program, an expert system really, that diagnoses sleep disorders and > gives a personalized program of remedies and recommendations to address > them. > > This milestone in both of our professional careers is due in no small > measure to the selfless help I have been given by members of this list for > at least ten years, guiding me through and outright solving many tough > (for > me) problems in many applications over that time. > > More specifically, I have been given help on numerous Sleep Advisor > problems > by many of you and especially I am grateful to the generous efforts of > A.D. > Tejpal who simply would not give up when presented with a thorny problem > that had me beat. > > I would also like to acknowledge all those who volunteered to be beta > testers. Accumulating enough beta tests to prove that the product worked > was the critical last step. Several hundred were required. But we're > finally confident in the accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who wants to look > at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkinsss at bellsouth.net Wed Oct 26 09:01:51 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 26 Oct 2005 10:01:51 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <018301c5da34$dd631560$6501a8c0@HAL9004> Message-ID: <20051026140151.VGIS10162.ibm58aec.bellsouth.net@SUSANONE> Well, you know, that's been my personal goal ever since she gave a way copies of "If you give a pig a pancake" to the entire audience... ;) Susan H. My partner's goal is to get on Oprah. They say if you can get on Oprah your fortune is made. From bchacc at san.rr.com Wed Oct 26 09:09:12 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Oct 2005 07:09:12 -0700 Subject: [AccessD] The Sleep Advisor is Live! References: <000301c5da34$541c1bd0$667aa8c0@ColbyM6805> Message-ID: <01c601c5da36$d796ca80$6501a8c0@HAL9004> So maybe I've finally found my niche. Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 6:51 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Obviously you never attended one of the AccessD conferences at his house. > Every time he got up to speak you could hear the snores. > > ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 9:36 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] The Sleep Advisor is Live! > > > Congrats Rocky. I hope you are able to successfully put everyone to sleep! > :-) > Jim Hale > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, October 26, 2005 12:20 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally got a > product. > The Sleep Advisor most of you are aware of. For those who might not be, > it > is a program, an expert system really, that diagnoses sleep disorders and > gives a personalized program of remedies and recommendations to address > them. > > This milestone in both of our professional careers is due in no small > measure to the selfless help I have been given by members of this list for > at least ten years, guiding me through and outright solving many tough > (for > me) problems in many applications over that time. > > More specifically, I have been given help on numerous Sleep Advisor > problems > by many of you and especially I am grateful to the generous efforts of > A.D. > Tejpal who simply would not give up when presented with a thorny problem > that had me beat. > > I would also like to acknowledge all those who volunteered to be beta > testers. Accumulating enough beta tests to prove that the product worked > was the critical last step. Several hundred were required. But we're > finally confident in the accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who wants to look > at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities > other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From erbachs at gmail.com Wed Oct 26 09:48:07 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 09:48:07 -0500 Subject: [AccessD] A2003: Random order Message-ID: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> Dear Group, I'm writing a prototype Access 2003 ADP in preparation for writing a "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me out with the logic. It's a survey of 100 questions. There are 10 groups of 10 questions each. Each group of questions deals with a particular topic. Rather than have the survey takers see the questions grouped by topic so that they might "steer" the results, I thought it would be better to randomize the list of questions. My back-end is SQL Server 2000, but I think the principles apply to Access as well. So far I've got a table called OrgQuestions with this structure: QID, int, key TopicID, int QNumber, int QText, varchar(175) QOrder, int The QNumber goes from 1-10 for each of the 10 TopicID's. The QID goes from 1-100, conveniently enough! The QOrder column is what I added to indicate the (random) order in which the survey questions will be presented to the survey taker. In the code I first run a MakeTable query to create a temporary, single-field table containing just the QID field, renamed to TestQID. 100 rows numbered from 1-100. I open two RecordSets, rstPik and rstOrd. rstPik is that temporary list of Question numbers. rstOrd is the OrgQuestions table containing the QOrder field. I also create a 100 element array to store the random order of the questions. Then I run two FOR loops: For i = 0 To 99 sngSeed = CSng(Time) ' Multiply the random number generated by 100 - i to get a whole number big enough for ' the list of numbers I need to fill. That 100 - i gets smaller and smaller as the available ' list of numbers gets smaller. sngRnd = Rnd(sngSeed) * (100 - i) ' I do the + 1 here to account for the truncation that the INT() function performs. That is, ' if the Rnd() function gives me .00125, then, even if I multiply it by 100, the INT() function ' will return 0. The HIGHEST number that the RND() function * 100 returns is less than 1; ' so I need that + 1 there, too, to ensure that 100 comes back as one of the "random" ' numbers. intRnd = Int(sngRnd) + 1 rstPik.MoveFirst ' Move to the row indicated by the random integer - 1 because the MOVE() function ' moves X rows not counting the current one. I have to account for the "fencepost" ' error. rstPik.Move intRnd - 1 intStore = rstPik("TestQID") intArr(i) = intStore ' Here's where I eliminate the question number that has been used. rstPik.Delete rstPik.Update Next i ' Now the rstPik Recordset is completely empty. rstOrd.MoveFirst For i = 0 To 99 rstOrd("QuestionOrder") = intArr(i) rstOrd.Update rstOrd.MoveNext Next i In a nutshell, fill an array with the randomized sequence of question numbers and then dump those numbers into the column of the OrgQuestions table that holds that sequence. The issue here is, at least with SQL Server, the generation of the random sequence takes a bit of time. My SQL Server is hosted by my web host and this routine takes an appreciable amount of time. Does anyone have a suggestion as to how I might speed this up? With a zippy cable connection, this process takes over 20 seconds. -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security From erbachs at gmail.com Wed Oct 26 09:56:23 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 09:56:23 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> Message-ID: <39cb22f30510260756k48d8dcbenf2779c30c1a895d4@mail.gmail.com> Correction to my comments in the code: ' I do the + 1 here to account for the truncation that the INT() function performs. That is, ' if the Rnd() function gives me .00125, then, even if I multiply it by 100, the INT() function ' will return 0. The HIGHEST number that the RND() function * 100 returns is less than 100; ' so I need that + 1 there, too, to ensure that 100 comes back as one of the "random" ' numbers. My original comment said: "The HIGHEST number that the RND() function * 100 is less than 1" -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security From Jim.Hale at FleetPride.com Wed Oct 26 10:09:01 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Oct 2005 10:09:01 -0500 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233794F@corp-es01.fleetpride.com> As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dwaters at usinternet.com Wed Oct 26 10:17:15 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 26 Oct 2005 10:17:15 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <18542973.1130338287140.JavaMail.root@sniper19> Message-ID: <000501c5da40$59699160$0200a8c0@danwaters> Hi Steve, Generally, with a survey, you want the people involved to be taking exactly the same survey, unless you are doing initial testing to see if the order of the questions will bias the results. Once the survey is ready, the randomized order of the questions should remain unchanged. Hope this helps, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Wednesday, October 26, 2005 9:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2003: Random order Dear Group, I'm writing a prototype Access 2003 ADP in preparation for writing a "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me out with the logic. It's a survey of 100 questions. There are 10 groups of 10 questions each. Each group of questions deals with a particular topic. Rather than have the survey takers see the questions grouped by topic so that they might "steer" the results, I thought it would be better to randomize the list of questions. My back-end is SQL Server 2000, but I think the principles apply to Access as well. So far I've got a table called OrgQuestions with this structure: QID, int, key TopicID, int QNumber, int QText, varchar(175) QOrder, int The QNumber goes from 1-10 for each of the 10 TopicID's. The QID goes from 1-100, conveniently enough! The QOrder column is what I added to indicate the (random) order in which the survey questions will be presented to the survey taker. In the code I first run a MakeTable query to create a temporary, single-field table containing just the QID field, renamed to TestQID. 100 rows numbered from 1-100. I open two RecordSets, rstPik and rstOrd. rstPik is that temporary list of Question numbers. rstOrd is the OrgQuestions table containing the QOrder field. I also create a 100 element array to store the random order of the questions. Then I run two FOR loops: For i = 0 To 99 sngSeed = CSng(Time) ' Multiply the random number generated by 100 - i to get a whole number big enough for ' the list of numbers I need to fill. That 100 - i gets smaller and smaller as the available ' list of numbers gets smaller. sngRnd = Rnd(sngSeed) * (100 - i) ' I do the + 1 here to account for the truncation that the INT() function performs. That is, ' if the Rnd() function gives me .00125, then, even if I multiply it by 100, the INT() function ' will return 0. The HIGHEST number that the RND() function * 100 returns is less than 1; ' so I need that + 1 there, too, to ensure that 100 comes back as one of the "random" ' numbers. intRnd = Int(sngRnd) + 1 rstPik.MoveFirst ' Move to the row indicated by the random integer - 1 because the MOVE() function ' moves X rows not counting the current one. I have to account for the "fencepost" ' error. rstPik.Move intRnd - 1 intStore = rstPik("TestQID") intArr(i) = intStore ' Here's where I eliminate the question number that has been used. rstPik.Delete rstPik.Update Next i ' Now the rstPik Recordset is completely empty. rstOrd.MoveFirst For i = 0 To 99 rstOrd("QuestionOrder") = intArr(i) rstOrd.Update rstOrd.MoveNext Next i In a nutshell, fill an array with the randomized sequence of question numbers and then dump those numbers into the column of the OrgQuestions table that holds that sequence. The issue here is, at least with SQL Server, the generation of the random sequence takes a bit of time. My SQL Server is hosted by my web host and this routine takes an appreciable amount of time. Does anyone have a suggestion as to how I might speed this up? With a zippy cable connection, this process takes over 20 seconds. -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From erbachs at gmail.com Wed Oct 26 10:46:50 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 10:46:50 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <000501c5da40$59699160$0200a8c0@danwaters> References: <18542973.1130338287140.JavaMail.root@sniper19> <000501c5da40$59699160$0200a8c0@danwaters> Message-ID: <39cb22f30510260846y2a4b1fcbq382259cca18b69b0@mail.gmail.com> Dan, Well, this is more like a profile. It's derived from the book "How to Be Organized in Spite of Yourself." The authors, Schlenger and Roesch, identify 5 time-management "styles" and 5 space-management "styles." For example, the time-management styles they've identified are Hopper, Perfectionist Plus, Allergic to Detail, Fence Sitter, and Cliff Hanger. There's a chapter in their book on each time and space management style. Each chapter has a 10-question quiz to determine how many or how few of the specific attributes of that particular "style" one has. Back when I first bought the book I typed in all 100 questions into WordPerfect and then mixed them up before I gave the whole quiz to my co-workers. It was fun and everybody enjoyed this bit of "profiling." The quizzes in the book chapters are pretty easy to figure out as far as what traits are being identified. Since the questions themselves don't change, I thought that mixing them up to remove any cues for how to answer them would make the results a little "cleaner." Anyway, thanks for your input. -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security On 10/26/05, Dan Waters wrote: > > Hi Steve, > > Generally, with a survey, you want the people involved to be taking > exactly > the same survey, unless you are doing initial testing to see if the order > of > the questions will bias the results. > > Once the survey is ready, the randomized order of the questions should > remain unchanged. > > Hope this helps, > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach > Sent: Wednesday, October 26, 2005 9:48 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] A2003: Random order > > Dear Group, > > I'm writing a prototype Access 2003 ADP in preparation for writing a > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > out with the logic. > From dmcafee at pacbell.net Wed Oct 26 11:02:55 2005 From: dmcafee at pacbell.net (David McAfee) Date: Wed, 26 Oct 2005 09:02:55 -0700 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <01c601c5da36$d796ca80$6501a8c0@HAL9004> Message-ID: Speaking of which, weren't we due for one again this year? Gongrats Rocky! ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 6:51 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Obviously you never attended one of the AccessD conferences at his house. > Every time he got up to speak you could hear the snores. > > ;-) > > John W. Colby From harkinsss at bellsouth.net Wed Oct 26 11:12:42 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 26 Oct 2005 12:12:42 -0400 Subject: [AccessD] A2003: Random order In-Reply-To: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> Message-ID: <20051026161242.SCSS12438.ibm63aec.bellsouth.net@SUSANONE> Steve, you're just mixing up all 100 questions into 1 group? Or is there more to it? Susan H. Dear Group, I'm writing a prototype Access 2003 ADP in preparation for writing a "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me out with the logic. From bchacc at san.rr.com Wed Oct 26 11:31:28 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Oct 2005 09:31:28 -0700 Subject: [AccessD] The Sleep Advisor is Live! References: Message-ID: <037501c5da4a$b73ed2f0$6501a8c0@HAL9004> Overdue, I think. But where? Has to be someplace warm. Rocky ----- Original Message ----- From: "David McAfee" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 9:02 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Speaking of which, weren't we due for one again this year? > > Gongrats Rocky! > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, October 26, 2005 6:51 AM > Subject: Re: [AccessD] The Sleep Advisor is Live! > > >> Obviously you never attended one of the AccessD conferences at his house. >> Every time he got up to speak you could hear the snores. >> >> ;-) >> >> John W. Colby > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Wed Oct 26 11:40:52 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Oct 2005 18:40:52 +0200 Subject: [AccessD] A2003: Random order Message-ID: Hi Steve Why not make that table a two-field table. Fill the other field, say RndID, with random numbers when the table is created. Now read from the table QID ordered by RndID. /gustav >>> erbachs at gmail.com 26-10-2005 16:48 >>> In the code I first run a MakeTable query to create a temporary, single-field table containing just the QID field, renamed to TestQID. 100 rows numbered from 1-100. From dwaters at usinternet.com Wed Oct 26 11:51:20 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 26 Oct 2005 11:51:20 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <28119306.1130341816761.JavaMail.root@sniper18> Message-ID: <000201c5da4d$7e5c6ad0$0200a8c0@danwaters> Rocky - this helps me understand where if the questions remained grouped then the test taker can more easily answer 'correctly'. Still though, if you want to compare different people's tests, then each of those tests should have the same random order. If you want the same person to take the test more than once to see if the end results change, then the order should be randomized again prior to each test. Sounds like fun! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Wednesday, October 26, 2005 10:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Random order Dan, Well, this is more like a profile. It's derived from the book "How to Be Organized in Spite of Yourself." The authors, Schlenger and Roesch, identify 5 time-management "styles" and 5 space-management "styles." For example, the time-management styles they've identified are Hopper, Perfectionist Plus, Allergic to Detail, Fence Sitter, and Cliff Hanger. There's a chapter in their book on each time and space management style. Each chapter has a 10-question quiz to determine how many or how few of the specific attributes of that particular "style" one has. Back when I first bought the book I typed in all 100 questions into WordPerfect and then mixed them up before I gave the whole quiz to my co-workers. It was fun and everybody enjoyed this bit of "profiling." The quizzes in the book chapters are pretty easy to figure out as far as what traits are being identified. Since the questions themselves don't change, I thought that mixing them up to remove any cues for how to answer them would make the results a little "cleaner." Anyway, thanks for your input. -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security On 10/26/05, Dan Waters wrote: > > Hi Steve, > > Generally, with a survey, you want the people involved to be taking > exactly > the same survey, unless you are doing initial testing to see if the order > of > the questions will bias the results. > > Once the survey is ready, the randomized order of the questions should > remain unchanged. > > Hope this helps, > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach > Sent: Wednesday, October 26, 2005 9:48 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] A2003: Random order > > Dear Group, > > I'm writing a prototype Access 2003 ADP in preparation for writing a > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > out with the logic. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Oct 26 12:37:48 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 26 Oct 2005 21:37:48 +0400 Subject: [AccessD] A2003: Random order References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> Message-ID: <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> <<< how I might speed this up? >>> Steve, In MS SQL you can use lightning fast query (Northwind db as example): select CategoryId, CategoryName from Categories order by RAND(Checksum(newid())) This way you get guaranteed random sequence - here is the sequence of CategoryIds for three runs: 5,7,3,4,2,1,8,6 3,8,1,2,4,5,6,7 8,1,6,2,5,4,7,3 HTH, Shamil ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 6:48 PM Subject: [AccessD] A2003: Random order > Dear Group, > > I'm writing a prototype Access 2003 ADP in preparation for writing a > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > out with the logic. > > It's a survey of 100 questions. There are 10 groups of 10 questions each. > Each group of questions deals with a particular topic. Rather than have the > survey takers see the questions grouped by topic so that they might "steer" > the results, I thought it would be better to randomize the list of > questions. > > My back-end is SQL Server 2000, but I think the principles apply to Access > as well. > > So far I've got a table called OrgQuestions with this structure: > > QID, int, key > TopicID, int > QNumber, int > QText, varchar(175) > QOrder, int > > The QNumber goes from 1-10 for each of the 10 TopicID's. The QID goes from > 1-100, conveniently enough! The QOrder column is what I added to indicate > the (random) order in which the survey questions will be presented to the > survey taker. > > In the code I first run a MakeTable query to create a temporary, > single-field table containing just the QID field, renamed to TestQID. 100 > rows numbered from 1-100. > > I open two RecordSets, rstPik and rstOrd. rstPik is that temporary list of > Question numbers. rstOrd is the OrgQuestions table containing the QOrder > field. I also create a 100 element array to store the random order of the > questions. > > Then I run two FOR loops: > > For i = 0 To 99 > sngSeed = CSng(Time) > > ' Multiply the random number generated by 100 - i to get a whole number big > enough for > ' the list of numbers I need to fill. That 100 - i gets smaller and smaller > as the available > ' list of numbers gets smaller. > sngRnd = Rnd(sngSeed) * (100 - i) > > ' I do the + 1 here to account for the truncation that the INT() function > performs. That is, > ' if the Rnd() function gives me .00125, then, even if I multiply it by 100, > the INT() function > ' will return 0. The HIGHEST number that the RND() function * 100 returns is > less than 1; > ' so I need that + 1 there, too, to ensure that 100 comes back as one of the > "random" > ' numbers. > intRnd = Int(sngRnd) + 1 > rstPik.MoveFirst > > ' Move to the row indicated by the random integer - 1 because the MOVE() > function > ' moves X rows not counting the current one. I have to account for the > "fencepost" > ' error. > rstPik.Move intRnd - 1 > intStore = rstPik("TestQID") > intArr(i) = intStore > > ' Here's where I eliminate the question number that has been used. > rstPik.Delete > rstPik.Update > Next i > > ' Now the rstPik Recordset is completely empty. > rstOrd.MoveFirst > For i = 0 To 99 > rstOrd("QuestionOrder") = intArr(i) > rstOrd.Update > rstOrd.MoveNext > Next i > > In a nutshell, fill an array with the randomized sequence of question > numbers and then dump those numbers into the column of the OrgQuestions > table that holds that sequence. > > The issue here is, at least with SQL Server, the generation of the random > sequence takes a bit of time. My SQL Server is hosted by my web host and > this routine takes an appreciable amount of time. Does anyone have a > suggestion as to how I might speed this up? With a zippy cable connection, > this process takes over 20 seconds. > > -- > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > www.swerbach.com > Security Page: www.swerbach.com/security > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Oct 26 13:11:26 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 26 Oct 2005 22:11:26 +0400 Subject: [AccessD] A2003: Random order References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> Message-ID: <003201c5da59$1ae7f1c0$6401a8c0@fincomplex.spb.ru> Steve, I should have written that this query is enough: select CategoryId, CategoryName from Categories order by newid() to get random order of source records. But RAND(Checksum(newid())) make generated values a kind of normalized. Additionally you can write: Convert(int, Floor(Rand(Checksum(newid()))*100+1)) to get integer random IDs in the range 1-100. But take into account that they can be non-unique. For pure mdb +VBA solution you can use similar approach with a function like the one described here http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176790 to get random seed string, which can be converted to random ID similarily to MS SQL solution. Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 9:37 PM Subject: Re: [AccessD] A2003: Random order > <<< > how I might speed this up? > >>> > Steve, > > In MS SQL you can use lightning fast query (Northwind db as example): > > select CategoryId, CategoryName > from Categories > order by RAND(Checksum(newid())) > > This way you get guaranteed random sequence - here is the sequence of > CategoryIds for three runs: > > 5,7,3,4,2,1,8,6 > 3,8,1,2,4,5,6,7 > 8,1,6,2,5,4,7,3 > > HTH, > Shamil > > ----- Original Message ----- > From: "Steve Erbach" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, October 26, 2005 6:48 PM > Subject: [AccessD] A2003: Random order > > > > Dear Group, > > > > I'm writing a prototype Access 2003 ADP in preparation for writing a > > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > > out with the logic. > > > > It's a survey of 100 questions. There are 10 groups of 10 questions each. > > Each group of questions deals with a particular topic. Rather than have > the > > survey takers see the questions grouped by topic so that they might > "steer" > > the results, I thought it would be better to randomize the list of > > questions. > > > > My back-end is SQL Server 2000, but I think the principles apply to Access > > as well. > > > > So far I've got a table called OrgQuestions with this structure: > > > > QID, int, key > > TopicID, int > > QNumber, int > > QText, varchar(175) > > QOrder, int > > > > The QNumber goes from 1-10 for each of the 10 TopicID's. The QID goes from > > 1-100, conveniently enough! The QOrder column is what I added to indicate > > the (random) order in which the survey questions will be presented to the > > survey taker. > > > > In the code I first run a MakeTable query to create a temporary, > > single-field table containing just the QID field, renamed to TestQID. 100 > > rows numbered from 1-100. > > > > I open two RecordSets, rstPik and rstOrd. rstPik is that temporary list of > > Question numbers. rstOrd is the OrgQuestions table containing the QOrder > > field. I also create a 100 element array to store the random order of the > > questions. > > > > Then I run two FOR loops: > > > > For i = 0 To 99 > > sngSeed = CSng(Time) > > > > ' Multiply the random number generated by 100 - i to get a whole number > big > > enough for > > ' the list of numbers I need to fill. That 100 - i gets smaller and > smaller > > as the available > > ' list of numbers gets smaller. > > sngRnd = Rnd(sngSeed) * (100 - i) > > > > ' I do the + 1 here to account for the truncation that the INT() function > > performs. That is, > > ' if the Rnd() function gives me .00125, then, even if I multiply it by > 100, > > the INT() function > > ' will return 0. The HIGHEST number that the RND() function * 100 returns > is > > less than 1; > > ' so I need that + 1 there, too, to ensure that 100 comes back as one of > the > > "random" > > ' numbers. > > intRnd = Int(sngRnd) + 1 > > rstPik.MoveFirst > > > > ' Move to the row indicated by the random integer - 1 because the MOVE() > > function > > ' moves X rows not counting the current one. I have to account for the > > "fencepost" > > ' error. > > rstPik.Move intRnd - 1 > > intStore = rstPik("TestQID") > > intArr(i) = intStore > > > > ' Here's where I eliminate the question number that has been used. > > rstPik.Delete > > rstPik.Update > > Next i > > > > ' Now the rstPik Recordset is completely empty. > > rstOrd.MoveFirst > > For i = 0 To 99 > > rstOrd("QuestionOrder") = intArr(i) > > rstOrd.Update > > rstOrd.MoveNext > > Next i > > > > In a nutshell, fill an array with the randomized sequence of question > > numbers and then dump those numbers into the column of the OrgQuestions > > table that holds that sequence. > > > > The issue here is, at least with SQL Server, the generation of the random > > sequence takes a bit of time. My SQL Server is hosted by my web host and > > this routine takes an appreciable amount of time. Does anyone have a > > suggestion as to how I might speed this up? With a zippy cable connection, > > this process takes over 20 seconds. > > > > -- > > Regards, > > > > Steve Erbach > > Scientific Marketing > > Neenah, WI > > www.swerbach.com > > Security Page: www.swerbach.com/security > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Oct 26 13:36:27 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 26 Oct 2005 14:36:27 -0400 Subject: [AccessD] FAXing from Access 2002 using Windows XP FAX Message-ID: <00b601c5da5c$2ce9e6a0$0a00a8c0@cx470148a> I need to FAX snapshot files (.snp) programmatically (VBA) from an Access 2002 application, using Windows XP FAX. I set-up the Windows XP FAX service on my laptop and created an email account within MS Outlook using server type Fax Mail Transport. Using the Send FAX Wizard, I successfully sent a FAX (manually keying in the recipient's name, FAX#, etc.) On my laptop, my default email client is Outlook Express. The Access application will reside on a PC with Lotus Notes as the default email client (although MS Outlook will also be installed on the PC). Will I be able to issue a SendObject command to send a FAX? I see in http://support.microsoft.com/default.aspx?scid=kb;en-us;145787 that SendObject was used with Microsoft FAX (which was replaced with Windows XP FAX) Any other problems that I might encounter with Lotus Notes as the default email client? Any other thoughts? Thanks, Barb Ryan From erbachs at gmail.com Wed Oct 26 13:36:56 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 13:36:56 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: References: Message-ID: <39cb22f30510261136l4a7769f6q9dab6e95257d40c7@mail.gmail.com> Gustav, Hmmm, are you talking about something like this?: SELECT QID AS TestQID, RAND([QID]) AS RndID FROM OrgQuestions ORDER BY RAND([QID]) The RAND() function in SQL Server has the same limitation that the Access RND() function does, though; that is, the "random" number that's generated in the query will be the same for every record, won't it? Steve Erbach Neenah, WI On 10/26/05, Gustav Brock wrote: > > Hi Steve > > Why not make that table a two-field table. > Fill the other field, say RndID, with random numbers when the table is > created. > Now read from the table QID ordered by RndID. > > /gustav > From erbachs at gmail.com Wed Oct 26 13:39:07 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 13:39:07 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <20051026161242.SCSS12438.ibm63aec.bellsouth.net@SUSANONE> References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> <20051026161242.SCSS12438.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <39cb22f30510261139k6786c268k59afdf5cd787c0d3@mail.gmail.com> Susan, Originally, I thought of selecting, at random, one question from every group to form 10 sets of questions that contained one question of each group/type. But, to make it simpler, I thought I'd just mix 'em all up to figure out a randomizing methodolgy first. Then, perhaps, I'll figure out how to split it up into bite-sized chunks of 10 questions each with one of each type of question in each chunk. Steve Erbach On 10/26/05, Susan Harkins wrote: > > Steve, you're just mixing up all 100 questions into 1 group? Or is there > more to it? > > Susan H. > > Dear Group, > > I'm writing a prototype Access 2003 ADP in preparation for writing a > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > out with the logic. > > > From erbachs at gmail.com Wed Oct 26 13:41:36 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 13:41:36 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <000201c5da4d$7e5c6ad0$0200a8c0@danwaters> References: <28119306.1130341816761.JavaMail.root@sniper18> <000201c5da4d$7e5c6ad0$0200a8c0@danwaters> Message-ID: <39cb22f30510261141l3159410ld8ca3e08136bbd97@mail.gmail.com> Dan, The profiling is fun, all right! We discovered that the President of the company was a Total Slob, based on the categories in the book. Of course, you didn't need a profile to see that. Anybody that went into his office saw the piles of stuff stacked on every available horizontal surface, including the floor. Actually, "stacked" was being charitable. Steve Erbach On 10/26/05, Dan Waters wrote: > > Rocky - this helps me understand where if the questions remained grouped > then the test taker can more easily answer 'correctly'. > > Still though, if you want to compare different people's tests, then each > of > those tests should have the same random order. > > If you want the same person to take the test more than once to see if the > end results change, then the order should be randomized again prior to > each > test. > > Sounds like fun! > > Dan > > > From Gustav at cactus.dk Wed Oct 26 13:42:36 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Oct 2005 20:42:36 +0200 Subject: [AccessD] A2003: Random order Message-ID: Hi Steve Yes, but follow the guide from Shamil for the SQL Server spedifics. You can use that also if you need to create the temp table. /gustav >>> erbachs at gmail.com 26-10-2005 20:36 >>> Gustav, Hmmm, are you talking about something like this?: SELECT QID AS TestQID, RAND([QID]) AS RndID FROM OrgQuestions ORDER BY RAND([QID]) The RAND() function in SQL Server has the same limitation that the Access RND() function does, though; that is, the "random" number that's generated in the query will be the same for every record, won't it? Steve Erbach Neenah, WI On 10/26/05, Gustav Brock wrote: > > Hi Steve > > Why not make that table a two-field table. > Fill the other field, say RndID, with random numbers when the table is > created. > Now read from the table QID ordered by RndID. > > /gustav From harkinsss at bellsouth.net Wed Oct 26 13:51:54 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 26 Oct 2005 14:51:54 -0400 Subject: [AccessD] A2003: Random order In-Reply-To: <39cb22f30510261136l4a7769f6q9dab6e95257d40c7@mail.gmail.com> Message-ID: <20051026185215.RBUY20466.ibm65aec.bellsouth.net@SUSANONE> Steve, Rnd() and Rand() do not produce the same results. I'm sending you an article privately. Susan H. Gustav, The RAND() function in SQL Server has the same limitation that the Access RND() function does, though; that is, the "random" number that's generated in the query will be the same for every record, won't it? From erbachs at gmail.com Wed Oct 26 13:54:43 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 13:54:43 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> Message-ID: <39cb22f30510261154vefe5e07xa9d6f05cbffda1cf@mail.gmail.com> Shamil, Whoa! Now THAT'S what I was looking for! Except I can't find anything in Access VB help on Checksum() nor NewID(). Am I missing something? I found ONE reference to NEWID() in the Access help and ONE for Checksum(). Steve Erbach On 10/26/05, Shamil Salakhetdinov wrote: > > <<< > how I might speed this up? > >>> > Steve, > > In MS SQL you can use lightning fast query (Northwind db as example): > > select CategoryId, CategoryName > from Categories > order by RAND(Checksum(newid())) > From Jim.Hale at FleetPride.com Wed Oct 26 13:59:22 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Oct 2005 13:59:22 -0500 Subject: [AccessD] A2003: Random order Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337952@corp-es01.fleetpride.com> We once had a new guard call the Corporate counsel on a Saturday morning in a panic to tell him his office had been ransacked. When he rushed in to see what had happened he took one look and said that was the way it always looked. Jim Hale -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Wednesday, October 26, 2005 1:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Random order Dan, The profiling is fun, all right! We discovered that the President of the company was a Total Slob, based on the categories in the book. Of course, you didn't need a profile to see that. Anybody that went into his office saw the piles of stuff stacked on every available horizontal surface, including the floor. Actually, "stacked" was being charitable. Steve Erbach On 10/26/05, Dan Waters wrote: > > Rocky - this helps me understand where if the questions remained grouped > then the test taker can more easily answer 'correctly'. > > Still though, if you want to compare different people's tests, then each > of > those tests should have the same random order. > > If you want the same person to take the test more than once to see if the > end results change, then the order should be randomized again prior to > each > test. > > Sounds like fun! > > Dan > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From erbachs at gmail.com Wed Oct 26 14:00:03 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 14:00:03 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <003201c5da59$1ae7f1c0$6401a8c0@fincomplex.spb.ru> References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> <003201c5da59$1ae7f1c0$6401a8c0@fincomplex.spb.ru> Message-ID: <39cb22f30510261200y54bb98cen22ed4f72aaae91a1@mail.gmail.com> Shamil, Very interesting. Susan sent me an article she'd written with Arthur Fuller suggesting the same use of NEWID(). Thanks again. Steve Erbach Neenah, WI On 10/26/05, Shamil Salakhetdinov wrote: > > Steve, > > I should have written that this query is enough: > > select CategoryId, CategoryName > from Categories > order by newid() > > to get random order of source records. > > But RAND(Checksum(newid())) make generated values a kind of normalized. > Additionally you can write: > > Convert(int, Floor(Rand(Checksum(newid()))*100+1)) > > to get integer random IDs in the range 1-100. But take into account that > they can be non-unique. > > For pure mdb +VBA solution you can use similar approach with a function > like > the one described here > > http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176790 > > to get random seed string, which can be converted to random ID similarily > to > MS SQL solution. > > Shamil > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, October 26, 2005 9:37 PM > Subject: Re: [AccessD] A2003: Random order > > > > <<< > > how I might speed this up? > > >>> > > Steve, > > > > In MS SQL you can use lightning fast query (Northwind db as example): > > > > select CategoryId, CategoryName > > from Categories > > order by RAND(Checksum(newid())) > From erbachs at gmail.com Wed Oct 26 14:12:37 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 14:12:37 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337952@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB6772337952@corp-es01.fleetpride.com> Message-ID: <39cb22f30510261212s66160a03qd7d76be59146f98a@mail.gmail.com> Jim, Hah! Thanks for the laugh! Steve Erbach On 10/26/05, Hale, Jim wrote: > > We once had a new guard call the Corporate counsel on a Saturday morning > in > a panic to tell him his office had been ransacked. When he rushed in to > see > what had happened he took one look and said that was the way it always > looked. > Jim Hale > > -----Original Message----- > From: Steve Erbach [mailto:erbachs at gmail.com] > Sent: Wednesday, October 26, 2005 1:42 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Random order > > > Dan, > > The profiling is fun, all right! We discovered that the President of the > company was a Total Slob, based on the categories in the book. Of course, > you didn't need a profile to see that. Anybody that went into his office > saw > the piles of stuff stacked on every available horizontal surface, > including > the floor. Actually, "stacked" was being charitable. > > Steve Erbach > From Chester_Kaup at kindermorgan.com Wed Oct 26 14:26:31 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 26 Oct 2005 14:26:31 -0500 Subject: [AccessD] MS Access SDK Message-ID: Never having had to develop for a group before I need some enlightenment and/or knowledge here. Looking around on the Microsoft site it appears that the SDK no longer exists for access. What is used now to create mde files? Has anyone done any testing to see if an mde runs faster than a mdb on a large database? Any and all thoughts appreciated. 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 shamil at users.mns.ru Wed Oct 26 14:39:15 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 26 Oct 2005 23:39:15 +0400 Subject: [AccessD] A2003: Random order References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com><001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> <39cb22f30510261154vefe5e07xa9d6f05cbffda1cf@mail.gmail.com> Message-ID: <005001c5da65$26c1bbf0$6401a8c0@fincomplex.spb.ru> Steve, RAND(), Checksum() and NewID() are MS SQL functions. As far as I understood your database in an MS SQL one - then you can use these functions of just newID() in your source query(MS SQL view or stored procedure) to get random sequence of source records. For pure mdb+VBA solution VBA's Rnd() function should be enough. More complicated mdb+VBA solution based on code from this sample: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176790 to write something like NewId() and then use XOR VBA operation to implement something like CheckSum(...) etc. - is an overkill. I should have not mentioned it. Shamil ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 10:54 PM Subject: Re: [AccessD] A2003: Random order > Shamil, > > Whoa! Now THAT'S what I was looking for! Except I can't find anything in > Access VB help on Checksum() nor NewID(). Am I missing something? I found > ONE reference to NEWID() in the Access help and ONE for Checksum(). > > Steve Erbach > > On 10/26/05, Shamil Salakhetdinov wrote: > > > > <<< > > how I might speed this up? > > >>> > > Steve, > > > > In MS SQL you can use lightning fast query (Northwind db as example): > > > > select CategoryId, CategoryName > > from Categories > > order by RAND(Checksum(newid())) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Oct 26 14:36:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Oct 2005 12:36:42 -0700 Subject: [AccessD] MS Access SDK Message-ID: What version of Access are you working with? Access 97 - XP had their packaging in the Developer's Edition of Office. In 2003, the packaging, etc., is in the Access extensions to the Visual Studio Tools for Microsoft Office (VSTO) which is part of VS.Net 2003 but can be purchased as a stand-alone package as well. The executable itself is used to create mde file, not any developer tools. The MDE is used to keep users from changing design elements of the application, not for speed per se, and you need to specify what you mean by "large". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, October 26, 2005 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] MS Access SDK Never having had to develop for a group before I need some enlightenment and/or knowledge here. Looking around on the Microsoft site it appears that the SDK no longer exists for access. What is used now to create mde files? Has anyone done any testing to see if an mde runs faster than a mdb on a large database? Any and all thoughts appreciated. 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 Chester_Kaup at kindermorgan.com Wed Oct 26 14:39:22 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 26 Oct 2005 14:39:22 -0500 Subject: [AccessD] MS Access SDK Message-ID: I should have stated I am running Access 2003. By large I mean 1.5 Gig. Thnaks for any comments etc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, October 26, 2005 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access SDK What version of Access are you working with? Access 97 - XP had their packaging in the Developer's Edition of Office. In 2003, the packaging, etc., is in the Access extensions to the Visual Studio Tools for Microsoft Office (VSTO) which is part of VS.Net 2003 but can be purchased as a stand-alone package as well. The executable itself is used to create mde file, not any developer tools. The MDE is used to keep users from changing design elements of the application, not for speed per se, and you need to specify what you mean by "large". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, October 26, 2005 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] MS Access SDK Never having had to develop for a group before I need some enlightenment and/or knowledge here. Looking around on the Microsoft site it appears that the SDK no longer exists for access. What is used now to create mde files? Has anyone done any testing to see if an mde runs faster than a mdb on a large database? Any and all thoughts appreciated. 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 shamil at users.mns.ru Wed Oct 26 14:46:05 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 26 Oct 2005 23:46:05 +0400 Subject: [AccessD] A2003: Random order References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com><001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru><003201c5da59$1ae7f1c0$6401a8c0@fincomplex.spb.ru> <39cb22f30510261200y54bb98cen22ed4f72aaae91a1@mail.gmail.com> Message-ID: <005801c5da65$ea345f20$6401a8c0@fincomplex.spb.ru> <<< Susan sent me an article she'd written with Arthur Fuller >>> Steve, Do you mean this article, which I have just got it "googled"? http://www.devx.com/dbzone/Article/10167/1954?pf=true Shamil ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 11:00 PM Subject: Re: [AccessD] A2003: Random order > Shamil, > > Very interesting. Susan sent me an article she'd written with Arthur Fuller > suggesting the same use of NEWID(). Thanks again. > > Steve Erbach > Neenah, WI > > On 10/26/05, Shamil Salakhetdinov wrote: > > > > Steve, > > > > I should have written that this query is enough: > > > > select CategoryId, CategoryName > > from Categories > > order by newid() > > > > to get random order of source records. > > > > But RAND(Checksum(newid())) make generated values a kind of normalized. > > Additionally you can write: > > > > Convert(int, Floor(Rand(Checksum(newid()))*100+1)) > > > > to get integer random IDs in the range 1-100. But take into account that > > they can be non-unique. > > > > For pure mdb +VBA solution you can use similar approach with a function > > like > > the one described here > > > > http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176790 > > > > to get random seed string, which can be converted to random ID similarily > > to > > MS SQL solution. > > > > Shamil > > > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, October 26, 2005 9:37 PM > > Subject: Re: [AccessD] A2003: Random order > > > > > > > <<< > > > how I might speed this up? > > > >>> > > > Steve, > > > > > > In MS SQL you can use lightning fast query (Northwind db as example): > > > > > > select CategoryId, CategoryName > > > from Categories > > > order by RAND(Checksum(newid())) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Wed Oct 26 14:46:08 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 26 Oct 2005 15:46:08 -0400 Subject: [AccessD] A2003: Random order In-Reply-To: <005801c5da65$ea345f20$6401a8c0@fincomplex.spb.ru> Message-ID: <20051026194608.RVQL20466.ibm65aec.bellsouth.net@SUSANONE> Nope, not the same article Shamil. The article I sent Steve was about the differences between producing random values in Access and SQL Server. Susan H. <<< Susan sent me an article she'd written with Arthur Fuller >>> Steve, Do you mean this article, which I have just got it "googled"? http://www.devx.com/dbzone/Article/10167/1954?pf=true From jim.moss at jlmoss.net Wed Oct 26 14:44:06 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Wed, 26 Oct 2005 14:44:06 -0500 (CDT) Subject: [AccessD] MS Access SDK In-Reply-To: References: Message-ID: <8598.65.196.182.34.1130355846.squirrel@65.196.182.34> Chester, SDK or Office developer was never required to build a .mde to my knowledge. Only when you want to install an access app on a system without Access do you need the Developer Edition. If running A2003, to make .mde file all you do is click the Tools menu item, then Database Utilities, then click Make MDE file. I don't notice any difference in speed, large or small db. Jim > Never having had to develop for a group before I need some enlightenment > and/or knowledge here. > > Looking around on the Microsoft site it appears that the SDK no longer > exists for access. What is used now to create mde files? > > Has anyone done any testing to see if an mde runs faster than a mdb on a > large database? > > > > Any and all thoughts appreciated. > > > > 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 shamil at users.mns.ru Wed Oct 26 15:10:35 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 00:10:35 +0400 Subject: [AccessD] A2003: Random order References: <20051026194608.RVQL20466.ibm65aec.bellsouth.net@SUSANONE> Message-ID: <001401c5da69$549131b0$6401a8c0@fincomplex.spb.ru> OK. Then I guess it is about how to emulate VBA's rnd() function on MS SQL using NewId()? It isn't publicly available? Shamil ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 11:46 PM Subject: Re: [AccessD] A2003: Random order > Nope, not the same article Shamil. The article I sent Steve was about the > differences between producing random values in Access and SQL Server. > > Susan H. > > <<< > Susan sent me an article she'd written with Arthur Fuller > >>> > Steve, > > Do you mean this article, which I have just got it "googled"? > http://www.devx.com/dbzone/Article/10167/1954?pf=true > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Oct 26 15:53:09 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 26 Oct 2005 16:53:09 -0400 Subject: [AccessD] A2003: Random order Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF26E6@xlivmbx21.aig.com> Looks like that would be very simple to do... Ever needed to grab a selection of random rows from a table? Well, it's surprisingly easy in SQL Server 2000, using the NEWID() method. The code below selects 10 random rows from "myTable". SELECT TOP 10 id,title FROM myTable ORDER BY NEWID() Great! See http://www.developerfusion.co.uk/show/4680/ for the source of this tip. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, October 26, 2005 4:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Random order OK. Then I guess it is about how to emulate VBA's rnd() function on MS SQL using NewId()? It isn't publicly available? Shamil ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 11:46 PM Subject: Re: [AccessD] A2003: Random order > Nope, not the same article Shamil. The article I sent Steve was about > the differences between producing random values in Access and SQL > Server. > > Susan H. > > <<< > Susan sent me an article she'd written with Arthur Fuller > >>> From martyconnelly at shaw.ca Wed Oct 26 17:10:57 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 26 Oct 2005 15:10:57 -0700 Subject: [AccessD] MySQL Help References: <200510251704.j9PH4vT83577@ultradnt.com> Message-ID: <435FFEF1.3050004@shaw.ca> Here is a freebie replacement for EM SQL. just send the guy a postcard. If you want, the source code is provided in VB6, good if you want to learn about DMO http://www.asql.biz/DbaMgr/DownLoad2k.shtm Steve Conklin wrote: >At the risk of starting a never-ending debate-thread, why not put the >"minor" db's in MSDE, (especially since you have MSSQL in house, you can get >around the lack of E-M for MSDE alone)? > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia >Sent: Tuesday, October 25, 2005 12:51 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] MySQL Help > >mySQL is now a very robust db engine. w/ Version 5.0 they support >triggers/sprocs (stored procedres) and of course transactions. I have not >had a chance to load it and play with the system but you can bet I will. I'm >acctually looking forward to "Base" (Open Office desktop db) it supports >connecting to Access, (for data/ not code nor reports). For me the idea of >such a move is to help move some sql server databases to mysql because they >really do not justify begin in MSSQL. I'd rather save those licenses for our >enterprise db's > > > >On 10/25/05, Jeff Barrows wrote: > > >>Hello all, >> >>I am working with a company whose previous 'programmer' (and I use >>that term VERY loosely in his case) decided that the best database >>system was MySQL. He was using Access 2003 as a front end, importing >>multiple text files and spreadsheets (some of them with 1 million + >>records) into Access and MySQL. >> >>What I am looking for is some reference materials, books, web sites, >>forums, anything that might help. >> >>Jeff Barrows >>MCP, MCAD, MCSD >> >>Outbak Technologies, LLC >>Racine, WI >>jeff at outbaktech.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Wed Oct 26 17:45:04 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Oct 2005 17:45:04 -0500 Subject: [AccessD] Null to empty strings Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jmhecht at earthlink.net Wed Oct 26 18:01:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 26 Oct 2005 16:01:11 -0700 Subject: [AccessD] Null to empty strings In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> Message-ID: <000001c5da81$28eaa5b0$0a01a8c0@desktop> Jim, Back up table In an select query Select the field you want to flip 2 times Criteria = "is null" Run query and be sure that's what you want and expect to see. If not play with that until it is what you want. When select returns correct criteria change to update query It will add a line to QBE grid that says change to Change to " " Run query. HTH Joe If it is ok -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 3:45 PM To: 'Accessd (E-mail) Subject: [AccessD] Null to empty strings What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at comcast.net Wed Oct 26 18:12:21 2005 From: papparuff at comcast.net (John Ruff) Date: Wed, 26 Oct 2005 16:12:21 -0700 Subject: [AccessD] Null to empty strings In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> Message-ID: <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> Create an update query and in the Update To row of the field to update, use: Iif(isnull(FieldToChange)," ") MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 2:45 PM To: 'Accessd (E-mail) Subject: [AccessD] Null to empty strings What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebairead at gmail.com Wed Oct 26 18:23:44 2005 From: ebairead at gmail.com (=?ISO-8859-1?Q?Eoin_C=2E_Bair=E9ad?=) Date: Thu, 27 Oct 2005 00:23:44 +0100 Subject: [AccessD] Null to empty strings In-Reply-To: <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> References: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> Message-ID: <3d2a5ccc0510261623p125f13f3y@mail.gmail.com> If you mean empty string rather than blank then you need 1 On 27/10/05, John Ruff wrote: > > Create an update query and in the Update To row of the field to update, > use: > > Iif(isnull(FieldToChange)," ") > > MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! > > John V. Ruff - The Eternal Optimist :-) > > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 2:45 PM > To: 'Accessd (E-mail) > Subject: [AccessD] Null to empty strings > > What is the easiest way to convert all null values in a table to empty > strings? This is a one time conversion. TIA > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -- Eoin C. Bair?ad Dublin, Ireland ?th Cliath, ?ire From accessd at shaw.ca Wed Oct 26 18:24:08 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 26 Oct 2005 16:24:08 -0700 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233794F@corp-es01.fleetpride.com> Message-ID: <004401c5da84$5e6c20d0$017ba8c0@xpserver> Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Oct 26 18:26:30 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 26 Oct 2005 16:26:30 -0700 Subject: [AccessD] Conceiting fields with same incident number Message-ID: <000001c5da84$b27cf8c0$0a01a8c0@desktop> I have a table with 2 fields Memo_Key = ##_## ## Memo key is actually a text field but hay.. The first two places refer to a year. The second two digits refer to an incident number for that year Three spaces The last digits refer to a line number in an additional text field Memo_line is the matching text for that line. One incident can have multiple memo lines. If I do a left(Memo_key,5) I can isolate the incident numbers. In rebuilding the database I need to get all the matching memo key items to concatenate into a new memo field. Any body know how I can do it? Thanks Joe From ebairead at gmail.com Wed Oct 26 18:26:48 2005 From: ebairead at gmail.com (=?ISO-8859-1?Q?Eoin_C=2E_Bair=E9ad?=) Date: Thu, 27 Oct 2005 00:26:48 +0100 Subject: [AccessD] Null to empty strings In-Reply-To: <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> References: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> Message-ID: <3d2a5ccc0510261626r456879c0x@mail.gmail.com> If you mean empty string rather than blank then you need 1 tell the table that the field in question CAN be zero length (the default is it can't) and 2 use "" rather than " " in the examples. On 27/10/05, John Ruff wrote: > > Create an update query and in the Update To row of the field to update, > use: > > Iif(isnull(FieldToChange)," ") > > MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! > > John V. Ruff - The Eternal Optimist :-) > > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 2:45 PM > To: 'Accessd (E-mail) > Subject: [AccessD] Null to empty strings > > What is the easiest way to convert all null values in a table to empty > strings? This is a one time conversion. TIA > Jim Hale > -- -- Eoin C. Bair?ad Dublin, Ireland ?th Cliath, ?ire From jwcolby at ColbyConsulting.com Wed Oct 26 18:43:24 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 26 Oct 2005 19:43:24 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <004401c5da84$5e6c20d0$017ba8c0@xpserver> Message-ID: <002001c5da87$0e5b9410$667aa8c0@ColbyM6805> You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Wed Oct 26 19:01:42 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Wed, 26 Oct 2005 19:01:42 -0500 (CDT) Subject: [AccessD] Concatenating fields with same incident number Message-ID: <16388.65.196.182.34.1130371302.squirrel@65.196.182.34> Joe, I just went through something similar to this and what I did was build a couple of recordsets: one to get distinct memo keys from the table and the next recordset uses the memo key to get all rows that match. While looping thru second recordset I stuff the notes into a variable and when the end of that recordset is reached I write to another table with the notekey and the variable into a memo field. Jim I have a table with 2 fields Memo_Key = ##_## ## Memo key is actually a text field but hay.. The first two places refer to a year. The second two digits refer to an incident number for that year Three spaces The last digits refer to a line number in an additional text field Memo_line is the matching text for that line. One incident can have multiple memo lines. If I do a left(Memo_key,5) I can isolate the incident numbers. In rebuilding the database I need to get all the matching memo key items to concatenate into a new memo field. Any body know how I can do it? Thanks Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Download this as a file From jwcolby at ColbyConsulting.com Wed Oct 26 19:18:26 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 26 Oct 2005 20:18:26 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <002001c5da87$0e5b9410$667aa8c0@ColbyM6805> Message-ID: <002301c5da8b$f36eee90$667aa8c0@ColbyM6805> I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 7:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Oct 26 19:54:16 2005 From: john at winhaven.net (John Bartow) Date: Wed, 26 Oct 2005 19:54:16 -0500 Subject: [AccessD] Multiple Currency types In-Reply-To: <25743.65.196.182.34.1129928082.squirrel@65.196.182.34> Message-ID: <009e01c5da90$f50ddf40$6b01a8c0@ScuzzPaq> Jim, Thanks, do you know if there is a conversion table posted with historic rates? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss John, I do a lot of work for corporate finance of a large multinational firm and what we do is save the amount along with the functional currency type. I have a currency conversion table that gets updated from Oracle monthly; the table includes the currency code, the USD conversion rate to foreign currency rate and the foreign currency rate to USD. From john at winhaven.net Wed Oct 26 19:54:16 2005 From: john at winhaven.net (John Bartow) Date: Wed, 26 Oct 2005 19:54:16 -0500 Subject: [AccessD] Multiple Currency types In-Reply-To: Message-ID: <009f01c5da90$f710db30$6b01a8c0@ScuzzPaq> Hi Gustav, Good points. I'm going to use this as a model for what I'm doing. Thanks, John B. PS: Sorry to hear of the EU ruling on Feta. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:38 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Multiple Currency types Hi John The single problem is, of course, that exchange rates vary ... If all you need is the historical cost, the easiest method is to have another field with the USD equivalent of the amount at the date of the transaction. Which exchange rate to use is a question of its own; you probably have an official daily list from your (central) bank in addition to buying and selling rates. And which date to use? That of shipping, delivery, registration, or payment? Here the customs authorities publish another weekly (averaged) list for calculation of duties. You would also need a third field for registration of the currency. Use the official ISO 4217 code (USD, EUR, GBP, etc.): http://www.xe.com/iso4217.htm A source for daily rates is the xe.com Currency Update Service: http://www.xe.com/cus/ A variation of this method is to store the foreign amount, the ISO code, and the exchange rate decided for (which in your case always will be 100 for USD). Then you can always calculate the dollar equivalent. This method, however, violates the normalization rules because the exchange rates will be repeated. Thus you may choose to move the exchange rates to a separate table where you store ISO code Type of exchange rate (official, buying, selling, etc.) Date of exchange rate change Exchange rate This way you can always find any exchange rate used on a specific date by looking up the exchange rate for that currency with the newest "Date of exchange rate change" smaller than (prior to) the specific date. That will allow you to do calculations like "What if those items purchased four months ago charged in Euro were purchased today at equivalent prices?" /gustav >>> john at winhaven.net 21-10-2005 19:38:36 >>> I have a field that is used to retain the historical cost of an item and up to now is has all been in US dollars. Just got one in UK pounds. There's more coming up too. I've never dealt with multiple currency types before. How do you suggest I store different currencies in my table? Do I need one column for amount and one for type of currency or is there a way to do this with formatting, masks, etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 27 00:27:42 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 26 Oct 2005 22:27:42 -0700 Subject: [AccessD] OT: Google Maps API In-Reply-To: <005801c5da65$ea345f20$6401a8c0@fincomplex.spb.ru> Message-ID: <005401c5dab7$279edc40$017ba8c0@xpserver> OT: Google has posted a full API description, with samples, of its Google maps API. (http://www.google.com/apis/maps/documentation ) The only thing you as a user would have to do would be register for an API key. Note that the position within your web site location is very important and can not be moved, once set, hence the use of an iframe to deploy it. See the following detail posted by a disgruntled developer: The most frustrating development with the Google Maps API is that each developer key is limited to a certain hostname and directory. It's sensitive to things like "www.maisonbisson.com" instead of "maisonbisson.com" or "maisonbisson.com/blog/post/10594" instead of "maisonbisson.com/blog/" . That's why this is loading in an iframe. Hope someone will find it useful and be able to add it to their web site or Access application. Jim From accessd at shaw.ca Thu Oct 27 00:42:53 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 26 Oct 2005 22:42:53 -0700 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <002301c5da8b$f36eee90$667aa8c0@ColbyM6805> Message-ID: <005501c5dab9$47669fc0$017ba8c0@xpserver> John it is just as annoying when trying to export data from a legacy DB application and the only capable export methods are text based. And you just know that some record is some field in some table will have a 'quote' mark in it. So queries for all text fields have to be created with the one purpose finding these elusive bugs... It all seems like a long time ago...like last week. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 5:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 7:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Oct 27 01:21:50 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 27 Oct 2005 07:21:50 +0100 Subject: [AccessD] Null to empty strings In-Reply-To: <3d2a5ccc0510261626r456879c0x@mail.gmail.com> Message-ID: <001201c5dabe$b7965010$21b30c54@minster33c3r25> Or you could update the Field to NZ(Field,"") -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Eoin C. Bair?ad > Sent: 27 October 2005 00:27 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Null to empty strings > > > If you mean empty string rather than blank then you need > 1 tell the table that the field in question CAN be zero > length (the default is it can't) and 2 use "" rather than " " > in the examples. > > > > On 27/10/05, John Ruff wrote: > > > > Create an update query and in the Update To row of the field to > > update, > > use: > > > > Iif(isnull(FieldToChange)," ") > > > > MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! > > > > John V. Ruff - The Eternal Optimist :-) > > > > "Commit to the Lord whatever you do, > > and your plans will succeed." Proverbs 16:3 > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > > Sent: Wednesday, October 26, 2005 2:45 PM > > To: 'Accessd (E-mail) > > Subject: [AccessD] Null to empty strings > > > > What is the easiest way to convert all null values in a > table to empty > > strings? This is a one time conversion. TIA Jim Hale > > > From Gustav at cactus.dk Thu Oct 27 02:08:34 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 27 Oct 2005 09:08:34 +0200 Subject: [AccessD] Multiple Currency types Message-ID: Hi John If these rates fit your purpose, here you can pick day by day: http://www.xe.com/ict/ If you need _many_ rates, I have the lists from XE from June 1998 but with DKK as key currency ... /gustav >>> john at winhaven.net 27-10-2005 02:54:16 >>> .. do you know if there is a conversion table posted with historic rates? From jwcolby at ColbyConsulting.com Thu Oct 27 07:52:21 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 08:52:21 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <005501c5dab9$47669fc0$017ba8c0@xpserver> Message-ID: <00cc01c5daf5$48bdfb20$667aa8c0@ColbyM6805> Annoying doesn't even cover it. However when Access PAGE FAULTS over it, THAT is annoying! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 27, 2005 1:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED John it is just as annoying when trying to export data from a legacy DB application and the only capable export methods are text based. And you just know that some record is some field in some table will have a 'quote' mark in it. So queries for all text fields have to be created with the one purpose finding these elusive bugs... It all seems like a long time ago...like last week. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 5:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 7:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Thu Oct 27 08:05:37 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Thu, 27 Oct 2005 08:05:37 -0500 (CDT) Subject: [AccessD] Multiple Currency types In-Reply-To: <009e01c5da90$f50ddf40$6b01a8c0@ScuzzPaq> References: <25743.65.196.182.34.1129928082.squirrel@65.196.182.34> <009e01c5da90$f50ddf40$6b01a8c0@ScuzzPaq> Message-ID: <24037.65.196.182.34.1130418337.squirrel@65.196.182.34> John, I will zip up and email a set that my client has on their web site. I believe that they go back to 2000. Jim > Jim, > Thanks, do you know if there is a conversion table posted with historic > rates? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss > > John, > > I do a lot of work for corporate finance of a large multinational firm and > what we do is save the amount along with the functional currency type. I > have a currency conversion table that gets updated from Oracle monthly; > the > table includes the currency code, the USD conversion rate to foreign > currency rate and the foreign currency rate to USD. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BarbaraRyan at cox.net Thu Oct 27 08:27:27 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Thu, 27 Oct 2005 09:27:27 -0400 Subject: [AccessD] Creating a Project Plan in Access 2002 Message-ID: <002701c5dafa$2d066480$0a00a8c0@cx470148a> I need to create a form (ACC 2002) that will populate a "project plan" table, defined (very basically) as follows: tblProjectPlan PlanDate (e.g., 03/01/05) WorkerType (e.g., "Plumber", "Carpenter", etc) Quantity (e.g., 10) There will be an entry in tblProjectPlan for each PlanDate/WorkerType (Primary Key) The form should be structured so each date in the project (e.g. 03/01/05 - 03/05/05) is a column and each WorkerType is a row. 03/01/05 03/02/05 03/03/05 03/04/05 03/05/05 Plumbers 8 7 6 6 0 Carpenters 3 3 3 3 3 Millwrights 0 0 1 1 0 I was going to use a crosstab query, but realized that it wouldn't be updatable. I was also thinking about creating a table with one record for each date --- the form could show the dates as columns. The WorkerType would be a dropdown box. Once the WorkerType was selected, quantities would be entered for each date. Would this work? Any ideas on creating a project plan in Access 2002? It doesn't have to look exactly like this. Thanks, Barb Ryan From accessd at shaw.ca Thu Oct 27 08:35:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 06:35:25 -0700 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <00cc01c5daf5$48bdfb20$667aa8c0@ColbyM6805> Message-ID: <005c01c5dafb$49a73af0$017ba8c0@xpserver> John, that take annoying to a new level... the MS application actually baling! Now it becomes your responsibility to create and perform the error checking.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 27, 2005 5:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Annoying doesn't even cover it. However when Access PAGE FAULTS over it, THAT is annoying! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 27, 2005 1:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED John it is just as annoying when trying to export data from a legacy DB application and the only capable export methods are text based. And you just know that some record is some field in some table will have a 'quote' mark in it. So queries for all text fields have to be created with the one purpose finding these elusive bugs... It all seems like a long time ago...like last week. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 5:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 7:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Oct 27 08:39:17 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 08:39:17 -0500 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337954@corp-es01.fleetpride.com> OK. How? Jim -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, October 26, 2005 6:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Thu Oct 27 08:41:10 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 06:41:10 -0700 Subject: [AccessD] Creating a Project Plan in Access 2002 In-Reply-To: <002701c5dafa$2d066480$0a00a8c0@cx470148a> Message-ID: <005d01c5dafc$17703310$017ba8c0@xpserver> Hi Barb: It might be better, if you require an updatable form, that you take control of the form contents by using an unbound form and manage the any data changes or additions behind the 'scenes' with code. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Thursday, October 27, 2005 6:27 AM To: Access List Subject: [AccessD] Creating a Project Plan in Access 2002 I need to create a form (ACC 2002) that will populate a "project plan" table, defined (very basically) as follows: tblProjectPlan PlanDate (e.g., 03/01/05) WorkerType (e.g., "Plumber", "Carpenter", etc) Quantity (e.g., 10) There will be an entry in tblProjectPlan for each PlanDate/WorkerType (Primary Key) The form should be structured so each date in the project (e.g. 03/01/05 - 03/05/05) is a column and each WorkerType is a row. 03/01/05 03/02/05 03/03/05 03/04/05 03/05/05 Plumbers 8 7 6 6 0 Carpenters 3 3 3 3 3 Millwrights 0 0 1 1 0 I was going to use a crosstab query, but realized that it wouldn't be updatable. I was also thinking about creating a table with one record for each date --- the form could show the dates as columns. The WorkerType would be a dropdown box. Once the WorkerType was selected, quantities would be entered for each date. Would this work? Any ideas on creating a project plan in Access 2002? It doesn't have to look exactly like this. Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 27 09:00:32 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 10:00:32 -0400 Subject: [AccessD] Meet my kids Message-ID: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> I have posted a new tab up on my web site. You thought that guy in the main page was handsome (or even if you didn't), take a look at my kids! ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Thu Oct 27 09:04:19 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 10:04:19 -0400 Subject: [AccessD] FotoVisionDNN Message-ID: <00ce01c5daff$55fee150$667aa8c0@ColbyM6805> If any of you have taken the bait and put up a DotNetNuke web site, check out FotoVisionDNN, the module I used to put up the photos of the kids on my site. It comes with a client application on your computer to do the organization and upload of the photos to the web site. http://www.bring2mind.net/Downloads/tabid/65/DMXModule/504/Default.aspx?Entr yId=825 You may have to register to get at it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Patricia.O'Connor at otda.state.ny.us Thu Oct 27 09:12:29 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 27 Oct 2005 10:12:29 -0400 Subject: [AccessD] Meet my kids Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551EF0@EXCNYSM0A1AI.nysemail.nyenet> Congratulations - they are very cute Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Thursday, October 27, 2005 10:01 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Meet my kids > > I have posted a new tab up on my web site. You thought that > guy in the main page was handsome (or even if you didn't), > take a look at my kids! ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Oct 27 09:18:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 07:18:34 -0700 Subject: [AccessD] Meet my kids In-Reply-To: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> Message-ID: <005e01c5db01$508e7210$017ba8c0@xpserver> Yes they are cute John. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 27, 2005 7:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Meet my kids I have posted a new tab up on my web site. You thought that guy in the main page was handsome (or even if you didn't), take a look at my kids! ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Thu Oct 27 09:24:47 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 27 Oct 2005 10:24:47 -0400 Subject: [AccessD] Meet my kids In-Reply-To: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> References: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> Message-ID: On 27/10/05, John Colby wrote: > I have posted a new tab up on my web site. You thought that guy in the main > page was handsome (or even if you didn't), take a look at my kids! ;-) Wonderful family John. You have every right to be proud of them!! -- 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 cyx5 at cdc.gov Thu Oct 27 09:43:35 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 27 Oct 2005 10:43:35 -0400 Subject: [AccessD] OT - VB.NET ASP.NET Programmer/Access Message-ID: I am looking for someone in the Pittsburgh area who can come in and do an initial short-term contract to rebuild and existing ASP.net app that is interfacing with an SQL backend. The server on which it resides needs rebuilding - IT is handling that, I need a person to do some work on the existing system and some enhancements. It would be at first, a month. But I have much more work and it could turn into a good opportunity. E me off list to my email if anyone is interested. This is a fantastic company and pays very well. And I am a great boss-lady. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From scapistrant at symphonyinfo.com Thu Oct 27 10:10:07 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 27 Oct 2005 10:10:07 -0500 Subject: [AccessD] VSS misbehaving Message-ID: <855499653F55AD4190B242717DF132BC10BAA9@dewey.Symphony.local> We're having a growing number of problems using Visual Source Safe. Used with Access over the years, it presents occasional problems, not terrible. But our problems have amplified since applying it to .NET projects. 1. When one user creates a new object and checks it in, other users can't see it (after attempting to Get Latest Version). Yet the object is clearly seen in the Source Safe project itself. 2. Adding or deleting an object to a VB.NET project seems to require that the person have the entire project checked out to them (unlike the way it works in Access). Has anyone else encountered these things? If so, are there solutions? Or...if these are just known VSS hassles, do you have any suggestions about other source control solutions that work well with .NET? Thank you! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com From shamil at users.mns.ru Thu Oct 27 10:16:21 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 19:16:21 +0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED References: <6A6AA9DF57E4F046BDA1E273BDDB6772337954@corp-es01.fleetpride.com> Message-ID: <005701c5db09$7a1d0d00$6401a8c0@fincomplex.spb.ru> Jim, This is a feature by design(default(implicit) MS Excel instance creation) + COM inevitable/unavoidable problems (getting GPF sometimes when you quitting MS Access with hanging background default MS Excel instance(s)). If you assume that this is only you who are creating default instances on PC running your programs then you can try to reconnect them explicitly before quitting MS Access and kill/quit them. You can use CreateObject(...) to reconnect to them. Other tricky way to reconnect to them is by using Running Objects Table (ROT) - but it can't be done directly from within VBA. Or I'd better say I have never seen somebody connects to running COM objects(servers) from within VBA using ROT. VBA is getting dead - no any chances MS will do something with that. Moreover when you program using Visual Studio Tools for Office you may get similar problems if you do not call explicitly GC.Collect() after you set to Nothing/null MS Excel/Word objects' references... HTH, Shamil ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 5:39 PM Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > OK. How? > Jim > > -----Original Message----- > From: John Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Wednesday, October 26, 2005 6:43 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > You need to report this one to Microsoft. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Wednesday, October 26, 2005 7:24 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > Hi Jim: > > Excellent deduction. I have been annoyed by that issue for years. Truly a > piece of brilliance. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 8:09 AM > To: 'Accessd (E-mail) > Subject: [AccessD] Preventing Extra Excel instances SOLVED > > As I have commented on several occasions, I've had a pesky problem with > orphan Excel instances that are not destroyed when the program finishes. As > several of you pointed out all object variables must explicitly be set to > nothing. While this cured some cases I have continued to have Excel > instances that refuse to die. I have finally traced the cause to the > following code fragments: > > Public Function UpdateLoan(appXcel As Excel.Application) > Dim rng(1 To 2) As Range > With appXcel > Do While Not IsEmpty(ActiveCell) > ............. > Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > The following code fragments are the culprit: > isEmpty(ActiveCell) and > .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > The code works fine but leaves the Excel instance in memory. a period (.) > before ActiveCell and Cells solves the problem, ie.: > isEmpty(.ActiveCell) > .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) > > Apparently global members of the Excel application object such as ActiveCell > and Cells must be explicitly qualified with the Application object for them > to be properly destroyed when they go out of scope. Even though the program > will run correctly without them being qualified, they are not cleaned up > properly when used this way. Exactly what is happening internally wiser > heads than I may want to comment. > > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Thu Oct 27 10:23:39 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 27 Oct 2005 11:23:39 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FD4@TTNEXCHCL2.hshhp.com> Shamil, Is that garbage collection issue in VSTO documented or are we lucky that you thought to mention it? Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 27, 2005 11:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Jim, This is a feature by design(default(implicit) MS Excel instance creation) + COM inevitable/unavoidable problems (getting GPF sometimes when you quitting MS Access with hanging background default MS Excel instance(s)). If you assume that this is only you who are creating default instances on PC running your programs then you can try to reconnect them explicitly before quitting MS Access and kill/quit them. You can use CreateObject(...) to reconnect to them. Other tricky way to reconnect to them is by using Running Objects Table (ROT) - but it can't be done directly from within VBA. Or I'd better say I have never seen somebody connects to running COM objects(servers) from within VBA using ROT. VBA is getting dead - no any chances MS will do something with that. Moreover when you program using Visual Studio Tools for Office you may get similar problems if you do not call explicitly GC.Collect() after you set to Nothing/null MS Excel/Word objects' references... HTH, Shamil ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 5:39 PM Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > OK. How? > Jim > > -----Original Message----- > From: John Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Wednesday, October 26, 2005 6:43 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > You need to report this one to Microsoft. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Wednesday, October 26, 2005 7:24 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > Hi Jim: > > Excellent deduction. I have been annoyed by that issue for years. Truly a > piece of brilliance. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 8:09 AM > To: 'Accessd (E-mail) > Subject: [AccessD] Preventing Extra Excel instances SOLVED > > As I have commented on several occasions, I've had a pesky problem with > orphan Excel instances that are not destroyed when the program finishes. As > several of you pointed out all object variables must explicitly be set to > nothing. While this cured some cases I have continued to have Excel > instances that refuse to die. I have finally traced the cause to the > following code fragments: > > Public Function UpdateLoan(appXcel As Excel.Application) > Dim rng(1 To 2) As Range > With appXcel > Do While Not IsEmpty(ActiveCell) > ............. > Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > The following code fragments are the culprit: > isEmpty(ActiveCell) and > .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > The code works fine but leaves the Excel instance in memory. a period (.) > before ActiveCell and Cells solves the problem, ie.: > isEmpty(.ActiveCell) > .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) > > Apparently global members of the Excel application object such as ActiveCell > and Cells must be explicitly qualified with the Application object for them > to be properly destroyed when they go out of scope. Even though the program > will run correctly without them being qualified, they are not cleaned up > properly when used this way. Exactly what is happening internally wiser > heads than I may want to comment. > > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Thu Oct 27 10:26:37 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Oct 2005 08:26:37 -0700 Subject: [AccessD] VSS misbehaving Message-ID: We use VSS with .Net in our shop with multiple developers and I don't feel that it's any more trouble than it was in Access ... Usually. The biggest problem we had was with a non-existent object that had once existed and been deleted but it was still referenced in the project file somehow. Once we manually edited the project file, the problem disappeared. The other problem I've seen is that references between projects can occasionally cause an extraneous reference to the current project to be inserted, which then needs deleting before the project is checked back in, since it won't compile otherwise. The approach I use is to select Add-->New Item, which automatically checks out the project. I add a shell form, class, whatever, and check the project back in. Then I check out just the new object and work on it. Another approach might be to create the object outside source safe in another solution and then use Add-->Existing Item to include it in the VSS project. We break our solution up into multiple projects for each part: data, data providers, Nunit tests, Configuration, Reports, UI, etc. That way checking out one project to add an object doesn't create such a hassle for everyone. Once the object is checked into the project, you needn't check the project out again unless you need to add or delete something else. I don't recall the problem of not being able to see a new object, but it is most effective to close all open objects before doing a Get Latest and then do a build or rebuild of the solution. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, October 27, 2005 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] VSS misbehaving We're having a growing number of problems using Visual Source Safe. Used with Access over the years, it presents occasional problems, not terrible. But our problems have amplified since applying it to .NET projects. 1. When one user creates a new object and checks it in, other users can't see it (after attempting to Get Latest Version). Yet the object is clearly seen in the Source Safe project itself. 2. Adding or deleting an object to a VB.NET project seems to require that the person have the entire project checked out to them (unlike the way it works in Access). Has anyone else encountered these things? If so, are there solutions? Or...if these are just known VSS hassles, do you have any suggestions about other source control solutions that work well with .NET? Thank you! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nick at frasiervan.com Thu Oct 27 10:40:45 2005 From: nick at frasiervan.com (Nick) Date: Thu, 27 Oct 2005 10:40:45 -0500 Subject: [AccessD] VSS misbehaving In-Reply-To: <855499653F55AD4190B242717DF132BC10BAA9@dewey.Symphony.local> Message-ID: <000601c5db0c$d221ad00$6600a8c0@NickLaptop> For .Net projects there is a project file, *.csproj for C# or *.vbproj for VB. Two things to look for. First - Add new files both to the *.vbproj file, check it out and check it in, and add the file to VSS. Second - By default the .NET IDE only shows files that are in the vbproj. You can in the solution explorer choose to "view all files" which shows the entire contents, not just what is listed in the vbproj file. You may see the file here if it was not added to the vbproj. Things get a little trickier if you've included the various vss and .Net integration files. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, October 27, 2005 10:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] VSS misbehaving We're having a growing number of problems using Visual Source Safe. Used with Access over the years, it presents occasional problems, not terrible. But our problems have amplified since applying it to .NET projects. 1. When one user creates a new object and checks it in, other users can't see it (after attempting to Get Latest Version). Yet the object is clearly seen in the Source Safe project itself. 2. Adding or deleting an object to a VB.NET project seems to require that the person have the entire project checked out to them (unlike the way it works in Access). Has anyone else encountered these things? If so, are there solutions? Or...if these are just known VSS hassles, do you have any suggestions about other source control solutions that work well with .NET? Thank you! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Oct 27 10:45:40 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 27 Oct 2005 08:45:40 -0700 Subject: [AccessD] Fw: Access Question: Modal Form Question Message-ID: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Dear List: This is from a friend. Any ideas on this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Mike Dwyer" To:Sent: Wednesday, October 26, 2005 6:49 PM Subject: Access Question: Modal Form Question Ok, I know this has been discussed before so here goes again... 1. I have a form that must be opened as a dialog box. 2. This form is called from one or more VB procedures. 3. Before this form goes "Modal" I need to change some values on this form from my VB procedures. 4. While this form is "Modal", all other code must be suspended. My catch 22 is that I need to manipulate this Modal form to change values on it but opening this form as DIALOG causes all code to stop. Opening this form regularly, setting my values, and then setting the form's Modal property doesn't stop my other code from executing. Anybody got a solution? From bchacc at san.rr.com Thu Oct 27 10:49:01 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 27 Oct 2005 08:49:01 -0700 Subject: [AccessD] Meet my kids References: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> Message-ID: <06a201c5db0d$f3ad5d10$6501a8c0@HAL9004> Really changes you life, doesn't it? Completely. Do you have all new friends now? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 7:00 AM Subject: [AccessD] Meet my kids >I have posted a new tab up on my web site. You thought that guy in the >main > page was handsome (or even if you didn't), take a look at my kids! ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Thu Oct 27 11:01:57 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 20:01:57 +0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED References: <08F823FD83787D4BA0B99CA580AD3C74016C3FD4@TTNEXCHCL2.hshhp.com> Message-ID: <002101c5db0f$c70d57e0$6401a8c0@fincomplex.spb.ru> <<< are we lucky that you thought to mention it? >>> We are all unlucky because of these problems - but this is COM heritage and nothing can be done with it except carefully handling it manually in custom code. Have a look at google using e.g. "GC.Collect automation problem" as a search expression. It looks like GC.Collect(), which worked for me because I was rather careful will not always work in general case - Marshal.ReleaseCOMObject(...) could be also needed... Here is KB article, which have a sample Automation code with System.Runtime.InteropServices.Marshal.ReleaseComObject(...) as well as GC.Collect(): http://support.microsoft.com/Default.aspx?kbid=306682 Shamil ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Thursday, October 27, 2005 7:23 PM Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > Shamil, > > Is that garbage collection issue in VSTO documented or are we lucky that you thought to mention it? > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, October 27, 2005 11:16 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > Jim, > > This is a feature by design(default(implicit) MS Excel instance creation) + > COM inevitable/unavoidable problems (getting GPF sometimes when you quitting > MS Access with hanging background default MS Excel instance(s)). > > If you assume that this is only you who are creating default instances on PC > running your programs then you can try to reconnect them explicitly before > quitting MS Access and kill/quit them. You can use CreateObject(...) to > reconnect to them. > > Other tricky way to reconnect to them is by using Running Objects Table > (ROT) - but it can't be done directly from within VBA. Or I'd better say I > have never seen somebody connects to running COM objects(servers) from > within VBA using ROT. > > VBA is getting dead - no any chances MS will do something with that. > > Moreover when you program using Visual Studio Tools for Office you may get > similar problems if you do not call explicitly GC.Collect() after you set to > Nothing/null MS Excel/Word objects' references... > > HTH, > Shamil > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, October 27, 2005 5:39 PM > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > > OK. How? > > Jim > > > > -----Original Message----- > > From: John Colby [mailto:jwcolby at colbyconsulting.com] > > Sent: Wednesday, October 26, 2005 6:43 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > > > > You need to report this one to Microsoft. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > > Sent: Wednesday, October 26, 2005 7:24 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > > > > Hi Jim: > > > > Excellent deduction. I have been annoyed by that issue for years. Truly a > > piece of brilliance. > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > > Sent: Wednesday, October 26, 2005 8:09 AM > > To: 'Accessd (E-mail) > > Subject: [AccessD] Preventing Extra Excel instances SOLVED > > > > As I have commented on several occasions, I've had a pesky problem with > > orphan Excel instances that are not destroyed when the program finishes. > As > > several of you pointed out all object variables must explicitly be set to > > nothing. While this cured some cases I have continued to have Excel > > instances that refuse to die. I have finally traced the cause to the > > following code fragments: > > > > Public Function UpdateLoan(appXcel As Excel.Application) > > Dim rng(1 To 2) As Range > > With appXcel > > Do While Not IsEmpty(ActiveCell) > > ............. > > Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > > > The following code fragments are the culprit: > > isEmpty(ActiveCell) and > > .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > > > The code works fine but leaves the Excel instance in memory. a period (.) > > before ActiveCell and Cells solves the problem, ie.: > > isEmpty(.ActiveCell) > > .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) > > > > Apparently global members of the Excel application object such as > ActiveCell > > and Cells must be explicitly qualified with the Application object for > them > > to be properly destroyed when they go out of scope. Even though the > program > > will run correctly without them being qualified, they are not cleaned up > > properly when used this way. Exactly what is happening internally wiser > > heads than I may want to comment. > > > > Jim Hale > > > > *********************************************************************** > > The information transmitted is intended solely for the individual or > entity > > to which it is addressed and may contain confidential and/or privileged > > material. Any review, retransmission, dissemination or other use of or > > taking action in reliance upon this information by persons or entities > other > > than the intended recipient is prohibited. If you have received this email > > in error please contact the sender and delete the material from any > > computer. As a recipient of this email, you are responsible for screening > > its contents and the contents of any attachments for the presence of > > viruses. No liability is accepted for any damages caused by any virus > > transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > *********************************************************************** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 27 10:58:40 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 11:58:40 -0400 Subject: [AccessD] Meet my kids In-Reply-To: <06a201c5db0d$f3ad5d10$6501a8c0@HAL9004> Message-ID: <000201c5db0f$4f761be0$687aa8c0@ColbyM6805> >Do you have all new friends now? That happened in 1986 when I stopped doing drugs and alcohol. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, October 27, 2005 11:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Meet my kids Really changes you life, doesn't it? Completely. Do you have all new friends now? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 7:00 AM Subject: [AccessD] Meet my kids >I have posted a new tab up on my web site. You thought that guy in the >main > page was handsome (or even if you didn't), take a look at my kids! ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Thu Oct 27 11:05:43 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 27 Oct 2005 12:05:43 -0400 Subject: [AccessD] Fw: Access Question: Modal Form Question In-Reply-To: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Message-ID: <000001c5db10$49bcb230$2e01a8c0@dorismanning> Your friend doesn't say whether he is using an MDB, MDE or ADP. If it is an MDB or an ADP, I would suggest having the code open the form in Design View hidden from the user. Make the necessary changes, close it, and then reopen it as dialog. Doris Manning mikedorism at verizon.net From Lambert.Heenan at AIG.com Thu Oct 27 10:58:36 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 27 Oct 2005 11:58:36 -0400 Subject: [AccessD] Fw: Access Question: Modal Form Question Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF28A7@xlivmbx21.aig.com> Pass in the values that need to change in the OpenForm statement's OpenArgs parameter. Delimit the values with some suitable character and use Split() in the form's Load Event to retrieve the discreet values to plug into the form. In other words, let the form manipulate its own data, not the caller of the form. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, October 27, 2005 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Access Question: Modal Form Question Dear List: This is from a friend. Any ideas on this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Mike Dwyer" To:Sent: Wednesday, October 26, 2005 6:49 PM Subject: Access Question: Modal Form Question Ok, I know this has been discussed before so here goes again... 1. I have a form that must be opened as a dialog box. 2. This form is called from one or more VB procedures. 3. Before this form goes "Modal" I need to change some values on this form from my VB procedures. 4. While this form is "Modal", all other code must be suspended. My catch 22 is that I need to manipulate this Modal form to change values on it but opening this form as DIALOG causes all code to stop. Opening this form regularly, setting my values, and then setting the form's Modal property doesn't stop my other code from executing. Anybody got a solution? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Thu Oct 27 11:12:10 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Thu, 27 Oct 2005 11:12:10 -0500 Subject: [AccessD] Fw: Access Question: Modal Form Question Message-ID: Couple of ideas . . . 1. Pass the values via the OpenArgs of the modal form, and use code in the OnOpen event of the the modal form to push the passed values to their places. Could get ugly parsing the OpenArgs if there are lots of values to manipulate. 2. Push the values from the calling procedure to global variables and read them on open of the modal form. Haven't tried any of these, but that's where I'd start playing . . . -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, October 27, 2005 8:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Access Question: Modal Form Question Dear List: This is from a friend. Any ideas on this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Mike Dwyer" To:Sent: Wednesday, October 26, 2005 6:49 PM Subject: Access Question: Modal Form Question Ok, I know this has been discussed before so here goes again... 1. I have a form that must be opened as a dialog box. 2. This form is called from one or more VB procedures. 3. Before this form goes "Modal" I need to change some values on this form from my VB procedures. 4. While this form is "Modal", all other code must be suspended. My catch 22 is that I need to manipulate this Modal form to change values on it but opening this form as DIALOG causes all code to stop. Opening this form regularly, setting my values, and then setting the form's Modal property doesn't stop my other code from executing. Anybody got a solution? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Oct 27 11:22:09 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 20:22:09 +0400 Subject: [AccessD] Fw: Access Question: Modal Form Question References: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Message-ID: <003301c5db12$a6f70cf0$6401a8c0@fincomplex.spb.ru> Rocky, There could be many ways to solve this task: - why not just use OpenArgs parameter of DoCmd.OpenForm statement, parse these parameters in Form's Open event procedure using Split(...) function and set needed values ? (simplest approach) Shamil ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, October 27, 2005 7:45 PM Subject: [AccessD] Fw: Access Question: Modal Form Question > Dear List: > > This is from a friend. Any ideas on this? > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "Mike Dwyer" > To:Sent: Wednesday, October 26, 2005 6:49 PM > Subject: Access Question: Modal Form Question > > > Ok, I know this has been discussed before so here goes again... > > 1. I have a form that must be opened as a dialog box. > 2. This form is called from one or more VB procedures. > 3. Before this form goes "Modal" I need to change some values on this > form from my VB procedures. > > 4. While this form is "Modal", all other code must be suspended. > > My catch 22 is that I need to manipulate this Modal form to change > values on it but opening this form as DIALOG causes all code to stop. > Opening this form regularly, setting my values, and then setting the > form's Modal property doesn't stop my other code from executing. > > Anybody got a solution? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From KIsmert at texassystems.com Thu Oct 27 11:40:01 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Thu, 27 Oct 2005 11:40:01 -0500 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: >>Even though the program will run correctly without >>them being qualified, they are not cleaned up properly >>when used this way. Exactly what is happening >>internally wiser heads than I may want to comment. Jim: Well, I'm not claiming to be a wiser head (usually the other end of me is called wise), but what I think might be going on is this: 1) You create an instance of Excel via automation, and call it appXcel. 2) When you implicitly reference the Excel application (use ActiveCell unqualified), VBA actually creates another object reference to the Excel application under the hood (in other words, a clone of appXcel). VBA compiles an unqualified ActiveCell reference into [_Xcel].ActiveCell, where [_Xcel] is a hidden object variable retrieved using GetObject(), which hopefully finds your EXCEL.EXE automation instance, also pointed to by appXcel. What happens if you have other instances of Excel open is anyone's guess. 3) When you try to shut down your instance, this extra reference prevents it from terminating, because the rules of object scope in COM state that an object lives as long as there is at least one reference is pointing to it. So, this might be a "by-design" feature of VBA, where it is trying to be too clever in interpreting your code, and inadvertantly causing problems later. But your advice is sound: Always qualify all calls to an automation application using the application reference you have created. In this example, always use appXcel.ActiveCell, or With appXcel, when working with that application's object model. Good work. -Ken From Mike.W.Gowey at doc.state.or.us Thu Oct 27 11:41:29 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 27 Oct 2005 10:41:29 -0600 Subject: [AccessD] Pull Most recent date Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B89C@srciml1.ds.doc.state.or.us> I'm having a brain freeze and need some help. I am trying write a query that will pull a customers orders and only show me the one that has the most recent order date. TIA for the help /Mike From shamil at users.mns.ru Thu Oct 27 12:09:16 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 21:09:16 +0400 Subject: [AccessD] Pull Most recent date References: <05EBB8A3BEB95B4F8216BE4EF48607780579B89C@srciml1.ds.doc.state.or.us> Message-ID: <001301c5db19$2af6a640$6401a8c0@fincomplex.spb.ru> MS Access 2003: ============== SELECT * FROM tblOrders as X WHERE (OrderDate = (SELECT Max(OrderDate) AS MostRecentDate FROM tblOrders as Y WHERE (X.CustomerId = Y.CustomerId) )) HTH, Shamil ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Thursday, October 27, 2005 8:41 PM Subject: [AccessD] Pull Most recent date > > I'm having a brain freeze and need some help. I am trying write a query > that will pull a customers orders and only show me the one that has the > most recent order date. > > TIA for the help > > /Mike > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Thu Oct 27 12:05:36 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 27 Oct 2005 11:05:36 -0600 Subject: [AccessD] Pull Most recent date Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B89F@srciml1.ds.doc.state.or.us> Thank you very much Shamil, I knew it wouldn't be hard -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, October 27, 2005 11:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pull Most recent date MS Access 2003: ============== SELECT * FROM tblOrders as X WHERE (OrderDate = (SELECT Max(OrderDate) AS MostRecentDate FROM tblOrders as Y WHERE (X.CustomerId = Y.CustomerId) )) HTH, Shamil ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Thursday, October 27, 2005 8:41 PM Subject: [AccessD] Pull Most recent date > > I'm having a brain freeze and need some help. I am trying write a query > that will pull a customers orders and only show me the one that has the > most recent order date. > > TIA for the help > > /Mike > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Oct 27 12:43:09 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 12:43:09 -0500 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337955@corp-es01.fleetpride.com> Weird and unnatural random acts of destruction, which is what has made me desperate to drive a stake in this puppy's heart. Your explanation makes sense, thanks. Jim Hale -----Original Message----- From: Ken Ismert [mailto:KIsmert at texassystems.com] Sent: Thursday, October 27, 2005 11:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED >>Even though the program will run correctly without >>them being qualified, they are not cleaned up properly >>when used this way. Exactly what is happening >>internally wiser heads than I may want to comment. Jim: Well, I'm not claiming to be a wiser head (usually the other end of me is called wise), but what I think might be going on is this: 1) You create an instance of Excel via automation, and call it appXcel. 2) When you implicitly reference the Excel application (use ActiveCell unqualified), VBA actually creates another object reference to the Excel application under the hood (in other words, a clone of appXcel). VBA compiles an unqualified ActiveCell reference into [_Xcel].ActiveCell, where [_Xcel] is a hidden object variable retrieved using GetObject(), which hopefully finds your EXCEL.EXE automation instance, also pointed to by appXcel. What happens if you have other instances of Excel open is anyone's guess. 3) When you try to shut down your instance, this extra reference prevents it from terminating, because the rules of object scope in COM state that an object lives as long as there is at least one reference is pointing to it. So, this might be a "by-design" feature of VBA, where it is trying to be too clever in interpreting your code, and inadvertantly causing problems later. But your advice is sound: Always qualify all calls to an automation application using the application reference you have created. In this example, always use appXcel.ActiveCell, or With appXcel, when working with that application's object model. Good work. -Ken -- *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From andy at minstersystems.co.uk Thu Oct 27 12:59:02 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 27 Oct 2005 18:59:02 +0100 Subject: [AccessD] Fw: Access Question: Modal Form Question In-Reply-To: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Message-ID: <002701c5db20$1ea36bb0$21b30c54@minster33c3r25> I reckon he should think in terms of the dialog form's OnOpen pulling values from the calling form rather than the calling form populating the dialog. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 27 October 2005 16:46 > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: Access Question: Modal Form Question > > > Dear List: > > This is from a friend. Any ideas on this? > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "Mike Dwyer" > To:Sent: Wednesday, October 26, 2005 6:49 PM > Subject: Access Question: Modal Form Question > > > Ok, I know this has been discussed before so here goes again... > > 1. I have a form that must be opened as a dialog box. > 2. This form is called from one or more VB procedures. > 3. Before this form goes "Modal" I need to change some > values on this form from my VB procedures. > > 4. While this form is "Modal", all other code must be suspended. > > My catch 22 is that I need to manipulate this Modal form to > change values on it but opening this form as DIALOG causes > all code to stop. Opening this form regularly, setting my > values, and then setting the form's Modal property doesn't > stop my other code from executing. > > Anybody got a solution? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jwcolby at ColbyConsulting.com Thu Oct 27 13:14:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 14:14:13 -0400 Subject: [AccessD] Update query broke Message-ID: <000f01c5db22$3c22c5d0$687aa8c0@ColbyM6805> I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Jim.Hale at FleetPride.com Thu Oct 27 13:20:24 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 13:20:24 -0500 Subject: [AccessD] Update query broke Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337956@corp-es01.fleetpride.com> Look for spaces in front or behind of Address in the linked file. HTH Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Update query broke I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From mikedorism at verizon.net Thu Oct 27 13:23:00 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 27 Oct 2005 14:23:00 -0400 Subject: [AccessD] Update query broke In-Reply-To: <000f01c5db22$3c22c5d0$687aa8c0@ColbyM6805> Message-ID: <000101c5db23$77569b30$2e01a8c0@dorismanning> The brackets around Address are the problem. They make Access think this is an internal parameter. Try it without them. Doris Manning mikedorism at verizon.net From adtp at touchtelindia.net Thu Oct 27 13:34:57 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 28 Oct 2005 00:04:57 +0530 Subject: [AccessD] Fw: Access Question: Modal Form Question References: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Message-ID: <007b01c5db25$34b8b400$be0565cb@winxp> Rocky, A work-around is available, almost like having the cake and eat it too. Following course of action is suggested. In the main form (say F_Normal), put a public subroutine (say P_FillModal()), incorporating all the actions that you wish to be performed after opening the pop-up modal form (say F_Modal). In load event of the modal form, call the above subroutine via sample syntax given below. Forms("F_Normal").P_FillModal Caution: In the procedure P_FillModal() on form F_Normal, if any statement involves reference to this form itself, avoid use of Me qualifier. Instead use the full syntax as follows Forms("F_Normal") Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Thursday, October 27, 2005 21:15 Subject: [AccessD] Fw: Access Question: Modal Form Question Dear List: This is from a friend. Any ideas on this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Mike Dwyer" To:Sent: Wednesday, October 26, 2005 6:49 PM Subject: Access Question: Modal Form Question Ok, I know this has been discussed before so here goes again... 1. I have a form that must be opened as a dialog box. 2. This form is called from one or more VB procedures. 3. Before this form goes "Modal" I need to change some values on this form from my VB procedures. 4. While this form is "Modal", all other code must be suspended. My catch 22 is that I need to manipulate this Modal form to change values on it but opening this form as DIALOG causes all code to stop. Opening this form regularly, setting my values, and then setting the form's Modal property doesn't stop my other code from executing. Anybody got a solution? From martyconnelly at shaw.ca Thu Oct 27 13:38:17 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 27 Oct 2005 11:38:17 -0700 Subject: [AccessD] OT: Google Maps API References: <005401c5dab7$279edc40$017ba8c0@xpserver> Message-ID: <43611E99.4020408@shaw.ca> Here is how to use Access SmartTags to get at Google Maps. You don't need an API key, You will have to experiment with what you put in the Text Field, to get the correct map Here is a simple method for using Access Smart Tags to display either Google maps or weather given a zip code. if you need it for certain european areas just add or pop the (Text } address field comma seperated via a http post web service it takes two minutes to add this to an Access Mdb Turnoff MS Word Access or Outlook, that may have the smatrtag engine open Make sure that all Microsoft Office XP or Office 2003 applications are closed. Cut and Paste these two xml files below with NotePad into indicated paths and save as UTF-8 format not ANSI. Now in Access Select the Tools -> Options... menu to open the Options dialog window. Select the "Forms/Reports" tab, then ensure that the "Show Smart Tags on Forms" check box on the bottom left of the window is checked. Select the "Datasheet" tab, then ensure that the "Show Smart Tags on Datasheets" check box on the bottom right of the window is checked. Select the "OK" button to save your changes. Choose Tools: AutoCorrect Options. These also may have certain smarttag options Now on your form in design view select the zip code fileld and embed the smarttag by right clicking on the smarttag field property to build it, the wizard comes up and places the following type of urn in the property "urn:schemas-microsoft-com:smarttags:list" The wizard looks at the dll's and xml files in C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\ Hover your mouse pointer over the form zip code field, click the Smart Tag Actions button, and then click Weather by ZIP code. or google map, An IE window will now open with your google map. To link the Customer Name field to the Smart Tag, follow these steps: # Open the client database table in Design View. # Select the Customer Name field row. # Click the Builder button next to the Smart Tags field property in the field properties window. # Click the People check box and click OK. Now, when the customer service representative uses the form to look up a client, a Smart Tag icon will appear next to the client's name. By clicking on the Smart Tag's icon drop-down box, the representative can add the client to his/her Outlook contacts, send the client an e-mail, or schedule a meeting with the client. http://techrepublic.com.com/5100-10877_11-5875431.html?tag=sc Cut and Paste these two xml files below with NotePad into indicated paths and save as UTF-8 format not ANSI. C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\GoogleMap.xml Local Map Your local map report on Google http://msdn.microsoft.com/office Local Map on Google 98052,02134 Map by ZIP code http://maps.google.com/maps?q={TEXT} C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\weather.xml Local Weather Your local weather report on MSNBC. http://msdn.microsoft.com/office Local Weather on MSNBC 98052,02134 Weather by ZIP code http://www.msnbc.com/news/wea_front.asp?ta=y& tab=BW&tp=&czstr={TEXT} Jim Lawrence wrote: >OT: > >Google has posted a full API description, with samples, of its Google maps >API. (http://www.google.com/apis/maps/documentation ) The only thing you as >a user would have to do would be register for an API key. Note that the >position within your web site location is very important and can not be >moved, once set, hence the use of an iframe to deploy it. See the following >detail posted by a disgruntled developer: > > >The most frustrating development with the Google Maps API is that each >developer key is limited to a certain hostname and directory. It's sensitive >to things like "www.maisonbisson.com" instead of "maisonbisson.com" or >"maisonbisson.com/blog/post/10594" instead of "maisonbisson.com/blog/" . >That's why this is loading in an iframe. > > >Hope someone will find it useful and be able to add it to their web site or >Access application. > >Jim > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at ColbyConsulting.com Thu Oct 27 13:48:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 14:48:10 -0400 Subject: [AccessD] Update query broke In-Reply-To: <000101c5db23$77569b30$2e01a8c0@dorismanning> Message-ID: <001401c5db26$fd433ed0$687aa8c0@ColbyM6805> The brackets need to be there in order to tell Access that the object is a field in the query. If I remove the brackets, Access places quotes around it and try to update the field with the word "Address" (not good). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, October 27, 2005 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke The brackets around Address are the problem. They make Access think this is an internal parameter. Try it without them. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 27 13:59:48 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 14:59:48 -0400 Subject: [AccessD] Update query broke In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337956@corp-es01.fleetpride.com> Message-ID: <001801c5db28$9a930bb0$687aa8c0@ColbyM6805> That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 27, 2005 2:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke Look for spaces in front or behind of Address in the linked file. HTH Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Update query broke I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Thu Oct 27 14:01:26 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 27 Oct 2005 15:01:26 -0400 Subject: [AccessD] Update query broke Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551EF3@EXCNYSM0A1AI.nysemail.nyenet> Try putting the name of the linked text file before the address Like TEXTFLE.ADDRESS Or [TEXTFILE].[ADDRESS] Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Thursday, October 27, 2005 02:14 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Update query broke > > I am trying to build an update query. I linked a text file, > link that to tblMember on SSN, link that to another table > tblFamily by PK/FK, pull out a field from the tblFamily and > try to update it from data in a field in the linked text file. > > In the updateto area of the query I place [Address] which is > the name of the address field in the linked text file. > > The query pops up a dialog asking for the value of [Address], > as if there is no such address in the linked text file. > > I have only done this a million times before, but this time > it doesn't work. > Any suggestions short of random acts of violence? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Patricia.O'Connor at otda.state.ny.us Thu Oct 27 14:08:54 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 27 Oct 2005 15:08:54 -0400 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551EF4@EXCNYSM0A1AI.nysemail.nyenet> Congratulation Rocky Nice looking site Thanks for all your help through the years Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: Wednesday, October 26, 2005 01:20 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally > got a product. The Sleep Advisor most of you are aware of. > For those who might not be, it is a program, an expert system > really, that diagnoses sleep disorders and gives a > personalized program of remedies and recommendations to > address them. > > This milestone in both of our professional careers is due in > no small measure to the selfless help I have been given by > members of this list for at least ten years, guiding me > through and outright solving many tough (for me) problems in > many applications over that time. > > More specifically, I have been given help on numerous Sleep > Advisor problems by many of you and especially I am grateful > to the generous efforts of A.D. Tejpal who simply would not > give up when presented with a thorny problem that had me beat. > > I would also like to acknowledge all those who volunteered to > be beta testers. Accumulating enough beta tests to prove > that the product worked was the critical last step. Several > hundred were required. But we're finally confident in the > accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who > wants to look at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jim.Hale at FleetPride.com Thu Oct 27 14:09:16 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 14:09:16 -0500 Subject: [AccessD] Update query broke Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337958@corp-es01.fleetpride.com> Yea, I always pull linked data first into a mirror image Access table before doing any kind of manipulation. Has saved me many headaches over the years. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 2:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 27, 2005 2:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke Look for spaces in front or behind of Address in the linked file. HTH Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Update query broke I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Oct 27 14:10:56 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 14:10:56 -0500 Subject: [AccessD] Null to empty strings Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337959@corp-es01.fleetpride.com> This worked, thanks. a PIA to write the SQL (the table had mucho fields) but it worked. Jim Hale -----Original Message----- From: John Ruff [mailto:papparuff at comcast.net] Sent: Wednesday, October 26, 2005 6:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Null to empty strings Create an update query and in the Update To row of the field to update, use: Iif(isnull(FieldToChange)," ") MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 2:45 PM To: 'Accessd (E-mail) Subject: [AccessD] Null to empty strings What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Oct 27 14:12:22 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 14:12:22 -0500 Subject: [AccessD] Null to empty strings Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233795A@corp-es01.fleetpride.com> I lied. I decided this was not a one time event after all so I created a query with iif stmts. Thanks for the help Jim Hale -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, October 26, 2005 6:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Null to empty strings Jim, Back up table In an select query Select the field you want to flip 2 times Criteria = "is null" Run query and be sure that's what you want and expect to see. If not play with that until it is what you want. When select returns correct criteria change to update query It will add a line to QBE grid that says change to Change to " " Run query. HTH Joe If it is ok -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 3:45 PM To: 'Accessd (E-mail) Subject: [AccessD] Null to empty strings What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at ColbyConsulting.com Thu Oct 27 14:14:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 15:14:10 -0400 Subject: [AccessD] Update query broke In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337958@corp-es01.fleetpride.com> Message-ID: <001d01c5db2a$9c3ed500$687aa8c0@ColbyM6805> Yea, I'm about to do that now. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 27, 2005 3:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke Yea, I always pull linked data first into a mirror image Access table before doing any kind of manipulation. Has saved me many headaches over the years. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 2:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cfoust at infostatsystems.com Thu Oct 27 14:29:54 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Oct 2005 12:29:54 -0700 Subject: [AccessD] Update query broke Message-ID: I didn't think it was possible to do that in a linked text file, John, because it doesn't have a primary key. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 27, 2005 12:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 27, 2005 2:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke Look for spaces in front or behind of Address in the linked file. HTH Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Update query broke I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Oct 27 14:39:30 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 27 Oct 2005 12:39:30 -0700 Subject: [AccessD] Fw: Access Question: Modal Form Question References: <000001c5db10$49bcb230$2e01a8c0@dorismanning> Message-ID: <085701c5db2e$268d7330$6501a8c0@HAL9004> Thanks. Forwarded. Rocky ----- Original Message ----- From: "Mike & Doris Manning" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 9:05 AM Subject: Re: [AccessD] Fw: Access Question: Modal Form Question > Your friend doesn't say whether he is using an MDB, MDE or ADP. If it is > an > MDB or an ADP, I would suggest having the code open the form in Design > View > hidden from the user. Make the necessary changes, close it, and then > reopen > it as dialog. > > Doris Manning > mikedorism at verizon.net > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Thu Oct 27 15:29:01 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 27 Oct 2005 13:29:01 -0700 Subject: [AccessD] Fw: Access Question: Modal Form Question References: <000001c5db10$49bcb230$2e01a8c0@dorismanning> <085701c5db2e$268d7330$6501a8c0@HAL9004> Message-ID: <08db01c5db35$11066ab0$6501a8c0@HAL9004> Thanks to everyone who replied. The moderator's holding my emails because of too many recipients. Guess I can't copy someone on an AccessD email. FYI, my friend went with the global variable solution. Rocky > > ----- Original Message ----- > From: "Mike & Doris Manning" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, October 27, 2005 9:05 AM > Subject: Re: [AccessD] Fw: Access Question: Modal Form Question > > >> Your friend doesn't say whether he is using an MDB, MDE or ADP. If it is >> an >> MDB or an ADP, I would suggest having the code open the form in Design >> View >> hidden from the user. Make the necessary changes, close it, and then >> reopen >> it as dialog. >> >> Doris Manning >> mikedorism at verizon.net >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dba.email at gmail.com Thu Oct 27 16:12:03 2005 From: dba.email at gmail.com (Admin Sparky) Date: Thu, 27 Oct 2005 17:12:03 -0400 Subject: [AccessD] Non-updateable Queries Message-ID: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> Group, Please comment on the table structure noted below. I chose this particular scheme because locations are the least likely to change and are forming the cornerstone of an Access-AutoCAD application. My problem concerning data updates is that equipment is most easily identifiable with a person, not a location. But, a non-updateable recordset occurs when these tables are combined in a query. So...what is an acceptable method of approaching this situation? |--tblLocPers---tblPersonnel | |--tblLocPC-----tblPCs tblLocations--| |--tblLocMon----tblMonitors | |--tblLocPrntr--tblPrinters Mark From martyconnelly at shaw.ca Thu Oct 27 16:26:39 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 27 Oct 2005 14:26:39 -0700 Subject: [AccessD] Non-updateable Queries References: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> Message-ID: <4361460F.5050608@shaw.ca> Maybe have a look at this data model for ideas and it's associated business rules. http://www.databaseanswers.org/data_models/inventory_of_servers_in_wyoming/index.htm There are a couple hundred here too. http://www.databaseanswers.org/data_models/index.htm Admin Sparky wrote: > > Group, > Please comment on the table structure noted below. I chose this particular >scheme because locations are the least likely to change and are forming the >cornerstone of an Access-AutoCAD application. My problem concerning data >updates is that equipment is most easily identifiable with a person, not a >location. But, a non-updateable recordset occurs when these tables are >combined in a query. So...what is an acceptable method of approaching this >situation? > |--tblLocPers---tblPersonnel > | > |--tblLocPC-----tblPCs >tblLocations--| > |--tblLocMon----tblMonitors > | > |--tblLocPrntr--tblPrinters > Mark > > -- Marty Connelly Victoria, B.C. Canada From dba.email at gmail.com Thu Oct 27 16:39:08 2005 From: dba.email at gmail.com (Admin Sparky) Date: Thu, 27 Oct 2005 17:39:08 -0400 Subject: [AccessD] Non-updateable Queries In-Reply-To: <4361460F.5050608@shaw.ca> References: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> <4361460F.5050608@shaw.ca> Message-ID: <5f2de2420510271439s6ded818p47b228311502d518@mail.gmail.com> Based on what I saw, it appears there is nothing inherently wrong with how I've normalized the data. However, my question seems to be...now that I have this data so nicely normalized, how can I query it in a meaningful way so as to be able to update the data? Ideally, the data entry person would like to see a list of people along with their equipment and location, then be able to change any portion of the information as reassignments occur. Mark On 10/27/05, MartyConnelly wrote: > > Maybe have a look at this data model for ideas and it's associated > business rules. > > http://www.databaseanswers.org/data_models/inventory_of_servers_in_wyoming/index.htm > > There are a couple hundred here too. > http://www.databaseanswers.org/data_models/index.htm > > Admin Sparky wrote: > > > > > Group, > > Please comment on the table structure noted below. I chose this > particular > >scheme because locations are the least likely to change and are forming > the > >cornerstone of an Access-AutoCAD application. My problem concerning data > >updates is that equipment is most easily identifiable with a person, not > a > >location. But, a non-updateable recordset occurs when these tables are > >combined in a query. So...what is an acceptable method of approaching > this > >situation? > > |--tblLocPers---tblPersonnel > > | > > |--tblLocPC-----tblPCs > >tblLocations--| > > |--tblLocMon----tblMonitors > > | > > |--tblLocPrntr--tblPrinters > > Mark > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Thu Oct 27 17:19:28 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 27 Oct 2005 18:19:28 -0400 Subject: [AccessD] Fw: Access Question: Modal Form Question In-Reply-To: <08db01c5db35$11066ab0$6501a8c0@HAL9004> References: <000001c5db10$49bcb230$2e01a8c0@dorismanning> <085701c5db2e$268d7330$6501a8c0@HAL9004> <08db01c5db35$11066ab0$6501a8c0@HAL9004> Message-ID: On 27/10/05, Rocky Smolin - Beach Access Software wrote: > Thanks to everyone who replied. The moderator's holding my emails because > of too many recipients. Guess I can't copy someone on an AccessD email. The moderator's aren't holding the post Rocky. The software does that automatically based on certain criteria. I will look into why it was held. -- 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 Thu Oct 27 17:31:11 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 15:31:11 -0700 Subject: [AccessD] VSS misbehaving In-Reply-To: <855499653F55AD4190B242717DF132BC10BAA9@dewey.Symphony.local> Message-ID: <006d01c5db46$22840c00$017ba8c0@xpserver> Hi Steve: I was working with SourceSafe on a computer in which .Net had been recently installed and similar problems started to happen. Subsequently, I attempted to install TeamServer services, the heir apparent piece of MS software. That failed as there were a number of other configurations that would have been necessary to accomplish the task. (It would have required that one of the main Servers would have to be re-installed and that was not going to happen as it had taken three weeks to initially get a completely clean-boot.) We finally went with an open source Linux product called Subversion and all the projects are now backed up through that method. It is not perfect especially if you simultaneously try to working on the same piece of code but with care it is a very cheap substitute. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, October 27, 2005 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] VSS misbehaving We're having a growing number of problems using Visual Source Safe. Used with Access over the years, it presents occasional problems, not terrible. But our problems have amplified since applying it to .NET projects. 1. When one user creates a new object and checks it in, other users can't see it (after attempting to Get Latest Version). Yet the object is clearly seen in the Source Safe project itself. 2. Adding or deleting an object to a VB.NET project seems to require that the person have the entire project checked out to them (unlike the way it works in Access). Has anyone else encountered these things? If so, are there solutions? Or...if these are just known VSS hassles, do you have any suggestions about other source control solutions that work well with .NET? Thank you! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 27 18:02:51 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 16:02:51 -0700 Subject: [AccessD] OT: Google Maps API In-Reply-To: <43611E99.4020408@shaw.ca> Message-ID: <006e01c5db4a$8e8c4f30$017ba8c0@xpserver> That is absolutely amazing Marty. Where did you come up with that gem as I had been scouting around and nothing similar was uncovered? This will definitely come in useful. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, October 27, 2005 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Google Maps API Here is how to use Access SmartTags to get at Google Maps. You don't need an API key, You will have to experiment with what you put in the Text Field, to get the correct map Here is a simple method for using Access Smart Tags to display either Google maps or weather given a zip code. if you need it for certain european areas just add or pop the (Text } address field comma seperated via a http post web service it takes two minutes to add this to an Access Mdb Turnoff MS Word Access or Outlook, that may have the smatrtag engine open Make sure that all Microsoft Office XP or Office 2003 applications are closed. Cut and Paste these two xml files below with NotePad into indicated paths and save as UTF-8 format not ANSI. Now in Access Select the Tools -> Options... menu to open the Options dialog window. Select the "Forms/Reports" tab, then ensure that the "Show Smart Tags on Forms" check box on the bottom left of the window is checked. Select the "Datasheet" tab, then ensure that the "Show Smart Tags on Datasheets" check box on the bottom right of the window is checked. Select the "OK" button to save your changes. Choose Tools: AutoCorrect Options. These also may have certain smarttag options Now on your form in design view select the zip code fileld and embed the smarttag by right clicking on the smarttag field property to build it, the wizard comes up and places the following type of urn in the property "urn:schemas-microsoft-com:smarttags:list" The wizard looks at the dll's and xml files in C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\ Hover your mouse pointer over the form zip code field, click the Smart Tag Actions button, and then click Weather by ZIP code. or google map, An IE window will now open with your google map. To link the Customer Name field to the Smart Tag, follow these steps: # Open the client database table in Design View. # Select the Customer Name field row. # Click the Builder button next to the Smart Tags field property in the field properties window. # Click the People check box and click OK. Now, when the customer service representative uses the form to look up a client, a Smart Tag icon will appear next to the client's name. By clicking on the Smart Tag's icon drop-down box, the representative can add the client to his/her Outlook contacts, send the client an e-mail, or schedule a meeting with the client. http://techrepublic.com.com/5100-10877_11-5875431.html?tag=sc Cut and Paste these two xml files below with NotePad into indicated paths and save as UTF-8 format not ANSI. C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\GoogleMap.xml Local Map Your local map report on Google http://msdn.microsoft.com/office Local Map on Google 98052,02134 Map by ZIP code http://maps.google.com/maps?q={TEXT} C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\weather.xml Local Weather Your local weather report on MSNBC. http://msdn.microsoft.com/office Local Weather on MSNBC 98052,02134 Weather by ZIP code http://www.msnbc.com/news/wea_front.asp?ta=y& tab=BW&tp=&czstr={TEXT} Jim Lawrence wrote: >OT: > >Google has posted a full API description, with samples, of its Google maps >API. (http://www.google.com/apis/maps/documentation ) The only thing you as >a user would have to do would be register for an API key. Note that the >position within your web site location is very important and can not be >moved, once set, hence the use of an iframe to deploy it. See the following >detail posted by a disgruntled developer: > > >The most frustrating development with the Google Maps API is that each >developer key is limited to a certain hostname and directory. It's sensitive >to things like "www.maisonbisson.com" instead of "maisonbisson.com" or >"maisonbisson.com/blog/post/10594" instead of "maisonbisson.com/blog/" . >That's why this is loading in an iframe. > > >Hope someone will find it useful and be able to add it to their web site or >Access application. > >Jim > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Oct 27 18:31:53 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 27 Oct 2005 16:31:53 -0700 Subject: [AccessD] Non-updateable Queries References: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> <4361460F.5050608@shaw.ca> <5f2de2420510271439s6ded818p47b228311502d518@mail.gmail.com> Message-ID: <43616369.4010808@shaw.ca> It could be many things so here is a checklist How to troubleshoot errors that may occur when you update data in Access queries and in Access forms http://support.microsoft.com/default.aspx?scid=kb;en-us;328828 Also Have a look at the sample mdb's here especially update and query ones http://www.rogersaccesslibrary.com/TableOfContents3.asp Some other things Basically, the query is non-updateable if there are many-to-many or many-to-one relationships represented in the output. Access (actually SQL in general) can't do updates in that case because it means that it would be trying to update multiple rows in one or more of the underlying tables for each of the individual rows that you are trying to update in your form. If your SQL includes some functions that modify the data that's in one or more of the tables (e.g., the Left$'s) that too would make the resulting recordset non-updateable since there's no way for Access (or SQL) to accept changes to a field that is the result of a function. To be updateable, all output from the query(ies) must be the original fields without modification, calculation, concatenation, etc. Trying to do a 1-to-many-to-1 join in the query, this produces unique records, but access seems to dislike this approach and makes the recordset non updateable. Admin Sparky wrote: >Based on what I saw, it appears there is nothing inherently wrong with how >I've normalized the data. However, my question seems to be...now that I have >this data so nicely normalized, how can I query it in a meaningful way so as >to be able to update the data? Ideally, the data entry person would like to >see a list of people along with their equipment and location, then be able >to change any portion of the information as reassignments occur. > Mark > > > On 10/27/05, MartyConnelly wrote: > > >>Maybe have a look at this data model for ideas and it's associated >>business rules. >> >>http://www.databaseanswers.org/data_models/inventory_of_servers_in_wyoming/index.htm >> >>There are a couple hundred here too. >>http://www.databaseanswers.org/data_models/index.htm >> >>Admin Sparky wrote: >> >> >> >>> >>>Group, >>>Please comment on the table structure noted below. I chose this >>> >>> >>particular >> >> >>>scheme because locations are the least likely to change and are forming >>> >>> >>the >> >> >>>cornerstone of an Access-AutoCAD application. My problem concerning data >>>updates is that equipment is most easily identifiable with a person, not >>> >>> >>a >> >> >>>location. But, a non-updateable recordset occurs when these tables are >>>combined in a query. So...what is an acceptable method of approaching >>> >>> >>this >> >> >>>situation? >>>|--tblLocPers---tblPersonnel >>>| >>>|--tblLocPC-----tblPCs >>>tblLocations--| >>>|--tblLocMon----tblMonitors >>>| >>>|--tblLocPrntr--tblPrinters >>>Mark >>> >>> >>> >>> >>- >> -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Oct 27 18:54:59 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 27 Oct 2005 16:54:59 -0700 Subject: [AccessD] OT: Google Maps API References: <006e01c5db4a$8e8c4f30$017ba8c0@xpserver> Message-ID: <436168D3.1080502@shaw.ca> I got the basic idea for Google from the TechRepublic article, knowing basic xml it was easy to modify. It may not get you as accurate location as buying into something like MapBlast that might charge 3 cents a map. but it is free, I don't know how long google will allow this method though. I think you could get this to work with xmlhttp and an IE popup window But both methods are more like screen scraping then a true webservice. I wouldn't consider it truely stable Jim Lawrence wrote: >That is absolutely amazing Marty. > >Where did you come up with that gem as I had been scouting around and >nothing similar was uncovered? > >This will definitely come in useful. >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, October 27, 2005 11:38 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Google Maps API > >Here is how to use Access SmartTags to get at Google Maps. > >You don't need an API key, You will have to experiment with what you >put in the Text Field, to get the correct map > >Here is a simple method for using Access Smart Tags to display either >Google maps or weather given a zip code. > >if you need it for certain european areas just add or pop the (Text } >address field comma seperated >via a http post web service it takes two minutes to add this to an >Access Mdb > >Turnoff MS Word Access or Outlook, that may have the smatrtag engine open >Make sure that all Microsoft Office XP or Office 2003 applications are >closed. > >Cut and Paste these two xml files below with NotePad into indicated >paths and save as UTF-8 format not ANSI. > >Now in Access >Select the Tools -> Options... menu to open the Options dialog window. >Select the "Forms/Reports" tab, then ensure that the "Show Smart Tags on >Forms" check box on the bottom left of the window is checked. Select the >"Datasheet" tab, then ensure that the "Show Smart Tags on Datasheets" check >box on the bottom right of the window is checked. > >Select the "OK" button to save your changes. > >Choose Tools: AutoCorrect Options. These also may have certain smarttag >options > >Now on your form in design view select the zip code fileld and embed the >smarttag by right clicking on the smarttag field property >to build it, the wizard comes up and places the following type of urn in >the property "urn:schemas-microsoft-com:smarttags:list" >The wizard looks at the dll's and xml files in C:\Program Files\Common >Files\Microsoft Shared\Smart Tag\LISTS\ > > >Hover your mouse pointer over the form zip code field, click the Smart >Tag Actions button, and then click Weather by ZIP code. >or google map, An IE window will now open with your google map. > >To link the Customer Name field to the Smart Tag, follow these steps: > > # Open the client database table in Design View. > # Select the Customer Name field row. > # Click the Builder button next to the Smart Tags field property in >the field properties window. > # Click the People check box and click OK. > >Now, when the customer service representative uses the form to look up a >client, a Smart Tag icon will appear next to the client's name. By >clicking on the Smart Tag's icon drop-down box, the representative can >add the client to his/her Outlook contacts, send the client an e-mail, >or schedule a meeting with the client. >http://techrepublic.com.com/5100-10877_11-5875431.html?tag=sc > > >Cut and Paste these two xml files below with NotePad into indicated >paths and save as UTF-8 format not ANSI. > >C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\GoogleMap.xml > > > Local Map > Your local map report on Google > http://msdn.microsoft.com/office > > Local Map on Google > > 98052,02134 > > > > Map by ZIP code > http://maps.google.com/maps?q={TEXT} > > > > > >C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\weather.xml > > > Local Weather > Your local weather report on MSNBC. > http://msdn.microsoft.com/office > > Local Weather on MSNBC > > 98052,02134 > > > > Weather by ZIP code > >http://www.msnbc.com/news/wea_front.asp?ta=y& > tab=BW&tp=&czstr={TEXT} > > > > > > >Jim Lawrence wrote: > > > >>OT: >> >>Google has posted a full API description, with samples, of its Google maps >>API. (http://www.google.com/apis/maps/documentation ) The only thing you as >>a user would have to do would be register for an API key. Note that the >>position within your web site location is very important and can not be >>moved, once set, hence the use of an iframe to deploy it. See the following >>detail posted by a disgruntled developer: >> >> >>The most frustrating development with the Google Maps API is that each >>developer key is limited to a certain hostname and directory. It's >> >> >sensitive > > >>to things like "www.maisonbisson.com" instead of "maisonbisson.com" or >>"maisonbisson.com/blog/post/10594" instead of "maisonbisson.com/blog/" . >>That's why this is loading in an iframe. >> >> >>Hope someone will find it useful and be able to add it to their web site or >>Access application. >> >>Jim >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at ColbyConsulting.com Thu Oct 27 22:54:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 23:54:23 -0400 Subject: [AccessD] Is anyone migrating data? Message-ID: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From shamil at users.mns.ru Fri Oct 28 04:18:35 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 28 Oct 2005 13:18:35 +0400 Subject: [AccessD] Is anyone migrating data? References: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: <003a01c5dba0$b2615260$6401a8c0@fincomplex.spb.ru> > In the end I will have a little program that pulls each record and applies > the queries in the order they are in the table, such that the process is > "push button" (with luck) and the client can do it themselves. John, I did do it like that - table driven data import and transformation - many times - one example: - importing data into MS Access 2.0/97 database from text files exported from mainframe. The source data were rather "dirty". The whole process of import worked sometimes more than an hour - there were around 300+ data transformation queries, quite some tricky code, sometimes hundreds of thousands source rows to import of AFAIKR 50+ or more source record types etc. It worked OK, without any problems on MS Access 97. So I guess for you if you use MS Access XP or 2003 it should work even better and quicker. Do you expect any tough tasks to solve or ...? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 28, 2005 7:54 AM Subject: [AccessD] Is anyone migrating data? > I am right in the middle of a data migration job. I am building a simple > two table (so far) tool to assist me in organizing the data migration. This > will be a recurring migration, fairly complex. The client hired people to > build the system and get the data migrated once but that developer did not > document the process, nor save the queries etc. Thus I am having to learn > the whole process from scratch using the "sit with the client and ask > questions" method. They want it documented this time naturally. > > I have migrated many different databases over the years but mostly the > migrations were "one-shot" migrations designed to get the data from > denormalized tables in to a new system I was building to replace the old > system. In this case, the old system will stay (mostly) with the same data > having to be imported every month, or quarter - something like that. > > The tool is pretty simple, just a form to list the table names, in the order > the tables need to be migrated, and some attributes to describe what that > step is doing, then a child table to hold the query / SQL statement / code > to run to migrate the data into that table. Anyone who has done this stuff > knows that the process is usually order sensitive in terms of which tables > get migrated when, and also the order that the queries are run for any given > table. My objective is just to document the table / order / requirement / > data source, plus the queries / order used for each table, with comments. > In the end I will have a little program that pulls each record and applies > the queries in the order they are in the table, such that the process is > "push button" (with luck) and the client can do it themselves. > Documentation will be in the comments in the table and can be pulled into a > report. > > If anyone else is doing this kind of stuff and wishes to collaborate with > me, contact me offline. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dba.email at gmail.com Fri Oct 28 07:30:01 2005 From: dba.email at gmail.com (Admin Sparky) Date: Fri, 28 Oct 2005 08:30:01 -0400 Subject: [AccessD] Non-updateable Queries In-Reply-To: <43616369.4010808@shaw.ca> References: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> <4361460F.5050608@shaw.ca> <5f2de2420510271439s6ded818p47b228311502d518@mail.gmail.com> <43616369.4010808@shaw.ca> Message-ID: <5f2de2420510280530q736dd8b7qc117891bb0e24b61@mail.gmail.com> Perhaps my skills at "Asking the right question" have diminished over the years;) I really appreciate your feedback Marty, however my question must have been worded poorly. I understand what a non-updatebale query is, and the causes. What I was hoping for, was an idea on how others have approached this type of situation in trying to make life easier for the data entry person. What I was envisioning was a single form that contained one area dedicated to showing the data from the combined non-updatebale query, and several other areas (subforms or separate pop-up forms?) where updates "can" be made to the data...with each update refreshing the "main" (non-updatebale) view. Mark On 10/27/05, MartyConnelly wrote: > > It could be many things so here is a checklist > > How to troubleshoot errors that may occur when you update data in Access > queries and in Access forms > > http://support.microsoft.com/default.aspx?scid=kb;en-us;328828 > > Also Have a look at the sample mdb's here especially update and query ones > > http://www.rogersaccesslibrary.com/TableOfContents3.asp > > Some other things > > Basically, the query is non-updateable if there are many-to-many or > many-to-one relationships represented in the output. Access (actually SQL > in general) can't do updates in that case because it means that it would > be > trying to update multiple rows in one or more of the underlying tables for > each of the individual rows that you are trying to update in your form. > > If your SQL includes some functions that modify the > data that's in one or more of the tables (e.g., the Left$'s) > that too would make the resulting recordset non-updateable since there's > no > way for Access (or SQL) to accept changes to a field that is the result > of a > function. > > To be updateable, all output from the query(ies) must be the original > fields > without modification, calculation, concatenation, etc. > > Trying to do a 1-to-many-to-1 join in the query, this produces unique > records, but > access seems to dislike this approach and makes the recordset non > updateable. > > Admin Sparky wrote: > > >Based on what I saw, it appears there is nothing inherently wrong with > how > >I've normalized the data. However, my question seems to be...now that I > have > >this data so nicely normalized, how can I query it in a meaningful way so > as > >to be able to update the data? Ideally, the data entry person would like > to > >see a list of people along with their equipment and location, then be > able > >to change any portion of the information as reassignments occur. > > Mark > > > > > > On 10/27/05, MartyConnelly wrote: > > > > > >>Maybe have a look at this data model for ideas and it's associated > >>business rules. > >> > >> > http://www.databaseanswers.org/data_models/inventory_of_servers_in_wyoming/index.htm > >> > >>There are a couple hundred here too. > >>http://www.databaseanswers.org/data_models/index.htm > >> > >>Admin Sparky wrote: > >> > >> > >> > >>> > >>>Group, > >>>Please comment on the table structure noted below. I chose this > >>> > >>> > >>particular > >> > >> > >>>scheme because locations are the least likely to change and are forming > >>> > >>> > >>the > >> > >> > >>>cornerstone of an Access-AutoCAD application. My problem concerning > data > >>>updates is that equipment is most easily identifiable with a person, > not > >>> > >>> > >>a > >> > >> > >>>location. But, a non-updateable recordset occurs when these tables are > >>>combined in a query. So...what is an acceptable method of approaching > >>> > >>> > >>this > >> > >> > >>>situation? > >>>|--tblLocPers---tblPersonnel > >>>| > >>>|--tblLocPC-----tblPCs > >>>tblLocations--| > >>>|--tblLocMon----tblMonitors > >>>| > >>>|--tblLocPrntr--tblPrinters > >>>Mark > >>> > >>> > >>> > >>> > >>- > >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Oct 28 07:32:38 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 28 Oct 2005 05:32:38 -0700 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: <009801c5dbbb$aee61a10$017ba8c0@xpserver> Hi John: You seem to have to process well in hand so I doubt if there is anything that I could help you with. (Data migration has always been my strong suit.) Traditionally, I am leery of having clients managing data importing as it can lead to a lot of extra work; maybe not a bad thing, from the developers perspective but some clients take it very personally, when errors are brought to their attention and costs are spiraling up. Cleaning up dirty data can be very time consuming. Here are my ten commandments, steps for data importing and I invite any comments for improvement. 1. Clean up the basic dirty data at the legacy database end. This type of data is mostly blank or unfinished records. Most of that work can and should be done by the client. This would be a good spot for your routines. 2. Pull all the raw data into tables in the destination database in the same table layout as the source structure. This will require a set of basic import queries or DTS routines. Save these import queries for later. 3. With the clients help, create the definitive table and relational structure of the new database; the schema. 4. Build a set of Queries that will create and remove the KEYS and Relationships. Separate the Create and Remove queries into two groups and save for later. 5. Build the queries that will extract the data from the raw tables and manipulate the data into it final structures. Start with just SELECT queries. Watch for duplications where there should not be any like 'two customers with the same id'. These issues may have to be handled at the legacy data end as the client has to be made aware. 6. Populate the root tables first; i.e. Inventory table as their new keys will be used to generate the complex and compound table; i.e. Invoice table. 7. Some custom tables may have to be created at this point that will hold new unique data that will be used in conjunction with the import routines; i.e. accounting or ledger codes. 8. When the SELECT statements are finally manipulating the raw data into the correct form it is time to replace the SELECT statement with the INSERT statement or add the INSERT statement. Be sure to remove all the KEYS and RELATIONSHIPS before testing the data importing as it can slow things dramatically. 9. When the raw data imports cleanly, the queries that created the keys and relationships can be used. Steps 4 to 7 may have to be repeated a few times until the results are clean. 10. Now it is time to create the master import form or procedure. When run the following process will take place: a.) All tables will be cleared, keys and relationships removed. b.) The raw import queries will be ran populating the raw tables. c.) The queries that import the data from the raw to the destination tables will be run, in order, from simple tables (ones with one key) to the complex tables (ones with multiple indexes or foreign keys). d.) The queries that will add the keys and relationships will then be run. When this process can run with just one button the job is complete. Time to go and create all the forms and reports. This is my two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 27, 2005 8:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Oct 28 08:29:54 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 15:29:54 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav From Jdemarco at hudsonhealthplan.org Fri Oct 28 08:41:34 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 09:41:34 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FEA@TTNEXCHCL2.hshhp.com> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jimdettman at earthlink.net Fri Oct 28 09:03:15 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 28 Oct 2005 14:03:15 -0000 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Oct 28 09:04:01 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 28 Oct 2005 14:04:01 -0000 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: If you have SQL Server, don't discount using DTS either. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Oct 28 09:11:52 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:11:52 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: Message-ID: <003f01c5dbc9$8b7e5930$687aa8c0@ColbyM6805> I do, but they don't. This needs to be in Access so that they can move it around at will. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 26, 2005 9:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? If you have SQL Server, don't discount using DTS either. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 28 09:19:33 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 28 Oct 2005 09:19:33 -0500 Subject: [AccessD] Is anyone migrating data? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233795E@corp-es01.fleetpride.com> Monarch is great for extracting data from reports. It has an object model that allows you to automate data extraction from inside Access. I do things like download bank stmts from the internet and parse them into Access tables. Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 26, 2005 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at ColbyConsulting.com Fri Oct 28 09:28:45 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:28:45 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233795E@corp-es01.fleetpride.com> Message-ID: <009101c5dbcb$ea853690$687aa8c0@ColbyM6805> My client - DIS - uses monarch. It is really cool, nay amazing, and a PITA at the same time. I have not been allowed at the keyboard so I can't say exactly, but we were just unable to get some things to work the way we needed, so the process is "do this in monarch", now go do this in Access. And of course they are unwilling to buy the programming interface that would allow me to drive it from Access. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, October 28, 2005 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? Monarch is great for extracting data from reports. It has an object model that allows you to automate data extraction from inside Access. I do things like download bank stmts from the internet and parse them into Access tables. Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 26, 2005 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 28 09:35:27 2005 From: john at winhaven.net (John Bartow) Date: Fri, 28 Oct 2005 09:35:27 -0500 Subject: [AccessD] Is anyone migrating data? In-Reply-To: Message-ID: <00ef01c5dbcc$d77ecd30$6b01a8c0@ScuzzPaq> Ditto -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. From john at winhaven.net Fri Oct 28 09:35:27 2005 From: john at winhaven.net (John Bartow) Date: Fri, 28 Oct 2005 09:35:27 -0500 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: <00f001c5dbcc$d806c1e0$6b01a8c0@ScuzzPaq> Did a project (as a sub-contractor) like that a few years ago - Access 97 and Oracle. Must have done it very well because when I ask the main contractor about it they say "still using it, they love it." The whole time I'm writing it I'm thinking "why don't they just keep all the data in Oracle all the time and use an Access front end for what this particular department wants to do?" I guess sometimes the politics of IT control are more important than efficiency. BTW this client had a larger budget than any other client I have ever worked for. They could have afforded to do it more sensibly. John B. From Gustav at cactus.dk Fri Oct 28 09:42:01 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 16:42:01 +0200 Subject: [AccessD] Update query broke Message-ID: Hi John Without your SQL I guess you have some joins. Replace these with .. IN ( .. ) or .. NOT IN ( .. ) constructs. For very large tables that may too slow. If so, create a temp table with the selected output, then use this to update the other tables. /gustav >>> jwcolby at ColbyConsulting.com 27-10-2005 20:59:48 >>> That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby From word_diva at hotmail.com Fri Oct 28 09:44:26 2005 From: word_diva at hotmail.com (Nancy Lytle) Date: Fri, 28 Oct 2005 10:44:26 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <009101c5dbcb$ea853690$687aa8c0@ColbyM6805> Message-ID: I have used Monarch in the past also, and you said it so well, its a real "Wonder", sometimes it is so cool I wonder how it works, and other times I couldn't figure out how to get it to do what I wanted, and I wondered how the h*ll it worked! Almost all the migration I have done has involved cleaning old data outside of Access (usually in Excel, as that is where most of the migration is coming from), linking or importing the old data into a database with the structure already in place, that part is usually phase one and is on one side of a form, with one button to push, that runs all the importing, then another button to run all the queries that manipulate the data and append it to the "new" structure tables, already set up to run in the needed order. The users I have dealt with prefer not to know (I do however document everything for them with a list of the order in which everything is run) but to just push a button or two and have everything done. Nancy Lytle N_Lytle at terpalum.umd.edu >From: John Colby >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Is anyone migrating data? >Date: Fri, 28 Oct 2005 10:28:45 -0400 > >My client - DIS - uses monarch. It is really cool, nay amazing, and a PITA >at the same time. I have not been allowed at the keyboard so I can't say >exactly, but we were just unable to get some things to work the way we >needed, so the process is "do this in monarch", now go do this in Access. >And of course they are unwilling to buy the programming interface that >would >allow me to drive it from Access. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Friday, October 28, 2005 10:20 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Is anyone migrating data? > > >Monarch is great for extracting data from reports. It has an object model >that allows you to automate data extraction from inside Access. I do things >like download bank stmts from the internet and parse them into Access >tables. Jim Hale > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Monday, September 26, 2005 8:59 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Is anyone migrating data? > > > > I've used Data Junction for years to do all my migration stuff. >Especially >for some of the stranger database formats. Good product. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby >Sent: Thursday, October 27, 2005 11:54 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Is anyone migrating data? > > >I am right in the middle of a data migration job. I am building a simple >two table (so far) tool to assist me in organizing the data migration. >This >will be a recurring migration, fairly complex. The client hired people to >build the system and get the data migrated once but that developer did not >document the process, nor save the queries etc. Thus I am having to learn >the whole process from scratch using the "sit with the client and ask >questions" method. They want it documented this time naturally. > >I have migrated many different databases over the years but mostly the >migrations were "one-shot" migrations designed to get the data from >denormalized tables in to a new system I was building to replace the old >system. In this case, the old system will stay (mostly) with the same data >having to be imported every month, or quarter - something like that. > >The tool is pretty simple, just a form to list the table names, in the >order >the tables need to be migrated, and some attributes to describe what that >step is doing, then a child table to hold the query / SQL statement / code >to run to migrate the data into that table. Anyone who has done this stuff >knows that the process is usually order sensitive in terms of which tables >get migrated when, and also the order that the queries are run for any >given >table. My objective is just to document the table / order / requirement / >data source, plus the queries / order used for each table, with comments. >In >the end I will have a little program that pulls each record and applies the >queries in the order they are in the table, such that the process is "push >button" (with luck) and the client can do it themselves. Documentation will >be in the comments in the table and can be pulled into a report. > >If anyone else is doing this kind of stuff and wishes to collaborate with >me, contact me offline. > >*********************************************************************** >The information transmitted is intended solely for the individual or entity >to which it is addressed and may contain confidential and/or privileged >material. Any review, retransmission, dissemination or other use of or >taking action in reliance upon this information by persons or entities >other >than the intended recipient is prohibited. If you have received this email >in error please contact the sender and delete the material from any >computer. As a recipient of this email, you are responsible for screening >its contents and the contents of any attachments for the presence of >viruses. No liability is accepted for any damages caused by any virus >transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Fri Oct 28 09:44:05 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Fri, 28 Oct 2005 09:44:05 -0500 (CDT) Subject: [AccessD] Is anyone migrating data? In-Reply-To: <009101c5dbcb$ea853690$687aa8c0@ColbyM6805> References: <6A6AA9DF57E4F046BDA1E273BDDB677233795E@corp-es01.fleetpride.com> <009101c5dbcb$ea853690$687aa8c0@ColbyM6805> Message-ID: <56166.65.196.182.34.1130510645.squirrel@65.196.182.34> John, What version of Monarch are they using? I am doing automation in v6 standard that requires the pro edition in v8. My client is adding a lot of users so I'm converting my projects, etc to v8 because that's what they can buy. If you need any examples let me know. Jim > My client - DIS - uses monarch. It is really cool, nay amazing, and a > PITA > at the same time. I have not been allowed at the keyboard so I can't say > exactly, but we were just unable to get some things to work the way we > needed, so the process is "do this in monarch", now go do this in Access. > And of course they are unwilling to buy the programming interface that > would > allow me to drive it from Access. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Friday, October 28, 2005 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Is anyone migrating data? > > > Monarch is great for extracting data from reports. It has an object model > that allows you to automate data extraction from inside Access. I do > things > like download bank stmts from the internet and parse them into Access > tables. Jim Hale > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at earthlink.net] > Sent: Monday, September 26, 2005 8:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Is anyone migrating data? > > > > I've used Data Junction for years to do all my migration stuff. > Especially > for some of the stranger database formats. Good product. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Thursday, October 27, 2005 11:54 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Is anyone migrating data? > > > I am right in the middle of a data migration job. I am building a simple > two table (so far) tool to assist me in organizing the data migration. > This > will be a recurring migration, fairly complex. The client hired people to > build the system and get the data migrated once but that developer did not > document the process, nor save the queries etc. Thus I am having to learn > the whole process from scratch using the "sit with the client and ask > questions" method. They want it documented this time naturally. > > I have migrated many different databases over the years but mostly the > migrations were "one-shot" migrations designed to get the data from > denormalized tables in to a new system I was building to replace the old > system. In this case, the old system will stay (mostly) with the same > data > having to be imported every month, or quarter - something like that. > > The tool is pretty simple, just a form to list the table names, in the > order > the tables need to be migrated, and some attributes to describe what that > step is doing, then a child table to hold the query / SQL statement / code > to run to migrate the data into that table. Anyone who has done this > stuff > knows that the process is usually order sensitive in terms of which tables > get migrated when, and also the order that the queries are run for any > given > table. My objective is just to document the table / order / requirement / > data source, plus the queries / order used for each table, with comments. > In > the end I will have a little program that pulls each record and applies > the > queries in the order they are in the table, such that the process is "push > button" (with luck) and the client can do it themselves. Documentation > will > be in the comments in the table and can be pulled into a report. > > If anyone else is doing this kind of stuff and wishes to collaborate with > me, contact me offline. > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities > other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Oct 28 09:49:32 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 16:49:32 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav From jwcolby at ColbyConsulting.com Fri Oct 28 09:50:44 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:50:44 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <00f001c5dbcc$d806c1e0$6b01a8c0@ScuzzPaq> Message-ID: <009701c5dbce$f9532990$687aa8c0@ColbyM6805> This client analyzes parts repair for the US Navy, specifically pieces of aircrafts for three repair depots. They get a large (denormalized) table from the Navy with each part, information about the part, the repair depot, costs to repair, repair cycle times, order cycle times, how many are on order and quantities in the order or repair process etc. - all in one table. Their task is to analyze the whole process, determine which are being repaired but aren't needed because they have plenty on hand, which they shouldn't even be ordering because they have plenty on hand, which they SHOULD be ordering / repairing etc. This application is already written, but the person who migrated the data the first time did not document or save the process. Now they need to load up new (recent) data and don't know how. This firm is a consulting firm, who just takes the data, massages it to get it into a form they can deal with, then analyzes it and sends reports to someone in the NAVY. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 28, 2005 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? Did a project (as a sub-contractor) like that a few years ago - Access 97 and Oracle. Must have done it very well because when I ask the main contractor about it they say "still using it, they love it." The whole time I'm writing it I'm thinking "why don't they just keep all the data in Oracle all the time and use an Access front end for what this particular department wants to do?" I guess sometimes the politics of IT control are more important than efficiency. BTW this client had a larger budget than any other client I have ever worked for. They could have afforded to do it more sensibly. John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Oct 28 09:57:09 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:57:09 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: Message-ID: <009a01c5dbcf$df178160$687aa8c0@ColbyM6805> >The users I have dealt with prefer not to know (I do however document everything for them with a list of the order in which everything is run) but to just push a button or two and have everything done. Yea, these guys don't want to know either. However they DO want it documented. They got burned the first time when the developer got their data in but didn't document how, nor save the queries / sequence. I think to be fair, they were in a hurry the first time and it was kind of a "test case" to demo that they could do it. Thus now they have proved that they can and need to set up the processes to make it repeatable. So now they are paying to have data migrated again. Further they will need to have it done on a periodic basis, so it definitely has to be "push button". An additional requirement seems to be that the whole process sit side by side with the main application, on a laptop somewhere. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Friday, October 28, 2005 10:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Is anyone migrating data? I have used Monarch in the past also, and you said it so well, its a real "Wonder", sometimes it is so cool I wonder how it works, and other times I couldn't figure out how to get it to do what I wanted, and I wondered how the h*ll it worked! Almost all the migration I have done has involved cleaning old data outside of Access (usually in Excel, as that is where most of the migration is coming from), linking or importing the old data into a database with the structure already in place, that part is usually phase one and is on one side of a form, with one button to push, that runs all the importing, then another button to run all the queries that manipulate the data and append it to the "new" structure tables, already set up to run in the needed order. The users I have dealt with prefer not to know (I do however document everything for them with a list of the order in which everything is run) but to just push a button or two and have everything done. Nancy Lytle N_Lytle at terpalum.umd.edu >From: John Colby >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Is anyone migrating data? >Date: Fri, 28 Oct 2005 10:28:45 -0400 > >My client - DIS - uses monarch. It is really cool, nay amazing, and a >PITA at the same time. I have not been allowed at the keyboard so I >can't say exactly, but we were just unable to get some things to work >the way we needed, so the process is "do this in monarch", now go do >this in Access. And of course they are unwilling to buy the programming >interface that would allow me to drive it from Access. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Friday, October 28, 2005 10:20 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Is anyone migrating data? > > >Monarch is great for extracting data from reports. It has an object >model that allows you to automate data extraction from inside Access. I >do things like download bank stmts from the internet and parse them >into Access tables. Jim Hale > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Monday, September 26, 2005 8:59 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Is anyone migrating data? > > > > I've used Data Junction for years to do all my migration stuff. >Especially >for some of the stranger database formats. Good product. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby >Sent: Thursday, October 27, 2005 11:54 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Is anyone migrating data? > > >I am right in the middle of a data migration job. I am building a >simple two table (so far) tool to assist me in organizing the data migration. >This >will be a recurring migration, fairly complex. The client hired people to >build the system and get the data migrated once but that developer did not >document the process, nor save the queries etc. Thus I am having to learn >the whole process from scratch using the "sit with the client and ask >questions" method. They want it documented this time naturally. > >I have migrated many different databases over the years but mostly the >migrations were "one-shot" migrations designed to get the data from >denormalized tables in to a new system I was building to replace the >old system. In this case, the old system will stay (mostly) with the >same data having to be imported every month, or quarter - something >like that. > >The tool is pretty simple, just a form to list the table names, in the >order >the tables need to be migrated, and some attributes to describe what that >step is doing, then a child table to hold the query / SQL statement / code >to run to migrate the data into that table. Anyone who has done this stuff >knows that the process is usually order sensitive in terms of which tables >get migrated when, and also the order that the queries are run for any >given >table. My objective is just to document the table / order / requirement / >data source, plus the queries / order used for each table, with comments. >In >the end I will have a little program that pulls each record and applies the >queries in the order they are in the table, such that the process is "push >button" (with luck) and the client can do it themselves. Documentation will >be in the comments in the table and can be pulled into a report. > >If anyone else is doing this kind of stuff and wishes to collaborate >with me, contact me offline. > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or other >use of or taking action in reliance upon this information by persons or >entities other than the intended recipient is prohibited. If you have >received this email in error please contact the sender and delete the >material from any computer. As a recipient of this email, you are >responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Fri Oct 28 09:59:46 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:59:46 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <56166.65.196.182.34.1130510645.squirrel@65.196.182.34> Message-ID: <009b01c5dbd0$3cbee0b0$687aa8c0@ColbyM6805> No idea what version. So far it has been pretty simple stuff. Take existing mainframe reports which have been exported to a text file and extract pieces out to a table. One other thing they do with it is to move data between Access and QuickBooks. The client is happy with what they have so I don't push. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss Sent: Friday, October 28, 2005 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? John, What version of Monarch are they using? I am doing automation in v6 standard that requires the pro edition in v8. My client is adding a lot of users so I'm converting my projects, etc to v8 because that's what they can buy. If you need any examples let me know. Jim > My client - DIS - uses monarch. It is really cool, nay amazing, and a > PITA at the same time. I have not been allowed at the keyboard so I > can't say exactly, but we were just unable to get some things to work > the way we needed, so the process is "do this in monarch", now go do > this in Access. And of course they are unwilling to buy the > programming interface that would > allow me to drive it from Access. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Friday, October 28, 2005 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Is anyone migrating data? > > > Monarch is great for extracting data from reports. It has an object > model that allows you to automate data extraction from inside Access. > I do things like download bank stmts from the internet and parse them > into Access tables. Jim Hale > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at earthlink.net] > Sent: Monday, September 26, 2005 8:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Is anyone migrating data? > > > > I've used Data Junction for years to do all my migration stuff. > Especially for some of the stranger database formats. Good product. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Thursday, October 27, 2005 11:54 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Is anyone migrating data? > > > I am right in the middle of a data migration job. I am building a > simple two table (so far) tool to assist me in organizing the data > migration. This will be a recurring migration, fairly complex. The > client hired people to build the system and get the data migrated once > but that developer did not document the process, nor save the queries > etc. Thus I am having to learn the whole process from scratch using > the "sit with the client and ask questions" method. They want it > documented this time naturally. > > I have migrated many different databases over the years but mostly the > migrations were "one-shot" migrations designed to get the data from > denormalized tables in to a new system I was building to replace the > old system. In this case, the old system will stay (mostly) with the > same data having to be imported every month, or quarter - something > like that. > > The tool is pretty simple, just a form to list the table names, in the > order the tables need to be migrated, and some attributes to describe > what that step is doing, then a child table to hold the query / SQL > statement / code to run to migrate the data into that table. Anyone > who has done this stuff > knows that the process is usually order sensitive in terms of which tables > get migrated when, and also the order that the queries are run for any > given > table. My objective is just to document the table / order / requirement / > data source, plus the queries / order used for each table, with comments. > In > the end I will have a little program that pulls each record and applies > the > queries in the order they are in the table, such that the process is "push > button" (with luck) and the client can do it themselves. Documentation > will > be in the comments in the table and can be pulled into a report. > > If anyone else is doing this kind of stuff and wishes to collaborate > with me, contact me offline. > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities > other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 28 09:58:54 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 28 Oct 2005 09:58:54 -0500 Subject: [AccessD] Is anyone migrating data? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337960@corp-es01.fleetpride.com> My recollection is that the vba type libray is included with Monarch professional so only an upgrade from Monarch standard is required. The only annoying thing I've found is that there is no visible property so you see everything Monarch is doing and you can't hide it. When you are downloading 160 bank stmts this becomes a PIA. During processing the computer cannot be used for anything else. I am running 6.01 professional so this may have been fixed in the latest release (v 8) -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, October 28, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? My client - DIS - uses monarch. It is really cool, nay amazing, and a PITA at the same time. I have not been allowed at the keyboard so I can't say exactly, but we were just unable to get some things to work the way we needed, so the process is "do this in monarch", now go do this in Access. And of course they are unwilling to buy the programming interface that would allow me to drive it from Access. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, October 28, 2005 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? Monarch is great for extracting data from reports. It has an object model that allows you to automate data extraction from inside Access. I do things like download bank stmts from the internet and parse them into Access tables. Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 26, 2005 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. Jim. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Fri Oct 28 10:06:11 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Oct 2005 08:06:11 -0700 Subject: [AccessD] Update query broke Message-ID: IN is faster than NOT IN because it doesn't have to search the entire list every time. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 7:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update query broke Hi John Without your SQL I guess you have some joins. Replace these with .. IN ( .. ) or .. NOT IN ( .. ) constructs. For very large tables that may too slow. If so, create a temp table with the selected output, then use this to update the other tables. /gustav >>> jwcolby at ColbyConsulting.com 27-10-2005 20:59:48 >>> That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 28 10:10:52 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 28 Oct 2005 10:10:52 -0500 Subject: [AccessD] Is anyone migrating data? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337962@corp-es01.fleetpride.com> What ODBC driver are they using to move data from Quickbooks to Access? All the ones I've seen are extremely slooow. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, October 28, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? No idea what version. So far it has been pretty simple stuff. Take existing mainframe reports which have been exported to a text file and extract pieces out to a table. One other thing they do with it is to move data between Access and QuickBooks. The client is happy with what they have so I don't push. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss Sent: Friday, October 28, 2005 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? John, What version of Monarch are they using? I am doing automation in v6 standard that requires the pro edition in v8. My client is adding a lot of users so I'm converting my projects, etc to v8 because that's what they can buy. If you need any examples let me know. Jim > My client - DIS - uses monarch. It is really cool, nay amazing, and a > PITA at the same time. I have not been allowed at the keyboard so I > can't say exactly, but we were just unable to get some things to work > the way we needed, so the process is "do this in monarch", now go do > this in Access. And of course they are unwilling to buy the > programming interface that would > allow me to drive it from Access. > *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jdemarco at hudsonhealthplan.org Fri Oct 28 10:47:16 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 11:47:16 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FF6@TTNEXCHCL2.hshhp.com> Yes if you want it in a DLL (or you'll at least need a class that uses your standard modules; these will provide the public interface to the DLL). Think about every built-in VBA oject you use. All stored in classes in various DLLs within Office (hence "object"). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 10:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From john at winhaven.net Fri Oct 28 10:52:36 2005 From: john at winhaven.net (John Bartow) Date: Fri, 28 Oct 2005 10:52:36 -0500 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <009701c5dbce$f9532990$687aa8c0@ColbyM6805> Message-ID: <010701c5dbd7$9e340cb0$6b01a8c0@ScuzzPaq> It sounds like a necessary method that your working on. My app was used by the same organization as the IT staff and on the same network the Oracle DB was connected too. Oh well, it was good money :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 28, 2005 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? This client analyzes parts repair for the US Navy, specifically pieces of aircrafts for three repair depots. They get a large (denormalized) table from the Navy with each part, information about the part, the repair depot, costs to repair, repair cycle times, order cycle times, how many are on order and quantities in the order or repair process etc. - all in one table. Their task is to analyze the whole process, determine which are being repaired but aren't needed because they have plenty on hand, which they shouldn't even be ordering because they have plenty on hand, which they SHOULD be ordering / repairing etc. This application is already written, but the person who migrated the data the first time did not document or save the process. Now they need to load up new (recent) data and don't know how. This firm is a consulting firm, who just takes the data, massages it to get it into a form they can deal with, then analyzes it and sends reports to someone in the NAVY. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Gustav at cactus.dk Fri Oct 28 11:00:57 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 18:00:57 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim But it wouldn't be more complicated than a Windows API call which you can use just by a Declare .. As .. etc. I have no need for setting properties, not even checking a result code ... /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 17:47:16 >>> Yes if you want it in a DLL (or you'll at least need a class that uses your standard modules; these will provide the public interface to the DLL). Think about every built-in VBA oject you use. All stored in classes in various DLLs within Office (hence "object"). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 10:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav From martyconnelly at shaw.ca Fri Oct 28 11:04:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Oct 2005 09:04:41 -0700 Subject: [AccessD] Array faster in DLL? References: Message-ID: <43624C19.5090409@shaw.ca> Some of these replacements for VB intrinsic fumctions might speed things up. Make sure you read the accompaning notes before using some may require a TLB http://www.xbeat.net/vbspeed/index.htm But it sounds like you are using mostly math functions. Trig functions can be enhanced from basic vba calls but would require C. Sometimes you can get a bit more speed from multidimensional arrays by the order of looping on the indexes. For example you are not going to get much speed increase by using *0.5 instead of /2 maybe 1-2% Gustav Brock wrote: >Hi Jim > >Sounds great! >No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? > >/gustav > > > > >>>>Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> >>>> >>>> >Gustav, > >I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. > >Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock >Sent: Friday, October 28, 2005 9:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Array faster in DLL? > > >Hi all > >I have some routines that manipulate data in and between some arrays. >The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. > >I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. >It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. > >Does anyone (Drew, Stuart?) have experience about what to expect? > >/gustav > > > > -- Marty Connelly Victoria, B.C. Canada From Jdemarco at hudsonhealthplan.org Fri Oct 28 11:11:07 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 12:11:07 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FF7@TTNEXCHCL2.hshhp.com> >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 12:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim But it wouldn't be more complicated than a Windows API call which you can use just by a Declare .. As .. etc. I have no need for setting properties, not even checking a result code ... /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 17:47:16 >>> Yes if you want it in a DLL (or you'll at least need a class that uses your standard modules; these will provide the public interface to the DLL). Think about every built-in VBA oject you use. All stored in classes in various DLLs within Office (hence "object"). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 10:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Gustav at cactus.dk Fri Oct 28 11:24:40 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 18:24:40 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim Well, I mean _not_ complicated, like: Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? From Gustav at cactus.dk Fri Oct 28 11:26:27 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 18:26:27 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Marty Thanks, I'll check that site out. /gustav >>> martyconnelly at shaw.ca 28-10-2005 18:04:41 >>> Some of these replacements for VB intrinsic fumctions might speed things up. Make sure you read the accompaning notes before using some may require a TLB http://www.xbeat.net/vbspeed/index.htm But it sounds like you are using mostly math functions. Trig functions can be enhanced from basic vba calls but would require C. Sometimes you can get a bit more speed from multidimensional arrays by the order of looping on the indexes. For example you are not going to get much speed increase by using *0.5 instead of /2 maybe 1-2% From Jdemarco at hudsonhealthplan.org Fri Oct 28 11:51:53 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 12:51:53 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FFB@TTNEXCHCL2.hshhp.com> >>Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) Versus: Dim oMyArrayTool as gustavdll.ArrayTool Set oMyArrayTool = new ArrayTool oMyArrayTool.GoGetThatArray(lngP1, lngP2, MyArray()) Admittedly more code but not that complicated (same result either way). One an API note I have seen components that had COM and API style interfaces. I don't know if API style access is inherent in COM objects though. Could those developers have create two interfaces to the components? Maybe someone else can answer that. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 12:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Well, I mean _not_ complicated, like: Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From shamil at users.mns.ru Fri Oct 28 12:09:18 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 28 Oct 2005 21:09:18 +0400 Subject: [AccessD] Array faster in DLL? References: <08F823FD83787D4BA0B99CA580AD3C74016C3FFB@TTNEXCHCL2.hshhp.com> Message-ID: <002601c5dbe2$57b46860$6401a8c0@fincomplex.spb.ru> Jim, If you set Instancing property of ArrayTool custom class to GlobalMultiUse then you can just write: GoGetThatArray lngP1, lngP2, MyArray() in client code. Shamil ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, October 28, 2005 8:51 PM Subject: Re: [AccessD] Array faster in DLL? > >>Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) > > Versus: > > Dim oMyArrayTool as gustavdll.ArrayTool > Set oMyArrayTool = new ArrayTool > oMyArrayTool.GoGetThatArray(lngP1, lngP2, MyArray()) > > Admittedly more code but not that complicated (same result either way). One an API note I have seen components that had COM and API style interfaces. I don't know if API style access is inherent in COM objects though. Could those developers have create two interfaces to the components? Maybe someone else can answer that. > > Jim D. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, October 28, 2005 12:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Array faster in DLL? > > > Hi Jim > > Well, I mean _not_ complicated, like: > Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) > > /gustav > > >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> > >>more complicated than a Windows API call > Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Fri Oct 28 12:08:08 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 28 Oct 2005 13:08:08 -0400 Subject: [AccessD] Print to a specific printer programatically Message-ID: I would like to print reports based on a parameter query to PDF. Manually I open the report, type in the parameter (district number) and then go to file, print, and select the PDF print driver. Because I am sending reports to approximately 73 districts, in the past I set my default printer to the PDF printer and then just had to go to file, print. I would like to be able to streamline this further using code. Any ideas? TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From Steven.Peterson at qwest.com Fri Oct 28 12:20:45 2005 From: Steven.Peterson at qwest.com (Peterson, Steve) Date: Fri, 28 Oct 2005 11:20:45 -0600 Subject: [AccessD] Print to a specific printer programatically Message-ID: <5E6C0F4B8C8601448942896366748A540FA356@ITDENE2KM03.AD.QINTRA.COM> Susan, If you're always going to a specific printer, you can set a specific printer in the page setup. I did this by accident for some reports I was creating and users couldn't figure out why their reports never went to their default printer (they went to MY default printer). In A2K03, anyway, in design mode for the report, go to File/Page Setup, then the Page tab. Near the bottom, is an option for Default or Specific printer. HTH, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Klos, Susan Sent: Friday, October 28, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Print to a specific printer programatically I would like to print reports based on a parameter query to PDF. Manually I open the report, type in the parameter (district number) and then go to file, print, and select the PDF print driver. Because I am sending reports to approximately 73 districts, in the past I set my default printer to the PDF printer and then just had to go to file, print. I would like to be able to streamline this further using code. Any ideas? TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Oct 28 13:23:23 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 14:23:23 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FFE@TTNEXCHCL2.hshhp.com> True enough. Thanks Shamil. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, October 28, 2005 1:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Array faster in DLL? Jim, If you set Instancing property of ArrayTool custom class to GlobalMultiUse then you can just write: GoGetThatArray lngP1, lngP2, MyArray() in client code. Shamil ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, October 28, 2005 8:51 PM Subject: Re: [AccessD] Array faster in DLL? > >>Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) > > Versus: > > Dim oMyArrayTool as gustavdll.ArrayTool > Set oMyArrayTool = new ArrayTool > oMyArrayTool.GoGetThatArray(lngP1, lngP2, MyArray()) > > Admittedly more code but not that complicated (same result either way). One an API note I have seen components that had COM and API style interfaces. I don't know if API style access is inherent in COM objects though. Could those developers have create two interfaces to the components? Maybe someone else can answer that. > > Jim D. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, October 28, 2005 12:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Array faster in DLL? > > > Hi Jim > > Well, I mean _not_ complicated, like: > Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) > > /gustav > > >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> > >>more complicated than a Windows API call > Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From stuart at lexacorp.com.pg Fri Oct 28 14:09:11 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 29 Oct 2005 05:09:11 +1000 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <436303F7.32546.D41EDD3@stuart.lexacorp.com.pg> On 28 Oct 2005 at 15:29, Gustav Brock wrote: > Hi all > > I have some routines that manipulate data in and between some arrays. > The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. > > I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find > It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. > > Does anyone (Drew, Stuart?) have experience about what to expect? > For something like that I'd definitely build a reall DLL in PowerBasic. PB has built in array manipulation functions which are highly optimized and the speed gains compared to doing this sort of thing in VB/VBA would be dramatic. Create an VB "DLL" is likely to have little effect on speed, it could even slow it down because of the calling overhead. I'm leaving town in a couple of minutes for the weekend, but email me off list with your current array procedures and I'll take a look at building a simple DLL for you when I get back. -- Stuart From Chester_Kaup at kindermorgan.com Fri Oct 28 14:24:26 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 28 Oct 2005 14:24:26 -0500 Subject: [AccessD] Data type converting on make table query-why Message-ID: I have the following field in a make table query: Cum Inj: DSum("[Injection Sum]","[tbl NewInjectionResults1]","[RecordDate]<=#" & [RecordDate] & "#")/365.25 field Injection Sum is a double When I view the results in a data sheet they look right. (8.22179055710294318959617E-05) When I view the results in the table made by the query the result is 0 and the data type is decimal with a precision of 28 and a scale of 2. Why is the data type changing and the result different? is there a way to prevent it? 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 artful at rogers.com Fri Oct 28 14:25:45 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Oct 2005 15:25:45 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <002301c5da8b$f36eee90$667aa8c0@ColbyM6805> Message-ID: <200510281925.j9SJPjJ26255@databaseadvisors.com> JC, perhaps my solution will work for you. I use a pair of functions that I call q() and qq(), which stand for single and double quotes. Public Function q(str As String) As String q = Chr(39) & str & Chr(39) End Function Public Function qq(str As String) As String q = Chr(34) & str & Chr(34) End Function Then for any column that may contain an apostrophe, you can just write SELECT q(ColumName) from MyTable Without even bothering to check whether there are apostrophes. You just stop worrying about it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 26, 2005 8:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From artful at rogers.com Fri Oct 28 15:20:03 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Oct 2005 16:20:03 -0400 Subject: [AccessD] Friday Humour Challenge In-Reply-To: <002101c5db0f$c70d57e0$6401a8c0@fincomplex.spb.ru> Message-ID: <200510282020.j9SKK3J15396@databaseadvisors.com> The challenge is to take a popular abbreviation or acronym* and to give it a twist, ironic or funny or just plain bitter. Examples: MSDN: Malicious Self-Serving Dictator Nimrods UPS: Underdeveloped Peasant Sods MADD: Mediocre Actuaries Doing Drugs Ladies and Genlemen, start your search engines. Arthur From DWUTKA at marlow.com Fri Oct 28 16:01:32 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 28 Oct 2005 16:01:32 -0500 Subject: [AccessD] Friday Humour Challenge Message-ID: <123701F54509D9119A4F00D0B7473490EA5F40@main2.marlow.com> IBM: I've Been Moved (and yes, I was an IBM kid, and we were moved a LOT!) MSDN: Most Searches Develop Nada DBA: Don't Bash Access Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Friday, October 28, 2005 3:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday Humour Challenge The challenge is to take a popular abbreviation or acronym* and to give it a twist, ironic or funny or just plain bitter. Examples: MSDN: Malicious Self-Serving Dictator Nimrods UPS: Underdeveloped Peasant Sods MADD: Mediocre Actuaries Doing Drugs Ladies and Genlemen, start your search engines. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Oct 28 16:46:42 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Oct 2005 17:46:42 -0400 Subject: [AccessD] Friday Humour Challenge In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5F40@main2.marlow.com> Message-ID: <200510282146.j9SLkfJ16935@databaseadvisors.com> Your MSDN is MUCH better than mine! Nice. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: October 28, 2005 5:02 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Friday Humour Challenge IBM: I've Been Moved (and yes, I was an IBM kid, and we were moved a LOT!) MSDN: Most Searches Develop Nada DBA: Don't Bash Access Drew From fahooper at trapo.com Fri Oct 28 17:09:24 2005 From: fahooper at trapo.com (Fred Hooper) Date: Fri, 28 Oct 2005 18:09:24 -0400 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <000201c5dc0c$429311a0$2e01a8c0@fredxp> My brother-in-law, who develops in VB6, has told me that writing his DLL's in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of critical ones, he moved to Assembler for another 5:1. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Oct 28 17:46:47 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 28 Oct 2005 18:46:47 -0400 Subject: [AccessD] Friday Humour Challenge In-Reply-To: <200510282020.j9SKK3J15396@databaseadvisors.com> References: <002101c5db0f$c70d57e0$6401a8c0@fincomplex.spb.ru> <200510282020.j9SKK3J15396@databaseadvisors.com> Message-ID: On 28/10/05, Arthur Fuller wrote: > The challenge is to take a popular abbreviation or acronym* and to give it a > twist, ironic or funny or just plain bitter. > Examples: > MSDN: Malicious Self-Serving Dictator Nimrods > UPS: Underdeveloped Peasant Sods > MADD: Mediocre Actuaries Doing Drugs > Ladies and Genlemen, start your search engines. CBC: Corporation Bullying Canadians (I claim no ownership to this. It was painted on the sidewalk when I was locked out :) (CBC = Canadian Broadcasting Corp for those outside of Canada) -- 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 KIsmert at texassystems.com Fri Oct 28 18:26:04 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Fri, 28 Oct 2005 18:26:04 -0500 Subject: [AccessD] Array faster in DLL? Message-ID: >>One an API note I have seen components that had COM and API >>style interfaces. I don't know if API style access is >>inherent in COM objects though. Could those developers have >>create two interfaces to the components? Jim, A COM Dll is just a Dll file with some icing: a VTable, a Type Library, and a Class Factory. The VTable holds offsets to all functions stored in the DLL. The Type Library (a separate file) describes the Objects, Members and Parameters exposed by the DLL. The Class Factory is largely generated code that handles the actual instantiation. Yeah, there's registry stuff too, but that is just support for these basic COM object pieces. But under it all, its just a plain Dll, which can be accessible with API-style Declare statements, if the designer so chooses. APIs are not a part of COM, just something that a COM Dll can support, because of its classic Windows Dll roots. Of course, if you use a COM Dll via an API, you forego major object advantages like multiple instances, constructors and destructors. At best, you might get statefulness, but you would have to treat the Dll as a static object. -Ken From bchacc at san.rr.com Fri Oct 28 21:59:45 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 28 Oct 2005 19:59:45 -0700 Subject: [AccessD] Friday Humour Challenge References: <002101c5db0f$c70d57e0$6401a8c0@fincomplex.spb.ru> <200510282020.j9SKK3J15396@databaseadvisors.com> Message-ID: <038601c5dc34$d17c6dd0$6501a8c0@HAL9004> In the old days AOL used to be America Off Line Rocky ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Friday, October 28, 2005 3:46 PM Subject: Re: [AccessD] Friday Humour Challenge > On 28/10/05, Arthur Fuller wrote: >> The challenge is to take a popular abbreviation or acronym* and to give >> it a >> twist, ironic or funny or just plain bitter. >> Examples: >> MSDN: Malicious Self-Serving Dictator Nimrods >> UPS: Underdeveloped Peasant Sods >> MADD: Mediocre Actuaries Doing Drugs >> Ladies and Genlemen, start your search engines. > > CBC: Corporation Bullying Canadians > (I claim no ownership to this. It was painted on the sidewalk when I > was locked out :) > (CBC = Canadian Broadcasting Corp for those outside of Canada) > > -- > 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 prodevmg at yahoo.com Sat Oct 29 08:39:03 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sat, 29 Oct 2005 06:39:03 -0700 (PDT) Subject: [AccessD] Need creating graph in excel Message-ID: <20051029133903.94498.qmail@web33104.mail.mud.yahoo.com> I have code that will create a graph in excel based on a query that I export to excel. The problem is that I need a three line graph for the particular query that I have. Does anyone know how to instruct Excel to plot three lines. My code is below: Function CreateChart(strSourceName As String, _ strFileName As String) Dim xlApp As Excel.Application Dim xlWrkbk As Excel.Workbook Dim xlChartObj As Excel.Chart Dim xlSourceRange As Excel.Range Dim xlColPoint As Excel.Point 'On Error GoTo Err_CreateChart ' Create an Excel workbook file based on the ' object specified in the second argument. DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, _ strSourceName, strFileName, False ' Create a Microsoft Excel object. Set xlApp = CreateObject("Excel.Application") ' Open the spreadsheet to which you exported the data. Set xlWrkbk = xlApp.Workbooks.Open(strFileName) ' Determine the size of the range and store it. Set xlSourceRange = _ xlWrkbk.Worksheets(1).Range("a1").CurrentRegion ' Create a new chart. Set xlChartObj = xlApp.Charts.Add ' Format the chart. With xlChartObj ' Specify chart type as 3D. .ChartType = xlLine ' Set the range of the chart. .SetSourceData Source:=xlSourceRange, _ PlotBy:=xlColumns ' Specify that the chart is located on a new sheet. .Location Where:=xlLocationAsNewSheet ' Create and set the title; set title font. .HasTitle = True With .ChartTitle .Characters.Text = _ "Total Sales by Country" .Font.Size = 18 End With ' Rotate the x-axis labels to a 45-degree angle. '''''''''''.Axes(xlCategory).TickLabels.Orientation = 45 ' Delete the label at the far right of the x-axis. ''''''''''.Axes(xlSeries).Delete ' Delete the legend. .HasLegend = False ' Set each datapoint to show the dollar amount ' and format the datapoint to be currency ' with no decimals. With .SeriesCollection(1) .ApplyDataLabels Type:=xlDataLabelsShowValue .DataLabels.NumberFormat = "$#,##0" End With End With ' Position the points further from the tops ' of the columns. For Each xlColPoint In _ xlChartObj.SeriesCollection(1).Points xlColPoint.DataLabel.Top = _ xlColPoint.DataLabel.Top - 11 Next xlColPoint ' Save and close the workbook ' and quit Microsoft Excel. With xlWrkbk .Save .Close End With xlApp.Quit Exit_CreateChart: Set xlSourceRange = Nothing Set xlColPoint = Nothing Set xlChartObj = Nothing Set xlWrkbk = Nothing Set xlApp = Nothing Exit Function Err_CreateChart: MsgBox CStr(Err) & " " & Err.Description Resume Exit_CreateChart End Function May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From martyconnelly at shaw.ca Sat Oct 29 08:54:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Oct 2005 06:54:06 -0700 Subject: [AccessD] Need creating graph in excel References: <20051029133903.94498.qmail@web33104.mail.mud.yahoo.com> Message-ID: <43637EFE.9030105@shaw.ca> Try this method to find a solution http://www.vb123.com/toolshed/99_graphs/msgraph6.htm Lonnie Johnson wrote: >I have code that will create a graph in excel based on a query that I export to excel. The problem is that I need a three line graph for the particular query that I have. Does anyone know how to instruct Excel to plot three lines. My code is below: > > >Function CreateChart(strSourceName As String, _ > strFileName As String) > Dim xlApp As Excel.Application > Dim xlWrkbk As Excel.Workbook > Dim xlChartObj As Excel.Chart > Dim xlSourceRange As Excel.Range > Dim xlColPoint As Excel.Point > 'On Error GoTo Err_CreateChart > ' Create an Excel workbook file based on the > ' object specified in the second argument. > DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, _ > strSourceName, strFileName, False > ' Create a Microsoft Excel object. > Set xlApp = CreateObject("Excel.Application") > ' Open the spreadsheet to which you exported the data. > Set xlWrkbk = xlApp.Workbooks.Open(strFileName) > ' Determine the size of the range and store it. > Set xlSourceRange = _ > xlWrkbk.Worksheets(1).Range("a1").CurrentRegion > ' Create a new chart. > Set xlChartObj = xlApp.Charts.Add > ' Format the chart. > With xlChartObj > ' Specify chart type as 3D. > .ChartType = xlLine > ' Set the range of the chart. > .SetSourceData Source:=xlSourceRange, _ > PlotBy:=xlColumns > ' Specify that the chart is located on a new sheet. > .Location Where:=xlLocationAsNewSheet > ' Create and set the title; set title font. > .HasTitle = True > With .ChartTitle > .Characters.Text = _ > "Total Sales by Country" > .Font.Size = 18 > End With > ' Rotate the x-axis labels to a 45-degree angle. > '''''''''''.Axes(xlCategory).TickLabels.Orientation = 45 > ' Delete the label at the far right of the x-axis. > ''''''''''.Axes(xlSeries).Delete > ' Delete the legend. > .HasLegend = False > ' Set each datapoint to show the dollar amount > ' and format the datapoint to be currency > ' with no decimals. > With .SeriesCollection(1) > .ApplyDataLabels Type:=xlDataLabelsShowValue > .DataLabels.NumberFormat = "$#,##0" > End With > End With > ' Position the points further from the tops > ' of the columns. > For Each xlColPoint In _ > xlChartObj.SeriesCollection(1).Points > xlColPoint.DataLabel.Top = _ > xlColPoint.DataLabel.Top - 11 > Next xlColPoint > ' Save and close the workbook > ' and quit Microsoft Excel. > With xlWrkbk > .Save > .Close > End With > xlApp.Quit >Exit_CreateChart: > Set xlSourceRange = Nothing > Set xlColPoint = Nothing > Set xlChartObj = Nothing > Set xlWrkbk = Nothing > Set xlApp = Nothing > Exit Function >Err_CreateChart: > MsgBox CStr(Err) & " " & Err.Description > Resume Exit_CreateChart >End Function > > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > >--------------------------------- > Yahoo! FareChase - Search multiple travel sites in one click. > > -- Marty Connelly Victoria, B.C. Canada From prodevmg at yahoo.com Sat Oct 29 12:49:14 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sat, 29 Oct 2005 10:49:14 -0700 (PDT) Subject: [AccessD] Need creating graph in excel In-Reply-To: <43637EFE.9030105@shaw.ca> Message-ID: <20051029174914.98891.qmail@web33111.mail.mud.yahoo.com> Thanks Marty. MartyConnelly wrote:Try this method to find a solution http://www.vb123.com/toolshed/99_graphs/msgraph6.htm Lonnie Johnson wrote: >I have code that will create a graph in excel based on a query that I export to excel. The problem is that I need a three line graph for the particular query that I have. Does anyone know how to instruct Excel to plot three lines. My code is below: > > >Function CreateChart(strSourceName As String, _ > strFileName As String) > Dim xlApp As Excel.Application > Dim xlWrkbk As Excel.Workbook > Dim xlChartObj As Excel.Chart > Dim xlSourceRange As Excel.Range > Dim xlColPoint As Excel.Point > 'On Error GoTo Err_CreateChart > ' Create an Excel workbook file based on the > ' object specified in the second argument. > DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, _ > strSourceName, strFileName, False > ' Create a Microsoft Excel object. > Set xlApp = CreateObject("Excel.Application") > ' Open the spreadsheet to which you exported the data. > Set xlWrkbk = xlApp.Workbooks.Open(strFileName) > ' Determine the size of the range and store it. > Set xlSourceRange = _ > xlWrkbk.Worksheets(1).Range("a1").CurrentRegion > ' Create a new chart. > Set xlChartObj = xlApp.Charts.Add > ' Format the chart. > With xlChartObj > ' Specify chart type as 3D. > .ChartType = xlLine > ' Set the range of the chart. > .SetSourceData Source:=xlSourceRange, _ > PlotBy:=xlColumns > ' Specify that the chart is located on a new sheet. > .Location Where:=xlLocationAsNewSheet > ' Create and set the title; set title font. > .HasTitle = True > With .ChartTitle > .Characters.Text = _ > "Total Sales by Country" > .Font.Size = 18 > End With > ' Rotate the x-axis labels to a 45-degree angle. > '''''''''''.Axes(xlCategory).TickLabels.Orientation = 45 > ' Delete the label at the far right of the x-axis. > ''''''''''.Axes(xlSeries).Delete > ' Delete the legend. > .HasLegend = False > ' Set each datapoint to show the dollar amount > ' and format the datapoint to be currency > ' with no decimals. > With .SeriesCollection(1) > .ApplyDataLabels Type:=xlDataLabelsShowValue > .DataLabels.NumberFormat = "$#,##0" > End With > End With > ' Position the points further from the tops > ' of the columns. > For Each xlColPoint In _ > xlChartObj.SeriesCollection(1).Points > xlColPoint.DataLabel.Top = _ > xlColPoint.DataLabel.Top - 11 > Next xlColPoint > ' Save and close the workbook > ' and quit Microsoft Excel. > With xlWrkbk > .Save > .Close > End With > xlApp.Quit >Exit_CreateChart: > Set xlSourceRange = Nothing > Set xlColPoint = Nothing > Set xlChartObj = Nothing > Set xlWrkbk = Nothing > Set xlApp = Nothing > Exit Function >Err_CreateChart: > MsgBox CStr(Err) & " " & Err.Description > Resume Exit_CreateChart >End Function > > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > >--------------------------------- > Yahoo! FareChase - Search multiple travel sites in one click. > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From jwcolby at ColbyConsulting.com Sat Oct 29 13:22:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 29 Oct 2005 14:22:15 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <200510281925.j9SJPjJ26255@databaseadvisors.com> Message-ID: <000401c5dcb5$b381d9b0$fd7bfea9@ColbyM6805> I like it! Thanks. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, October 28, 2005 3:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED JC, perhaps my solution will work for you. I use a pair of functions that I call q() and qq(), which stand for single and double quotes. Public Function q(str As String) As String q = Chr(39) & str & Chr(39) End Function Public Function qq(str As String) As String q = Chr(34) & str & Chr(34) End Function Then for any column that may contain an apostrophe, you can just write SELECT q(ColumName) from MyTable Without even bothering to check whether there are apostrophes. You just stop worrying about it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 26, 2005 8:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Sat Oct 29 13:42:47 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 29 Oct 2005 14:42:47 -0400 Subject: [AccessD] Ignore - test Message-ID: <000601c5dcb8$8f3a8f40$fd7bfea9@ColbyM6805> I just got the port 25 redirect service from No-IP.com. Have to test that this works. As any of you with laptops (in the USA anyway) will probably be aware by now, many of the high speed ISPs are blocking port 25 SMTP email, forcing you to go through their mail.StupidISP.Com server. They do this so that they can cut off spammers but the effect is egregious for laptop owners who travel. Every time you go to a new ISP with port 25 blocking, you have to discover what THEIR email server address is, and go in to all of your email accounts in Outlook and reprogram the SMTP email address. I already use No-IP for dynamic IP address handling, so I added their Port 25 redirect service to get around this. Unfortunately it does cost me money, but at $19 / year it is worth doing since I travel a lot. Just a test - ignore. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From tinanfields at torchlake.com Sat Oct 29 14:11:28 2005 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 29 Oct 2005 15:11:28 -0400 Subject: [AccessD] Meet my kids References: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> Message-ID: <4363C960.7070704@torchlake.com> What darling babies! Tina John Colby wrote: >I have posted a new tab up on my web site. You thought that guy in the main >page was handsome (or even if you didn't), take a look at my kids! ;-) > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > From Gustav at cactus.dk Sat Oct 29 14:18:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Oct 2005 21:18:05 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim I see now what you mean. No, that is indeed not complicated. /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:51 >>> >>Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) Versus: Dim oMyArrayTool as gustavdll.ArrayTool Set oMyArrayTool = new ArrayTool oMyArrayTool.GoGetThatArray(lngP1, lngP2, MyArray()) Admittedly more code but not that complicated (same result either way). One an API note I have seen components that had COM and API style interfaces. I don't know if API style access is inherent in COM objects though. Could those developers have create two interfaces to the components? Maybe someone else can answer that. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 12:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Well, I mean _not_ complicated, like: Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? From Gustav at cactus.dk Sat Oct 29 14:27:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Oct 2005 21:27:05 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Stuart Sounds great! I think I'll prepare a small test with some of the typical operations I do. I'm not expecting anyone to do a lot of work to create dlls of my full code. First step is to find out how much improvement to expect, then I can consider if it is worth the time to rewrite it. /gustav >>> stuart at lexacorp.com.pg 28-10-2005 21:09 >>> On 28 Oct 2005 at 15:29, Gustav Brock wrote: > Hi all > > I have some routines that manipulate data in and between some arrays. > The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. > > I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find > It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. > > Does anyone (Drew, Stuart?) have experience about what to expect? > For something like that I'd definitely build a reall DLL in PowerBasic. PB has built in array manipulation functions which are highly optimized and the speed gains compared to doing this sort of thing in VB/VBA would be dramatic. Create an VB "DLL" is likely to have little effect on speed, it could even slow it down because of the calling overhead. I'm leaving town in a couple of minutes for the weekend, but email me off list with your current array procedures and I'll take a look at building a simple DLL for you when I get back. From Gustav at cactus.dk Sat Oct 29 14:34:20 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Oct 2005 21:34:20 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Fred Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? Are you saying he obtained a 50:1 improvement in total compared to VB? I could probably handle PowerBasic without much trouble, but Assembler is far away ... /gustav >>> fahooper at trapo.com 29-10-2005 00:09 >>> My brother-in-law, who develops in VB6, has told me that writing his DLL's in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of critical ones, he moved to Assembler for another 5:1. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav From fahooper at trapo.com Sat Oct 29 15:11:25 2005 From: fahooper at trapo.com (Fred Hooper) Date: Sat, 29 Oct 2005 16:11:25 -0400 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <000001c5dcc4$f1aee980$2e01a8c0@fredxp> Hi Gustav, His son, who now works with him, *likes* to program in Assembler (otherwise, he seems normal). They used it to replace the millions-of-times-called routines in a ray tracer, which replaces the vector screen display if enough time elapses to finish the computations. The product is for kitchen design and, like the others but better, shows what the kitchen will look like. It's interesting to watch the screen change, it's as though the display changed to a picture. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 29, 2005 3:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Fred Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? Are you saying he obtained a 50:1 improvement in total compared to VB? I could probably handle PowerBasic without much trouble, but Assembler is far away ... /gustav >>> fahooper at trapo.com 29-10-2005 00:09 >>> My brother-in-law, who develops in VB6, has told me that writing his DLL's in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of critical ones, he moved to Assembler for another 5:1. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Sat Oct 29 15:39:34 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 29 Oct 2005 16:39:34 -0400 Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... Message-ID: <000801c5dcc8$df6fe770$fd7bfea9@ColbyM6805> Folks, First of all, let me once again thank Shamil whom I consider to be the Father of AccessD Withevents usage, and who taught me everything I know about the subject. Withevents is the single most useful undocumented feature of Access AFAIAC. Withevents are DEAD EASY to understand, and make available a whole class of functionality that you would otherwise be unable to use. If you don't understand them yet, take this opportunity to learn how they work. I need a small control set to allow me to easily re-arrange the tables, and the queries that modify the tables in the data migration tool I am building. I therefore built a class to allow me to do this stuff. The class sinks the click events for two command buttons, and raises its own event. The operation of this thing is explained a little more below, and is also documented in the header of the class. This is a great demo of how WithEvents works, and is in fact a set of controls that I will be using in the new data migration tool to allow me to dynamically re-order the tables and queries to be processed in the order necessary. To download and look at this demo, go to my web site, register, login and click on Example Code / Withevents Demo, then click on C2DbControlSets to download the demo. When the demo opens, the form will open with the three controls being discussed. Click the up or down arrow to move selected record up or down in the list. Notice that the class raises its own event which is sunk in frmTestCtlGroups and used to requery another form which displays the records in the table. Thus this demo also shows how to raise an event in your own class, and how to sink that event to do something useful with it. As you move any record up/down through the list you can watch the other form and see it move, and how the StepID is being manipulated. ################## Each table will have a field which I shall call StepID for the purposes of this email. The StepID field will be an integer, and will be consecutive numbers within the recordset being "sorted". In other words: The tblTable has a StepID field, and each record in tblTable will have a value in this field, one more that the previous record. The tblOperation will likewise have a StepID field in it. Because this table is child to tblTable, there will be a SET of 1 or more records in tblOperation for each record in tblTable. WITHIN THAT SET, the StepID field will contain consecutive numbers. The control set contains a list control to display the records or some identifying piece such as the table name or the query name. The list will have at least 3 columns - PKIDE, STEPID and the identifying field (table / query name). There is a WithEvents class to hold all processing code and data for this control set. The form containing the data will dimension an instance of the class and initialize it: ################## Dim fdclsCtlLst_RecordMover As dclsCtlLst_RecordMover Dim fcnn As ADODB.Connection Private Sub Form_Open(Cancel As Integer) On Error GoTo Err_Form_Open Set fcnn = CurrentProject.Connection On Error Resume Next fcnn.Properties("Jet OLEDB:Database Locking Mode") = 1 On Error GoTo Err_Form_Open Set fdclsCtlLst_RecordMover = New dclsCtlLst_RecordMover fdclsCtlLst_RecordMover.mInit lstTestOrder, cmdTestOrderUp, cmdTestOrderDn, fcnn, "tblTestStep", "TBL_ID", "TBL_Step" Exit_Form_Open: Exit Sub Err_Form_Open: MsgBox Err.Description, , "Error in Sub Form_frmTestCtlGroups.Form_Open" Resume Exit_Form_Open Resume 0 '.FOR TROUBLESHOOTING End Sub ################## And a cleanup to release the class ################## Private Sub Form_Close() Set fdclsCtlLst_RecordMover = Nothing End Sub ################## And an event sink for the fdclsCtlLst_RecordMover AfterClick event ################## Private Sub fdclsCtlLst_RecordMover_AfterClick() Forms("frmTestOrder").Requery End Sub ################## The code for the class receives variables in an init statement. The variables include pointers to the specific list box and two command controls, a connection object, and the name of the table containing the StepID, the name of the PKID field, and the name of the StepID field. Init() stores all of these things, then there are two OnClick event handlers plus a method to do the work. That's all folks. ################## Option Compare Database Option Explicit ' 'This class implements a method of "moving" sorted records in a table where the sort field is a 'an integer (StepID), and the order of the records need to be dynamically moved using a visual tool. ' 'This object will be multi-user enabled by LOCKING two records at the instant a button is clicked. 'If locks cannot be obtained for BOTH records, an error message will be displayed and control 'will be returned to the user without anything done. ' 'Requirements: ' 'The list box Multi-select must be set to None, this class only moves one record at a time 'PK of the table has to be a long (autonumber) 'Step field has to be an Integer 'The step field cannot have a unique id. Reason explained in a moment 'The list has to be populated with a query with: ' The PKID in the leftmost (1st) field ' The STEPID in the next field ' Any other information contained in the remaining fields 'The query must be sorted in StepID order ' 'The class works by physically writing TWO records every time an up/down button is clicked ' 'If the focus is in the FIRST object in the list and the UP button is clicked, nothing is done 'If the focus is in the LAST object in the list and the DOWN button is clicked, nothing is done 'In any other case, adjacent records in the table whose name is passed in will be modified ' ' 'There will be an instant in time when two records will have the same StepID. 'Assume that RecordA has StepID of 21 and RecordB has a StepID of 22 (they are adjacent) 'The process works by: ' '1) Recording the current StepID of RecordA into a variable '2) Then the StepID of RecordB is written into the StepID of RecordA '3) Then the original StepID of RecordA is written into RecordB ' 'During the 2nd step above, two records have the same StepID. It is for this reason that the 'StepID field cannot have a UniqueID ' 'In order to prevent this, the code would have to discover an unused StepID, Temporarily setting 'the StepID of either RecordA or RecordB to the unused StepID, and fixing things up later. 'This would add an additional write operation, and would require keeping the locks in place longer. 'It CAN be done, but I am not doing this. ' 'If the UP button is clicked, the PK of the object ABOVE the object with the focus will be retrieved from the list ' Private mcnn As ADODB.Connection Private WithEvents mlst As ListBox Private WithEvents mcmdUp As CommandButton Private WithEvents mcmdDn As CommandButton Private mlngRec1ID As Long 'Rec1 will always be the CURRENTLY SELECTED of the two records being worked with Private mintRec1Step As Integer Private mlngRec2ID As Long 'Rec2 will always be the RECORD BEING EXCHANGED WITH of the two records being worked with Private mintRec2Step As Integer Private mstrTblName As String Private mstrPKFldName As String Private mstrStepFldName As String Private Const cintColumnPKID As Integer = 0 Private Const cintColumnStepID As Integer = 1 Private Const cstrEventProc = "[Event Procedure]" Public Event AfterClick() ' 'Cleanup all pointers to objects dimmed in this class ' Private Sub Class_Terminate() Set mlst = Nothing Set mcmdUp = Nothing Set mcmdDn = Nothing End Sub ' 'Pass in pointers to objects that this class controls ' 'llst, lcmdUp and lcmdDn are the list control and the two command button controls 'lcnn is a connection object for the database that the table is in 'lstrTblName is the name of the table that holds the StepField 'strPKFldName is the name of the PK field in lstrTblName - must be a long integer (autonumber) 'lstrStepFldName is the name of the step field in lstrTblName ' Function mInit(llst As ListBox, lcmdUp As CommandButton, lcmdDn As CommandButton, _ lcnn As ADODB.Connection, lstrTblName As String, lstrPKFldName As String, lstrStepFldName As String) Set mlst = llst Set mcmdUp = lcmdUp Set mcmdDn = lcmdDn Set mcnn = lcnn mcmdUp.OnClick = cstrEventProc mcmdDn.OnClick = cstrEventProc mstrTblName = lstrTblName mstrPKFldName = lstrPKFldName mstrStepFldName = lstrStepFldName End Function Private Sub mcmdDn_Click() UpdateRecords False RaiseEvent AfterClick End Sub Private Sub mcmdUp_Click() UpdateRecords True RaiseEvent AfterClick End Sub Private Sub UpdateRecords(lblnUp As Boolean) On Error GoTo Err_UpdateRecords Dim rst1 As ADODB.Recordset Dim rst2 As ADODB.Recordset Dim strSQL1 As String Dim strSQL2 As String Dim intListIndex As Integer intListIndex = mlst.ListIndex ' 'Check if the item selected is the first item in the list and we are moving up ' If intListIndex = 0 Then If lblnUp Then GoTo Exit_UpdateRecords End If End If ' 'Check if the item selected is the last item in the list and we are moving down ' If intListIndex + 1 = mlst.ListCount Then If Not lblnUp Then GoTo Exit_UpdateRecords End If End If mlngRec1ID = mlst.Column(cintColumnPKID, intListIndex) mintRec1Step = mlst.Column(cintColumnStepID, intListIndex) If lblnUp Then intListIndex = intListIndex - 1 Else intListIndex = intListIndex + 1 End If mlngRec2ID = mlst.Column(cintColumnPKID, intListIndex) mintRec2Step = mlst.Column(cintColumnStepID, intListIndex) ' 'Build up the SQL statement that will be used to lock and update the records ' strSQL1 = "SELECT " & mstrStepFldName & " FROM " & mstrTblName & " WHERE " & mstrPKFldName & " = " & mlngRec1ID strSQL2 = "SELECT " & mstrStepFldName & " FROM " & mstrTblName & " WHERE " & mstrPKFldName & " = " & mlngRec2ID ' 'Open both recordsets to establish the locks ' Set rst1 = New ADODB.Recordset rst1.Open strSQL1, mcnn, adOpenStatic, adLockPessimistic Set rst2 = New ADODB.Recordset rst2.Open strSQL2, mcnn, adOpenStatic, adLockPessimistic ' 'Update the data in both records so that the locks on both are held ' rst1(mstrStepFldName) = mintRec2Step rst2(mstrStepFldName) = mintRec1Step ' 'And finally write the data of both records sequentially so that the locks are released at the same time ' rst1.Update rst2.Update ' 'Requery the list box to reflect the changes ' mlst.Requery ' 'And set the focus back to the object ' 'mlst.ListIndex = intListIndex Exit_UpdateRecords: On Error Resume Next If Not (rst2 Is Nothing) Then rst2.Close: Set rst2 = Nothing If Not (rst1 Is Nothing) Then rst1.Close: Set rst1 = Nothing Exit Sub Err_UpdateRecords: Select Case Err Case -2147217887 MsgBox "One of the records you want to move is being edited by another user" Resume Exit_UpdateRecords Case Else MsgBox Err.Description, , "Error in Sub dclsCtlLst-RecordMover.UpdateRecords" Resume Exit_UpdateRecords End Select Resume 0 '.FOR TROUBLESHOOTING End Sub ################## John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From john at winhaven.net Sat Oct 29 18:23:42 2005 From: john at winhaven.net (President) Date: Sat, 29 Oct 2005 18:23:42 -0500 Subject: [AccessD] Administrivia - Message Size Limits Message-ID: <01bf01c5dcdf$cd99beb0$6b01a8c0@ScuzzPaq> Greeting to all list members, The Database Advisors, Inc. Board of Directors has recently approved lowering the size limits of messages on the list to 20k. This is an attempt to encourage the snipping of emails during replies and to reduce the size of the archives in the future. Our archives are getting quite large, hence the cost of storing them is going up. It is unlikely that we will see many messages exceed 20k in size if they are properly snipped. HOWEVER our list moderators will let messages of any size through as long as the following criteria is met: 1. it has been properly snipped 2. it does not contain attachments 3. it was sent using plain text formatting 4. it contains valuable technical information If any of these criteria is not met, the post will be rejected. Please bear in mind that, although it would not be typical of our elite corp. of moderators, it may take moderators up to 24 hours to get to your post to allow it through. We initially experimented with the 20k limit on the Off Topic OT list where posts tend to be long, for the most part because of poor snipping. One other major cause of messages being held due to exceeding the size limit was messages being sent in html or rich text formats. (The size is determined before the html formatting is stripped and presently there is nothing we can do about this.) In the weeks since we reduced the size limit on the OT (where messages are often long winded (to say the least :o)) the number of messages rejected due to exceeding the size limits has dropped to near zero. Because of this we do not foresee a problem with the technical lists but please let us know if you are experiencing any problems because of this limit. We sincerely hope this does not cause any complications in your utilization of this valuable asset. Regards, John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From karenr7 at oz.net Sun Oct 30 00:31:16 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Sat, 29 Oct 2005 22:31:16 -0700 Subject: [AccessD] Meet my kids In-Reply-To: <4363C960.7070704@torchlake.com> Message-ID: <200510300531.j9U5VBJ19763@databaseadvisors.com> Beautiful kids. Loving parents. This is a Good Thing. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, October 29, 2005 12:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Meet my kids What darling babies! Tina John Colby wrote: >I have posted a new tab up on my web site. You thought that guy in the >main page was handsome (or even if you didn't), take a look at my kids! >;-) > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Sun Oct 30 02:13:00 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Sun, 30 Oct 2005 19:13:00 +1100 Subject: [AccessD] Urgent one please - Page Setup settings revert to default when report closes Message-ID: <000d01c5dd29$bf0bdaf0$6401a8c0@user> Hi everybody - wondering if anyone can help with this one. I currently have a client's laptop here in my office so I can nut out a problem which has been bugging us for a while. I have a report which has been set to landscape , and with specific margins. When my client opens the report on her PC it previews correctly the first time she runs the report. But when she closes the database (and sometimes on only closing the report) if she reruns the report the page resets to portrait and with the default properties of the default printer. I haven't seen this before - if I save the report in Access with a particular setup, how are the printer settings overwriting that? And how can I prevent it? Access 2000 / Windows XP Pro 5.1 SP2 TIA Kath Pelletti From lembit.soobik at t-online.de Sun Oct 30 03:47:49 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 10:47:49 +0100 Subject: [AccessD] Urgent one please - Page Setup settings revert to defaultwhen report closes References: <000d01c5dd29$bf0bdaf0$6401a8c0@user> Message-ID: <009201c5dd36$fddabaf0$0600a8c0@v1000> Kath, this sounds to me that the report in question is set to STANDARD PRINTER. probably other programs influence the standard printer as well. set your report to specific printer and then save it This should save all the parameters like landscape then. hth Lembit ----- Original Message ----- From: "Kath Pelletti" To: Sent: Sunday, October 30, 2005 9:13 AM Subject: [AccessD] Urgent one please - Page Setup settings revert to defaultwhen report closes > Hi everybody - wondering if anyone can help with this one. I currently > have a client's laptop here in my office so I can nut out a problem which > has been bugging us for a while. > > I have a report which has been set to landscape , and with specific > margins. > > When my client opens the report on her PC it previews correctly the first > time she runs the report. > > But when she closes the database (and sometimes on only closing the > report) if she reruns the report the page resets to portrait and with the > default properties of the default printer. > > I haven't seen this before - if I save the report in Access with a > particular setup, how are the printer settings overwriting that? And how > can I prevent it? > > Access 2000 / Windows XP Pro 5.1 SP2 > > TIA > > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From Gustav at cactus.dk Sun Oct 30 03:59:32 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 30 Oct 2005 10:59:32 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Fred That son deserves respect! It is years ago I gave away my original plastic box with Microsoft Assembler to some local computer nerds collecting rarities. But how can you handle Assembler today? I located these links which may be of interest to some of you: About HLA, High Level Assembly (contradicting?): http://www.linuxjournal.com/article/8408 Main page of HLA which is free: http://webster.cs.ucr.edu/AsmTools/HLA/index.html Writing DLLs with HLA: http://webster.cs.ucr.edu/AsmTools/HLA/HLADoc/HTMLDoc/dll.html An IDE for HLA, RadASM: http://radasm.visualassembler.com For the next step, MASM32: http://www.masm32.com If this is too much, how about FreeBASIC, a free QBasic compiler that can compile DLLs and use in-line assembler: http://www.freebasic.net And an IDE for this, FBIde: http://fbide.sourceforge.net /gustav >>> fahooper at trapo.com 29-10-2005 22:11 >>> Hi Gustav, His son, who now works with him, *likes* to program in Assembler (otherwise, he seems normal). They used it to replace the millions-of-times-called routines in a ray tracer, which replaces the vector screen display if enough time elapses to finish the computations. The product is for kitchen design and, like the others but better, shows what the kitchen will look like. It's interesting to watch the screen change, it's as though the display changed to a picture. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 29, 2005 3:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Fred Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? Are you saying he obtained a 50:1 improvement in total compared to VB? I could probably handle PowerBasic without much trouble, but Assembler is far away ... /gustav >>> fahooper at trapo.com 29-10-2005 00:09 >>> My brother-in-law, who develops in VB6, has told me that writing his DLL's in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of critical ones, he moved to Assembler for another 5:1. From KP at sdsonline.net Sun Oct 30 06:15:48 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Sun, 30 Oct 2005 23:15:48 +1100 Subject: [AccessD] Urgent one please - Page Setup settings revert todefaultwhen report closes References: <000d01c5dd29$bf0bdaf0$6401a8c0@user> <009201c5dd36$fddabaf0$0600a8c0@v1000> Message-ID: <000f01c5dd4b$aba6fae0$6401a8c0@user> Hi Lembit - yes it is set to standard printer. I wanted to avoid setting it to a specific printer - can't I do that? It will make it harder to distribute that way..... Kath ----- Original Message ----- From: Lembit Soobik To: Access Developers discussion and problem solving Sent: Sunday, October 30, 2005 8:47 PM Subject: Re: [AccessD] Urgent one please - Page Setup settings revert todefaultwhen report closes Kath, this sounds to me that the report in question is set to STANDARD PRINTER. probably other programs influence the standard printer as well. set your report to specific printer and then save it This should save all the parameters like landscape then. hth Lembit ----- Original Message ----- From: "Kath Pelletti" To: Sent: Sunday, October 30, 2005 9:13 AM Subject: [AccessD] Urgent one please - Page Setup settings revert to defaultwhen report closes > Hi everybody - wondering if anyone can help with this one. I currently > have a client's laptop here in my office so I can nut out a problem which > has been bugging us for a while. > > I have a report which has been set to landscape , and with specific > margins. > > When my client opens the report on her PC it previews correctly the first > time she runs the report. > > But when she closes the database (and sometimes on only closing the > report) if she reruns the report the page resets to portrait and with the > default properties of the default printer. > > I haven't seen this before - if I save the report in Access with a > particular setup, how are the printer settings overwriting that? And how > can I prevent it? > > Access 2000 / Windows XP Pro 5.1 SP2 > > TIA > > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.soobik at t-online.de Sun Oct 30 07:06:33 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 14:06:33 +0100 Subject: [AccessD] Urgent one please - Page Setup settings reverttodefaultwhen report closes References: <000d01c5dd29$bf0bdaf0$6401a8c0@user><009201c5dd36$fddabaf0$0600a8c0@v1000> <000f01c5dd4b$aba6fae0$6401a8c0@user> Message-ID: <000401c5dd52$c0c219d0$0600a8c0@v1000> Kath, if you set it to standard printer, it will be influenced by whatever settings are there, including margins and landscape/portrait setings. with specific printer all these settings wil be saved with your report and used on all PCs. Lembit ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Sunday, October 30, 2005 1:15 PM Subject: Re: [AccessD] Urgent one please - Page Setup settings reverttodefaultwhen report closes > Hi Lembit - yes it is set to standard printer. I wanted to avoid setting > it to a specific printer - can't I do that? It will make it harder to > distribute that way..... > > Kath > ----- Original Message ----- > From: Lembit Soobik > To: Access Developers discussion and problem solving > Sent: Sunday, October 30, 2005 8:47 PM > Subject: Re: [AccessD] Urgent one please - Page Setup settings revert > todefaultwhen report closes > > > Kath, > this sounds to me that the report in question is set to STANDARD PRINTER. > probably other programs influence the standard printer as well. > > set your report to specific printer and then save it > This should save all the parameters like landscape then. > hth > Lembit > > ----- Original Message ----- > From: "Kath Pelletti" > To: > Sent: Sunday, October 30, 2005 9:13 AM > Subject: [AccessD] Urgent one please - Page Setup settings revert to > defaultwhen report closes > > > > Hi everybody - wondering if anyone can help with this one. I currently > > have a client's laptop here in my office so I can nut out a problem > which > > has been bugging us for a while. > > > > I have a report which has been set to landscape , and with specific > > margins. > > > > When my client opens the report on her PC it previews correctly the > first > > time she runs the report. > > > > But when she closes the database (and sometimes on only closing the > > report) if she reruns the report the page resets to portrait and with > the > > default properties of the default printer. > > > > I haven't seen this before - if I save the report in Access with a > > particular setup, how are the printer settings overwriting that? And > how > > can I prevent it? > > > > Access 2000 / Windows XP Pro 5.1 SP2 > > > > TIA > > > > Kath Pelletti > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: > 28.10.2005 > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From harkinsss at bellsouth.net Sun Oct 30 07:09:32 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 30 Oct 2005 08:09:32 -0500 Subject: [AccessD] Urgent one please - Page Setup settings reverttodefaultwhen report closes In-Reply-To: <000f01c5dd4b$aba6fae0$6401a8c0@user> Message-ID: <20051030130935.YLKB3007.ibm59aec.bellsouth.net@SUSANONE> It has been a long time, but didn't an older version of Access have a report bug where the report couldn't maintain settings of the Name Correct option was turned on? What version of Access are you using? This probably isn't it, since you are probably using a more recent version, but thought I'd mention it. Susan H. Hi Lembit - yes it is set to standard printer. I wanted to avoid setting it to a specific printer - can't I do that? It will make it harder to distribute that way..... From harkinsss at bellsouth.net Sun Oct 30 07:13:54 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 30 Oct 2005 08:13:54 -0500 Subject: [AccessD] Urgent one please - Page Setup settingsreverttodefaultwhen report closes In-Reply-To: <20051030130935.YLKB3007.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <20051030131355.YMLW3007.ibm59aec.bellsouth.net@SUSANONE> Lembit, if she needs to stick with the standard printer, can she pass the report settings to the printer via code? I mean, will the standard printer setting accept them and use them? The code part would be easy enough -- just would it work? Susan H. It has been a long time, but didn't an older version of Access have a report bug where the report couldn't maintain settings of the Name Correct option was turned on? What version of Access are you using? This probably isn't it, since you are probably using a more recent version, but thought I'd mention it. Susan H. From lembit.soobik at t-online.de Sun Oct 30 07:20:22 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 14:20:22 +0100 Subject: [AccessD] Urgent one please - Page Setupsettingsreverttodefaultwhen report closes References: <20051030131355.YMLW3007.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <000a01c5dd54$ae9c5700$0600a8c0@v1000> I dont remember details, but there was a problem in that you needed to go to design mode to set most of the parameters. therefore you cannot use that for example in an MDE. dont know how this is now with the newer versions. I used it in 97 and before. Lembit ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 30, 2005 2:13 PM Subject: Re: [AccessD] Urgent one please - Page Setupsettingsreverttodefaultwhen report closes > Lembit, if she needs to stick with the standard printer, can she pass the > report settings to the printer via code? I mean, will the standard printer > setting accept them and use them? The code part would be easy enough -- > just > would it work? > > Susan H. > > It has been a long time, but didn't an older version of Access have a > report > bug where the report couldn't maintain settings of the Name Correct option > was turned on? > > What version of Access are you using? This probably isn't it, since you > are > probably using a more recent version, but thought I'd mention it. > > Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From carbonnb at sympatico.ca Sun Oct 30 07:38:02 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 30 Oct 2005 08:38:02 -0500 Subject: [AccessD] Administrivia - Message Size Limits In-Reply-To: <01bf01c5dcdf$cd99beb0$6b01a8c0@ScuzzPaq> Message-ID: On 29 Oct 2005 at 18:23, President wrote: > The Database Advisors, Inc. Board of Directors has recently approved > lowering the size limits of messages on the list to 20k. This is an Just as a data point for anyone that is concerned with the new size limit on the lists, John Colby's post yesterday "[AccessD] New Withevents demo - Bows in the general direction of Russia..." ( http://databaseadvisors.com/pipermail/accessd/2005- October/038880.html ) was only 14K. So you can get a LOT of information in an that is snipped properly and sent in plain text. John, you have impecable timing :-) -- Bryan Carbonnell - carbonnb at sympatico.ca I live in my own little world. But it's OK. They know me here. From lembit.soobik at t-online.de Sun Oct 30 08:00:17 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 15:00:17 +0100 Subject: [AccessD] Urgent one please - PageSetupsettingsreverttodefaultwhen report closes References: <20051030131355.YMLW3007.ibm59aec.bellsouth.net@SUSANONE> <000a01c5dd54$ae9c5700$0600a8c0@v1000> Message-ID: <000601c5dd5a$42a9da30$0600a8c0@v1000> Have just found it: PrtDevMode property allows you to set among others Orientation, however in order to write to it you must go to designview. if you can do that, search help for it. you may also want to look up PrtMip and PrtDevNames In Help they recommend to look these up in Win32 SDK help. Lembit ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Sunday, October 30, 2005 2:20 PM Subject: Re: [AccessD] Urgent one please - PageSetupsettingsreverttodefaultwhen report closes >I dont remember details, but there was a problem in that you needed to go >to > design mode to set most of the parameters. therefore you cannot use that > for > example in an MDE. > dont know how this is now with the newer versions. I used it in 97 and > before. > > Lembit > > ----- Original Message ----- > From: "Susan Harkins" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 30, 2005 2:13 PM > Subject: Re: [AccessD] Urgent one please - Page > Setupsettingsreverttodefaultwhen report closes > > >> Lembit, if she needs to stick with the standard printer, can she pass the >> report settings to the printer via code? I mean, will the standard >> printer >> setting accept them and use them? The code part would be easy enough -- >> just >> would it work? >> >> Susan H. >> >> It has been a long time, but didn't an older version of Access have a >> report >> bug where the report couldn't maintain settings of the Name Correct >> option >> was turned on? >> >> What version of Access are you using? This probably isn't it, since you >> are >> probably using a more recent version, but thought I'd mention it. >> >> Susan H. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: >> 28.10.2005 >> >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From harkinsss at bellsouth.net Sun Oct 30 08:05:07 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 30 Oct 2005 09:05:07 -0500 Subject: [AccessD] Urgent one please -PageSetupsettingsreverttodefaultwhen report closes In-Reply-To: <000601c5dd5a$42a9da30$0600a8c0@v1000> Message-ID: <20051030140508.ZADD3007.ibm59aec.bellsouth.net@SUSANONE> If she's using a later version with the Printer object and Printer collections, it's much easier. I missed the beginning of the thread, so I apologize if this is irrelevant. Susan H. Have just found it: PrtDevMode property allows you to set among others Orientation, however in order to write to it you must go to designview. if you can do that, search help for it. you may also want to look up PrtMip and PrtDevNames In Help they recommend to look these up in Win32 SDK help. From lembit.soobik at t-online.de Sun Oct 30 09:06:30 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 16:06:30 +0100 Subject: [AccessD] Urgent one please-PageSetupsettingsreverttodefaultwhen report closes References: <20051030140508.ZADD3007.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <000801c5dd63$82ae77e0$0600a8c0@v1000> I have never used the printer object and collection. what she needs to do is make sure it prints in landscape with defined margins. If you can do that with your methods, lets know. otherwise, I think with PrtDevMode as property of the report you may be able to set it to landscape and save it. then it should print on the standard printer in landscape. Lembit ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 30, 2005 3:05 PM Subject: Re: [AccessD] Urgent one please-PageSetupsettingsreverttodefaultwhen report closes > If she's using a later version with the Printer object and Printer > collections, it's much easier. I missed the beginning of the thread, so I > apologize if this is irrelevant. > > Susan H. > > Have just found it: > PrtDevMode property allows you to set among others Orientation, however in > order to write to it you must go to designview. if you can do that, search > help for it. > you may also want to look up > PrtMip and > PrtDevNames > > In Help they recommend to look these up in Win32 SDK help. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From bchacc at san.rr.com Sun Oct 30 10:24:40 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 30 Oct 2005 08:24:40 -0800 Subject: [AccessD] Fw: Email Address for Sleep Advisor Orders Message-ID: <009d01c5dd6e$6e0bdf20$6501a8c0@HAL9004> Dear List: I need to collect the order and download information from our web site where we will be selling The Sleep Advisor. Does option 3 below look like an easy and/or viable solution? Would I need to use ADO or can it be done in DAO (with which I am more familiar)? Does anyone have a code snippet to get this started? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: Zachary Naiman To: Rocky Smolin - Beach Access Software Cc: Rubin R. Naiman, Ph.D. Sent: Sunday, October 30, 2005 8:03 AM Subject: Re: Email Address for Sleep Advisor Orders hi Rocky, yes, we collect those email addresses also (from the beta test that my dad did i confirmed it). we have the following options for downloading the databases from online: 1) I could build a CSV creater (about 1 hr of work) where you put in a password to access a file that allows you to download each table as a csv 2) You could install a great program called SQLyog, which will allow you to see, download and manipulate the database in real time 3) You could download the MySQL ODBC driver here http://dev.mysql.com/downloads/connector/odbc/3.51.html and then configure access (using the log-in information that your Host company, CostCo, sent you) to synchronize tables, such that every time you open your access file you'll be looking at the current data on the server. I highly recommend #3 -- it's free and quick, and you'll probably have no trouble doing it since you're an access guy! Also, that's what I'm going to set up for my dad so that he can keep the Resources database up-to-date. If you set that up today, the tables of interest in terms of payments are: 1) paypal_payment_info: this table collects the data the PayPal posts to us after a transaction (the IPN data) 2) sleeprog: this table collects the Download data -- the name and email of the person with download rights, the number of downloads left (3,2,1 or 0) and a timestamp the other three tables you see are for the Resources page. let me know what you decide and how it goes if you do #3. z ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Zachary Naiman Cc: Rubin Naiman Sent: Sunday, October 30, 2005 7:52 AM Subject: Email Address for Sleep Advisor Orders Zach: Is it possible to collect the email address of people ordering the sleep advisor on line - not the download - obviously we'll have it from that - but for those who want the product shipped. What I'm thinking of is 1) to later collect the results of their assessment for analysis (I built in a back door for exporting their results like the Betas) and 2) building a mailing list for future products, updates, etc. Sometime this week I need to find out from you how to access and download the order records from our site. What's convenient for you? Rocky From Gustav at cactus.dk Sun Oct 30 10:44:33 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 30 Oct 2005 17:44:33 +0100 Subject: [AccessD] Fw: Email Address for Sleep Advisor Orders Message-ID: Hi Rocky The short answer is yes. You can use ADO for the ODBC connection or linked DAO tables as you prefer. /gustav >>> bchacc at san.rr.com 30-10-2005 17:24 >>> Does option 3 below look like an easy and/or viable solution? Would I need to use ADO or can it be done in DAO (with which I am more familiar)? Does anyone have a code snippet to get this started? -- 3) You could download the MySQL ODBC driver here http://dev.mysql.com/downloads/connector/odbc/3.51.html and then configure access (using the log-in information that your Host company, CostCo, sent you) to synchronize tables, such that every time you open your access file you'll be looking at the current data on the server. From harkinsss at bellsouth.net Sun Oct 30 10:50:29 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 30 Oct 2005 11:50:29 -0500 Subject: [AccessD] Urgent oneplease-PageSetupsettingsreverttodefaultwhen report closes In-Reply-To: <000801c5dd63$82ae77e0$0600a8c0@v1000> Message-ID: <20051030165030.VTSL25246.ibm60aec.bellsouth.net@SUSANONE> If it's easily done with PrtDevMode, no reason not to use it. Susan H. otherwise, I think with PrtDevMode as property of the report you may be able to set it to landscape and save it. then it should print on the standard printer in landscape. From martyconnelly at shaw.ca Sun Oct 30 12:08:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 30 Oct 2005 10:08:06 -0800 Subject: [AccessD] Array faster in DLL? References: Message-ID: <43650C06.70205@shaw.ca> If you are working with really for sure definetely absolutely fixed size arrays in VB6 dll you can turn off Remove Array Bounds Checks option for about 25% speed performance increase. With the chance of a GPF Gustav Brock wrote: >Hi Fred > >Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). > >By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? >Are you saying he obtained a 50:1 improvement in total compared to VB? >I could probably handle PowerBasic without much trouble, but Assembler is far away ... > >/gustav > > > >>>>fahooper at trapo.com 29-10-2005 00:09 >>> >>>> >>>> >My brother-in-law, who develops in VB6, has told me that writing his DLL's >in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of >critical ones, he moved to Assembler for another 5:1. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, October 28, 2005 9:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Array faster in DLL? > >Hi all > >I have some routines that manipulate data in and between some arrays. >The arrays are not large but they are recalculated about 3 mio. times which >runs on my machine to 90 seconds. > >I was wondering if there would be any significant speed increase by moving >these routines to a DLL. I have no experience in writing such libraries but >guess I could find as the routines are uncomplicated. Variables are Long >mostly, only one Single. >It would take me some time to program these, of course, and if the speed >increase only could be expected to be, say, 30%, it wouldn't hardly be worth >it. > >Does anyone (Drew, Stuart?) have experience about what to expect? > >/gustav > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sun Oct 30 13:08:50 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 30 Oct 2005 11:08:50 -0800 Subject: [AccessD] Array faster in DLL? References: <43650C06.70205@shaw.ca> Message-ID: <43651A42.3050905@shaw.ca> Personally if I am using arrays or a lot of matrix math like Fourier Transforms. I develop in Intel Fortran Compiler for Windows & Visual Fortran but I can write Fortran in my sleep. It is COM compliant and callable from VBA. I have written DOS assembler a long time ago what I could do in a day in Fortran would take me 6 weeks in assembler just because I would have to relearn so much. Microsoft VB with arrays has a lot of overhead of error, type and range checking. Come to think of it IBM Fortran compilers and maybe others used to produce an optional ASM listing that might help you out. MartyConnelly wrote: >If you are working with really for sure definetely absolutely fixed size >arrays in VB6 dll you can >turn off Remove Array Bounds Checks option for about 25% speed >performance increase. >With the chance of a GPF > >Gustav Brock wrote: > > > >>Hi Fred >> >>Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). >> >>By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? >>Are you saying he obtained a 50:1 improvement in total compared to VB? >>I could probably handle PowerBasic without much trouble, but Assembler is far away ... >> >>/gustav >> >> >> >> >> >>>>>fahooper at trapo.com 29-10-2005 00:09 >>> >>>>> >>>>> >>>>> >>>>> >>My brother-in-law, who develops in VB6, has told me that writing his DLL's >>in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of >>critical ones, he moved to Assembler for another 5:1. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: Friday, October 28, 2005 9:30 AM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Array faster in DLL? >> >>Hi all >> >>I have some routines that manipulate data in and between some arrays. >>The arrays are not large but they are recalculated about 3 mio. times which >>runs on my machine to 90 seconds. >> >>I was wondering if there would be any significant speed increase by moving >>these routines to a DLL. I have no experience in writing such libraries but >>guess I could find as the routines are uncomplicated. Variables are Long >>mostly, only one Single. >>It would take me some time to program these, of course, and if the speed >>increase only could be expected to be, say, 30%, it wouldn't hardly be worth >>it. >> >>Does anyone (Drew, Stuart?) have experience about what to expect? >> >>/gustav >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sun Oct 30 14:16:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 30 Oct 2005 21:16:19 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Marty, Shamil, Fred et all Well, I did a small and quite surprising test inspired by Shamil. Here is a test routine which can be seen as typical for what I do. The array is not large but it is read from and written to a bunch of times. Here is the local test using standard VBA: Function ArrayTimeLocal(ByVal lngLoopMax As Long) As Long Const lngItems As Long = 100 Dim alngTmp(1 To lngItems, 1 To 2) As Long Dim lngLoop As Long Dim lngItem As Long Dim lngResult As Long Dim lngSeconds As Long Dim dblStart As Double Dim dblStop As Double dblStart = Timer For lngLoop = 1 To lngLoopMax For lngItem = 1 To lngItems alngTmp(lngItem, 1) = lngLoop * 10 If alngTmp(lngItem, 1) / 10 = 100 Then lngResult = 1 Else lngResult = 0 End If Next Next dblStop = Timer lngSeconds = CLng(dblStop - dblStart) ArrayTimeLocal = lngSeconds End Function And this is the test function using an DLL containing nearly identical code: Declare Function ArrayTime Lib "arraydll.dll" Alias "ArrayTime at 4" (ByVal lngLoops As Long) As Long Function ArrayTimeDLL(ByVal lngLoopMax As Long) As Long ArrayTimeDLL = ArrayTime(lngLoopMax) End Function The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. Setting lngLoopMax to 10^6 returns these running times for the two functions: ArrayTimeLocal: 34 seconds ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! Nothing comes free, and the trouble is - as far as I can see - that the dll has to be programmed to run rock stable. If it errors out, Access halts or simply quits - no errors, no GPF, just poof away. With this result I think I'll leave the assembler stuff for now. Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, we could rank these. /gustav >>> martyconnelly at shaw.ca 30-10-2005 20:08 >>> Personally if I am using arrays or a lot of matrix math like Fourier Transforms. I develop in Intel Fortran Compiler for Windows & Visual Fortran but I can write Fortran in my sleep. It is COM compliant and callable from VBA. I have written DOS assembler a long time ago what I could do in a day in Fortran would take me 6 weeks in assembler just because I would have to relearn so much. Microsoft VB with arrays has a lot of overhead of error, type and range checking. Come to think of it IBM Fortran compilers and maybe others used to produce an optional ASM listing that might help you out. MartyConnelly wrote: >If you are working with really for sure definetely absolutely fixed size >arrays in VB6 dll you can >turn off Remove Array Bounds Checks option for about 25% speed >performance increase. >With the chance of a GPF From martyconnelly at shaw.ca Sun Oct 30 15:37:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 30 Oct 2005 13:37:35 -0800 Subject: [AccessD] Array faster in DLL? References: <43650C06.70205@shaw.ca> <43651A42.3050905@shaw.ca> Message-ID: <43653D1F.1070403@shaw.ca> Oopps here is the url For Intel Fortran Note: it also optimizes on array loops for parallel processing assuming multi cores. http://www.intel.com/cd/software/products/asmo-na/eng/compilers/fwin/219725.htm MartyConnelly wrote: >Personally if I am using arrays or a lot of matrix math like Fourier >Transforms. I develop in >Intel Fortran Compiler for Windows & Visual Fortran but I can write >Fortran in my sleep. >It is COM compliant and callable from VBA. I have written DOS assembler >a long time ago >what I could do in a day in Fortran would take me 6 weeks in assembler >just because I would >have to relearn so much. Microsoft VB with arrays has a lot of overhead >of error, type and range checking. >Come to think of it IBM Fortran compilers and maybe others used to >produce an optional ASM listing that might help you out. > >MartyConnelly wrote: > > > >>If you are working with really for sure definetely absolutely fixed size >>arrays in VB6 dll you can >>turn off Remove Array Bounds Checks option for about 25% speed >>performance increase. >>With the chance of a GPF >> >>Gustav Brock wrote: >> >> >> >> >> >>>Hi Fred >>> >>>Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). >>> >>>By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? >>>Are you saying he obtained a 50:1 improvement in total compared to VB? >>>I could probably handle PowerBasic without much trouble, but Assembler is far away ... >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>> >>>>>>fahooper at trapo.com 29-10-2005 00:09 >>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>My brother-in-law, who develops in VB6, has told me that writing his DLL's >>>in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of >>>critical ones, he moved to Assembler for another 5:1. >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>>Sent: Friday, October 28, 2005 9:30 AM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Array faster in DLL? >>> >>>Hi all >>> >>>I have some routines that manipulate data in and between some arrays. >>>The arrays are not large but they are recalculated about 3 mio. times which >>>runs on my machine to 90 seconds. >>> >>>I was wondering if there would be any significant speed increase by moving >>>these routines to a DLL. I have no experience in writing such libraries but >>>guess I could find as the routines are uncomplicated. Variables are Long >>>mostly, only one Single. >>>It would take me some time to program these, of course, and if the speed >>>increase only could be expected to be, say, 30%, it wouldn't hardly be worth >>>it. >>> >>>Does anyone (Drew, Stuart?) have experience about what to expect? >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From KP at sdsonline.net Sun Oct 30 16:15:32 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Mon, 31 Oct 2005 09:15:32 +1100 Subject: [AccessD] Urgent oneplease-PageSetupsettingsreverttodefaultwhenreport closes References: <20051030165030.VTSL25246.ibm60aec.bellsouth.net@SUSANONE> Message-ID: <004301c5dd9f$7271b400$6401a8c0@user> Hi Susan - this is Access 2000, Windows Pro XP sp2. Kath ----- Original Message ----- From: Susan Harkins To: 'Access Developers discussion and problem solving' Sent: Monday, October 31, 2005 3:50 AM Subject: Re: [AccessD] Urgent oneplease-PageSetupsettingsreverttodefaultwhenreport closes If it's easily done with PrtDevMode, no reason not to use it. Susan H. otherwise, I think with PrtDevMode as property of the report you may be able to set it to landscape and save it. then it should print on the standard printer in landscape. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Oct 30 20:18:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 30 Oct 2005 18:18:13 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: <43653D1F.1070403@shaw.ca> Message-ID: <005c01c5ddc1$590da420$017ba8c0@xpserver> OT: I would normally not post this item here but I am not sure where I would find a more experience group. It appears that one of my servers has been hacked. :-( The first indication is, and it may be unrelated, is that one of my FTP directories that I have used for unloading and downloading files into has a 'Locked' directory in it. It is real simple to do this; and do not try it! make a directory like: \temp\o0oKARo0o\here\ and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? The second indication is that a subnet, even though that all the computers hung off it have been disconnected; there was a lot of activity on that IP address logged. The intruder was tracked as far as an ISP in the states but could be followed no further. According to his 'Webmin', Chinese is his first language and his OS of choice is LINUX. No more information could be gathered. He has not been able to access the administration account as there were a number of failed attempts logged while trying to change passwords. All the account passwords change regularly and are of a sufficient complexity (over 6 characters, mixture of upper and lower case, mixture of letters and numbers and must have at least one special character.) but still have no idea how access was attained. The computer is an advanced Windows2000 server, with latest updates, even though all mail goes through it does not have the capacity to send mail directly other then through PHP and ASP, has a MS SQL server but its ports are closed. It does have IIS running but none of the web sites are writable. Any help would be greatly appreciated. MTIA Jim From stuart at lexacorp.com.pg Sun Oct 30 20:41:55 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 31 Oct 2005 12:41:55 +1000 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <43661113.5939.192D1374@stuart.lexacorp.com.pg> On 30 Oct 2005 at 21:16, Gustav Brock wrote: > The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. > > Setting lngLoopMax to 10^6 returns these running times for the two functions: > > ArrayTimeLocal: 34 seconds > ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) > > Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! ... > Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, On my machine with the same code compiled to DLL in PowerBasic: ArrayTimeLocal: 27 (10^6) ArrayTimeDLL: 2.7 (actually 27 secs for 10^7) An improvement of 10:1 . Looks like for this set of operations FreeBASIC does a better job than PowerBASIC. -- Stuart From Bruce.Bruen at railcorp.nsw.gov.au Sun Oct 30 21:43:59 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Mon, 31 Oct 2005 14:43:59 +1100 Subject: [AccessD] OT: Been hacked Message-ID: <9E741970C18E9A43A2E5FF34332F7F2D600C44@msmet100.rail.nsw.gov.au> and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? Its possibly not a space but a non-displayable character. Try copying the folder name from explorer into a hexeditor. Hth bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From DWUTKA at marlow.com Sun Oct 30 22:01:34 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sun, 30 Oct 2005 22:01:34 -0600 Subject: [AccessD] Array faster in DLL? Message-ID: <123701F54509D9119A4F00D0B7473490EA5F4F@main2.marlow.com> Yes, an array will run faster in a compiled state. How much, I'm not sure, it is going to depend what you are doing. Drew -----Original Message----- From: Jim DeMarco [SMTP:Jdemarco at hudsonhealthplan.org] Sent: Friday, October 28, 2005 8:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Array faster in DLL? Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Oct 30 22:05:03 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sun, 30 Oct 2005 22:05:03 -0600 Subject: [AccessD] Array faster in DLL? Message-ID: <123701F54509D9119A4F00D0B7473490EA5F50@main2.marlow.com> Ironically, I've been messing with arrays this weekend. I initially was using collections, but due to the multiple 'runs', the process was taking about a minute. Switching part of it to arrays cut that in half, and all the way to arrays got it down to 4 seconds in debug mode (less then a second compiled). One thing I did, which also immensely helped, is that I was passing strings to and from an array (actually, I was adding to a string over and over....and manipulating data within the string), along with copying one array to another. Instead of looping through, I used the copymemory API, instantaneous to and from the arrays and strings. Drew -----Original Message----- From: Gustav Brock [SMTP:Gustav at cactus.dk] Sent: Friday, October 28, 2005 9:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Oct 30 22:07:11 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sun, 30 Oct 2005 22:07:11 -0600 Subject: [AccessD] Array faster in DLL? Message-ID: <123701F54509D9119A4F00D0B7473490EA5F51@main2.marlow.com> I think Gustav is talking about making a .dll in C, which can then be called with an API call. VB makes ActiveX .dll's, which has a little more overhead involved. Drew -----Original Message----- From: Jim DeMarco [SMTP:Jdemarco at hudsonhealthplan.org] Sent: Friday, October 28, 2005 11:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Array faster in DLL? >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 12:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim But it wouldn't be more complicated than a Windows API call which you can use just by a Declare .. As .. etc. I have no need for setting properties, not even checking a result code ... /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 17:47:16 >>> Yes if you want it in a DLL (or you'll at least need a class that uses your standard modules; these will provide the public interface to the DLL). Think about every built-in VBA oject you use. All stored in classes in various DLLs within Office (hence "object"). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 10:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Oct 30 22:14:45 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sun, 30 Oct 2005 22:14:45 -0600 Subject: [AccessD] Friday Humour Challenge Message-ID: <123701F54509D9119A4F00D0B7473490EA5F52@main2.marlow.com> LOL, thanks. Actually, I kind of like the MSDN that came with Office 2000 Developer. Searching it is a pain, but I have figured out how to get most of what I what a bit more directly, it is almost instinct! Lol! Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Friday, October 28, 2005 4:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Friday Humour Challenge Your MSDN is MUCH better than mine! Nice. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: October 28, 2005 5:02 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Friday Humour Challenge IBM: I've Been Moved (and yes, I was an IBM kid, and we were moved a LOT!) MSDN: Most Searches Develop Nada DBA: Don't Bash Access Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Oct 30 23:40:39 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 30 Oct 2005 21:40:39 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: <9E741970C18E9A43A2E5FF34332F7F2D600C44@msmet100.rail.nsw.gov.au> Message-ID: <006301c5dddd$a0774890$017ba8c0@xpserver> Hi Bruce: I would like to but do you know of a stable disk scanner hex-editor that will run on a Server without crashing? Norton's use to make a great product before Windows95.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Sunday, October 30, 2005 7:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Been hacked and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? Its possibly not a space but a non-displayable character. Try copying the folder name from explorer into a hexeditor. Hth bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From viner at EUnet.yu Mon Oct 31 02:14:57 2005 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 31 Oct 2005 09:14:57 +0100 Subject: [AccessD] Virtual library Message-ID: <02d101c5ddf3$99126c40$0100a8c0@RazvojErvin> Hi, I was aked to do some voluntary work for some community. I need some ideas in designing a virtual library management database. The database will manage various matherial for amatheur folk dancers, mostly with their home made video and sound matherial, maybe books etc. The library members will have a questionnaire(in .doc, .xls or .mdb I don't know yet) and will send the data for the "main library manager", who will import tha data to the main library(maybe further directly through Web). There will be involved books, video tapes, CD, DVD disc, sound recordings(LP discs, sound casettes etc.) etc. So when a member want to learn some special type of folk dance he/she 'll ask the "main library" are there any matherial for this. Are there any idea for tables and relationships? Many thanks in advance, Ervin Brindza From shamil at users.mns.ru Mon Oct 31 02:40:17 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 11:40:17 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <00d701c5ddf6$bbcc2a20$6401a8c0@fincomplex.spb.ru> Hi Gustav, With switched off array bounds check and integer overflow check your sample code runs in less than 1 second when in VB6 bActiveX dll. Similar code in C++(VS.NET 2003) runs instantaneously. C++ allows to measure time when 10^6 cycles are additionally cycled 10^7 times! Below is sample C++ code. Maybe I did make some mistakes - 10^7 * 10^6 loops in just two seconds looks incredible speed gain under C++ - these are 989,999,010,000,000 cycles... And in 19 seconds 9,899,990,100,000,000 cycles can be executed. long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); int _tmain(int argc, _TCHAR* argv[]) { long dblStart; long dblStop; long lngResult; long lngCnt = 0; __int64 totalCnt = 0; time(&dblStart); for (int i = 1; i<=10000000; i++) { lngResult = ArrayTimeLocal(1000000, lngCnt); totalCnt += ((__int64)lngCnt); if ((i % 1000000) == 0) printf("Result = %ld, Counter = %I64d\n", lngResult, totalCnt); } time(&dblStop); lngResult = (long)difftime(dblStop,dblStart); printf("Final Result = %ld, Final Counter = %I64d\n", lngResult, totalCnt); } long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { const long lngItems = 100; long alngTmp[lngItems-1][1]; long lngLoop; long lngItem; long lngResult; long lngSeconds; long dblStart; long dblStop; lngTotalCnt = 0; time(&dblStart); for (lngLoop=1; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=1; lngItem < lngItems; lngItem++) { alngTmp[lngItem-1][0] = lngLoop * 10; if (alngTmp[lngItem-1][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart); return lngSeconds; } And here is result of this code test run: Result = 0, Counter = 98999901000000 Result = 0, Counter = 197999802000000 Result = 0, Counter = 296999703000000 Result = 0, Counter = 395999604000000 Result = 0, Counter = 494999505000000 Result = 0, Counter = 593999406000000 Result = 0, Counter = 692999307000000 Result = 0, Counter = 791999208000000 Result = 0, Counter = 890999109000000 Result = 0, Counter = 989999010000000 Final Result = 2, Final Counter = 989999010000000 Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, October 30, 2005 11:16 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Marty, Shamil, Fred et all > > Well, I did a small and quite surprising test inspired by Shamil. > Here is a test routine which can be seen as typical for what I do. > The array is not large but it is read from and written to a bunch of times. > > Here is the local test using standard VBA: > > Function ArrayTimeLocal(ByVal lngLoopMax As Long) As Long > > Const lngItems As Long = 100 > > Dim alngTmp(1 To lngItems, 1 To 2) As Long > Dim lngLoop As Long > Dim lngItem As Long > Dim lngResult As Long > Dim lngSeconds As Long > Dim dblStart As Double > Dim dblStop As Double > > dblStart = Timer > > For lngLoop = 1 To lngLoopMax > For lngItem = 1 To lngItems > alngTmp(lngItem, 1) = lngLoop * 10 > If alngTmp(lngItem, 1) / 10 = 100 Then > lngResult = 1 > Else > lngResult = 0 > End If > Next > Next > > dblStop = Timer > lngSeconds = CLng(dblStop - dblStart) > > ArrayTimeLocal = lngSeconds > > End Function > > And this is the test function using an DLL containing nearly identical code: > > Declare Function ArrayTime Lib "arraydll.dll" Alias "ArrayTime at 4" (ByVal lngLoops As Long) As Long > > Function ArrayTimeDLL(ByVal lngLoopMax As Long) As Long > > ArrayTimeDLL = ArrayTime(lngLoopMax) > > End Function > > The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. > > Setting lngLoopMax to 10^6 returns these running times for the two functions: > > ArrayTimeLocal: 34 seconds > ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) > > Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! > > Nothing comes free, and the trouble is - as far as I can see - that the dll has to be programmed to run rock stable. If it errors out, Access halts or simply quits - no errors, no GPF, just poof away. > > With this result I think I'll leave the assembler stuff for now. Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, we could rank these. > > /gustav > > > >>> martyconnelly at shaw.ca 30-10-2005 20:08 >>> > Personally if I am using arrays or a lot of matrix math like Fourier Transforms. I develop in Intel Fortran Compiler for Windows & Visual Fortran but I can write Fortran in my sleep. > It is COM compliant and callable from VBA. I have written DOS assembler a long time ago what I could do in a day in Fortran would take me 6 weeks in assembler just because I would have to relearn so much. Microsoft VB with arrays has a lot of overhead of error, type and range checking. > Come to think of it IBM Fortran compilers and maybe others used to produce an optional ASM listing that might help you out. > > MartyConnelly wrote: > > >If you are working with really for sure definetely absolutely fixed size > >arrays in VB6 dll you can > >turn off Remove Array Bounds Checks option for about 25% speed > >performance increase. > >With the chance of a GPF > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 31 02:51:17 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 09:51:17 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Marty Thanks! For those of you working with dot net note that this compiler (also) integrates with Visual Studio. However, it is so many years since I touched Fortran as a happy student that I have forgotten it 99%. It certainly looks like a perfect choice for heavy floating point operations - which I don't need - at a fair cost. It could be interesting to see how the computing time would be in VB(A) for the sinus approximation sample here: http://www.intel.com/software/products/compilers/fwin/docs/Getting_Started.htm /gustav >>> martyconnelly at shaw.ca 30-10-2005 22:37:35 >>> Oopps here is the url For Intel Fortran Note: it also optimizes on array loops for parallel processing assuming multi cores. http://www.intel.com/cd/software/products/asmo-na/eng/compilers/fwin/219725.htm From DWUTKA at marlow.com Mon Oct 31 03:28:07 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 03:28:07 -0600 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: <123701F54509D9119A4F00D0B7473490EA5F54@main2.marlow.com> A few years ago, we had a thread about encryption. I had programmed an 'enigma wheel' encryption routine. There were pros and cons to it. The Enigma machine was a machine developed by the Germans during World War II, which used mechanical wheels, with 'mixed' lettering. It was a pretty neat machine. Anyhow, that code was sitting and gathering dust until recently. I'm working on a pretty big project, and I was in need of some encryption capabilities. So I decided to blow the dust off of that Enigma Wheel code, and make something workable out of it. For starters, I wanted it as a class, which I tend to use more often now in development (one of the many things JC and I actually agree upon! ). Initially, I used three classes, each class having a collection of the classes below it. Programmatically speaking, it was nice. Processing wise, NO WAY. The first thing I need to do in the 'big' project I am working on, is to 'decrypt' about 90k worth of data. In my tests of my initial 'three class' code, it was taking over a minute to encrypt or decrypt about 150k. WAY too long. So I dropped the end class, so now I was running two classes, the main one holding a collection of the second one, and the second now had arrays instead of collections. Well, that dropped my 'test time' (of the ~150k file) down to about 30 to 40 seconds. Still too slow. So then I converted the entire thing into one class, using nothing but arrays inside. That did the trick. It did the ~150k file in a flash. When encrypting or decrypting a file, the machine I am using (an 800 mhz. PIII) takes about 2 to 3 seconds per megabyte. Not bad. In the process of optimizing the code, I also had to overcome the obstacle of string 'recombination'. VB.Net has a class to do this, but I am creating my big project in VB 6.0. Strings are easy to deal with, but if you are tearing them apart, and rebuilding them, that can be time consuming. Take for example this routine (sorry for the horrible naming convention....this is just an example): Private Sub Command3_Click() Dim strTemp As String Dim strTemp2 As String Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") strTemp2 = "" dtStart = Now For i = 1 To Len(strTemp) strTemp2 = strTemp2 & LCase(Mid(strTemp, i, 1)) Next i MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub In the code above, on my 800 mhz machine, I get 34 seconds. Note that we don't start 'timing' until we get into the loop. The string function, which in this case, is creating a string 100,000 characters long, of all A's, is neglible anyways. However, the For Next loop is where we are going to process the first string, and build the second string with the 'processed' characters. In this case, we are simply getting the lower case version of the character. (Yes, I know, we could just Lcase the whole first string, but that isn't the point. What if we are swapping characters (such as in my encryption routine)? Anyhow, the time we are taking isn't in the Lcase and Mid statements, it's in the strTemp2=strTemp2 & part. Initial, that process screams. Add a debug.print statement of 'i' and you'll see what I mean. It will rocket through the beginning, but as strTemp2 gets bigger and bigger, it will get slower and slower. So how do we speed that up? Arrays...byte arrays, to be specific, with a simple API call, CopyMemory. Take a look at the code below: Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Private Sub Command4_Click() Dim strTemp As String Dim strTemp2 As String Dim tmpArray() As Byte Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") ReDim tmpArray(1 To Len(strTemp)) strTemp2 = "" dtStart = Now CopyMemory tmpArray(1), ByVal strTemp, Len(strTemp) For i = 1 To Len(strTemp) tmpArray(i) = Asc(LCase(Chr(tmpArray(i)))) Next i strTemp2 = StrConv(tmpArray, vbUnicode) MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub Same process, with two steps added. Before we start 'timing', we do redimension the byte array, but, I did include the copymemory statement within the 'timed' portion. That's the first step we added. CopyMemory. Note that the first argument is what we are copying into (and we have to refer to the first item in the array, not just the array itself), then the next argument is the string we want to copy into the array (using the ByVal statement, some API's are fun like that), then we tell it how much of the string we want to copy. (Because we could copy just a part if we want....warning, copying more then is there will crash the VBE....). The second part we added is the strConv line. Where we convert the byte array back into a string. We also modified the 'processing' that is being done, because the byte array is going to represent the ASCII values of a string, not the text itself. But the same process is in place (we are converting the ASCII byte to a character, then setting it to lowercase, and then converting it back to ascii). All the added steps, I wonder how fast it will be, well, on the same machine we got 34 seconds for on the first routine, we get 0 seconds for this routine. Same processing results, and that 0 seconds pops up instantaneously. Quite a performance increase, I'd say. Anyhow, back to my encryption routine. I went a bit further then just optimizing it. The encryption process has 3 elements. Password, SecondPassword, and a set of wheels. The first two are properties of the class. The second password is not necessary, but can be used. The set of wheels is hard coded into the class itself (and is a code equivalent of the enigma machine). If all 3 elements must be the same, in order to decrypt something encrypted with them. So if you encrypt with Password of 'Hey how's it going', and a blank second password, but you try to decrypt with the same, but a different 'set of wheels', the decrypt results will just be gobbly gook. As an explanation, the first password is used to set the wheels (which ones, how many, and which direction they rotate in), and the second password is used to set their position (if not used, all wheels start in their initial position). Where I went further then optimizing the code, is that I created an Add-in, to add the 'WheelEncryption' class to my projects. The Add-in uses a database which stores 'wheel sets' (which it generates for you), so you can use different wheel sets for different projects, etc. The class itself is very easy to use. It only has 5 properties to deal with. EncryptionType (which can be ASCII or Text (text will encrypt any typable text (Ascii values 32 to 126 (so Carriage return and line feed wouldn't fit in that), and it will encrypt it into a string with characters in the same range. (so AAAAA might become XcC[9), ascii encrypts all 256 characters, into the same. So AAAAA might include nulls or other non-keyboard characters.)), Password (Any text and any length (the longer this is the more wheels are used....though a huge amount of wheels will slow down the encrypt/decrypt process accordingly)), SecondPassword( also any text will work for this (can be shorter or longer then the first password (though if it's longer, only the length of the first password would matter on decryption....))). The last two properties are the EncryptedData and NormalData properties (setting one internally encrypts/decrypts the other). If anyone is interested in the Add-in, let me know. Sorry for the lengthy post, but I just got finished with the Add-in, and I like writing mini novels to wind down after some serious coding! ;) Drew From DWUTKA at marlow.com Mon Oct 31 03:30:29 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 03:30:29 -0600 Subject: [AccessD] OT: Been hacked Message-ID: <123701F54509D9119A4F00D0B7473490EA5F55@main2.marlow.com> Or just scan the folder with VB(A). Doing a DIR will return the folder name.....and you should be able to scan through the characters, or even just kill it from code. Drew -----Original Message----- From: Bruen, Bruce [SMTP:Bruce.Bruen at railcorp.nsw.gov.au] Sent: Sunday, October 30, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Been hacked and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? Its possibly not a space but a non-displayable character. Try copying the folder name from explorer into a hexeditor. Hth bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Oct 31 03:36:07 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 03:36:07 -0600 Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... Message-ID: <123701F54509D9119A4F00D0B7473490EA5F56@main2.marlow.com> Just a small note to those on the list still using Access 97. WithEvents will work within Access 97, however, you cannot use RaiseEvent from within a custom class in Access 97. It is available in Access 2000 (and up), and in VB 6 (not sure what version of VB RaiseEvent was added). It is a reserved word in A97, but unfortunately does nothing. Personally, I still love Access 97. I use it exclusively when I just need a database (but not a GUI). If I need a Access based GUI, I tend to go with 2000 or up, simply for the reason of getting custom events within my classes. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Saturday, October 29, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... Folks, First of all, let me once again thank Shamil whom I consider to be the Father of AccessD Withevents usage, and who taught me everything I know about the subject. Withevents is the single most useful undocumented feature of Access AFAIAC. Withevents are DEAD EASY to understand, and make available a whole class of functionality that you would otherwise be unable to use. If you don't understand them yet, take this opportunity to learn how they work. From shamil at users.mns.ru Mon Oct 31 04:34:11 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 13:34:11 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <002a01c5de06$a39d4410$6401a8c0@fincomplex.spb.ru> Gustav, I think if you say that you have forgotten 99% Fortran then you can convert your code into C++ with same efforts as on Fortran. I mean - if your code is just "arrays shuffling" as you say then VB(A)-> C++ conversion is almost line by line... I did recheck - your code runs just in 5 seconds on VB6 with array bounds checks and integer overflow checks switched off. These are 100,000,000 loops. I did also test your sample code on C# and VB.NET - and it runs in 5-6 seconds with switched off integer overflow checks (it looks that there is no way to switch off array bounds checks for C# and VB.NET) . Here is VB.NETcode I used for testing: VB.NET ----------- Module testArrays Sub Main() Dim lngResult As Long = 0 Dim lngCnt As Long = 0 Dim lngTotalCnt As Long = 0 lngResult = ArrayTimeLocal(1000000, lngTotalCnt) lngTotalCnt += lngCnt Console.WriteLine(String.Format( _ "Final Result = {0:#,##0}, Final Counter = {1:#,##0}", _ lngResult, lngTotalCnt)) End Sub Function ArrayTimeLocal(ByVal lngLoopMax As Long, ByRef lngTotalCnt As Long) As Long Const lngItems As Long = 100 Dim alngTmp(lngItems - 1, 1) As Long Dim lngLoop As Long Dim lngItem As Long Dim lngResult As Long Dim lngSeconds As Long Dim dblStart As Double Dim dblStop As Double Dim lngCnt As Long = 0 dblStart = Timer For lngLoop = 0 To lngLoopMax - 1 For lngItem = 0 To lngItems - 1 alngTmp(lngItem, 1) = lngLoop * 10 If alngTmp(lngItem, 1) / 10 = 100 Then lngResult = 1 Else lngResult = 0 End If lngCnt += 1 Next Next dblStop = Timer lngSeconds = CLng(dblStop - dblStart) lngTotalCnt = lngCnt ArrayTimeLocal = lngSeconds End Function End Module Output ---------- Final Result = 5, Final Counter = 100,000,000 C# === using System; using Microsoft.VisualBasic; namespace testArraysCS { class TestArrays { [STAThread] unsafe static void Main(string[] args) { long lngTotalCnt = 0; long lngResult = 0; lngResult = ArrayTimeLocal(1000000, ref lngTotalCnt); Console.WriteLine(String.Format( "Final Result = {0:#,##0}, Final Counter = {1:#,##0}", lngResult, lngTotalCnt)); } unsafe static long ArrayTimeLocal(long lngLoopMax, ref long lngTotalCnt) { const long lngItems = 100; long[,] alngTmp = new long[lngItems,1] ; long lngLoop; long lngItem; long lngResult=0; double dblStart; double dblStop; long lngSeconds; Console.WriteLine("Array looping test started..."); dblStart = Microsoft.VisualBasic.DateAndTime.Timer; lngTotalCnt = 0; for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem,0] = lngLoop * 10; if (alngTmp[lngItem,0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } dblStop = Microsoft.VisualBasic.DateAndTime.Timer; Console.WriteLine("Array looping test ended."); lngSeconds = (long)(dblStop - dblStart); return lngSeconds; } } } Output --------- Array looping test started... Array looping test ended. Final Result = 6, Final Counter = 100,000,000 Recapitulation: =========== C++ & Fortran (and COBOL?) rule and rock forever! :) Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 31, 2005 11:51 AM Subject: Re: [AccessD] Array faster in DLL? > Hi Marty > > Thanks! For those of you working with dot net note that this compiler (also) integrates with Visual Studio. > However, it is so many years since I touched Fortran as a happy student that I have forgotten it 99%. > It certainly looks like a perfect choice for heavy floating point operations - which I don't need - at a fair cost. > > It could be interesting to see how the computing time would be in VB(A) for the sinus approximation sample here: > > http://www.intel.com/software/products/compilers/fwin/docs/Getting_Started.htm > > /gustav > > >>> martyconnelly at shaw.ca 30-10-2005 22:37:35 >>> > Oopps here is the url > For Intel Fortran Note: it also optimizes on array loops for parallel > processing assuming multi cores. > > http://www.intel.com/cd/software/products/asmo-na/eng/compilers/fwin/219725.htm > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 31 05:07:23 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 12:07:23 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil I just read your post following this, and your conclusion about C# seems to be true. Your results from C++ is an eye-opener. I hardly can believe that speed improvement! But for a true comparison, could I persuade you to compile it to an DLL and call that from VB(A) the same way I did with the DLL compiled in FreeBASIC? You would probably need 10^7 loops or - if you measurement holds - 10^8 loops. /gustav >>> shamil at users.mns.ru 31-10-2005 09:40:17 >>> Hi Gustav, With switched off array bounds check and integer overflow check your sample code runs in less than 1 second when in VB6 bActiveX dll. Similar code in C++(VS.NET 2003) runs instantaneously. C++ allows to measure time when 10^6 cycles are additionally cycled 10^7 times! Below is sample C++ code. Maybe I did make some mistakes - 10^7 * 10^6 loops in just two seconds looks incredible speed gain under C++ - these are 989,999,010,000,000 cycles... And in 19 seconds 9,899,990,100,000,000 cycles can be executed. long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); int _tmain(int argc, _TCHAR* argv[]) { long dblStart; long dblStop; long lngResult; long lngCnt = 0; __int64 totalCnt = 0; time(&dblStart); for (int i = 1; i<=10000000; i++) { lngResult = ArrayTimeLocal(1000000, lngCnt); totalCnt += ((__int64)lngCnt); if ((i % 1000000) == 0) printf("Result = %ld, Counter = %I64d\n", lngResult, totalCnt); } time(&dblStop); lngResult = (long)difftime(dblStop,dblStart); printf("Final Result = %ld, Final Counter = %I64d\n", lngResult, totalCnt); } long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { const long lngItems = 100; long alngTmp[lngItems-1][1]; long lngLoop; long lngItem; long lngResult; long lngSeconds; long dblStart; long dblStop; lngTotalCnt = 0; time(&dblStart); for (lngLoop=1; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=1; lngItem < lngItems; lngItem++) { alngTmp[lngItem-1][0] = lngLoop * 10; if (alngTmp[lngItem-1][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart); return lngSeconds; } And here is result of this code test run: Result = 0, Counter = 98999901000000 Result = 0, Counter = 197999802000000 Result = 0, Counter = 296999703000000 Result = 0, Counter = 395999604000000 Result = 0, Counter = 494999505000000 Result = 0, Counter = 593999406000000 Result = 0, Counter = 692999307000000 Result = 0, Counter = 791999208000000 Result = 0, Counter = 890999109000000 Result = 0, Counter = 989999010000000 Final Result = 2, Final Counter = 989999010000000 Shamil From shamil at users.mns.ru Mon Oct 31 05:17:09 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 14:17:09 +0300 Subject: [AccessD] Array faster in DLL? References: <002a01c5de06$a39d4410$6401a8c0@fincomplex.spb.ru> Message-ID: <003d01c5de0c$a3a76e80$6401a8c0@fincomplex.spb.ru> Gustav, And finally here is managed C++, which runs instantaneously: #include "stdafx.h" #using #using using namespace System; static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); int _tmain() { long lngTotalCnt = 0; long lngResult = 0; lngResult = ArrayTimeLocal(1000000, lngTotalCnt); Console::WriteLine(String::Format( S"Final Result = {0:#,##0}, Final Counter = {1:#,##0}", __box(lngResult), __box(lngTotalCnt))); } static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { const long lngItems = 100; long alngTmp[lngItems-1][2]; long lngLoop; long lngItem; long lngResult=0; double dblStart; double dblStop; long lngSeconds; Console::WriteLine("Array looping test started..."); dblStart = Microsoft::VisualBasic::DateAndTime::Timer; lngTotalCnt = 0; for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } dblStop = Microsoft::VisualBasic::DateAndTime::Timer; Console::WriteLine("Array looping test ended."); lngSeconds = (long)(dblStop - dblStart); return lngSeconds; } Output --------- Array looping test started... Array looping test ended. Final Result = 0, Final Counter = 100,000,000 And it takes ~18 seconds on my PC to run this test ADDITIONALLY looped 100 times.... Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Monday, October 31, 2005 1:34 PM Subject: Re: [AccessD] Array faster in DLL? > Gustav, > > I think if you say that you have forgotten 99% Fortran then you can convert > your code into C++ with same efforts as on Fortran. I mean - if your > code is just "arrays shuffling" as you say then VB(A)-> C++ conversion is > almost line by line... > > I did recheck - your code runs just in 5 seconds on VB6 with array bounds > checks and integer overflow checks switched off. These are 100,000,000 > loops. > > I did also test your sample code on C# and VB.NET - and it runs in 5-6 > seconds > with switched off integer overflow checks (it looks that there is no way to > switch off array bounds checks for C# and VB.NET) . > > Here is VB.NETcode I used for testing: > > VB.NET > ----------- > Module testArrays > > Sub Main() > Dim lngResult As Long = 0 > Dim lngCnt As Long = 0 > Dim lngTotalCnt As Long = 0 > lngResult = ArrayTimeLocal(1000000, lngTotalCnt) > lngTotalCnt += lngCnt > Console.WriteLine(String.Format( _ > "Final Result = {0:#,##0}, Final Counter = {1:#,##0}", _ > lngResult, lngTotalCnt)) > End Sub > > Function ArrayTimeLocal(ByVal lngLoopMax As Long, ByRef lngTotalCnt As > Long) As Long > > Const lngItems As Long = 100 > > Dim alngTmp(lngItems - 1, 1) As Long > Dim lngLoop As Long > Dim lngItem As Long > Dim lngResult As Long > Dim lngSeconds As Long > Dim dblStart As Double > Dim dblStop As Double > Dim lngCnt As Long = 0 > dblStart = Timer > > For lngLoop = 0 To lngLoopMax - 1 > For lngItem = 0 To lngItems - 1 > alngTmp(lngItem, 1) = lngLoop * 10 > If alngTmp(lngItem, 1) / 10 = 100 Then > lngResult = 1 > Else > lngResult = 0 > End If > lngCnt += 1 > Next > Next > > dblStop = Timer > lngSeconds = CLng(dblStop - dblStart) > > lngTotalCnt = lngCnt > ArrayTimeLocal = lngSeconds > > End Function > > End Module > > Output > ---------- > Final Result = 5, Final Counter = 100,000,000 > > C# > === > using System; > using Microsoft.VisualBasic; > > namespace testArraysCS > { > class TestArrays > { > [STAThread] > unsafe static void Main(string[] args) > { > long lngTotalCnt = 0; > long lngResult = 0; > > lngResult = ArrayTimeLocal(1000000, ref lngTotalCnt); > Console.WriteLine(String.Format( > "Final Result = {0:#,##0}, Final Counter = {1:#,##0}", > lngResult, lngTotalCnt)); > } > > unsafe static long ArrayTimeLocal(long lngLoopMax, ref long lngTotalCnt) { > const long lngItems = 100; > long[,] alngTmp = new long[lngItems,1] ; > long lngLoop; > long lngItem; > long lngResult=0; > double dblStart; > double dblStop; > long lngSeconds; > > Console.WriteLine("Array looping test started..."); > dblStart = Microsoft.VisualBasic.DateAndTime.Timer; > lngTotalCnt = 0; > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem,0] = lngLoop * 10; > if (alngTmp[lngItem,0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngTotalCnt++; > } > } > dblStop = Microsoft.VisualBasic.DateAndTime.Timer; > Console.WriteLine("Array looping test ended."); > lngSeconds = (long)(dblStop - dblStart); > return lngSeconds; > } > > } > } > > Output > --------- > Array looping test started... > Array looping test ended. > Final Result = 6, Final Counter = 100,000,000 > > Recapitulation: > =========== > > C++ & Fortran (and COBOL?) rule and rock forever! :) > > Shamil > <<< tail skipped>> From carbonnb at sympatico.ca Mon Oct 31 05:22:04 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 31 Oct 2005 06:22:04 -0500 Subject: [AccessD] OT: Been hacked In-Reply-To: <005c01c5ddc1$590da420$017ba8c0@xpserver> References: <43653D1F.1070403@shaw.ca> Message-ID: On 30 Oct 2005 at 18:18, Jim Lawrence wrote: > I would normally not post this item here but I am not sure where I > would find a more experience group. > > It appears that one of my servers has been hacked. :-( > > The first indication is, and it may be unrelated, is that one of my > FTP directories that I have used for unloading and downloading files > into has a 'Locked' directory in it. It is real simple to do this; and > do not try it! > > make a directory like: \temp\o0oKARo0o\here\ > and then rename like this: \com1*\o0oKaro0o\here\ > (*=space) > > Does anyone here know how to get rid of the thing? Drop to a command prompt and del \com1?\o0oKaro0o\here\*.* rmdir \com1?\o0oKaro0o\here\ rmdir \com1?\o0oKaro0o\ rmdir \com1?\ -- Bryan Carbonnell - carbonnb at sympatico.ca HAM AND EGGS - A day's work for a chicken; a lifetime commitment for a pig. From carbonnb at sympatico.ca Mon Oct 31 05:26:10 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 31 Oct 2005 06:26:10 -0500 Subject: [AccessD] OT: Been hacked In-Reply-To: <4365B80C.23325.1CD781@carbonnb.sympatico.ca> References: <005c01c5ddc1$590da420$017ba8c0@xpserver> Message-ID: On 31 Oct 2005 at 6:22, Bryan Carbonnell wrote: > On 30 Oct 2005 at 18:18, Jim Lawrence wrote: > > > I would normally not post this item here but I am not sure where I > > would find a more experience group. > > > > It appears that one of my servers has been hacked. :-( > > > > The first indication is, and it may be unrelated, is that one of my > > FTP directories that I have used for unloading and downloading files > > into has a 'Locked' directory in it. It is real simple to do this; > > and do not try it! > > > > make a directory like: \temp\o0oKARo0o\here\ > > and then rename like this: \com1*\o0oKaro0o\here\ > > (*=space) > > > > Does anyone here know how to get rid of the thing? > > Drop to a command prompt and > > del \com1?\o0oKaro0o\here\*.* > rmdir \com1?\o0oKaro0o\here\ > rmdir \com1?\o0oKaro0o\ > rmdir \com1?\ DOH!! Been working with Linux too much these days. Make sure that you cd to the directory where the "locked" directory is first. -- Bryan Carbonnell - carbonnb at sympatico.ca Accept that some days you are the pigeon and some days the statue. From accessd at shaw.ca Mon Oct 31 05:52:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 31 Oct 2005 03:52:20 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5F55@main2.marlow.com> Message-ID: <006c01c5de11$8cd0c670$017ba8c0@xpserver> Drew, that sounds very interesting. I will put together a program and see what I can do, Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 1:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Been hacked Or just scan the folder with VB(A). Doing a DIR will return the folder name.....and you should be able to scan through the characters, or even just kill it from code. Drew -----Original Message----- From: Bruen, Bruce [SMTP:Bruce.Bruen at railcorp.nsw.gov.au] Sent: Sunday, October 30, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Been hacked and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? Its possibly not a space but a non-displayable character. Try copying the folder name from explorer into a hexeditor. Hth bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 31 05:56:30 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 12:56:30 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil Oh my ... could you create a DLL with the essentials from your ArrayTimeLocal skipping the console parts? It just need to return the lngSeconds. Looks like I need some C++ stuff for this project! /gustav >>> shamil at users.mns.ru 31-10-2005 12:17:09 >>> Gustav, And finally here is managed C++, which runs instantaneously: #include "stdafx.h" #using #using using namespace System; static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); int _tmain() { long lngTotalCnt = 0; long lngResult = 0; lngResult = ArrayTimeLocal(1000000, lngTotalCnt); Console::WriteLine(String::Format( S"Final Result = {0:#,##0}, Final Counter = {1:#,##0}", __box(lngResult), __box(lngTotalCnt))); } static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { const long lngItems = 100; long alngTmp[lngItems-1][2]; long lngLoop; long lngItem; long lngResult=0; double dblStart; double dblStop; long lngSeconds; Console::WriteLine("Array looping test started..."); dblStart = Microsoft::VisualBasic::DateAndTime::Timer; lngTotalCnt = 0; for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } dblStop = Microsoft::VisualBasic::DateAndTime::Timer; Console::WriteLine("Array looping test ended."); lngSeconds = (long)(dblStop - dblStart); return lngSeconds; } Output --------- Array looping test started... Array looping test ended. Final Result = 0, Final Counter = 100,000,000 And it takes ~18 seconds on my PC to run this test ADDITIONALLY looped 100 times.... Shamil From Gustav at cactus.dk Mon Oct 31 06:00:44 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 13:00:44 +0100 Subject: [AccessD] Archiving (select, insert only) data Message-ID: For those of you dealing with archiving of large amounts of data here's an article about the new MySQL 5 and its archiving feature: http://dev.mysql.com/tech-resources/articles/storage-engine.html Seems like you can save a lot of diskspace for such purposes while still having data on-line. /gustav From Gustav at cactus.dk Mon Oct 31 06:06:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 13:06:21 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Stuart Thanks! This is a bit surprising, I had expected it to run faster. /gustav >>> stuart at lexacorp.com.pg 31-10-2005 03:41:55 >>> On 30 Oct 2005 at 21:16, Gustav Brock wrote: > The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. > > Setting lngLoopMax to 10^6 returns these running times for the two functions: > > ArrayTimeLocal: 34 seconds > ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) > > Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! ... > Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, On my machine with the same code compiled to DLL in PowerBasic: ArrayTimeLocal: 27 (10^6) ArrayTimeDLL: 2.7 (actually 27 secs for 10^7) An improvement of 10:1 . Looks like for this set of operations FreeBASIC does a better job than PowerBASIC. -- Stuart From shamil at users.mns.ru Mon Oct 31 06:22:23 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 15:22:23 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <000b01c5de15$c0519a20$6401a8c0@fincomplex.spb.ru> Gustav, Yes, I can make a C++ dll but maybe you first (re)define your test function call interface because even if you call very quick C++ function 1000 times from VB6 you can loose all the advantages this C++ function gives. Currently - here is C++ (non managed) console applications results for a function similar to yours: 10,000,000,000 your cycles in 13 seconds (ot looks like I did some mistakes in my previous time calculations - I have to recheck) ===================================== Final Result = 13, Final Counter = 10000000000 ===================================== Here is the C++ code for the last test: #include "stdafx.h" #include static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); int _tmain(int argc, _TCHAR* argv[]) { _int64 lngTotalCnt = 0; long lngCnt = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds = 0; time(&dblStart); for (int i=1; i<=10; i++) { ArrayTimeLocal(10000000, lngCnt); lngTotalCnt += lngCnt; } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart);; printf("Final Result = %ld, Final Counter = %I64d\n", lngSeconds, lngTotalCnt); } static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool useTracePrinting) { const long lngItems = 100; long alngTmp[lngItems][2]; long lngLoop; long lngItem; long lngResult = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds; long lngCnt = 0; if (useTracePrinting) printf("Array looping test started..\n"); time(&dblStart); for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } time(&dblStop); if (useTracePrinting) printf("Array looping test ended.\n"); lngSeconds = (long)difftime(dblStop,dblStart);; if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", lngSeconds, lngTotalCnt); lngTotalCnt = lngCnt; return lngSeconds; } I will try to move now all variable from stack to static memory - I expect it may bring even more speed execution gains. We will see. As soon as you define your final call interface I will make a test C++ .dll... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 31, 2005 2:56 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Shamil > > Oh my ... could you create a DLL with the essentials from your ArrayTimeLocal skipping the console parts? It just need to return the lngSeconds. > > Looks like I need some C++ stuff for this project! > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 12:17:09 >>> > Gustav, > > And finally here is managed C++, which runs instantaneously: > > #include "stdafx.h" > > #using > #using > > using namespace System; > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); > int _tmain() > { > long lngTotalCnt = 0; > long lngResult = 0; > > lngResult = ArrayTimeLocal(1000000, lngTotalCnt); > Console::WriteLine(String::Format( > S"Final Result = {0:#,##0}, Final Counter = {1:#,##0}", > __box(lngResult), __box(lngTotalCnt))); > } > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { > const long lngItems = 100; > long alngTmp[lngItems-1][2]; > long lngLoop; > long lngItem; > long lngResult=0; > double dblStart; > double dblStop; > long lngSeconds; > > Console::WriteLine("Array looping test started..."); > dblStart = Microsoft::VisualBasic::DateAndTime::Timer; > lngTotalCnt = 0; > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem][0] = lngLoop * 10; > if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngTotalCnt++; > } > } > dblStop = Microsoft::VisualBasic::DateAndTime::Timer; > Console::WriteLine("Array looping test ended."); > lngSeconds = (long)(dblStop - dblStart); > return lngSeconds; > } > > Output > --------- > Array looping test started... > Array looping test ended. > Final Result = 0, Final Counter = 100,000,000 > > And it takes ~18 seconds on my PC to run this test ADDITIONALLY looped 100 > times.... > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 31 06:51:14 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 31 Oct 2005 07:51:14 -0500 Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5F56@main2.marlow.com> Message-ID: <001201c5de19$c79756e0$667aa8c0@ColbyM6805> Correct you are Sir. RaiseEvent does not work in Access97. It does not cause a compile or runtime error however so you can just leave it in there and not use that functionality. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 4:36 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] New Withevents demo - Bows in the general direction of Russia... Just a small note to those on the list still using Access 97. WithEvents will work within Access 97, however, you cannot use RaiseEvent from within a custom class in Access 97. It is available in Access 2000 (and up), and in VB 6 (not sure what version of VB RaiseEvent was added). It is a reserved word in A97, but unfortunately does nothing. Personally, I still love Access 97. I use it exclusively when I just need a database (but not a GUI). If I need a Access based GUI, I tend to go with 2000 or up, simply for the reason of getting custom events within my classes. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Saturday, October 29, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... Folks, First of all, let me once again thank Shamil whom I consider to be the Father of AccessD Withevents usage, and who taught me everything I know about the subject. Withevents is the single most useful undocumented feature of Access AFAIAC. Withevents are DEAD EASY to understand, and make available a whole class of functionality that you would otherwise be unable to use. If you don't understand them yet, take this opportunity to learn how they work. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Oct 31 06:56:42 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 15:56:42 +0300 Subject: [AccessD] Array faster in DLL? References: <000b01c5de15$c0519a20$6401a8c0@fincomplex.spb.ru> Message-ID: <003c01c5de1a$9551f720$6401a8c0@fincomplex.spb.ru> With variables moved to (static) memory out of stack the code works for ~6 seconds slower (yes, that was stupid of me to expect it running faster - when getting/putting variable from/to stack Intel processors should work faster). Well, one can see 6 seconds difference on 10,000,000,000 cycle runs only - for usual programming this difference doesn't matter. Here is C++ sample code, which runs 19 seconds on my PC: #include "stdafx.h" #include typedef long COUNTER_TYPE; const long lngItems = 100; long alngTmp[lngItems][2]; long lngLoop; long lngItem; long lngResult = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds; COUNTER_TYPE lngCnt; static long ArrayTimeLocal(long lngLoopMax, COUNTER_TYPE& lngTotalCnt, bool useTracePrinting = false); int _tmain(int argc, _TCHAR* argv[]) { _int64 lngTotalCnt = 0; COUNTER_TYPE lngCnt = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds = 0; time(&dblStart); for (int i=1; i<=100; i++) { ArrayTimeLocal(1000000, lngCnt); lngTotalCnt += lngCnt; } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart);; printf("Final Result = %ld, Final Counter = %I64d\n", lngSeconds, lngTotalCnt); } static long ArrayTimeLocal(long lngLoopMax, COUNTER_TYPE& lngTotalCnt, bool useTracePrinting) { lngCnt=0; if (useTracePrinting) printf("Array looping test started..\n"); time(&dblStart); for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } time(&dblStop); if (useTracePrinting) printf("Array looping test ended.\n"); lngSeconds = (long)difftime(dblStop,dblStart);; if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", lngSeconds, lngTotalCnt); lngTotalCnt = lngCnt; return lngSeconds; } Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Monday, October 31, 2005 3:22 PM Subject: Re: [AccessD] Array faster in DLL? > Gustav, > > Yes, I can make a C++ dll but maybe you first (re)define your test function > call interface because even if you call very quick C++ function 1000 times > from VB6 you can loose all the advantages this C++ function gives. > > Currently - here is C++ (non managed) console applications results for a > function similar to yours: > > 10,000,000,000 your cycles in 13 seconds (ot looks like I did some mistakes > in my previous time calculations - I have to recheck) > > ===================================== > Final Result = 13, Final Counter = 10000000000 > ===================================== > > Here is the C++ code for the last test: > > #include "stdafx.h" > #include > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool > useTracePrinting = false); > int _tmain(int argc, _TCHAR* argv[]) > { > _int64 lngTotalCnt = 0; > long lngCnt = 0; > time_t /*double*/ dblStart; > time_t /*double*/ dblStop; > long lngSeconds = 0; > > time(&dblStart); > for (int i=1; i<=10; i++) { > ArrayTimeLocal(10000000, lngCnt); > lngTotalCnt += lngCnt; > } > time(&dblStop); > lngSeconds = (long)difftime(dblStop,dblStart);; > printf("Final Result = %ld, Final Counter = %I64d\n", > lngSeconds, lngTotalCnt); > } > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool > useTracePrinting) { > const long lngItems = 100; > long alngTmp[lngItems][2]; > long lngLoop; > long lngItem; > long lngResult = 0; > time_t /*double*/ dblStart; > time_t /*double*/ dblStop; > long lngSeconds; > long lngCnt = 0; > > if (useTracePrinting) printf("Array looping test started..\n"); > time(&dblStart); > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem][0] = lngLoop * 10; > if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngCnt++; > } > } > time(&dblStop); > if (useTracePrinting) printf("Array looping test ended.\n"); > lngSeconds = (long)difftime(dblStop,dblStart);; > if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", > lngSeconds, lngTotalCnt); > lngTotalCnt = lngCnt; > return lngSeconds; > } > > I will try to move now all variable from stack to static memory - I expect > it may bring even more speed execution gains. We will see. > > As soon as you define your final call interface I will make a test C++ > .dll... > > Shamil > <<< tail skipped>>> From Gustav at cactus.dk Mon Oct 31 07:32:27 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 14:32:27 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil For "redefining the interface" you mean that a Long is not enough to specify a count of loops large enough to obtain a running time of some seconds? That's the only parameter I wish to pass. The only needed value to return is the running duration in seconds. If so, couldn't we expand with an additional loop to multiply the count of loops: for (lngSequence=0; lngSequence < lngSequences; lngSequence++) { for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } } and then add lngSequences as a separate parameter: static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); That would be great. /gustav >>> shamil at users.mns.ru 31-10-2005 13:22:23 >>> Gustav, Yes, I can make a C++ dll but maybe you first (re)define your test function call interface because even if you call very quick C++ function 1000 times from VB6 you can loose all the advantages this C++ function gives. Currently - here is C++ (non managed) console applications results for a function similar to yours: 10,000,000,000 your cycles in 13 seconds (ot looks like I did some mistakes in my previous time calculations - I have to recheck) ===================================== Final Result = 13, Final Counter = 10000000000 ===================================== Here is the C++ code for the last test: #include "stdafx.h" #include static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); int _tmain(int argc, _TCHAR* argv[]) { _int64 lngTotalCnt = 0; long lngCnt = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds = 0; time(&dblStart); for (int i=1; i<=10; i++) { ArrayTimeLocal(10000000, lngCnt); lngTotalCnt += lngCnt; } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart);; printf("Final Result = %ld, Final Counter = %I64d\n", lngSeconds, lngTotalCnt); } static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool useTracePrinting) { const long lngItems = 100; long alngTmp[lngItems][2]; long lngLoop; long lngItem; long lngResult = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds; long lngCnt = 0; if (useTracePrinting) printf("Array looping test started..\n"); time(&dblStart); for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } time(&dblStop); if (useTracePrinting) printf("Array looping test ended.\n"); lngSeconds = (long)difftime(dblStop,dblStart);; if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", lngSeconds, lngTotalCnt); lngTotalCnt = lngCnt; return lngSeconds; } I will try to move now all variable from stack to static memory - I expect it may bring even more speed execution gains. We will see. As soon as you define your final call interface I will make a test C++ .dll... Shamil From accessd at shaw.ca Mon Oct 31 07:31:05 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 31 Oct 2005 05:31:05 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: Message-ID: <007001c5de1f$587719c0$017ba8c0@xpserver> Hi Bryan: I have been studying the whole creation of a locking a directory and here is a site where a number of steps are used to create such directories. It appears that their designs are almost infinite: http://www.jtpfxp.net/dirnt.htm and http://jtpfxp.net/ Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, October 31, 2005 3:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Been hacked On 30 Oct 2005 at 18:18, Jim Lawrence wrote: > I would normally not post this item here but I am not sure where I > would find a more experience group. > > It appears that one of my servers has been hacked. :-( > > The first indication is, and it may be unrelated, is that one of my > FTP directories that I have used for unloading and downloading files > into has a 'Locked' directory in it. It is real simple to do this; and > do not try it! > > make a directory like: \temp\o0oKARo0o\here\ > and then rename like this: \com1*\o0oKaro0o\here\ > (*=space) > > Does anyone here know how to get rid of the thing? Drop to a command prompt and del \com1?\o0oKaro0o\here\*.* rmdir \com1?\o0oKaro0o\here\ rmdir \com1?\o0oKaro0o\ rmdir \com1?\ -- Bryan Carbonnell - carbonnb at sympatico.ca HAM AND EGGS - A day's work for a chicken; a lifetime commitment for a pig. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Oct 31 07:58:24 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 16:58:24 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <000f01c5de23$2e8ea890$6401a8c0@fincomplex.spb.ru> <<< static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); >>> OK, I will do it this evening after a break I plan for now and I will change lngTotalCnt to string (strTotalCnt) to pass it back to VBA/VB6 because they do not have __int64 support. - so the call interface for VBA/VB6 will be: function ArrayTimeLocal( _ byval vlngSequences as long, _ byval vlngLoopMax as long, _ byref rstrTotalCnt as string) _ as Long Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 31, 2005 4:32 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Shamil > > For "redefining the interface" you mean that a Long is not enough to specify a count of loops large enough to obtain a running time of some seconds? > That's the only parameter I wish to pass. > The only needed value to return is the running duration in seconds. > > If so, couldn't we expand with an additional loop to multiply the count of loops: > > for (lngSequence=0; lngSequence < lngSequences; lngSequence++) { > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem][0] = lngLoop * 10; > if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngCnt++; > } > } > } > > and then add lngSequences as a separate parameter: > > static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); > > That would be great. > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 13:22:23 >>> > Gustav, > > Yes, I can make a C++ dll but maybe you first (re)define your test function > call interface because even if you call very quick C++ function 1000 times > from VB6 you can loose all the advantages this C++ function gives. > > Currently - here is C++ (non managed) console applications results for a > function similar to yours: > > 10,000,000,000 your cycles in 13 seconds (ot looks like I did some mistakes > in my previous time calculations - I have to recheck) > > ===================================== > Final Result = 13, Final Counter = 10000000000 > ===================================== > > Here is the C++ code for the last test: > > #include "stdafx.h" > #include > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool > useTracePrinting = false); > int _tmain(int argc, _TCHAR* argv[]) > { > _int64 lngTotalCnt = 0; > long lngCnt = 0; > time_t /*double*/ dblStart; > time_t /*double*/ dblStop; > long lngSeconds = 0; > > time(&dblStart); > for (int i=1; i<=10; i++) { > ArrayTimeLocal(10000000, lngCnt); > lngTotalCnt += lngCnt; > } > time(&dblStop); > lngSeconds = (long)difftime(dblStop,dblStart);; > printf("Final Result = %ld, Final Counter = %I64d\n", > lngSeconds, lngTotalCnt); > } > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool > useTracePrinting) { > const long lngItems = 100; > long alngTmp[lngItems][2]; > long lngLoop; > long lngItem; > long lngResult = 0; > time_t /*double*/ dblStart; > time_t /*double*/ dblStop; > long lngSeconds; > long lngCnt = 0; > > if (useTracePrinting) printf("Array looping test started..\n"); > time(&dblStart); > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem][0] = lngLoop * 10; > if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngCnt++; > } > } > time(&dblStop); > if (useTracePrinting) printf("Array looping test ended.\n"); > lngSeconds = (long)difftime(dblStop,dblStart);; > if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", > lngSeconds, lngTotalCnt); > lngTotalCnt = lngCnt; > return lngSeconds; > } > > I will try to move now all variable from stack to static memory - I expect > it may bring even more speed execution gains. We will see. > > As soon as you define your final call interface I will make a test C++ > .dll... > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 31 08:08:41 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 15:08:41 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil Very nice! I'm looking forward ... /gustav >>> shamil at users.mns.ru 31-10-2005 14:58:24 >>> <<< static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); >>> OK, I will do it this evening after a break I plan for now and I will change lngTotalCnt to string (strTotalCnt) to pass it back to VBA/VB6 because they do not have __int64 support. - so the call interface for VBA/VB6 will be: function ArrayTimeLocal( _ byval vlngSequences as long, _ byval vlngLoopMax as long, _ byref rstrTotalCnt as string) _ as Long Shamil From cyx5 at cdc.gov Mon Oct 31 08:29:40 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 31 Oct 2005 09:29:40 -0500 Subject: [AccessD] Convert to Double - Excel OT Message-ID: I need to convert a number that is an integer to double format, as my routine is comparing an integer to a formula that contains decimals, and naturally Excel is rounding up, causing my select statement to jump to the next level of qualifications when any integer ends in the number 5. Does anyone know where in the world I would put the CDbl() in this statement: Cells(irow, 18).Value = getNPPTLCell(.Cells(irow, 15).Value, .Cells(irow, 9).Value) I have to define as rows as I am looping through the spreadsheet. Happy Halloween to all! Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From Gustav at cactus.dk Mon Oct 31 09:00:51 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 16:00:51 +0100 Subject: [AccessD] Oracle 10g Express Edition Message-ID: Hi all This should be announced to be free to use for students, developers, and small companies, as well as to distribute by ISVs with apps from these. It's a normal 10g for 32/64 bit Linux/Windows limited to one processor, 1 GB ram, and 4 GB database size. It is still in beta though ... whatever that is as 10g has been around for some time. It's a 157 MB download. /gustav From dwaters at usinternet.com Mon Oct 31 09:04:52 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Oct 2005 09:04:52 -0600 Subject: [AccessD] Find File in Folder and in Subfolder Message-ID: <000001c5de2c$72db7740$0200a8c0@danwaters> I have a customer who wants their application to be able to find a file in a folder or subfolder based on the entry in a text box. The data entered is a part number, and the file to be found is the drawing for that part. However, their file structure is inconsistent. I've looked at FSO, but that requires that the path to a file be known. DIR is a help with the file/folders at the first level. Is there something that will search all the levels within a folder for a specific file? Thanks! Dan Waters From papparuff at comcast.net Mon Oct 31 09:20:12 2005 From: papparuff at comcast.net (papparuff at comcast.net) Date: Mon, 31 Oct 2005 15:20:12 +0000 Subject: [AccessD] Find File in Folder and in Subfolder Message-ID: <103120051520.27944.4366362C0003159100006D28220642461300009A9D0E9F9F0E9F@comcast.net> This will work for you Dan, Public Sub FindFileInSubFolders(strMainFolder As String, strFileToFind As String) Dim fso As New FileSystemObject Dim fsoFolder As folder Dim fsoSubFolder As folder Dim fsoFile As File Set fsoFolder = fso.GetFolder(strMainFolder) For Each fsoSubFolder In fsoFolder.SubFolders ' Debug.Print fsoSubFolder.Name For Each fsoFile In fsoSubFolder.Files ' Debug.Print fsoFile.Name If fsoFile.Name = strFileToFind Then MsgBox "Found File" End If Next fsoFile Next fsoSubFolder Set fsoFolder = Nothing Set fsoFile = Nothing Set fso = Nothing End Sub -- John V. Ruff ? The Eternal Optimist :-) ?Commit to the Lord whatever you do, and your plans will succeed.? Proverbs 16:3 -------------- Original message -------------- > I have a customer who wants their application to be able to find a file in a > folder or subfolder based on the entry in a text box. The data entered is a > part number, and the file to be found is the drawing for that part. > > However, their file structure is inconsistent. I've looked at FSO, but that > requires that the path to a file be known. DIR is a help with the > file/folders at the first level. > > Is there something that will search all the levels within a folder for a > specific file? > > Thanks! > Dan Waters > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Oct 31 09:32:52 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 31 Oct 2005 10:32:52 -0500 Subject: [AccessD] Find File in Folder and in Subfolder In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CC7290@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF1D0@ADGSERVER> Would you not need to know the beginning path of the where to start the search? If you are searching a whole drive, then you would just make the starting path be "c:\" (or whatever drive it is on. I would think that FSO would do fine. You could use DIR, but you would have to create a recursive function to search the directory tree. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 31, 2005 10:05 AM To: AccessD Subject: [AccessD] Find File in Folder and in Subfolder I have a customer who wants their application to be able to find a file in a folder or subfolder based on the entry in a text box. The data entered is a part number, and the file to be found is the drawing for that part. However, their file structure is inconsistent. I've looked at FSO, but that requires that the path to a file be known. DIR is a help with the file/folders at the first level. Is there something that will search all the levels within a folder for a specific file? Thanks! Dan Waters From sdhi at kalamazoo.net Mon Oct 31 09:36:08 2005 From: sdhi at kalamazoo.net (Sheri Hixson) Date: Mon, 31 Oct 2005 10:36:08 -0500 Subject: [AccessD] Search Memo field for number string Message-ID: <007501c5de30$d385b980$04fea8c0@SWMAR> I need to search a memo field for any string of any numbers sequenced as follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold the number sequence found in each memo field. Anyone have any ideas on how to setup this query? Thanks for any help! Sheri From dwaters at usinternet.com Mon Oct 31 09:47:25 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Oct 2005 09:47:25 -0600 Subject: [AccessD] Find File in Folder and in Subfolder In-Reply-To: <28031806.1130772452561.JavaMail.root@sniper15> Message-ID: <000801c5de32$63e859f0$0200a8c0@danwaters> Great!! Thanks John - That's a simple solution! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of papparuff at comcast.net Sent: Monday, October 31, 2005 9:20 AM To: Access Developers discussion and problem solving; AccessD Cc: Dan Waters Subject: Re: [AccessD] Find File in Folder and in Subfolder This will work for you Dan, Public Sub FindFileInSubFolders(strMainFolder As String, strFileToFind As String) Dim fso As New FileSystemObject Dim fsoFolder As folder Dim fsoSubFolder As folder Dim fsoFile As File Set fsoFolder = fso.GetFolder(strMainFolder) For Each fsoSubFolder In fsoFolder.SubFolders ' Debug.Print fsoSubFolder.Name For Each fsoFile In fsoSubFolder.Files ' Debug.Print fsoFile.Name If fsoFile.Name = strFileToFind Then MsgBox "Found File" End If Next fsoFile Next fsoSubFolder Set fsoFolder = Nothing Set fsoFile = Nothing Set fso = Nothing End Sub -- John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -------------- Original message -------------- > I have a customer who wants their application to be able to find a file in a > folder or subfolder based on the entry in a text box. The data entered is a > part number, and the file to be found is the drawing for that part. > > However, their file structure is inconsistent. I've looked at FSO, but that > requires that the path to a file be known. DIR is a help with the > file/folders at the first level. > > Is there something that will search all the levels within a folder for a > specific file? > > Thanks! > Dan Waters > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Oct 31 09:49:08 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Oct 2005 09:49:08 -0600 Subject: [AccessD] Find File in Folder and in Subfolder In-Reply-To: <22045651.1130773097926.JavaMail.root@sniper15> Message-ID: <000901c5de32$a1c23e80$0200a8c0@danwaters> Hi Bobby, You're right - I do know the top folder. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, October 31, 2005 9:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Find File in Folder and in Subfolder Would you not need to know the beginning path of the where to start the search? If you are searching a whole drive, then you would just make the starting path be "c:\" (or whatever drive it is on. I would think that FSO would do fine. You could use DIR, but you would have to create a recursive function to search the directory tree. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 31, 2005 10:05 AM To: AccessD Subject: [AccessD] Find File in Folder and in Subfolder I have a customer who wants their application to be able to find a file in a folder or subfolder based on the entry in a text box. The data entered is a part number, and the file to be found is the drawing for that part. However, their file structure is inconsistent. I've looked at FSO, but that requires that the path to a file be known. DIR is a help with the file/folders at the first level. Is there something that will search all the levels within a folder for a specific file? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Mon Oct 31 10:26:40 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 31 Oct 2005 10:26:40 -0600 (CST) Subject: [AccessD] Access 2002 Export to XML using DTD's In-Reply-To: <02d101c5ddf3$99126c40$0100a8c0@RazvojErvin> References: <02d101c5ddf3$99126c40$0100a8c0@RazvojErvin> Message-ID: <36555.65.118.249.214.1130776000.squirrel@cetus.email.starband.net> Hi everyone! I know this is a shot in the dark, but I need to export data from an Access 2002 database to XML using a provided DTD (Document Type Definition). I need to be able to tell Access that it needs to use the DTD to provide the proper formatting for the XML document. Has anyone tried this before? Or does anyone know of any good resources I can use to help figure it out? This is not a one-time deal either...once I get it set up, it will be a daily event. Thanks in advance!! Greg Smith gregsmith @ Starband.net From Jdemarco at hudsonhealthplan.org Mon Oct 31 10:31:48 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 31 Oct 2005 11:31:48 -0500 Subject: [AccessD] Access 2002 Export to XML using DTD's Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C4028@TTNEXCHCL2.hshhp.com> I don't believe Access (any version) will use the DTD to determine how to output data. The DTD is used to ensure that an XML file conforms to the spec detailed in the DTD. You have to create the file yourself based on the DTD AFAIK. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Greg Smith Sent: Monday, October 31, 2005 11:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 Export to XML using DTD's Hi everyone! I know this is a shot in the dark, but I need to export data from an Access 2002 database to XML using a provided DTD (Document Type Definition). I need to be able to tell Access that it needs to use the DTD to provide the proper formatting for the XML document. Has anyone tried this before? Or does anyone know of any good resources I can use to help figure it out? This is not a one-time deal either...once I get it set up, it will be a daily event. Thanks in advance!! Greg Smith gregsmith @ Starband.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From markamatte at hotmail.com Mon Oct 31 10:31:51 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 31 Oct 2005 16:31:51 +0000 Subject: [AccessD] Search Memo field for number string In-Reply-To: <007501c5de30$d385b980$04fea8c0@SWMAR> Message-ID: Sheri, I can't help with the Bold part...but on the search...I'm guessing you are looking at a phone number...or some other 2 part number sequence...either way...you can seperate your number into two pieces of criteria ( 2 fields on a form )...and the place something like: Like "*" & [Forms]![frmTest1]![NumPart1] & "*" & [Forms]![frmTest1]![NumPart2] & "*" in the MemoField Criteria or your query. The problem with this...is that the query doesn't care if there is 1 or 1000 characters between the numbers...it still returns the records. Hope it gives some direction. Thanks, Mark A. Matte >From: "Sheri Hixson" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Search Memo field for number string >Date: Mon, 31 Oct 2005 10:36:08 -0500 > >I need to search a memo field for any string of any numbers sequenced as >follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold >the >number sequence found in each memo field. Anyone have any ideas on how to >setup >this query? Thanks for any help! > > > >Sheri > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From GregSmith at starband.net Mon Oct 31 10:36:22 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 31 Oct 2005 10:36:22 -0600 (CST) Subject: [AccessD] Access 2002 Export to XML using DTD's In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C4028@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C74016C4028@TTNEXCHCL2.hshhp.com> Message-ID: <37439.65.118.249.214.1130776582.squirrel@cetus.email.starband.net> Thanks Jim...I was suspecting that was the case, but I was also HOPING that it wasn't true.....sigh.... Looks like I get to do more typing....:D Greg > I don't believe Access (any version) will use the DTD to determine how > to output data. The DTD is used to ensure that an XML file conforms to > the spec detailed in the DTD. You have to create the file yourself > based on the DTD AFAIK. > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Greg Smith > Sent: Monday, October 31, 2005 11:27 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access 2002 Export to XML using DTD's > > > Hi everyone! > > I know this is a shot in the dark, but I need to export data from an > Access 2002 database to XML using a provided DTD (Document Type > Definition). > > I need to be able to tell Access that it needs to use the DTD to provide > the proper formatting for the XML document. > > Has anyone tried this before? Or does anyone know of any good resources > I can use to help figure it out? > > This is not a one-time deal either...once I get it set up, it will be a > daily event. > > Thanks in advance!! > > Greg Smith > gregsmith @ Starband.net From martyconnelly at shaw.ca Mon Oct 31 10:39:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 31 Oct 2005 08:39:20 -0800 Subject: [AccessD] Array faster in DLL? References: Message-ID: <436648B8.3040805@shaw.ca> Just one hint for VBA code speed on this line Since everything is being done by integers If alngTmp(lngItem, 1) / 10 = 100 Then On a run of 50 seconds If I use integer division with the "\" operator , I save around 1 second If alngTmp(lngItem, 1) \ 10 = 100 Then If I use multiplication instead of division , I save 5-6 seconds It does a type conversion to a long, but I have never seen a full documented description of this from MS so I don't trust it, so I would use CLng which would add overhead. If alngTmp(lngItem, 1) * 0.1 = 100 Then Some optimizing compilers have options that might change division by a constant to multiplication of it's inverse. Gustav Brock wrote: >Hi Stuart > >Thanks! This is a bit surprising, I had expected it to run faster. > >/gustav > > > >>>>stuart at lexacorp.com.pg 31-10-2005 03:41:55 >>> >>>> >>>> >On 30 Oct 2005 at 21:16, Gustav Brock wrote: > > > >>The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. >> >>Setting lngLoopMax to 10^6 returns these running times for the two functions: >> >> ArrayTimeLocal: 34 seconds >> ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) >> >>Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! >> >> >... > > >>Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, >> >> > >On my machine with the same code compiled to DLL in PowerBasic: > >ArrayTimeLocal: 27 (10^6) >ArrayTimeDLL: 2.7 (actually 27 secs for 10^7) > >An improvement of 10:1 . > >Looks like for this set of operations FreeBASIC does a better job than >PowerBASIC. > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Mon Oct 31 11:07:11 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 18:07:11 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Marty You may have a point. I didn't give it a thought. One could imagine that it does a type cast to double as a result of the division, then another back to long (or to double for the 100) for the comparison. Please note, this code doesn't serve any serious purpose except "doing something" that takes a little while. /gustav >>> martyconnelly at shaw.ca 31-10-2005 17:39:20 >>> Just one hint for VBA code speed on this line Since everything is being done by integers If alngTmp(lngItem, 1) / 10 = 100 Then On a run of 50 seconds If I use integer division with the "\" operator , I save around 1 second If alngTmp(lngItem, 1) \ 10 = 100 Then If I use multiplication instead of division , I save 5-6 seconds It does a type conversion to a long, but I have never seen a full documented description of this from MS so I don't trust it, so I would use CLng which would add overhead. If alngTmp(lngItem, 1) * 0.1 = 100 Then Some optimizing compilers have options that might change division by a constant to multiplication of it's inverse. From mboyd at deloitte.com Mon Oct 31 11:31:59 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 31 Oct 2005 12:31:59 -0500 Subject: [AccessD] Calendar Control Message-ID: I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From Gustav at cactus.dk Mon Oct 31 11:37:31 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 18:37:31 +0100 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: Hi Drew Those examples are the two extremes. In between you have Mid() used this way where you have created a string of the final length and then replace this char by char with the encrypted string. ' Perform high speed insertion of encrypted character. Mid(strEncrypted, lngN, 1) = Chr(c) It has the advantage that it is a few lines of code only. But perhaps you should move the entire encryption routine to a C++ dll as you can read from the recent postings from Shamil. /gustav >>> DWUTKA at marlow.com 31-10-2005 10:28:07 >>> In the process of optimizing the code, I also had to overcome the obstacle of string 'recombination'. VB.Net has a class to do this, but I am creating my big project in VB 6.0. Strings are easy to deal with, but if you are tearing them apart, and rebuilding them, that can be time consuming. Take for example this routine (sorry for the horrible naming convention....this is just an example): Private Sub Command3_Click() Dim strTemp As String Dim strTemp2 As String Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") strTemp2 = "" dtStart = Now For i = 1 To Len(strTemp) strTemp2 = strTemp2 & LCase(Mid(strTemp, i, 1)) Next i MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub In the code above, on my 800 mhz machine, I get 34 seconds. Note that we don't start 'timing' until we get into the loop. The string function, which in this case, is creating a string 100,000 characters long, of all A's, is neglible anyways. However, the For Next loop is where we are going to process the first string, and build the second string with the 'processed' characters. In this case, we are simply getting the lower case version of the character. (Yes, I know, we could just Lcase the whole first string, but that isn't the point. What if we are swapping characters (such as in my encryption routine)? Anyhow, the time we are taking isn't in the Lcase and Mid statements, it's in the strTemp2=strTemp2 & part. Initial, that process screams. Add a debug.print statement of 'i' and you'll see what I mean. It will rocket through the beginning, but as strTemp2 gets bigger and bigger, it will get slower and slower. So how do we speed that up? Arrays...byte arrays, to be specific, with a simple API call, CopyMemory. Take a look at the code below: Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Private Sub Command4_Click() Dim strTemp As String Dim strTemp2 As String Dim tmpArray() As Byte Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") ReDim tmpArray(1 To Len(strTemp)) strTemp2 = "" dtStart = Now CopyMemory tmpArray(1), ByVal strTemp, Len(strTemp) For i = 1 To Len(strTemp) tmpArray(i) = Asc(LCase(Chr(tmpArray(i)))) Next i strTemp2 = StrConv(tmpArray, vbUnicode) MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub Same process, with two steps added. Before we start 'timing', we do redimension the byte array, but, I did include the copymemory statement within the 'timed' portion. That's the first step we added. CopyMemory. Note that the first argument is what we are copying into (and we have to refer to the first item in the array, not just the array itself), then the next argument is the string we want to copy into the array (using the ByVal statement, some API's are fun like that), then we tell it how much of the string we want to copy. (Because we could copy just a part if we want....warning, copying more then is there will crash the VBE....). The second part we added is the strConv line. Where we convert the byte array back into a string. We also modified the 'processing' that is being done, because the byte array is going to represent the ASCII values of a string, not the text itself. But the same process is in place (we are converting the ASCII byte to a character, then setting it to lowercase, and then converting it back to ascii). All the added steps, I wonder how fast it will be, well, on the same machine we got 34 seconds for on the first routine, we get 0 seconds for this routine. Same processing results, and that 0 seconds pops up instantaneously. Quite a performance increase, I'd say. From bchacc at san.rr.com Mon Oct 31 11:42:33 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 31 Oct 2005 09:42:33 -0800 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report Message-ID: <012d01c5de42$7a093a00$6501a8c0@HAL9004> Dear List: Does anyone know why a user should generate this error: Error: 2585 - This action can't be carried out while processing a form or report event. In: frmMaterialPlanning.cmdExitToMainMenu_Click It occurs in a sub menu - unbound form. The click routine just opens the main menu and closes this sub menu. It doesn't occur consistently. I can't get it to repeat and a couple of users who have gotten it can't get it to occur with any regularity. Some users never get it. The code in the click event (I stripped out the error trapping) is: DoCmd.OpenForm ("frmMainMenu") DoCmd.Close acForm, "frmMaterialPlanning" Any ideas? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Laurie" To: Sent: Monday, October 31, 2005 9:35 AM Subject: E-Z-MRP(tm) Error Report Error: 2585 - This action can't be carried out while processing a form or report event. In: frmMaterialPlanning.cmdExitToMainMenu_Click -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 From DWUTKA at marlow.com Mon Oct 31 11:43:55 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 11:43:55 -0600 Subject: [AccessD] Calendar Control Message-ID: <123701F54509D9119A4F00D0B7473490EA5F58@main2.marlow.com> The last Access 97 version of my MiniCalendar might work for you. I think it's on Dev Ashish's site (http://www.mvps.org/Access) . If you can't find it, let me know, I can email it to you off list. What you want is the 'cycle mode'. That puts the calendar up with a 'data form'. The data form shows the data that relates to what date the mouse is over on the calendar. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 11:32 AM To: AccessD Subject: [AccessD] Calendar Control I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Oct 31 11:49:09 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 11:49:09 -0600 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: <123701F54509D9119A4F00D0B7473490EA5F59@main2.marlow.com> My my my, you lean something new everyday! I never realized that Mid was a function that you could 'set', like Date(), and Time() Go figure. Working with the byte array is just as fast. And with my encryption routine, it was even faster then actually working with the string, because I was dealing with the ascii values anyways, so using the byte array, I didn't have to do any conversion back and forth. Drew -----Original Message----- From: Gustav Brock [SMTP:Gustav at cactus.dk] Sent: Monday, October 31, 2005 11:38 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] New Wheel Encryption Add-in Hi Drew Those examples are the two extremes. In between you have Mid() used this way where you have created a string of the final length and then replace this char by char with the encrypted string. ' Perform high speed insertion of encrypted character. Mid(strEncrypted, lngN, 1) = Chr(c) It has the advantage that it is a few lines of code only. But perhaps you should move the entire encryption routine to a C++ dll as you can read from the recent postings from Shamil. /gustav >>> DWUTKA at marlow.com 31-10-2005 10:28:07 >>> In the process of optimizing the code, I also had to overcome the obstacle of string 'recombination'. VB.Net has a class to do this, but I am creating my big project in VB 6.0. Strings are easy to deal with, but if you are tearing them apart, and rebuilding them, that can be time consuming. Take for example this routine (sorry for the horrible naming convention....this is just an example): Private Sub Command3_Click() Dim strTemp As String Dim strTemp2 As String Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") strTemp2 = "" dtStart = Now For i = 1 To Len(strTemp) strTemp2 = strTemp2 & LCase(Mid(strTemp, i, 1)) Next i MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub In the code above, on my 800 mhz machine, I get 34 seconds. Note that we don't start 'timing' until we get into the loop. The string function, which in this case, is creating a string 100,000 characters long, of all A's, is neglible anyways. However, the For Next loop is where we are going to process the first string, and build the second string with the 'processed' characters. In this case, we are simply getting the lower case version of the character. (Yes, I know, we could just Lcase the whole first string, but that isn't the point. What if we are swapping characters (such as in my encryption routine)? Anyhow, the time we are taking isn't in the Lcase and Mid statements, it's in the strTemp2=strTemp2 & part. Initial, that process screams. Add a debug.print statement of 'i' and you'll see what I mean. It will rocket through the beginning, but as strTemp2 gets bigger and bigger, it will get slower and slower. So how do we speed that up? Arrays...byte arrays, to be specific, with a simple API call, CopyMemory. Take a look at the code below: Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Private Sub Command4_Click() Dim strTemp As String Dim strTemp2 As String Dim tmpArray() As Byte Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") ReDim tmpArray(1 To Len(strTemp)) strTemp2 = "" dtStart = Now CopyMemory tmpArray(1), ByVal strTemp, Len(strTemp) For i = 1 To Len(strTemp) tmpArray(i) = Asc(LCase(Chr(tmpArray(i)))) Next i strTemp2 = StrConv(tmpArray, vbUnicode) MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub Same process, with two steps added. Before we start 'timing', we do redimension the byte array, but, I did include the copymemory statement within the 'timed' portion. That's the first step we added. CopyMemory. Note that the first argument is what we are copying into (and we have to refer to the first item in the array, not just the array itself), then the next argument is the string we want to copy into the array (using the ByVal statement, some API's are fun like that), then we tell it how much of the string we want to copy. (Because we could copy just a part if we want....warning, copying more then is there will crash the VBE....). The second part we added is the strConv line. Where we convert the byte array back into a string. We also modified the 'processing' that is being done, because the byte array is going to represent the ASCII values of a string, not the text itself. But the same process is in place (we are converting the ASCII byte to a character, then setting it to lowercase, and then converting it back to ascii). All the added steps, I wonder how fast it will be, well, on the same machine we got 34 seconds for on the first routine, we get 0 seconds for this routine. Same processing results, and that 0 seconds pops up instantaneously. Quite a performance increase, I'd say. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Oct 31 12:00:53 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 31 Oct 2005 12:00:53 -0600 Subject: [AccessD] Search Memo field for number string Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD7E4@corp-es01.fleetpride.com> In the FMS 2000 code source book there is a class called CBoyerMoore which I've used and which I think is exactly what you are looking for: "The Boyer-Moore string-searching algorithm provides a highly optimized method for searching for a sub-string within a string. The Boyer-Moore algorithm takes advantage of its knowledge of the string being searched for. By doing this, it is possible to search a string without examining all the characters in the string. " If you have access to this code book I would suggest trying it out. Jim Hale -----Original Message----- From: Sheri Hixson [mailto:sdhi at kalamazoo.net] Sent: Monday, October 31, 2005 9:36 AM To: accessD at databaseadvisors.com Subject: [AccessD] Search Memo field for number string I need to search a memo field for any string of any numbers sequenced as follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold the number sequence found in each memo field. Anyone have any ideas on how to setup this query? Thanks for any help! Sheri -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From lembit.soobik at t-online.de Mon Oct 31 12:08:23 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Mon, 31 Oct 2005 19:08:23 +0100 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004> Message-ID: <004401c5de46$16076eb0$0600a8c0@v1000> I guess you should put the second command into the OnOpen or better even OnLoad event of the frmMainMenu. It might not like closing the form while the open command is still being executed. Lembit ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Monday, October 31, 2005 6:42 PM Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report > Dear List: > > Does anyone know why a user should generate this error: > > Error: 2585 - This action can't be carried out while processing a form or > report event. > In: frmMaterialPlanning.cmdExitToMainMenu_Click > > It occurs in a sub menu - unbound form. The click routine just opens the > main menu and closes this sub menu. It doesn't occur consistently. I > can't > get it to repeat and a couple of users who have gotten it can't get it to > occur with any regularity. Some users never get it. > > The code in the click event (I stripped out the error trapping) is: > > DoCmd.OpenForm ("frmMainMenu") > DoCmd.Close acForm, "frmMaterialPlanning" > > Any ideas? > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "Laurie" > To: > Sent: Monday, October 31, 2005 9:35 AM > Subject: E-Z-MRP(tm) Error Report > > > Error: 2585 - This action can't be carried out while processing a form or > report event. > In: frmMaterialPlanning.cmdExitToMainMenu_Click > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From mboyd at deloitte.com Mon Oct 31 12:09:55 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 31 Oct 2005 13:09:55 -0500 Subject: [AccessD] Calendar Control Message-ID: Thanks Drew. After downloading the control from Dev's site, I converted the mdb to Access 2000 file format. Now, I am unable to open the mdb file without receiving an AVI error. Can you send this to me off list? I appreciate it. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 12:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Calendar Control The last Access 97 version of my MiniCalendar might work for you. I think it's on Dev Ashish's site (http://www.mvps.org/Access) . If you can't find it, let me know, I can email it to you off list. What you want is the 'cycle mode'. That puts the calendar up with a 'data form'. The data form shows the data that relates to what date the mouse is over on the calendar. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 11:32 AM To: AccessD Subject: [AccessD] Calendar Control I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Oct 31 12:20:40 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 12:20:40 -0600 Subject: [AccessD] Calendar Control Message-ID: <123701F54509D9119A4F00D0B7473490EA5F5B@main2.marlow.com> Open it while holding the shift key down. Sorry, that demo uses some API's to also show how to run AVI's in a form. Holding the shift key down will bypass that. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Thanks Drew. After downloading the control from Dev's site, I converted the mdb to Access 2000 file format. Now, I am unable to open the mdb file without receiving an AVI error. Can you send this to me off list? I appreciate it. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 12:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Calendar Control The last Access 97 version of my MiniCalendar might work for you. I think it's on Dev Ashish's site (http://www.mvps.org/Access) . If you can't find it, let me know, I can email it to you off list. What you want is the 'cycle mode'. That puts the calendar up with a 'data form'. The data form shows the data that relates to what date the mouse is over on the calendar. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 11:32 AM To: AccessD Subject: [AccessD] Calendar Control I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Oct 31 12:23:08 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 12:23:08 -0600 Subject: [AccessD] Search Memo field for number string Message-ID: <123701F54509D9119A4F00D0B7473490EA5F5C@main2.marlow.com> You will need to do this in code. And manually search the string. However, the 'bold' part won't happen in a query display. To bold the results, you'll need to display the data in a rich text box. Drew -----Original Message----- From: Sheri Hixson [SMTP:sdhi at kalamazoo.net] Sent: Monday, October 31, 2005 9:36 AM To: accessD at databaseadvisors.com Subject: [AccessD] Search Memo field for number string I need to search a memo field for any string of any numbers sequenced as follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold the number sequence found in each memo field. Anyone have any ideas on how to setup this query? Thanks for any help! Sheri -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 31 12:32:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 31 Oct 2005 10:32:06 -0800 Subject: [AccessD] Access 2002 Export to XML using DTD's References: <08F823FD83787D4BA0B99CA580AD3C74016C4028@TTNEXCHCL2.hshhp.com> Message-ID: <43666326.3090004@shaw.ca> A DTD only validates it doesn't transform, You could use XMLSPY to convert your DTD to an XML Schema Then use that to produce an XSLT (XSL file) to transform output from the XMLDom This last step is an unknown to me in the product otherwise you will have to produce your own XSLT file no mean feat, if not fully familiar with XSLT. I know you can create classes from schemas but only Java and C##. What you are looking for is a schema mapping method. You can get a 30 day trial of full edition or there is a limited home edition (need license key) http://www.altova.com/download_components.html Jim DeMarco wrote: >I don't believe Access (any version) will use the DTD to determine how to output data. The DTD is used to ensure that an XML file conforms to the spec detailed in the DTD. You have to create the file yourself based on the DTD AFAIK. > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Greg Smith >Sent: Monday, October 31, 2005 11:27 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2002 Export to XML using DTD's > > >Hi everyone! > >I know this is a shot in the dark, but I need to export data from an >Access 2002 database to XML using a provided DTD (Document Type >Definition). > >I need to be able to tell Access that it needs to use the DTD to provide >the proper formatting for the XML document. > >Has anyone tried this before? Or does anyone know of any good resources I >can use to help figure it out? > >This is not a one-time deal either...once I get it set up, it will be a >daily event. > >Thanks in advance!! > >Greg Smith >gregsmith @ Starband.net > > > > -- Marty Connelly Victoria, B.C. Canada From mboyd at deloitte.com Mon Oct 31 12:33:40 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 31 Oct 2005 13:33:40 -0500 Subject: [AccessD] Calendar Control Message-ID: That works. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 1:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Calendar Control Open it while holding the shift key down. Sorry, that demo uses some API's to also show how to run AVI's in a form. Holding the shift key down will bypass that. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Thanks Drew. After downloading the control from Dev's site, I converted the mdb to Access 2000 file format. Now, I am unable to open the mdb file without receiving an AVI error. Can you send this to me off list? I appreciate it. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 12:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Calendar Control The last Access 97 version of my MiniCalendar might work for you. I think it's on Dev Ashish's site (http://www.mvps.org/Access) . If you can't find it, let me know, I can email it to you off list. What you want is the 'cycle mode'. That puts the calendar up with a 'data form'. The data form shows the data that relates to what date the mouse is over on the calendar. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 11:32 AM To: AccessD Subject: [AccessD] Calendar Control I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Mon Oct 31 12:50:17 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 31 Oct 2005 12:50:17 -0600 Subject: [AccessD] Search Memo field for number string In-Reply-To: References: Message-ID: <6.2.3.4.2.20051031124608.029c7000@pop3.highstream.net> Sheri, Actually, if you build each string you want to search for: "123 4567" (a) "123.4567" (b) "123-4567" (c) "1234567" (d) And use a "Like a or like b or like c or like d", you can find exactly what you want. As for bolding, there is no way of doing that without using a 3rd party tool like FMS's memo editing tool which would give you full RTF type capability within the memo field. And then it would be a lot of coding to find the string and then bold it. Robert At 10:41 AM 10/31/2005, you wrote: >Date: Mon, 31 Oct 2005 16:31:51 +0000 >From: "Mark A Matte" >Subject: Re: [AccessD] Search Memo field for number string >To: accessd at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > >Sheri, > >I can't help with the Bold part...but on the search...I'm guessing you are >looking at a phone number...or some other 2 part number sequence...either >way...you can seperate your number into two pieces of criteria ( 2 fields on >a form )...and the place something like: >Like "*" & [Forms]![frmTest1]![NumPart1] & "*" & >[Forms]![frmTest1]![NumPart2] & "*" > >in the MemoField Criteria or your query. The problem with this...is that >the query doesn't care if there is 1 or 1000 characters between the >numbers...it still returns the records. > >Hope it gives some direction. > >Thanks, > >Mark A. Matte > >From: "Sheri Hixson" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: [AccessD] Search Memo field for number string > >Date: Mon, 31 Oct 2005 10:36:08 -0500 > > > >I need to search a memo field for any string of any numbers sequenced as > >follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold > >the > >number sequence found in each memo field. Anyone have any ideas on how to > >setup > >this query? Thanks for any help! > > > > > > > >Sheri From carbonnb at gmail.com Mon Oct 31 12:52:21 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 31 Oct 2005 13:52:21 -0500 Subject: [AccessD] Calendar Control In-Reply-To: References: Message-ID: On 31/10/05, Boyd, Mark Thomas (US - Philadelphia) wrote: > I'm looking for an Outlook-style calendar control (month view) that will > work within Access. > I have a table with 2 fields, [WorkDate] and [WorkDesc]. > I need the calendar to display all [WorkDesc] data where the [WorkDate] > corresponds to the calendar date. For example, if the [WorkDate] is > today, the [WorkDesc] should appear on the calendar within today's date. > If tomorrow's date has records in the table, these records should appear > under tomorrow's date in the calendar. > > Is there a tool out there that will do this?? If you have the ADH2K there is a drop-in calendar form. It can be used as a standalone form or as a sub-form. I have used it as both in the same project and it works great. -- 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 martyconnelly at shaw.ca Mon Oct 31 12:56:34 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 31 Oct 2005 10:56:34 -0800 Subject: [AccessD] Array faster in DLL? References: Message-ID: <436668E2.3090201@shaw.ca> Disasters have been caused by computer arithmetic conversion errors, such as the famous unmanned Ariane 5 Rocket explosion in 1996. A 64-bit floating-point number in the inertial reference system was incorrectly converted to a 16-bit signed integer...BOOM Gustav Brock wrote: >Hi Marty > >You may have a point. I didn't give it a thought. >One could imagine that it does a type cast to double as a result of the division, then another back to long (or to double for the 100) for the comparison. > >Please note, this code doesn't serve any serious purpose except "doing something" that takes a little while. > >/gustav > > > >>>>martyconnelly at shaw.ca 31-10-2005 17:39:20 >>> >>>> >>>> >Just one hint for VBA code speed on this line >Since everything is being done by integers > > If alngTmp(lngItem, 1) / 10 = 100 Then > >On a run of 50 seconds >If I use integer division with the "\" operator , I save around 1 second > > If alngTmp(lngItem, 1) \ 10 = 100 Then > >If I use multiplication instead of division , I save 5-6 seconds >It does a type conversion to a long, but I have never seen a full >documented description of this >from MS so I don't trust it, so I would use CLng which would add overhead. > > If alngTmp(lngItem, 1) * 0.1 = 100 Then > >Some optimizing compilers have options that might change division by a >constant to multiplication of it's inverse. > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Mon Oct 31 13:31:40 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 22:31:40 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <001501c5de51$c1167980$6401a8c0@fincomplex.spb.ru> > Very nice! I'm looking forward ... Here it's Gustav - final results: VB6: 400,000,000 cycles in ~20 seconds C++: 10,000,000,000 cycles in ~18-19 seconds All the source code and test executables can be downloaded from: http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) That was a quick test work but one can find some VB6 advanced coding with Implements, which shows (IMHO) why low coupling and high cohesion is a good and very practically oriented idea (especially for long run projects). Of course there is there also a direct coding - advanced a la' OOP was added to start it getting generalized for someone else to maybe add other languages test cases - anybody? Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run enclosed batch file regme.bat Enjoy! Shamil P.S. C++ core code: #include "stdafx.h" #include "comdef.h" #include #include "Test.h" #include ".\test.h" #include //typedef long COUNTER_TYPE; typedef __int64 COUNTER_TYPE; // LONG vlngCallBackEventInterval, // CTest STDMETHODIMP CTest::ArrayTimeLocal( LONG vlngSequences, LONG vlngLoopMax, BSTR* rstrTotalCnt, LONG* lngSeconds) { const long lngItems = 100; long alngTmp[lngItems][2]; long lngLoop; long lngItem; long lngResult = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; COUNTER_TYPE lngCnt; lngCnt=0; time(&dblStart); for (long lngSeqIdx=0; lngSeqIdx < vlngSequences; lngSeqIdx++) { for (lngLoop=0; lngLoop < vlngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } } time(&dblStop); *lngSeconds = (long)difftime(dblStop,dblStart);; if(rstrTotalCnt == NULL) return E_POINTER; TCHAR buf[256]; sprintf(buf,"%I64d",lngCnt); Lock(); *rstrTotalCnt = (_bstr_t(buf)).copy(); Unlock(); return S_OK; } ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 31, 2005 5:08 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Shamil > > Very nice! I'm looking forward ... > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 14:58:24 >>> > <<< > static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& > lngTotalCnt, bool useTracePrinting = false); > >>> > OK, I will do it this evening after a break I plan for now and I will change > lngTotalCnt to string (strTotalCnt) to pass it back to VBA/VB6 because they > do not have __int64 support. - so the call interface for VBA/VB6 will be: > > function ArrayTimeLocal( _ > byval vlngSequences as long, _ > byval vlngLoopMax as long, _ > byref rstrTotalCnt as string) _ > as Long > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Oct 31 13:34:48 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 31 Oct 2005 11:34:48 -0800 Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? Message-ID: Several years ago, someone on this list (I believe it was Lambert) gave me a sample Access database or code which was able to read MP3 tags. A couple of months ago one of my hard drives crashed that held all of my family pictures and 40GB+ MP3 collection that took me over five years to record and classify into folders. I was able to retrieve the pictures but not the music. CDs wouldn't be too bad to re-rip but the Vinyl takes a bit longer to reencode :( I did find some "back ups" that I had made to CDs at various points in time. The trouble is that I have different versions & qualities of the same songs, so I want to create a database that can scan a CD and scan a given directory then only copy over those songs that do not already exist (or that have a better bitrate). I have code that can do the comparison and copying (I used it for a similar task with jpegs), but I need a method of reading the MP3's tags (Artist, Title & bitrate). Does anyone know how to read MP3 tags via VBA? Thanks, David From kost36 at otenet.gr Mon Oct 31 13:50:22 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 31 Oct 2005 21:50:22 +0200 Subject: [AccessD] How to short by cliking on a headline References: <103120051520.27944.4366362C0003159100006D28220642461300009A9D0E9F9F0E9F@comcast.net> Message-ID: <006601c5de54$54d8a330$0100a8c0@KOST36> HI all, I use a combo box with two columns I was wondering if it could be possible to sort data pressing on a data's headline thank's /kostas From bheid at appdevgrp.com Mon Oct 31 14:36:37 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 31 Oct 2005 15:36:37 -0500 Subject: [AccessD] How to short by cliking on a headline In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CC7352@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF1DA@ADGSERVER> I don't know of a way with native controls. What I do is create a button for each column that you want to be sortable and when the user clicks on the button, sort on the associated column by changing the recordsource. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Monday, October 31, 2005 2:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to short by cliking on a headline HI all, I use a combo box with two columns I was wondering if it could be possible to sort data pressing on a data's headline thank's /kostas From mboyd at deloitte.com Mon Oct 31 15:02:19 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 31 Oct 2005 16:02:19 -0500 Subject: [AccessD] Calendar Control Message-ID: Thanks Bryan. I don't have ADH2K, and can't find anyting online that will allow me to do what I need. After much thought, I think I'd like to use a report to display the calendar of records. I can only find one resource from Google Groups (http://www.invisibleinc.com/divFiles.cfm?divDivID=4), but this link is no longer valid. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, October 31, 2005 1:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control On 31/10/05, Boyd, Mark Thomas (US - Philadelphia) wrote: > I'm looking for an Outlook-style calendar control (month view) that will > work within Access. > I have a table with 2 fields, [WorkDate] and [WorkDesc]. > I need the calendar to display all [WorkDesc] data where the [WorkDate] > corresponds to the calendar date. For example, if the [WorkDate] is > today, the [WorkDesc] should appear on the calendar within today's date. > If tomorrow's date has records in the table, these records should appear > under tomorrow's date in the calendar. > > Is there a tool out there that will do this?? If you have the ADH2K there is a drop-in calendar form. It can be used as a standalone form or as a sub-form. I have used it as both in the same project and it works great. -- 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 This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From fhtapia at gmail.com Mon Oct 31 15:18:48 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 31 Oct 2005 13:18:48 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: <007001c5de1f$587719c0$017ba8c0@xpserver> References: <007001c5de1f$587719c0$017ba8c0@xpserver> Message-ID: These kind of directories are locked because the OS (at least via gui) helps to lock you down.. generally if you navigate via dos you can delete such directories... for example via the gui menu you cannot create an LPT1 directory nor a COM one either. On 10/31/05, Jim Lawrence wrote: > Hi Bryan: > > I have been studying the whole creation of a locking a directory and here is > a site where a number of steps are used to create such directories. It > appears that their designs are almost infinite: > > http://www.jtpfxp.net/dirnt.htm > and > http://jtpfxp.net/ > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell > Sent: Monday, October 31, 2005 3:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Been hacked > > On 30 Oct 2005 at 18:18, Jim Lawrence wrote: > > > I would normally not post this item here but I am not sure where I > > would find a more experience group. > > > > It appears that one of my servers has been hacked. :-( > > > > The first indication is, and it may be unrelated, is that one of my > > FTP directories that I have used for unloading and downloading files > > into has a 'Locked' directory in it. It is real simple to do this; and > > do not try it! > > > > make a directory like: \temp\o0oKARo0o\here\ > > and then rename like this: \com1*\o0oKaro0o\here\ > > (*=space) > > > > Does anyone here know how to get rid of the thing? > > Drop to a command prompt and > > del \com1?\o0oKaro0o\here\*.* > rmdir \com1?\o0oKaro0o\here\ > rmdir \com1?\o0oKaro0o\ > rmdir \com1?\ > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > HAM AND EGGS - A day's work for a chicken; a lifetime commitment for > a pig. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From Jim.Hale at FleetPride.com Mon Oct 31 15:51:15 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 31 Oct 2005 15:51:15 -0600 Subject: [AccessD] Calendar Control Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD7ED@corp-es01.fleetpride.com> These guys have VBA code that does what you want. As I recall it was about $299. http://www.datasphere.net/ "Looking for our Designer Series Access Components? To purchase products from our Designer Series of Access components, please call (360) 687-7347 or e-mail designer at datasphere.net " -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Monday, October 31, 2005 3:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Thanks Bryan. I don't have ADH2K, and can't find anyting online that will allow me to do what I need. After much thought, I think I'd like to use a report to display the calendar of records. I can only find one resource from Google Groups (http://www.invisibleinc.com/divFiles.cfm?divDivID=4), but this link is no longer valid. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, October 31, 2005 1:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control On 31/10/05, Boyd, Mark Thomas (US - Philadelphia) wrote: > I'm looking for an Outlook-style calendar control (month view) that will > work within Access. > I have a table with 2 fields, [WorkDate] and [WorkDesc]. > I need the calendar to display all [WorkDesc] data where the [WorkDate] > corresponds to the calendar date. For example, if the [WorkDate] is > today, the [WorkDesc] should appear on the calendar within today's date. > If tomorrow's date has records in the table, these records should appear > under tomorrow's date in the calendar. > > Is there a tool out there that will do this?? If you have the ADH2K there is a drop-in calendar form. It can be used as a standalone form or as a sub-form. I have used it as both in the same project and it works great. -- 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 This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Mon Oct 31 15:56:46 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 31 Oct 2005 13:56:46 -0800 Subject: [AccessD] Search Memo field for number string References: <6.2.3.4.2.20051031124608.029c7000@pop3.highstream.net> Message-ID: <4366931E.2030409@shaw.ca> Here is a way to use regular expressions to scan the string. I left it open ended so it will return any length number string You may want to check for those shorter or longer if you want it exact pattern can be changed to pick only length 7. oops I just realized I missed case (a) so the extraction pattern you really want is re.pattern = "([0-9]{3}\.[0-9]{4})|([0-9]{3}\-[0-9]{4})|([0-9]{3}\#[0-9]{4})|([0-9]{3}\s[0-9]{4})" here is a basic tutorial http://www.zvon.org/other/PerlTutorial/Output/contents.html Sub ScanStringForAnyNumbersunformated() ' DLL included with Windows Scripting Host ' this only applies to Access 97 'ReferenceFromFile "c:\windows\system\vbscript.dll\2 ' Windows 2000: Requires a reference to VBScript Regular Expressions ' Microsoft VBScript Regular Expressions 1.0 ' VBScript_RegExp - C:\WINNT\System32\vbscript.dll\2 Version 1.0 ' C:\Windows\System\vbscript.dll\2 ' Microsoft VBScript Regular Expressions 5.5 ' VBScript_RegExp - C:\WINNT\System32\vbscript.dll\3 Version 5.5 ' C:\Windows\System\vbscript.dll\3 ' if using Version 5.5 Dim objRE As VBScript_RegExp_55.RegExp 'Dim objRE As VBScript_RegExp_10.RegExp 'Set objRE = New VBScript_RegExp_10.RegExp Dim strToParse As String Dim objWordsFound As Object Dim singleWord As Variant 'Set the early binding objects Dim re As New RegExp re.Global = True re.ignoreCase = True strToParse = "hello,To,you 8888888 999 9.77 9#888" 'Set WordsFound, using regular expressions to obtain the words 'separated by commas re.Pattern = "[0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)|([0-9]*\#[0-9]+)|([0-9]+)" Set objWordsFound = re.Execute(strToParse) For Each singleWord In objWordsFound Debug.Print singleWord Next strToParse = "hello To you" 'Set WordsFound, using regular expressions to obtain the words 'separated by blanks re.Pattern = "[^ ]+" Set objWordsFound = re.Execute(strToParse) For Each singleWord In objWordsFound Debug.Print singleWord Next End Sub re.Pattern = "[0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)|([0-9]*\#[0-9]+)|([0-9]+)" explanation of search pattern, I have code to do this. any of Followed by 0, -, 9 one or more times Followed by . Followed by any of 0, -, 9 zero or more times Followed by or Pattern-1: ( any of 0, -, 9 zero or more times Followed by . Followed by any of 0, -, 9 one or more times )-end-Pattern-1 Followed by or Pattern-2: ( any of 0, -, 9 zero or more times Followed by # Followed by any of 0, -, 9 one or more times )-end-Pattern-2 Followed by or Pattern-3: ( any of 0, -, 9 one or more times )-end-Pattern-3 Robert L. Stewart wrote: >Sheri, > >Actually, if you build each string you want to search for: > >"123 4567" (a) >"123.4567" (b) >"123-4567" (c) >"1234567" (d) > >And use a "Like a or like b or like c or like d", you can find >exactly what you want. > >As for bolding, there is no way of doing that without using a 3rd >party tool like FMS's memo editing tool which would give you full RTF >type capability within the memo field. And then it would be a lot of >coding to find the string and then bold it. > >Robert > > >At 10:41 AM 10/31/2005, you wrote: > > >>Date: Mon, 31 Oct 2005 16:31:51 +0000 >>From: "Mark A Matte" >>Subject: Re: [AccessD] Search Memo field for number string >>To: accessd at databaseadvisors.com >>Message-ID: >>Content-Type: text/plain; format=flowed >> >>Sheri, >> >>I can't help with the Bold part...but on the search...I'm guessing you are >>looking at a phone number...or some other 2 part number sequence...either >>way...you can seperate your number into two pieces of criteria ( 2 fields on >>a form )...and the place something like: >>Like "*" & [Forms]![frmTest1]![NumPart1] & "*" & >>[Forms]![frmTest1]![NumPart2] & "*" >> >>in the MemoField Criteria or your query. The problem with this...is that >>the query doesn't care if there is 1 or 1000 characters between the >>numbers...it still returns the records. >> >>Hope it gives some direction. >> >>Thanks, >> >>Mark A. Matte >> >> >>>From: "Sheri Hixson" >>>Reply-To: Access Developers discussion and problem >>>solving >>>To: >>>Subject: [AccessD] Search Memo field for number string >>>Date: Mon, 31 Oct 2005 10:36:08 -0500 >>> >>>I need to search a memo field for any string of any numbers sequenced as >>>follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold >>>the >>>number sequence found in each memo field. Anyone have any ideas on how to >>>setup >>>this query? Thanks for any help! >>> >>> >>> >>>Sheri >>> >>> > > > > -- Marty Connelly Victoria, B.C. Canada From bheygood at abestsystems.com Mon Oct 31 16:09:49 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 31 Oct 2005 14:09:49 -0800 Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? In-Reply-To: Message-ID: There is an ongoing series of articles in the Access Advisor that includes reading the tag info of MP3s. www.advisor.com good luck, bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, October 31, 2005 11:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? Several years ago, someone on this list (I believe it was Lambert) gave me a sample Access database or code which was able to read MP3 tags. A couple of months ago one of my hard drives crashed that held all of my family pictures and 40GB+ MP3 collection that took me over five years to record and classify into folders. I was able to retrieve the pictures but not the music. CDs wouldn't be too bad to re-rip but the Vinyl takes a bit longer to reencode :( I did find some "back ups" that I had made to CDs at various points in time. The trouble is that I have different versions & qualities of the same songs, so I want to create a database that can scan a CD and scan a given directory then only copy over those songs that do not already exist (or that have a better bitrate). I have code that can do the comparison and copying (I used it for a similar task with jpegs), but I need a method of reading the MP3's tags (Artist, Title & bitrate). Does anyone know how to read MP3 tags via VBA? Thanks, David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Oct 31 16:49:57 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 31 Oct 2005 14:49:57 -0800 Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? In-Reply-To: Message-ID: Thanks bob, this looks like it will help: http://www.advisor.com/doc/14849 I don't see bit rates, but I may be able to figure it out. Thanks, David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Heygood Sent: Monday, October 31, 2005 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: MP3 tag reading from Access - Lambert? There is an ongoing series of articles in the Access Advisor that includes reading the tag info of MP3s. www.advisor.com good luck, bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, October 31, 2005 11:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? Several years ago, someone on this list (I believe it was Lambert) gave me a sample Access database or code which was able to read MP3 tags. A couple of months ago one of my hard drives crashed that held all of my family pictures and 40GB+ MP3 collection that took me over five years to record and classify into folders. I was able to retrieve the pictures but not the music. CDs wouldn't be too bad to re-rip but the Vinyl takes a bit longer to reencode :( I did find some "back ups" that I had made to CDs at various points in time. The trouble is that I have different versions & qualities of the same songs, so I want to create a database that can scan a CD and scan a given directory then only copy over those songs that do not already exist (or that have a better bitrate). I have code that can do the comparison and copying (I used it for a similar task with jpegs), but I need a method of reading the MP3's tags (Artist, Title & bitrate). Does anyone know how to read MP3 tags via VBA? Thanks, David From rupert_bennett at msn.com Mon Oct 31 20:20:07 2005 From: rupert_bennett at msn.com (Rupert Bennett) Date: Mon, 31 Oct 2005 21:20:07 -0500 Subject: [AccessD] ActiveX Component Can't Create Object Message-ID: Hi, I must have tinkered around and done something wrong, but I can't use objects from my toolbox or any of my wizards anymore. I have all the most recent updates and service packs installed. I also upgraded to Access 2003 in the hope that this would solve the problem, but to no avail. Each time I try to use a control from my toolbox or use any of the wizards, I get a message saying "ActiveX Component can't create object". Does anyone know what the problem could be and what I could do to fix this? Thanks, Rupert From wdhindman at bellsouth.net Mon Oct 31 21:21:45 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 31 Oct 2005 22:21:45 -0500 Subject: [AccessD] ActiveX Component Can't Create Object References: Message-ID: <00df01c5de93$63462f70$6101a8c0@JISREGISTRATION.local> ...I'd take a look at your MDAC ...either corrupted or an older version maybe. William ----- Original Message ----- From: "Rupert Bennett" To: Sent: Monday, October 31, 2005 9:20 PM Subject: [AccessD] ActiveX Component Can't Create Object > Hi, > I must have tinkered around and done something wrong, but I can't use > objects from my toolbox or any of my wizards anymore. I have all the most > recent updates and service packs installed. I also upgraded to Access 2003 > in the hope that this would solve the problem, but to no avail. Each time > I try to use a control from my toolbox or use any of the wizards, I get a > message saying "ActiveX Component can't create object". Does anyone know > what the problem could be and what I could do to fix this? > Thanks, > Rupert > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Sat Oct 1 00:09:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 30 Sep 2005 22:09:34 -0700 Subject: [AccessD] The future of Access, .NET and SQL In-Reply-To: <433DD35F.1000101@shaw.ca> Message-ID: <0INO0008W0ZTXQ@l-daemon> Wow, the old one two tag-team assault... I was hoping they would provide statistics and demonstrations of inadequacies, how it is a poor performer, how difficult the product is to manage or how it took three times as long to resolve a data request. I read none of that just a rant on the evils of Cach?. I would expect better from a couple of fellows who are considered the head Gurus of the database world. (What is the old saying; Spiritual people enlighten but Religious people are just scary.) Cach? might not be a product worth considering but I guess I will have to judge on it merits. Have you ever looked at a database product named ANTS. Here is one article on the product: http://www.theregister.co.uk/2005/09/27/ants_database/ and a fully operational evaluation copy of the database can be acquired from: http://www.ants.com/index.php?option=com_content&task=view&Itemid=59&id=442 My understanding is that like Access it consumes all of the existing memory, the more the merrier. The difference Access just bleeds into all the memory. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, September 30, 2005 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL With Cache you have to read the swipes Date and Pascal take at it Against http://www.dbazine.com/ofinterest/oi-articles/pascal5 But with Fabian Pascal, you start believing in Mystic Eisegesis and start looking for notes nailed to church doors. http://www.dbdebunk.com/index.html For http://www.linuxjournal.com/article/5746 Jim Lawrence wrote: >Shamil: > >That description is a very good one. I have not seen a translation as good >as that one and I think none of the rules can be refuted. The issues arrive >when they are described in context with database normalization. I rarely >process below Form 3. > >A collogue has been saying for years that the relational database as we know >it is designed wrong. He claims that a real relational database or >post-relational database is OOP. To that end he says he can demonstrate that >a Cach? database running on a slower computer can run the same application >as an existing MS SQL DB faster and with better access to the data. It is >suppose to scale to millions of records was no apparent loss in performance. >(I am skeptical and unfortunately missed last night's demonstration but will >reserve my judgment until further observation.) > >I anticipate a carefully timed demonstration... There is a free single user >download from http://www.intersystems.com/cache/downloads/ (Windows/Linux) > >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil >Salakhetdinov >Sent: Friday, September 30, 2005 10:07 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] The future of Access, .NET and SQL > >Jim, > >But I think MS SQL 2000 and MS SQL 2005 perfectly fit all the twelve >Dr.E.F. Codd rules. > >http://www.frick-cpa.com/ss7/Theory_RelationalDB.asp > >Maybe there are some small exceptions for the rules: > >#4. Database is Self-Describing >#12. Data Integrity Cannot be Subverted > >but they are not significant I think. > >Shamil > >----- Original Message ----- >From: "Jim Lawrence" >To: "'Access Developers discussion and problem solving'" > >Sent: Friday, September 30, 2005 8:40 PM >Subject: Re: [AccessD] The future of Access, .NET and SQL > > >Hi Alan: > >If all ten law/rules/guidelines were ever fully implemented on a database >the application it would grind to a halt. It has been attempted, to various >degrees, in data designs within Government Ministries for years and in ever >cases it has failed. The basic guidelines of relational databases as I see >them are as follows: >1. The data must be easy to retrieve...therefore the data should be grouped. > >2. The database must be kept as small as reasonable...therefore as little >duplication as possible. >3. A high level of performance must be maintained. > >With those three guidelines much of Codd's/Date's rules can be implemented >but the whole concept starts to fall apart when enforcing the rules start to >impact performance. > >My two cents worth >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C >Contractor/Morgan Research >Sent: Friday, September 30, 2005 7:44 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] The future of Access, .NET and SQL > >Arthur, Charlotte: > >Several years ago I recall buying (and trying to comprehend) relational >database guru Chris Date's "classic" book (it's more like a tome ...) >"An Introduction to Database Systems". (Chris Date's main claim to >fame is as a prot?g? of the late Dr. E.F. "Ted" Codd - the "father" of >the relational database model.) Date worked with Dr. Codd in the early >1970's at IBM. He is now a full time consultant and writer - mostly of >articles dealing with various topics related to database design. > >Chris Date is a relational "purist" (some might say a zealot) in arguing >that a database system (or a vendor implementation of a database system) >cannot be considered truly "relational" if it violates any of Codd's "Ten >Rules" of relational database design. (Without "naming names," Chris Date >excoriates various vendor implementations of the relational model in his >book. He accuses these vendors of committing various "unforgivable sins" >against the relational model. Chris Date implies (or in some cases flat >out states) that these "sins" [of implementation] will lead to nothing >but trouble when commercial systems are designed and built using these >"flawed" implementations. (I'm doing a lot of paraphrasing of Chris Date's >words and writing here, but I think I have the "general drift" of Date's >criticisms just about right.) > >I think part of the "problem" (from the vendors perspective) may be that >creating a [truly] "relational" database system that passes muster with >Chris Date is probably very difficult - not to mention very costly. (After >investing literally BILLIONS of dollars in research and development, a >vendor may come up with an implementation that meets the requirements of >six or seven of the ten rules - and ignores (or "violates") the other three >rules. Chris Date focuses in on the three (or four) rules that have been >violated - and declares the whole implementation "fatally flawed". > >I would have to go back and re-read "An Introduction to Database Systems," >but I have a feeling that the introduction of "Multi-choice combos" is >the kind of thing that will drive Chris Date up the wall. > >Alan C. Lawhon > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Friday, September 30, 2005 8:40 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] The future of Access, .NET and SQL > >You can add MySQL to your list of offending databases. MySQL offends in two >ways, actually, but I will leave that as an exercise for the interested >reader. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust >Sent: September 29, 2005 11:05 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] The future of Access, .NET and SQL > >I haven't *seen* it. The stated concept gives me shivers because of >"databases" like Approach and FileMaker that have allowed multiple >choices stored in a single field. > >Charlotte > >-----Original Message----- >From: Arthur Fuller [mailto:artful at rogers.com] >Sent: Wednesday, September 28, 2005 8:05 PM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] The future of Access, .NET and SQL > > >Multi-choice combos <> relational constraints! >Case in point: I want to add N children to a parent, whose DetailType is >selected from a multi-choice combo.... i.e. add a Hotel, a CarRental, a >ConcertTicket, an AirportShuttle. The UI lets me do this as quickly as >possible, and background code takes care of the Parent-Child >relationships. I see no problem here. What are you seeing? > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >Foust >Sent: September 28, 2005 11:22 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] The future of Access, .NET and SQL > > > >>>Multi-choice combo box (M-M joins) >>> >>> > >That's the one I find scary. Does that mean they're abandoning >relational design? > >Charlotte > > >-----Original Message----- >From: Gustav Brock [mailto:Gustav at cactus.dk] >Sent: Wednesday, September 28, 2005 6:32 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] The future of Access, .NET and SQL > > >Hi all > >OK, found something in the slides at the links from Jim. >Does anyone know if "Append only" is fixed or optional? > > > >ACE - Access Data Engine > >- Engine based on Jet code-base and installed with Office, 100% >backwards compatible with Jet >- Connects to external data sources >- Foundation for richer support of complex data >- Multi-choice combo box (M-M joins) >- Attachments >- Append only >- Read and write Excel "12" file formats >- SharePoint ISAM enhancements >- OM changes to DAO and ACE OLEDB provider (ADO) > > > >I guess OM here means Object Model. >Further: > > > >New ACCDB file format > >- Can be emailed and stored in SharePoint document libraries >- Default for all new database >- Supports complex data features >- Multiple value lookups >- Attachments >- Append only >- SharePoint list offline >- Office file encryption not Jet encoding > > > >Also this summary: > > > >- Microsoft is committed to Access as a developer platform >- SharePoint Services integration allows developers to build new types >of collaborative applications >- Developers can build and deploy tracking templates > > > >Note that an Outlook code example in the presentation uses DAO, so this >seems not to be "dead" at all. > >/gustav > > > >>>>Gustav at cactus.dk 27-09-2005 21:03 >>> >>>> >>>> >Hi Susan and Martin > >Thanks! >Just wondering what this new engine should be about ... > > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Oct 1 00:26:45 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 30 Sep 2005 22:26:45 -0700 Subject: [AccessD] My new web site In-Reply-To: <000501c5c644$920ae330$6c7aa8c0@ColbyM6805> Message-ID: <0INO000EL1SFXA@l-daemon> Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 1 00:51:16 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 01:51:16 -0400 Subject: [AccessD] My new web site In-Reply-To: <0INO000EL1SFXA@l-daemon> Message-ID: <000701c5c64c$268239d0$6c7aa8c0@ColbyM6805> >I did not know you were so adept at building flash or is that just one of DNN's feature/options I haven't a clue about building flash. One of the options with DNN is to apply a "skin". The skin you see is one that is free from a very popular site over in aussie land. I may someday go buy one - there are a TON of people selling skins for DNN. >Where is the link to the DBA site? The link to DBA is there. Favorite Links, second link down. >and where is the .Net versions of your downloads? Some day. ;-) Notice I didn't say someday SOON. >(Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) The font sizes need tweaking. The text editor that is used to place text on pages allow selecting fonts and sizes. I just did a quick and dirty, to get something up. I will no doubt go back in someday and tweak that further. What I really need to figure out is how to set the background color for the text. ATM it is a rather bright white. I would prefer a cool very pale gray, or even a very light royal blue. It is just too bright right now. There is a style sheet that is available, but of course I don't know anything about that or how to tweak it. Plus the skins can override the stylesheet. I also need to figure out how to put up links to my two books on the main page. The DNN default install has one for DNN but I could not for the life of me figure out how to even edit the image in that module/page. Sigh. So much to know, so little time. BTW, you didn't register. If you register and sign in you get extra content! I also need to figure out how to tell visitors that fact. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat Oct 1 02:05:26 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 01 Oct 2005 00:05:26 -0700 Subject: [AccessD] My new web site In-Reply-To: <000701c5c64c$268239d0$6c7aa8c0@ColbyM6805> Message-ID: <0INO00D5I6CWID@l-daemon> Hi John: Do you sleep? :-) > ATM it is a rather bright white. I would prefer a cool very pale > gray, or even a very light royal blue. Try placing the following option in your opening body tag I.e: or > I also need to figure out how to put up links to my two books on the main > page. Try adding the tag set in where you what to have a link to the book like, I.e.: John Colby" (watch for wrap...) Just place any url between the quotes Just is just quick off the top... it is midnight here, feel like a pumpkin and will be crashing soon. |-P HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 10:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site >I did not know you were so adept at building flash or is that just one of DNN's feature/options I haven't a clue about building flash. One of the options with DNN is to apply a "skin". The skin you see is one that is free from a very popular site over in aussie land. I may someday go buy one - there are a TON of people selling skins for DNN. >Where is the link to the DBA site? The link to DBA is there. Favorite Links, second link down. >and where is the .Net versions of your downloads? Some day. ;-) Notice I didn't say someday SOON. >(Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) The font sizes need tweaking. The text editor that is used to place text on pages allow selecting fonts and sizes. I just did a quick and dirty, to get something up. I will no doubt go back in someday and tweak that further. What I really need to figure out is how to set the background color for the text. ATM it is a rather bright white. I would prefer a cool very pale gray, or even a very light royal blue. It is just too bright right now. There is a style sheet that is available, but of course I don't know anything about that or how to tweak it. Plus the skins can override the stylesheet. I also need to figure out how to put up links to my two books on the main page. The DNN default install has one for DNN but I could not for the life of me figure out how to even edit the image in that module/page. Sigh. So much to know, so little time. BTW, you didn't register. If you register and sign in you get extra content! I also need to figure out how to tell visitors that fact. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Oct 1 04:37:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 01 Oct 2005 11:37:02 +0200 Subject: [AccessD] The future of Access, .NET and SQL Message-ID: Hi Jim So true. I get a little tired reading such academic mud-throwing discussions. It is interesting to read that Cach? is regarded as an "in-memory database". I had the opportunity at a meeting here to discuss with the mentioned Paul D. Grabscheid and the CEO "Terry" (Phillip T. Ragon) how they felt Cach? compared to the hi-speed database engine kdb (http://www.kx.com). They claimed it not to be fair to judge a full-featured engine like Cach? with specialized in-memory database engines of which - in their view - kdb is one. I still don't see a major difference between an in-memory database and a database run by a traditional engine where you have read several or all tables into a memory cache which is possible in many occasions with today's multi-gigabyte ram. Cach? is not the answer to the World's database problems but it is a truly amazing product well worth checking out if you feel the need to handle objects all the way down to the database level and in the database itself. Also, compared to most other server engines, it is very easy to install and manage and runs nicely on modest hardware and OS (they stopped support for Win95 but Win98 and WinNT are still usable). I hope to get some time to experiment a little more with it. As to the subject of the thread, I believe the latest version integrates with dot net as well. /gustav >>> accessd at shaw.ca 01-10-2005 07:09 >>> Wow, the old one two tag-team assault... I was hoping they would provide statistics and demonstrations of inadequacies, how it is a poor performer, how difficult the product is to manage or how it took three times as long to resolve a data request. I read none of that just a rant on the evils of Cach?. I would expect better from a couple of fellows who are considered the head Gurus of the database world. (What is the old saying; Spiritual people enlighten but Religious people are just scary.) Cach? might not be a product worth considering but I guess I will have to judge on it merits. Have you ever looked at a database product named ANTS. Here is one article on the product: http://www.theregister.co.uk/2005/09/27/ants_database/ and a fully operational evaluation copy of the database can be acquired from: http://www.ants.com/index.php?option=com_content&task=view&Itemid=59&id=442 My understanding is that like Access it consumes all of the existing memory, the more the merrier. The difference Access just bleeds into all the memory. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Friday, September 30, 2005 5:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL With Cache you have to read the swipes Date and Pascal take at it Against http://www.dbazine.com/ofinterest/oi-articles/pascal5 But with Fabian Pascal, you start believing in Mystic Eisegesis and start looking for notes nailed to church doors. http://www.dbdebunk.com/index.html For http://www.linuxjournal.com/article/5746 From Gustav at cactus.dk Sat Oct 1 04:45:59 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 01 Oct 2005 11:45:59 +0200 Subject: [AccessD] The future of Access, .NET and SQL Message-ID: Hi Arthur Thanks, though these two violations make me feel sick - I thought that was what could be expected from FileMaker, Alpha Five, or similar. Of course, you can (should) just deny to apply such "features" but it explains some of the weird things you see when web designers start designing databases. /gustav >>> artful at rogers.com 01-10-2005 04:42 >>> The first violation, if you wish to call it that, is the ENUM column type. This type specifies that the value must be one of a collection of enumerated strings, such as "This", "That", "The other", "Nothing", etc. This is akin to Access's value-list column definition. The second violation is the SET column. Given a column definition such as MyColumn SET('one', 'two') NOT NULL Then MyColumn can have any of these values: '' 'one' 'two' 'one,two' A SET can have a maximum of 64 different members. Magic is being performed behind the scenes. You can do lightning-quick queries against such columns, not surprisingly (note the 64-member maximum). But the fact remains that this would make Dr. Codd turn over in his grave. This sort of column violates everything we have learned about relational database design. Columns should be ATOMIC -- one value per row/column. My partner Peter Brawley and I have done some benchmarks and there is no doubt about it, MySQL's set columns are fast. But what the benchmarks don't mention is the cost of adding a new item to any given set. Suppose you have 1,000 installations. You have to restructure the table, then bump it out to 1.000 database servers. Not a pretty prospect. That said, the concept does work well for small sets that are unlikely to change, such as "Potential Sexual Partners" set "male", "female", "tv", "tg". That set covers the bases for the foreseeable future (unless I am really old and really out of touch with such matters). A. From Gustav at cactus.dk Sat Oct 1 04:58:27 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 01 Oct 2005 11:58:27 +0200 Subject: [AccessD] Friday at last! Message-ID: Hi David Next time get serious and take your wife abroad - here the cost is about USD 1.7 per liter! /gustav >>> dmcafee at pacbell.net 30-09-2005 22:23 >>> My wife asked me to take to somewhere really expensive last night. So I did. I took her to the gas station. From jwcolby at colbyconsulting.com Sat Oct 1 07:13:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 08:13:06 -0400 Subject: [AccessD] My new web site In-Reply-To: <0INO00D5I6CWID@l-daemon> Message-ID: <000801c5c681$7e14f270$6c7aa8c0@ColbyM6805> >Try placing the following option in your opening body tag I.e: or What I need is a reference on what values are used for what colors. DNN does not have a color selector control 8-(. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 3:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Hi John: Do you sleep? :-) > ATM it is a rather bright white. I would prefer a cool very pale gray, > or even a very light royal blue. Try placing the following option in your opening body tag I.e: or > I also need to figure out how to put up links to my two books on the > main page. Try adding the tag set in where you what to have a link to the book like, I.e.: John Colby" (watch for wrap...) Just place any url between the quotes Just is just quick off the top... it is midnight here, feel like a pumpkin and will be crashing soon. |-P HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 10:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site >I did not know you were so adept at building flash or is that just one >of DNN's feature/options I haven't a clue about building flash. One of the options with DNN is to apply a "skin". The skin you see is one that is free from a very popular site over in aussie land. I may someday go buy one - there are a TON of people selling skins for DNN. >Where is the link to the DBA site? The link to DBA is there. Favorite Links, second link down. >and where is the .Net versions of your downloads? Some day. ;-) Notice I didn't say someday SOON. >(Could I be so bold as to suggest a smaller font size and maybe even a >text font of a dark grey instead of black... fashion is such a fickle thing.) The font sizes need tweaking. The text editor that is used to place text on pages allow selecting fonts and sizes. I just did a quick and dirty, to get something up. I will no doubt go back in someday and tweak that further. What I really need to figure out is how to set the background color for the text. ATM it is a rather bright white. I would prefer a cool very pale gray, or even a very light royal blue. It is just too bright right now. There is a style sheet that is available, but of course I don't know anything about that or how to tweak it. Plus the skins can override the stylesheet. I also need to figure out how to put up links to my two books on the main page. The DNN default install has one for DNN but I could not for the life of me figure out how to even edit the image in that module/page. Sigh. So much to know, so little time. BTW, you didn't register. If you register and sign in you get extra content! I also need to figure out how to tell visitors that fact. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Sat Oct 1 07:23:44 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 1 Oct 2005 08:23:44 -0400 Subject: [AccessD] My new web site In-Reply-To: <000801c5c681$7e14f270$6c7aa8c0@ColbyM6805> References: <0INO00D5I6CWID@l-daemon> <000801c5c681$7e14f270$6c7aa8c0@ColbyM6805> Message-ID: On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. DNN > does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 jwcolby at colbyconsulting.com Sat Oct 1 07:37:09 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 08:37:09 -0400 Subject: [AccessD] My new web site In-Reply-To: Message-ID: <000901c5c684$d7621800$6c7aa8c0@ColbyM6805> Do you happen to know of a calculator that allows you to choose a color like in paint and get the number? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. > DNN does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 carbonnb at gmail.com Sat Oct 1 07:48:05 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 1 Oct 2005 08:48:05 -0400 Subject: [AccessD] My new web site In-Reply-To: <000901c5c684$d7621800$6c7aa8c0@ColbyM6805> References: <000901c5c684$d7621800$6c7aa8c0@ColbyM6805> Message-ID: On 01/10/05, John W. Colby wrote: > Do you happen to know of a calculator that allows you to choose a color like > in paint and get the number? Not off the top of my head, but the second link, http://www.zspc.com/color/index-e.html, will allow you to select the colour from a limited pallette and then give you the hex codes. Also, if you are using Firefox, there is an extension called Colorzilla, http://www.iosart.com/firefox/colorzilla/, that will let you get the RGB and hex numbers from a colour in your browser window. >From Colorzilla "With ColorZilla you can get a color reading from any point in your browser, quickly adjust this color and paste it into another program. You can Zoom the page you are viewing and measure distances between any two points on the page. The built-in palette browser allows choosing colors from pre-defined color sets and saving the most used colors in custom palettes." Maybe those will help. -- 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 jwcolby at colbyconsulting.com Sat Oct 1 07:59:57 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 08:59:57 -0400 Subject: [AccessD] My new web site In-Reply-To: Message-ID: <000a01c5c688$098f10f0$6c7aa8c0@ColbyM6805> I downloaded and installed the colorzilla thingie. Now how do you use it? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > Do you happen to know of a calculator that allows you to choose a > color like in paint and get the number? Not off the top of my head, but the second link, http://www.zspc.com/color/index-e.html, will allow you to select the colour from a limited pallette and then give you the hex codes. Also, if you are using Firefox, there is an extension called Colorzilla, http://www.iosart.com/firefox/colorzilla/, that will let you get the RGB and hex numbers from a colour in your browser window. >From Colorzilla "With ColorZilla you can get a color reading from any point in your browser, quickly adjust this color and paste it into another program. You can Zoom the page you are viewing and measure distances between any two points on the page. The built-in palette browser allows choosing colors from pre-defined color sets and saving the most used colors in custom palettes." Maybe those will help. -- 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 carbonnb at gmail.com Sat Oct 1 08:07:43 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 1 Oct 2005 09:07:43 -0400 Subject: [AccessD] My new web site In-Reply-To: <000a01c5c688$098f10f0$6c7aa8c0@ColbyM6805> References: <000a01c5c688$098f10f0$6c7aa8c0@ColbyM6805> Message-ID: On 01/10/05, John W. Colby wrote: > I downloaded and installed the colorzilla thingie. Now how do you use it? After restarting FF, down in the lower left corner of the status bar, there is an eye dropper. Click on it and then move the mouse over various parts of the web page. In the status bar you'll get the RGB and hex codes. You can also right click in the eye dropper and get a menu of all sorts of things. I don't know what's there, since I just found it :) Once you are done getting the colours you need, just click on the page and then you'll be returned to your regular mouse pointer. -- 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 jwcolby at colbyconsulting.com Sat Oct 1 08:15:52 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 09:15:52 -0400 Subject: [AccessD] My new web site In-Reply-To: Message-ID: <000b01c5c68a$3f920d90$6c7aa8c0@ColbyM6805> Hmm... Well I downloaded it, and I told it to install, but no eyedropper. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > I downloaded and installed the colorzilla thingie. Now how do you use > it? After restarting FF, down in the lower left corner of the status bar, there is an eye dropper. Click on it and then move the mouse over various parts of the web page. In the status bar you'll get the RGB and hex codes. You can also right click in the eye dropper and get a menu of all sorts of things. I don't know what's there, since I just found it :) Once you are done getting the colours you need, just click on the page and then you'll be returned to your regular mouse pointer. -- 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 carbonnb at gmail.com Sat Oct 1 08:25:16 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sat, 1 Oct 2005 09:25:16 -0400 Subject: [AccessD] My new web site In-Reply-To: <000b01c5c68a$3f920d90$6c7aa8c0@ColbyM6805> References: <000b01c5c68a$3f920d90$6c7aa8c0@ColbyM6805> Message-ID: On 01/10/05, John W. Colby wrote: > Hmm... Well I downloaded it, and I told it to install, but no eyedropper. Did you restart FF? And are you signed into MSM? -- 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 Sat Oct 1 08:29:37 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 01 Oct 2005 06:29:37 -0700 Subject: [AccessD] My new web site In-Reply-To: <000801c5c681$7e14f270$6c7aa8c0@ColbyM6805> Message-ID: <0INO00254O593L@l-daemon> Hi John: There is a (free) simple little utility that will allow you to select a colour from anywhere on your screen and translates that colour into a hex number. I use this product all the time. (http://www.freedownloadscenter.com/Web_Authoring/HTML_Color_Pickers/DotColo r.html ). It also turns off and on very easily as when running it replaces your selector. It runs on every Win product without issue. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, October 01, 2005 5:13 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site >Try placing the following option in your opening body tag I.e: or What I need is a reference on what values are used for what colors. DNN does not have a color selector control 8-(. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 3:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Hi John: Do you sleep? :-) > ATM it is a rather bright white. I would prefer a cool very pale gray, > or even a very light royal blue. Try placing the following option in your opening body tag I.e: or > I also need to figure out how to put up links to my two books on the > main page. Try adding the tag set in where you what to have a link to the book like, I.e.: John Colby" (watch for wrap...) Just place any url between the quotes Just is just quick off the top... it is midnight here, feel like a pumpkin and will be crashing soon. |-P HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 10:51 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site >I did not know you were so adept at building flash or is that just one >of DNN's feature/options I haven't a clue about building flash. One of the options with DNN is to apply a "skin". The skin you see is one that is free from a very popular site over in aussie land. I may someday go buy one - there are a TON of people selling skins for DNN. >Where is the link to the DBA site? The link to DBA is there. Favorite Links, second link down. >and where is the .Net versions of your downloads? Some day. ;-) Notice I didn't say someday SOON. >(Could I be so bold as to suggest a smaller font size and maybe even a >text font of a dark grey instead of black... fashion is such a fickle thing.) The font sizes need tweaking. The text editor that is used to place text on pages allow selecting fonts and sizes. I just did a quick and dirty, to get something up. I will no doubt go back in someday and tweak that further. What I really need to figure out is how to set the background color for the text. ATM it is a rather bright white. I would prefer a cool very pale gray, or even a very light royal blue. It is just too bright right now. There is a style sheet that is available, but of course I don't know anything about that or how to tweak it. Plus the skins can override the stylesheet. I also need to figure out how to put up links to my two books on the main page. The DNN default install has one for DNN but I could not for the life of me figure out how to even edit the image in that module/page. Sigh. So much to know, so little time. BTW, you didn't register. If you register and sign in you get extra content! I also need to figure out how to tell visitors that fact. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Wow, I am totally impressed John... I did not know you were so adept at building flash or is that just one of DNN's feature/options (?); excellent regardless. The site is very easy to navigate and it is very clean. (Could I be so bold as to suggest a smaller font size and maybe even a text font of a dark grey instead of black... fashion is such a fickle thing.) All fooling aside the new site is great. Jim PS: Where is the link to the DBA site? ... and where is the .Net versions of your downloads? :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Friday, September 30, 2005 9:57 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] My new web site Anyone interested please visit. I am using DotNetNuke to build my new web site. It is still a work in progress, as is my knowledge of DNN. What you see on my site has been done in just about a week. For a side by side comparison: My new site: www.colbyconsulting.com My old site: www.jwcolby.com I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL Server and so you must purchase a hosting package that includes SQL Server, but it gives the developer (knowledgeable in Visual Studio) the ability to write custom modules to work with data from SQL Server using plug-in modules that you write. DNN is written using VB in VS 2003, and I own VS 2001 so I am at a standstill ATM, however I am about to order the academic version (my wife is a teacher) of VS 2003 which will allow me to start developing snap-in modules for DNN that can dish up data. Stand by for that. Any comments welcome. I am not a web site developer so do not expect a world class web page, but I think that given my limitations it looks pretty good. Register and Log in to see additional features. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Oct 1 08:45:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 01 Oct 2005 15:45:05 +0200 Subject: [AccessD] My new web site Message-ID: Hi Jim Nice tool Jim, but this link is much faster and saves you from a 1.5MB stupid "download manager" preceding download: http://www.inetis.com/freeware.asp /gustav >>> accessd at shaw.ca 01-10-2005 15:29 >>> Hi John: There is a (free) simple little utility that will allow you to select a colour from anywhere on your screen and translates that colour into a hex number. I use this product all the time. (http://www.freedownloadscenter.com/Web_Authoring/HTML_Color_Pickers/DotColo r.html ). It also turns off and on very easily as when running it replaces your selector. It runs on every Win product without issue. From jwcolby at colbyconsulting.com Sat Oct 1 08:53:25 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 09:53:25 -0400 Subject: [AccessD] Color picker In-Reply-To: <0INO00254O593L@l-daemon> Message-ID: <000c01c5c68f$7edf6600$6c7aa8c0@ColbyM6805> One called ColorMania is perfect for what I need. Thanks John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 9:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Hi John: There is a (free) simple little utility that will allow you to select a colour from anywhere on your screen and translates that colour into a hex number. I use this product all the time. (http://www.freedownloadscenter.com/Web_Authoring/HTML_Color_Pickers/DotColo r.html ). It also turns off and on very easily as when running it replaces your selector. It runs on every Win product without issue. HTH Jim From ebarro at afsweb.com Sat Oct 1 09:19:35 2005 From: ebarro at afsweb.com (Eric Barro) Date: Sat, 1 Oct 2005 07:19:35 -0700 Subject: [AccessD] My new web site In-Reply-To: <000901c5c684$d7621800$6c7aa8c0@ColbyM6805> Message-ID: This one is pretty cool... http://www.colorschemer.com/online.html -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Saturday, October 01, 2005 5:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Do you happen to know of a calculator that allows you to choose a color like in paint and get the number? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. > DNN does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From jmhecht at earthlink.net Sat Oct 1 12:37:38 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 1 Oct 2005 10:37:38 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <0INN00J5HH2AZK@l-daemon> Message-ID: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ From accessd at shaw.ca Sat Oct 1 13:01:49 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 01 Oct 2005 11:01:49 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> Message-ID: <0INP0020E0QX86@l-daemon> Hi Joe: My thoughts are that the AMD would be the best bet. The chip is full-featured but is the same price as the Celeron which is a de-tuned Pentium. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Oct 1 13:11:56 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 1 Oct 2005 14:11:56 -0400 Subject: [AccessD] The future of Access, .NET and SQL In-Reply-To: <000801c5c5e1$606bfb10$6401a8c0@fincomplex.spb.ru> Message-ID: <200510011811.j91IBvT27597@databaseadvisors.com> As I see it, there are two issues here. A. The db engine itself: 1. the actual physical storage mechanisms must be hidden from the user. 2. A single language must enable you to query the system tables as well as the user tables. 3. There must be a mechanism to uniquely identify every row in every table. Absolute duplicates are forbidden. 4. There must be a way to implement constraints such as Foreign Keys, unique values and range constraints. B. The particular database that is implemented: 1. Values must be atomic (i.e. don't have a column called NamesOfChildren that contains a string such as "Jim, Arthur, Charlotte, Shamil"). 2. Don't nest tables (i.e. the give-away is columns with parallel names, such as SalesRep_1, SalesRep_2, SalesRep_3 -- this is a sure-fire indication that you need to add another table called SalesOrderSalesReps or somesuch). Of course there are more rules than these; I cite these just to indicate the turf and the division. The former set of rules is for the database vendor to develop. The latter set is for the developer to implement. If you break the rules in the latter set, it is not because the particular database product is flawed, but rather the user's understanding. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: September 30, 2005 1:07 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL Jim, But I think MS SQL 2000 and MS SQL 2005 perfectly fit all the twelve Dr.E.F. Codd rules. http://www.frick-cpa.com/ss7/Theory_RelationalDB.asp Maybe there are some small exceptions for the rules: #4. Database is Self-Describing #12. Data Integrity Cannot be Subverted but they are not significant I think. Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 30, 2005 8:40 PM Subject: Re: [AccessD] The future of Access, .NET and SQL Hi Alan: If all ten law/rules/guidelines were ever fully implemented on a database the application it would grind to a halt. It has been attempted, to various degrees, in data designs within Government Ministries for years and in ever cases it has failed. The basic guidelines of relational databases as I see them are as follows: 1. The data must be easy to retrieve...therefore the data should be grouped. 2. The database must be kept as small as reasonable...therefore as little duplication as possible. 3. A high level of performance must be maintained. With those three guidelines much of Codd's/Date's rules can be implemented but the whole concept starts to fall apart when enforcing the rules start to impact performance. My two cents worth Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lawhon, Alan C Contractor/Morgan Research Sent: Friday, September 30, 2005 7:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL Arthur, Charlotte: Several years ago I recall buying (and trying to comprehend) relational database guru Chris Date's "classic" book (it's more like a tome ...) "An Introduction to Database Systems". (Chris Date's main claim to fame is as a prot?g? of the late Dr. E.F. "Ted" Codd - the "father" of the relational database model.) Date worked with Dr. Codd in the early 1970's at IBM. He is now a full time consultant and writer - mostly of articles dealing with various topics related to database design. Chris Date is a relational "purist" (some might say a zealot) in arguing that a database system (or a vendor implementation of a database system) cannot be considered truly "relational" if it violates any of Codd's "Ten Rules" of relational database design. (Without "naming names," Chris Date excoriates various vendor implementations of the relational model in his book. He accuses these vendors of committing various "unforgivable sins" against the relational model. Chris Date implies (or in some cases flat out states) that these "sins" [of implementation] will lead to nothing but trouble when commercial systems are designed and built using these "flawed" implementations. (I'm doing a lot of paraphrasing of Chris Date's words and writing here, but I think I have the "general drift" of Date's criticisms just about right.) I think part of the "problem" (from the vendors perspective) may be that creating a [truly] "relational" database system that passes muster with Chris Date is probably very difficult - not to mention very costly. (After investing literally BILLIONS of dollars in research and development, a vendor may come up with an implementation that meets the requirements of six or seven of the ten rules - and ignores (or "violates") the other three rules. Chris Date focuses in on the three (or four) rules that have been violated - and declares the whole implementation "fatally flawed". I would have to go back and re-read "An Introduction to Database Systems," but I have a feeling that the introduction of "Multi-choice combos" is the kind of thing that will drive Chris Date up the wall. Alan C. Lawhon -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, September 30, 2005 8:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] The future of Access, .NET and SQL You can add MySQL to your list of offending databases. MySQL offends in two ways, actually, but I will leave that as an exercise for the interested reader. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: September 29, 2005 11:05 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL I haven't *seen* it. The stated concept gives me shivers because of "databases" like Approach and FileMaker that have allowed multiple choices stored in a single field. Charlotte -----Original Message----- From: Arthur Fuller [mailto:artful at rogers.com] Sent: Wednesday, September 28, 2005 8:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] The future of Access, .NET and SQL Multi-choice combos <> relational constraints! Case in point: I want to add N children to a parent, whose DetailType is selected from a multi-choice combo.... i.e. add a Hotel, a CarRental, a ConcertTicket, an AirportShuttle. The UI lets me do this as quickly as possible, and background code takes care of the Parent-Child relationships. I see no problem here. What are you seeing? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: September 28, 2005 11:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] The future of Access, .NET and SQL >> Multi-choice combo box (M-M joins) That's the one I find scary. Does that mean they're abandoning relational design? Charlotte -----Original Message----- From: Gustav Brock [mailto:Gustav at cactus.dk] Sent: Wednesday, September 28, 2005 6:32 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] The future of Access, .NET and SQL Hi all OK, found something in the slides at the links from Jim. Does anyone know if "Append only" is fixed or optional? ACE - Access Data Engine - Engine based on Jet code-base and installed with Office, 100% backwards compatible with Jet - Connects to external data sources - Foundation for richer support of complex data - Multi-choice combo box (M-M joins) - Attachments - Append only - Read and write Excel "12" file formats - SharePoint ISAM enhancements - OM changes to DAO and ACE OLEDB provider (ADO) I guess OM here means Object Model. Further: New ACCDB file format - Can be emailed and stored in SharePoint document libraries - Default for all new database - Supports complex data features - Multiple value lookups - Attachments - Append only - SharePoint list offline - Office file encryption not Jet encoding Also this summary: - Microsoft is committed to Access as a developer platform - SharePoint Services integration allows developers to build new types of collaborative applications - Developers can build and deploy tracking templates Note that an Outlook code example in the presentation uses DAO, so this seems not to be "dead" at all. /gustav >>> Gustav at cactus.dk 27-09-2005 21:03 >>> Hi Susan and Martin Thanks! Just wondering what this new engine should be about ... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sat Oct 1 13:30:06 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 1 Oct 2005 14:30:06 -0400 Subject: [AccessD] Combo to Combo In-Reply-To: <200509301849.j8UInZD09063@ultradnt.com> Message-ID: <200510011830.j91IU6T02851@databaseadvisors.com> This comment is perhaps better directed at the thread on relational databases, but since here is a splendid example I will post my comment here. One of Codd's rules, I forget its number, is that you should not have two multi-valued columns in a single row. The front end is one thing, but the back end is another. Let me change examples to illustrate the point. Suppose you have three tables: Cities, Regions (provinces/states/cantons etc.) and Countries. I often see tables containing all three of these columns, and to my way of thinking that violates the rule just stated. All you really need in the table is the CityID, because London, Ontario is situated in Canada, while London, England is situated in England (I'm afraid I don't know its region). You could get away with this design by asking for the country first, then listing its regions, and finally the city in the selected region. But you at least risk the possibility that someone could enter nonsense, such as New York, Arizona, Norway. In part the reason why I prefer the "one multivalued column" approach is that then I can offload the responsibility to the db engine itself, rather than coding its logic in one or more front-ends that talk to the database. So by all means, go with the approach Steve suggests, but that occurs in the front-end. I see no reason to carry the redundancies into the back end. My $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: September 30, 2005 2:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo to Combo Virginia: You need a many-to-many table to relate the Systems to the Failure Types ... tblSystem: PK=systemID 1 (Alarm) 2 (Dryer) tblFailType: PK=FailTypeID 1 (Age) 2 (Wear) tblSystemFailType: FK1=SystemID FK2=FailTypeID Alarm Wear Alarm Shorted Dryer Wear Dryer Age Then on the form, after user selects system from combo1, requery combo 2 to show the applicable failure types Combo 2 source = "SELECT FailTypeID, FailType FROM tblFailType WHERE FailTypeID IN " & _ " (SELECT FailTypeID FROM tblSystemFailType WHERE SystemID=" & me.combo1 & ")" Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: Friday, September 30, 2005 2:27 PM To: accessD at databaseadvisors.com Subject: [AccessD] Combo to Combo I need to create a combo box that lists system identifications. When the selection is made from the system combo, the 2nd combo only lists related failures. The problem is the System and the Failure are repeated. An Alarm can have the same type of failure as a Dryer. How do I set up the tables & the form for the combos to list the Systems with the matching Failure types when they are all repeated? Example: System, Failure Alarm, Age Alarm, Normal Wear Alarm, Corrosion Battery, Overload Battery, Age Dryer, Normal Wear Dryer, Age Dryer, Obstruction Virginia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sat Oct 1 15:21:37 2005 From: john at winhaven.net (John Bartow) Date: Sat, 1 Oct 2005 15:21:37 -0500 Subject: [AccessD] OT: Need new laptop In-Reply-To: <0INP0020E0QX86@l-daemon> Message-ID: <00ee01c5c6c5$b9b6f780$6801a8c0@ScuzzPaq> Ditto from me. I've been going with Athlon 64 CPUs in all my business machines the last year and am _very_ satisfied with them. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Hi Joe: My thoughts are that the AMD would be the best bet. The chip is full-featured but is the same price as the Celeron which is a de-tuned Pentium. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 1 15:24:35 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 16:24:35 -0400 Subject: [AccessD] OT: Need new laptop In-Reply-To: <00ee01c5c6c5$b9b6f780$6801a8c0@ScuzzPaq> Message-ID: <000d01c5c6c6$24094a20$6c7aa8c0@ColbyM6805> Likewise. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Saturday, October 01, 2005 4:22 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Ditto from me. I've been going with Athlon 64 CPUs in all my business machines the last year and am _very_ satisfied with them. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Saturday, October 01, 2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Hi Joe: My thoughts are that the AMD would be the best bet. The chip is full-featured but is the same price as the Celeron which is a de-tuned Pentium. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Sat Oct 1 16:00:31 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Sat, 1 Oct 2005 16:00:31 -0500 (CDT) Subject: [AccessD] OT: Need new laptop In-Reply-To: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> References: <0INN00J5HH2AZK@l-daemon> <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> Message-ID: <2874.65.196.182.34.1128200431.squirrel@65.196.182.34> Joe, I've been looking around for a notebook to replace a desktop system, and I've come to the conclusion that I'm going to have to build one. Several manufacturers are now selling barebones notebooks including Asus and MSI starting in the mid $550's. My CPU of choice would be the AMD 64, more bang for the buck. Jim > My Dell is dying. It is time to replace it. > > Does any one have thoughts on the following: > > Pentium vs. Celeron vs. AMD > > > Mostly runs office. Some flight sim. Some Ipod support. > > Will defiantly have 512 megs of Ram looking to try for a gig depending on > $ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Sat Oct 1 16:22:22 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 1 Oct 2005 14:22:22 -0700 Subject: [AccessD] My new web site References: <000501c5c644$920ae330$6c7aa8c0@ColbyM6805> Message-ID: <00c901c5c6ce$369c6930$6501a8c0@HAL9004> John: My screen is set to 800x600 and so there's a horizontal scroll bar at the bottom, which means scrolling back and forth to read the whole line. Don't know that there's that many of us out here with that setting, though. (BTW, I was using Firefox 1.07)/ According to the "popular wisdom" for good readability a line isn't supposed to be longer than about 35 characters. My .02 Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 30, 2005 9:57 PM Subject: [AccessD] My new web site > Anyone interested please visit. I am using DotNetNuke to build my new web > site. It is still a work in progress, as is my knowledge of DNN. What > you > see on my site has been done in just about a week. > > For a side by side comparison: > > My new site: www.colbyconsulting.com > My old site: www.jwcolby.com > > I am finding DNN to be a pretty cool web site framework. It REQUIRES SQL > Server and so you must purchase a hosting package that includes SQL > Server, > but it gives the developer (knowledgeable in Visual Studio) the ability to > write custom modules to work with data from SQL Server using plug-in > modules > that you write. DNN is written using VB in VS 2003, and I own VS 2001 so > I > am at a standstill ATM, however I am about to order the academic version > (my > wife is a teacher) of VS 2003 which will allow me to start developing > snap-in modules for DNN that can dish up data. Stand by for that. > > Any comments welcome. I am not a web site developer so do not expect a > world class web page, but I think that given my limitations it looks > pretty > good. > > Register and Log in to see additional features. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bchacc at san.rr.com Sat Oct 1 16:24:40 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 1 Oct 2005 14:24:40 -0700 Subject: [AccessD] OT: Need new laptop References: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> Message-ID: <00d001c5c6ce$88b2a9a0$6501a8c0@HAL9004> Joe: I got a Compaq with and MAD 64 bit in it about a year ago. It's pretty big and heavy but the keyboard is full size and the screen's big. I figured if I was going to do any real work on it I'd want that size screen and keyboard. The little ones are cute but the stuff on the screen gets pretty teensy. Processor seems OK but I don't know that I'm running anything that really takes advantage of the 64 bits. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 01, 2005 10:37 AM Subject: [AccessD] OT: Need new laptop > My Dell is dying. It is time to replace it. > > Does any one have thoughts on the following: > > Pentium vs. Celeron vs. AMD > > > Mostly runs office. Some flight sim. Some Ipod support. > > Will defiantly have 512 megs of Ram looking to try for a gig depending on > $ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Sat Oct 1 16:28:05 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sat, 1 Oct 2005 14:28:05 -0700 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <"007b01c5c38d$9a6ff240$c 71865cb"@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004> <001c01c5c5bc$daac5de0$971865cb@winxp> Message-ID: <00dd01c5c6cf$028afc00$6501a8c0@HAL9004> A.D.: What happens if I use the pop-up form approach and the user changes the report sizing so that it no longer is in "FitToWindow" mode? I'd like to put the navigation in the custom report toolbar I made but if SndKeys won't work then that's a no go. How do you make a custom button for a toolbar anyway? Thanks and regards, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Friday, September 30, 2005 5:44 AM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > It is a tiny pop-up form (similar to a tool bar) that sits in a corner > of the screen. It gets opened via report's open event and closed via > report's close event. > > You might like to adapt the commands suitably to appropriate buttons on > your tool bar. In that case, the commands specific to the form (i.e. > hiding / un-hiding etc) can be ignored. > > After ensuring that report window is the active one and the report is > in FitToWindow mode, SendKeys arguments as summarized below, would do the > needful. > (a) Go to Next Page - "{DOWN}" > (b) Go to Prev Page - "{UP}" > (c) Go to Last Page - "^{DOWN}" > (d) Go to First Page - "^{UP}" > > It is observed that SendKeys commands do not get ported smoothly to > tool bar functions. If you find yourself stuck on this account, and wish > to avoid form based solution, you could consider experimenting with > fTurnPage feature available at Leban's site. For this, you would have to > download the file named ControlReports.zip. > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as > mentioned by Ervin, represents the pop-up form approach. > > If at any stage, you happen to need a simplified sample based upon the > code sent by me earlier, I can try to put it together. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Thursday, September 29, 2005 20:05 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > Thanks for the idea. Does this mean that the report preview appears in a > pop-up or that there's a pop-up form with the navigation buttons? > > I already have a custom toolbar with a minimum of controls on it - print, > close, & fit. I see that you can add controls for record navigation. > They look like the icons I want but of course they don't turn the pages of > a report. I'd like to put the page navigation in the toolbar. > Is there a way to change the action of those icons you can put on a > custom toolbar? Or is there a way to create a custom button for a toolbar > that would turn the pages of a report? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, September 27, 2005 11:00 AM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > Rocky, > > > > Sample code in the module of a pop-up form, as given below, enables > > page navigation of report named R_Test. Command button named CmdNext > steps > > forward through the pages while that named CmdPrev does the reverse. > > > > You might like to adapt it suitably for your specific situation. > > > > Note - For the SendKeys command (Up or Dn arrow) to be effective, it > is > > necessary that report is in FitToWindow mode and report's window is the > > active one. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > Code module for Pop Up Form > > ================================ > > ' Declarations Section > > Private RepHdw As Long, FrmHdw As Long > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > (ByVal hwnd As Long) As Long > > -------------------------------------------------------- > > Private Sub CmdNext_Click() > > DoCmd.Echo False > > Me.Visible = False > > BringWindowToTop RepHdw > > DoCmd.RunCommand acCmdFitToWindow > > SendKeys "{DOWN}", True > > DoCmd.RunCommand acCmdZoom100 > > Me.Visible = True > > BringWindowToTop FrmHdw > > DoCmd.Echo True > > End Sub > > > > Private Sub CmdPrev_Click() > > DoCmd.Echo False > > Me.Visible = False > > BringWindowToTop RepHdw > > DoCmd.RunCommand acCmdFitToWindow > > SendKeys "{UP}", True > > DoCmd.RunCommand acCmdZoom100 > > Me.Visible = True > > BringWindowToTop FrmHdw > > DoCmd.Echo True > > End Sub > > > > Private Sub Form_Activate() > > DoCmd.Restore > > End Sub > > > > Private Sub Form_Load() > > RepHdw = Reports("R_Test").hwnd > > FrmHdw = Me.hwnd > > End Sub > > ================================ > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: AccessD at databaseadvisors.com > > Sent: Monday, September 26, 2005 23:41 > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > Dear List: > > > > I have a custom toolbar for reports that get displayed in report > preview > > if the db is an mde. It has only printer icon, close button, and zoom > > control. The paging navigation is of course, at the lower left of the > > screen in preview mode, but I'm wondering if these nav buttons can be > > added to the custom toolbar where an inexperienced user might be more > > likely to see them. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sat Oct 1 20:13:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 21:13:08 -0400 Subject: [AccessD] My new web site In-Reply-To: <00c901c5c6ce$369c6930$6501a8c0@HAL9004> Message-ID: <000e01c5c6ee$762e2960$6c7aa8c0@ColbyM6805> >My screen is set to 800x600 and so there's a horizontal scroll bar at the bottom, which means scrolling back and forth to read the whole line. I don't tell it how wide to make it. I have a choice of "fixed width" and "entire screen". I assumed that meant it would figure out your resolution and size it accordingly. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 01, 2005 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site John: My screen is set to 800x600 and so there's a horizontal scroll bar at the bottom, which means scrolling back and forth to read the whole line. Don't know that there's that many of us out here with that setting, though. (BTW, I was using Firefox 1.07)/ According to the "popular wisdom" for good readability a line isn't supposed to be longer than about 35 characters. My .02 Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 30, 2005 9:57 PM Subject: [AccessD] My new web site > Anyone interested please visit. I am using DotNetNuke to build my new > web site. It is still a work in progress, as is my knowledge of DNN. > What you see on my site has been done in just about a week. > > For a side by side comparison: > > My new site: www.colbyconsulting.com > My old site: www.jwcolby.com > > I am finding DNN to be a pretty cool web site framework. It REQUIRES > SQL Server and so you must purchase a hosting package that includes > SQL Server, but it gives the developer (knowledgeable in Visual > Studio) the ability to write custom modules to work with data from SQL > Server using plug-in modules > that you write. DNN is written using VB in VS 2003, and I own VS 2001 so > I > am at a standstill ATM, however I am about to order the academic version > (my > wife is a teacher) of VS 2003 which will allow me to start developing > snap-in modules for DNN that can dish up data. Stand by for that. > > Any comments welcome. I am not a web site developer so do not expect > a world class web page, but I think that given my limitations it looks > pretty good. > > Register and Log in to see additional features. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Oct 1 20:47:27 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sat, 01 Oct 2005 21:47:27 -0400 Subject: [AccessD] My new web site In-Reply-To: <00c901c5c6ce$369c6930$6501a8c0@HAL9004> Message-ID: <000f01c5c6f3$418d50a0$6c7aa8c0@ColbyM6805> Well, I just went top my desktop and resized my screen to 800x600 and sure enough, a slider. Resized again to 1024 x 768 and it is now "full width" (no slider). And of course anything wider than 768 pixels looks just fine. And of course another issue here is that you may throw in modules down each side which would reduce the width of the main data window accordingly. There seems to be no magic answer here. I can place something down the side (an advertisement for my books for example), and that reduces the size of the main window, however if the screen is "full width" then how wide the middle part is is still determined by the resolution on YOUR computer. I can likewise go with a "fixed width" which reduces it to some portion of the screen (probably designed for 800x600? Though I haven't tested that). NOW, if I put something down the side it ends up with a little tiny slice down the middle for the "main course" so to speak. This is why I don't like getting into web design. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 01, 2005 5:22 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site John: My screen is set to 800x600 and so there's a horizontal scroll bar at the bottom, which means scrolling back and forth to read the whole line. Don't know that there's that many of us out here with that setting, though. (BTW, I was using Firefox 1.07)/ According to the "popular wisdom" for good readability a line isn't supposed to be longer than about 35 characters. My .02 Rocky ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, September 30, 2005 9:57 PM Subject: [AccessD] My new web site > Anyone interested please visit. I am using DotNetNuke to build my new > web site. It is still a work in progress, as is my knowledge of DNN. > What you see on my site has been done in just about a week. > > For a side by side comparison: > > My new site: www.colbyconsulting.com > My old site: www.jwcolby.com > > I am finding DNN to be a pretty cool web site framework. It REQUIRES > SQL Server and so you must purchase a hosting package that includes > SQL Server, but it gives the developer (knowledgeable in Visual > Studio) the ability to write custom modules to work with data from SQL > Server using plug-in modules > that you write. DNN is written using VB in VS 2003, and I own VS 2001 so > I > am at a standstill ATM, however I am about to order the academic version > (my > wife is a teacher) of VS 2003 which will allow me to start developing > snap-in modules for DNN that can dish up data. Stand by for that. > > Any comments welcome. I am not a web site developer so do not expect > a world class web page, but I think that given my limitations it looks > pretty good. > > Register and Log in to see additional features. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Oct 1 21:56:28 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 01 Oct 2005 19:56:28 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <00d001c5c6ce$88b2a9a0$6501a8c0@HAL9004> Message-ID: <0INP00A0CPHZZZ@l-daemon> Rocky: My understanding is, as far as Microsoft is concerned, that not until the new 2005 software series are they taking advantage the 64bit chips... everything except Exchange. Maybe there is another series specifically for those chips Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Saturday, October 01, 2005 2:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop Joe: I got a Compaq with and MAD 64 bit in it about a year ago. It's pretty big and heavy but the keyboard is full size and the screen's big. I figured if I was going to do any real work on it I'd want that size screen and keyboard. The little ones are cute but the stuff on the screen gets pretty teensy. Processor seems OK but I don't know that I'm running anything that really takes advantage of the 64 bits. Rocky ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 01, 2005 10:37 AM Subject: [AccessD] OT: Need new laptop > My Dell is dying. It is time to replace it. > > Does any one have thoughts on the following: > > Pentium vs. Celeron vs. AMD > > > Mostly runs office. Some flight sim. Some Ipod support. > > Will defiantly have 512 megs of Ram looking to try for a gig depending on > $ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sun Oct 2 19:20:47 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 02 Oct 2005 17:20:47 -0700 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: Message-ID: <0INR00A1PCYIYP@l-daemon> Within many web pages there is starting to appear a piece of code which is curious. It looks like encrypted imbedded coding created by some obfuscating tool. The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... and so on for, sometime 1000 plus characters. I would look it up on the internet but do not know even how to describe it. Is this the result of an obfuscating process for ASPX pages? Yes, I am designing in ASP.Net and no, I have never run across this before. (The disadvantages of being self-taught.) TIA Jim From accessd at shaw.ca Sun Oct 2 19:36:02 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 02 Oct 2005 17:36:02 -0700 Subject: [AccessD] OT Database performance In-Reply-To: Message-ID: <0INR00D5NDNXUO@l-daemon> Hi All: The latest TPC-C costs for the new MS SQL 2003 / Dell combo of $0.99 (compared with an Oracle 8i / Compaq combo results that top $52.xx): http://www.tpc.org/tpcc/results/tpcc_results.asp?print=false&orderby=pricepe rf&sortby=asc . It seems that M$ is definitely competing on price points to grab a larger market share. It is very difficult to gleam any real results from the 'tpc.org' site as the performance levels of various databases is so reliant on the hardware on which they are running. It would be nice if there was a site which had two of three set pieces of hardware, installed with a dozen of the major DBs (not 3 and sometimes 4) and ran each under the same load conditions with the same data sets... then maybe some realistic performance figures could be gathered. Does anyone know a site where there are 'real' performance figures? Jim From pcs at azizaz.com Sun Oct 2 20:18:43 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 3 Oct 2005 11:18:43 +1000 Subject: [AccessD] My new web site References: <000701c5c64c$268239d0$6c7aa8c0@ColbyM6805> Message-ID: <005901c5c7b8$65296a10$fa10a8c0@Albatross> > BTW, you didn't register. If you register and sign in you get extra > content! I also need to figure out how to tell visitors that fact. John, Being in the same situation : great need for website building skills - little knowledge now 0.000? - little time - I thought I check this out - So, I just did that ... no additional content though .... How do we get to that? regards borge From jmhecht at earthlink.net Sun Oct 2 20:32:16 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sun, 2 Oct 2005 18:32:16 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <2874.65.196.182.34.1128200431.squirrel@65.196.182.34> Message-ID: <001501c5c7ba$4ab68fd0$0a01a8c0@desktop> Where and how do you build your own laptop? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss Sent: Saturday, October 01, 2005 2:01 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop Joe, I've been looking around for a notebook to replace a desktop system, and I've come to the conclusion that I'm going to have to build one. Several manufacturers are now selling barebones notebooks including Asus and MSI starting in the mid $550's. My CPU of choice would be the AMD 64, more bang for the buck. Jim > My Dell is dying. It is time to replace it. > > Does any one have thoughts on the following: > > Pentium vs. Celeron vs. AMD > > > Mostly runs office. Some flight sim. Some Ipod support. > > Will defiantly have 512 megs of Ram looking to try for a gig depending on > $ > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Sun Oct 2 20:58:03 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 02 Oct 2005 21:58:03 -0400 Subject: [AccessD] My new web site In-Reply-To: <005901c5c7b8$65296a10$fa10a8c0@Albatross> Message-ID: <000201c5c7bd$e7270e50$6c7aa8c0@ColbyM6805> Once you register you have to log in using that registered user name. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Sunday, October 02, 2005 9:19 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site > BTW, you didn't register. If you register and sign in you get extra > content! I also need to figure out how to tell visitors that fact. John, Being in the same situation : great need for website building skills - little knowledge now 0.000? - little time - I thought I check this out - So, I just did that ... no additional content though .... How do we get to that? regards borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Sun Oct 2 21:11:44 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Sun, 2 Oct 2005 22:11:44 -0400 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <0INR00A1PCYIYP@l-daemon> References: <0INR00A1PCYIYP@l-daemon> Message-ID: On 02/10/05, Jim Lawrence wrote: > Within many web pages there is starting to appear a piece of code which is > curious. It looks like encrypted imbedded coding created by some obfuscating > tool. > > The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... and so > on for, sometime 1000 plus characters. I would look it up on the internet > but do not know even how to describe it. > > Is this the result of an obfuscating process for ASPX pages? Yes, I am > designing in ASP.Net and no, I have never run across this before. (The > disadvantages of being self-taught.) The only time that I have ever seen this is when a PostNuke site that I run was hacked. it too me about 3 days to "decode" it (don't ask me how I did it, I don't remember) and it was a redirect to or from a Warez site. -- 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 pcs at azizaz.com Sun Oct 2 21:46:27 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 3 Oct 2005 12:46:27 +1000 Subject: [AccessD] My new web site References: <000201c5c7bd$e7270e50$6c7aa8c0@ColbyM6805> Message-ID: <010901c5c7c4$a721ba10$fa10a8c0@Albatross> John, - I registered with name and password - then logged in .... no additional content appeared - exited IE and logged on again .... same story What am I missing? borge ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 11:58 AM Subject: Re: [AccessD] My new web site > Once you register you have to log in using that registered user name. > > John W. Colby > www.ColbyConsulting.com From jwcolby at colbyconsulting.com Sun Oct 2 22:04:34 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Sun, 02 Oct 2005 23:04:34 -0400 Subject: [AccessD] My new web site In-Reply-To: <010901c5c7c4$a721ba10$fa10a8c0@Albatross> Message-ID: <000801c5c7c7$319eb0b0$6c7aa8c0@ColbyM6805> There should be the following items in the menu without logging in: Home - Resume - Contacts - Favorite Links - Feedback If you log in there should be two additional items - "Example code" and "Forums". The "Example code" menu should have three submenu items C2DbFW3G framework Withevents Demo Utilities Each of these three pages should have various things that you can download - Utilities I have written over the last few years, demos for using WithEvents, and lectures about my framework with code. The forums are a hotbed of activity. ;-) Probably never will be but they provide a place for people to discuss the stuff found on my site or even other stuff if you wish. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Sunday, October 02, 2005 10:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site John, - I registered with name and password - then logged in .... no additional content appeared - exited IE and logged on again .... same story What am I missing? borge ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 11:58 AM Subject: Re: [AccessD] My new web site > Once you register you have to log in using that registered user name. > > John W. Colby > www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Sun Oct 2 22:38:57 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 3 Oct 2005 13:38:57 +1000 Subject: [AccessD] My new web site References: <000801c5c7c7$319eb0b0$6c7aa8c0@ColbyM6805> Message-ID: <013201c5c7cb$fc4891b0$fa10a8c0@Albatross> John, Thanks for taking the time to explain what I should be looking for... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry Your C2DbFW3G framework is that a full working example of your framework? I read with interest you reply to Joe the other day about sysVars and their use, and got the impression that you were making reference to a fully working example of your Framework - so is that the one I need to have a closer look at? fyi I registered as username: borge and password: blueeyes When logging in, your system accepts both without a blink - and behaves as expected if I enter wrong password.... Why can't I see what supposedly everyone else can see? borge ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 1:04 PM Subject: Re: [AccessD] My new web site > There should be the following items in the menu without logging in: > > Home - Resume - Contacts - Favorite Links - Feedback > > If you log in there should be two additional items - "Example code" and > "Forums". The "Example code" menu should have three submenu items > > C2DbFW3G framework > Withevents Demo > Utilities > > Each of these three pages should have various things that you can download - > Utilities I have written over the last few years, demos for using > WithEvents, and lectures about my framework with code. > > The forums are a hotbed of activity. ;-) Probably never will be but they > provide a place for people to discuss the stuff found on my site or even > other stuff if you wish. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Sunday, October 02, 2005 10:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] My new web site > > > John, > - I registered with name and password > - then logged in .... no additional content appeared > - exited IE and logged on again .... same story > > What am I missing? > borge > > > ----- Original Message ----- > From: "John W. Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 03, 2005 11:58 AM > Subject: Re: [AccessD] My new web site > > > > Once you register you have to log in using that registered user name. > > > > John W. Colby > > www.ColbyConsulting.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Oct 2 22:12:25 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Mon, 03 Oct 2005 13:12:25 +1000 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: References: <0INR00A1PCYIYP@l-daemon> Message-ID: <43412E39.2270.A5D92E@localhost> On 2 Oct 2005 at 22:11, Bryan Carbonnell wrote: > On 02/10/05, Jim Lawrence wrote: > > Within many web pages there is starting to appear a piece of code which is > > curious. It looks like encrypted imbedded coding created by some obfuscating > > tool. > > > > The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... and so > > on for, sometime 1000 plus characters. I would look it up on the internet > > but do not know even how to describe it. > > > > Is this the result of an obfuscating process for ASPX pages? Yes, I am > > designing in ASP.Net and no, I have never run across this before. (The > > disadvantages of being self-taught.) > > The only time that I have ever seen this is when a PostNuke site that > I run was hacked. it too me about 3 days to "decode" it (don't ask me > how I did it, I don't remember) and it was a redirect to or from a > Warez site. > Tell that to JC, he's got one on the Home page of his new his site :-) Thanks for taking the time to explain what I should be looking for... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry I just logged in (using FireFox) with your username and password and the menu does change. The menu looks like: Home R?sum? Contacts Example Code Favorite Links Forums Feedback (cut and pasted from the text in the menubar) This is not good that you do not see the expanded menu. I also logged in using IE6X and likewise the menubar does change. I don't have any idea why you can't see a different menu. I will put out a message asking other AccessD members to try logging in and reporting on whether the menu changes or not. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Sunday, October 02, 2005 11:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site John, Thanks for taking the time to explain what I should be looking for... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry Your C2DbFW3G framework is that a full working example of your framework? I read with interest you reply to Joe the other day about sysVars and their use, and got the impression that you were making reference to a fully working example of your Framework - so is that the one I need to have a closer look at? fyi I registered as username: borge and password: blueeyes When logging in, your system accepts both without a blink - and behaves as expected if I enter wrong password.... Why can't I see what supposedly everyone else can see? borge From jwcolby at colbyconsulting.com Sun Oct 2 23:21:11 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 03 Oct 2005 00:21:11 -0400 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <43412E39.2270.A5D92E@localhost> Message-ID: <000c01c5c7d1$e2a7fec0$6c7aa8c0@ColbyM6805> LOL, Stuart, are you SERIOUSLY saying I should worry about tens of kilobytes of useless junk moving around the web when people are downloading video and audio streams with hundreds of kbytes per SECOND, times millions of such users? Oh my, I think I'll just rush right out there and redesign my site... Or is this just a soapbox thing about how the evil empire is conquering the universe "tens of kilobytes" at a time? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of stuart at lexacorp.com.pg Sent: Sunday, October 02, 2005 11:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Question that will be simple for those that know On 2 Oct 2005 at 22:11, Bryan Carbonnell wrote: > On 02/10/05, Jim Lawrence wrote: > > Within many web pages there is starting to appear a piece of code > > which is curious. It looks like encrypted imbedded coding created by > > some obfuscating tool. > > > > The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... > > and so on for, sometime 1000 plus characters. I would look it up on > > the internet but do not know even how to describe it. > > > > Is this the result of an obfuscating process for ASPX pages? Yes, I > > am designing in ASP.Net and no, I have never run across this before. > > (The disadvantages of being self-taught.) > > The only time that I have ever seen this is when a PostNuke site that > I run was hacked. it too me about 3 days to "decode" it (don't ask me > how I did it, I don't remember) and it was a redirect to or from a > Warez site. > Tell that to JC, he's got one on the Home page of his new his site :-) <"007b01c5c38d$9a6ff240$c71865cb"@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004><001c01c5c5bc$daac5de0$971865cb@win xp> <00dd01c5c6cf$028afc00$6501a8c0@HAL9004> Message-ID: <01aa01c5c7d9$790ddef0$9d1865cb@winxp> Rocky, That is not a problem. The code sent in my first post in this thread enforces FitToWindow mode for the report, before carrying out SendKeys command. For adding buttons on the print preview toolbar, you have to right click on it and choose customize. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Sunday, October 02, 2005 02:58 Subject: Re: [AccessD] Report Navigation on Custom Toolbar A.D.: What happens if I use the pop-up form approach and the user changes the report sizing so that it no longer is in "FitToWindow" mode? I'd like to put the navigation in the custom report toolbar I made but if SendKeys won't work then that's a no go. How do you make a custom button for a toolbar anyway? Thanks and regards, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Friday, September 30, 2005 5:44 AM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > It is a tiny pop-up form (similar to a tool bar) that sits in a corner of the screen. It gets opened via report's open event and closed via report's close event. > > You might like to adapt the commands suitably to appropriate buttons on your tool bar. In that case, the commands specific to the form (i.e. hiding / un-hiding etc) can be ignored. > > After ensuring that report window is the active one and the report is in FitToWindow mode, SendKeys arguments as summarized below, would do the needful. > (a) Go to Next Page - "{DOWN}" > (b) Go to Prev Page - "{UP}" > (c) Go to Last Page - "^{DOWN}" > (d) Go to First Page - "^{UP}" > > It is observed that SendKeys commands do not get ported smoothly to tool bar functions. If you find yourself stuck on this account, and wish to avoid form based solution, you could consider experimenting with fTurnPage feature available at Leban's site. For this, you would have to download the file named ControlReports.zip. > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as mentioned by Ervin, represents the pop-up form approach. > > If at any stage, you happen to need a simplified sample based upon the code sent by me earlier, I can try to put it together. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Thursday, September 29, 2005 20:05 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > A.D.: > > Thanks for the idea. Does this mean that the report preview appears in a > pop-up or that there's a pop-up form with the navigation buttons? > > I already have a custom toolbar with a minimum of controls on it - print, > close, & fit. I see that you can add controls for record navigation. > They look like the icons I want but of course they don't turn the pages of > a report. I'd like to put the page navigation in the toolbar. > Is there a way to change the action of those icons you can put on a > custom toolbar? Or is there a way to create a custom button for a toolbar > that would turn the pages of a report? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Tuesday, September 27, 2005 11:00 AM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > Rocky, > > > > Sample code in the module of a pop-up form, as given below, enables > > page navigation of report named R_Test. Command button named CmdNext > steps > > forward through the pages while that named CmdPrev does the reverse. > > > > You might like to adapt it suitably for your specific situation. > > > > Note - For the SendKeys command (Up or Dn arrow) to be effective, it > is > > necessary that report is in FitToWindow mode and report's window is the > > active one. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > Code module for Pop Up Form > > ================================ > > ' Declarations Section > > Private RepHdw As Long, FrmHdw As Long > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > (ByVal hwnd As Long) As Long > > -------------------------------------------------------- > > Private Sub CmdNext_Click() > > DoCmd.Echo False > > Me.Visible = False > > BringWindowToTop RepHdw > > DoCmd.RunCommand acCmdFitToWindow > > SendKeys "{DOWN}", True > > DoCmd.RunCommand acCmdZoom100 > > Me.Visible = True > > BringWindowToTop FrmHdw > > DoCmd.Echo True > > End Sub > > > > Private Sub CmdPrev_Click() > > DoCmd.Echo False > > Me.Visible = False > > BringWindowToTop RepHdw > > DoCmd.RunCommand acCmdFitToWindow > > SendKeys "{UP}", True > > DoCmd.RunCommand acCmdZoom100 > > Me.Visible = True > > BringWindowToTop FrmHdw > > DoCmd.Echo True > > End Sub > > > > Private Sub Form_Activate() > > DoCmd.Restore > > End Sub > > > > Private Sub Form_Load() > > RepHdw = Reports("R_Test").hwnd > > FrmHdw = Me.hwnd > > End Sub > > ================================ > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: AccessD at databaseadvisors.com > > Sent: Monday, September 26, 2005 23:41 > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > Dear List: > > > > I have a custom toolbar for reports that get displayed in report > preview > > if the db is an mde. It has only printer icon, close button, and zoom > > control. The paging navigation is of course, at the lower left of the > > screen in preview mode, but I'm wondering if these nav buttons can be > > added to the custom toolbar where an inexperienced user might be more > > likely to see them. > > > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > 858-259-4334 From accessd at shaw.ca Mon Oct 3 00:44:11 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 02 Oct 2005 22:44:11 -0700 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <43414AED.25851.65F25DA@stuart.lexacorp.com.pg> Message-ID: <000001c5c7dd$7b16f890$017ba8c0@xpserver> Thanks Bryan, Stuart and John for the information. I was initially sort of wondering what that 'value ="dDwtNjIxMjI0NzQ...' was now I am very curious. If it doesn't have a reason and is more of a problem that it is worth why is it there? Is MS really spying on us storing encrypted data in our browsers that work like cookies? Does the data block just hold state variables or can it hold code? Do I sound paranoid?... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Sunday, October 02, 2005 10:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Question that will be simple for those that know On 3 Oct 2005 at 0:21, John W. Colby wrote: > LOL, Stuart, are you SERIOUSLY saying I should worry about tens of kilobytes > of useless junk moving around the web Nope, just pointing at a website that explains what _viewstate does :-) The bit about "tell JC" was in response to Bryan's comment: "The only time that I have ever seen this is when a PostNuke site that I run was hacked. it too me about 3 days to "decode" it (don't ask me how I did it, I don't remember) and it was a redirect to or from a Warez site." -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Oct 3 00:48:27 2005 From: dmcafee at pacbell.net (David McAfee) Date: Sun, 2 Oct 2005 22:48:27 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: <000301c5c6ae$d1b29cc0$0a01a8c0@desktop> Message-ID: I just bought one for my 15 yr old daughter for $499 at Frys. http://www.outpost.com/entry?site=op:mfe091605&sku=4530607 About $35 to bring it up another 256MB or $42 for an additional 512MB. Surprisingly, its running great with the 256mb of RAM. David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Joe Hecht Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Mon Oct 3 01:21:37 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 3 Oct 2005 16:21:37 +1000 Subject: [AccessD] My new web site References: <000b01c5c7d0$7395a880$6c7aa8c0@ColbyM6805> Message-ID: <014801c5c7e2$b6212910$fa10a8c0@Albatross> <<< ... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry Why can't I see what supposedly everyone else can see? >>>> John, This is what happened: Using IE6 I have cookies privacy alert turned on and only when absolutely necessary do I allow cookies First time I visited your new website I responded no! 'do not allow cookies' - not knowing what to expect - ;) ;) I can register without cookies turned on. I can log on without cookies turned on. But I can't view additional content without cookies turned on. When I turn on cookies the extra menu items appears. Perhaps you need to let users know when registering that "no cookie - no extra content", or change the setup. Regards borge From shamil at users.mns.ru Mon Oct 3 01:38:39 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 3 Oct 2005 10:38:39 +0400 Subject: [AccessD] OT Question that will be simple for those that know References: <000001c5c7dd$7b16f890$017ba8c0@xpserver> Message-ID: <000f01c5c7e5$1daef290$6401a8c0@fincomplex.spb.ru> > Do I sound paranoid?... Yes :) You can switch this feature off. <<< ViewState is generally used for persisting form data on a page across round trips. Do not use ViewState to store information such as passwords, connection strings, and file paths. >>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconmantainingstateincontrol.asp Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 9:44 AM Subject: Re: [AccessD] OT Question that will be simple for those that know > Thanks Bryan, Stuart and John for the information. I was initially sort of > wondering what that 'value ="dDwtNjIxMjI0NzQ...' was now I am very curious. > If it doesn't have a reason and is more of a problem that it is worth why is > it there? Is MS really spying on us storing encrypted data in our browsers > that work like cookies? Does the data block just hold state variables or can > it hold code? > > Do I sound paranoid?... > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Sunday, October 02, 2005 10:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Question that will be simple for those that know > > On 3 Oct 2005 at 0:21, John W. Colby wrote: > > > LOL, Stuart, are you SERIOUSLY saying I should worry about tens of > kilobytes > > of useless junk moving around the web > > Nope, just pointing at a website that explains what _viewstate does :-) > > The bit about "tell JC" was in response to Bryan's comment: > "The only time that I have ever seen this is when a PostNuke site that > I run was hacked. it too me about 3 days to "decode" it (don't ask me > how I did it, I don't remember) and it was a redirect to or from a > Warez site." > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Oct 3 05:53:50 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 03 Oct 2005 06:53:50 -0400 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <43414AED.25851.65F25DA@stuart.lexacorp.com.pg> Message-ID: <000401c5c808$c071bc60$6c7aa8c0@ColbyM6805> Ahh.. Ok. The quoted text sounded as if you were advocating a point of view. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Monday, October 03, 2005 1:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Question that will be simple for those that know On 3 Oct 2005 at 0:21, John W. Colby wrote: > LOL, Stuart, are you SERIOUSLY saying I should worry about tens of > kilobytes of useless junk moving around the web Nope, just pointing at a website that explains what _viewstate does :-) The bit about "tell JC" was in response to Bryan's comment: "The only time that I have ever seen this is when a PostNuke site that I run was hacked. it too me about 3 days to "decode" it (don't ask me how I did it, I don't remember) and it was a redirect to or from a Warez site." -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Mon Oct 3 06:01:51 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 03 Oct 2005 07:01:51 -0400 Subject: [AccessD] My new web site In-Reply-To: <014801c5c7e2$b6212910$fa10a8c0@Albatross> Message-ID: <000501c5c809$dba19db0$6c7aa8c0@ColbyM6805> >But I can't view additional content without cookies turned on. That is fascinating. No idea why of course. The upside of using a framework such as DotNetNuke for building a website is that you can build massive functionality rapidly without knowing the "how is that done". The downside of using a framework such as DotNetNuke for building a website is that you don't know "how is that done". I'm happy you figured that out though and I will keep that in mind. I will also go out and ask around on the "why". John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 03, 2005 2:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site <<< ... After logging in, your website serves me the same home page as before logging in, I have tried a refresh page immediately after logging in .... no new items, sorry Why can't I see what supposedly everyone else can see? >>>> John, This is what happened: Using IE6 I have cookies privacy alert turned on and only when absolutely necessary do I allow cookies First time I visited your new website I responded no! 'do not allow cookies' - not knowing what to expect - ;) ;) I can register without cookies turned on. I can log on without cookies turned on. But I can't view additional content without cookies turned on. When I turn on cookies the extra menu items appears. Perhaps you need to let users know when registering that "no cookie - no extra content", or change the setup. Regards borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Oct 3 06:36:28 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 3 Oct 2005 04:36:28 -0700 (PDT) Subject: [AccessD] Code for Groupwise Objects Message-ID: <20051003113628.7080.qmail@web33101.mail.mud.yahoo.com> Does anyone have code to send emials via VBA for groupwise? The SendObject is not enough for what I need. I found some snippets, but none of them seem to have a .CC or .BCC parameter. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. From Gustav at cactus.dk Mon Oct 3 07:10:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 03 Oct 2005 14:10:02 +0200 Subject: [AccessD] Code for Groupwise Objects Message-ID: Hi Lonnie Did you check out Novell's site: http://developer.novell.com/wiki/index.php/Develop_to_GroupWise Tons of docs and code here. /gustav >>> prodevmg at yahoo.com 03-10-2005 13:36 >>> Does anyone have code to send emials via VBA for groupwise? The SendObject is not enough for what I need. I found some snippets, but none of them seem to have a .CC or .BCC parameter. From hollisvj at pgdp.usec.com Mon Oct 3 07:32:34 2005 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Mon, 03 Oct 2005 07:32:34 -0500 Subject: [AccessD] Combo to Combo Message-ID: <66ABA669023AE74B97746FD8E684392001516DDD@c2k3exchange.pgdp.corp.usec.com> Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia *************** This comment is perhaps better directed at the thread on relational databases, but since here is a splendid example I will post my comment here. One of Codd's rules, I forget its number, is that you should not have two multi-valued columns in a single row. The front end is one thing, but the back end is another. Let me change examples to illustrate the point. Suppose you have three tables: Cities, Regions (provinces/states/cantons etc.) and Countries. I often see tables containing all three of these columns, and to my way of thinking that violates the rule just stated. All you really need in the table is the CityID, because London, Ontario is situated in Canada, while London, England is situated in England (I'm afraid I don't know its region). You could get away with this design by asking for the country first, then listing its regions, and finally the city in the selected region. But you at least risk the possibility that someone could enter nonsense, such as New York, Arizona, Norway. In part the reason why I prefer the "one multivalued column" approach is that then I can offload the responsibility to the db engine itself, rather than coding its logic in one or more front-ends that talk to the database. So by all means, go with the approach Steve suggests, but that occurs in the front-end. I see no reason to carry the redundancies into the back end. My $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Steve Conklin Sent: September 30, 2005 2:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo to Combo Virginia: You need a many-to-many table to relate the Systems to the Failure Types ... tblSystem: PK=systemID 1 (Alarm) 2 (Dryer) tblFailType: PK=FailTypeID 1 (Age) 2 (Wear) tblSystemFailType: FK1=SystemID FK2=FailTypeID Alarm Wear Alarm Shorted Dryer Wear Dryer Age Then on the form, after user selects system from combo1, requery combo 2 to show the applicable failure types Combo 2 source = "SELECT FailTypeID, FailType FROM tblFailType WHERE FailTypeID IN " & _ " (SELECT FailTypeID FROM tblSystemFailType WHERE SystemID=" & me.combo1 & ")" Hth Steve From developer at ultradnt.com Mon Oct 3 08:03:59 2005 From: developer at ultradnt.com (Steve Conklin) Date: Mon, 3 Oct 2005 09:03:59 -0400 Subject: [AccessD] Combo to Combo In-Reply-To: <66ABA669023AE74B97746FD8E684392001516DDD@c2k3exchange.pgdp.corp.usec.com> Message-ID: <200510031304.j93D41f87668@ultradnt.com> Probably the line continuation character (" _ ") ... Its only for code, not a control property. Sorry, that's on me; as I got to the right edge of the email, I put it in out of habit. Make the whole sql string string into one line. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 8:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia *************** This comment is perhaps better directed at the thread on relational databases, but since here is a splendid example I will post my comment here. One of Codd's rules, I forget its number, is that you should not have two multi-valued columns in a single row. The front end is one thing, but the back end is another. Let me change examples to illustrate the point. Suppose you have three tables: Cities, Regions (provinces/states/cantons etc.) and Countries. I often see tables containing all three of these columns, and to my way of thinking that violates the rule just stated. All you really need in the table is the CityID, because London, Ontario is situated in Canada, while London, England is situated in England (I'm afraid I don't know its region). You could get away with this design by asking for the country first, then listing its regions, and finally the city in the selected region. But you at least risk the possibility that someone could enter nonsense, such as New York, Arizona, Norway. In part the reason why I prefer the "one multivalued column" approach is that then I can offload the responsibility to the db engine itself, rather than coding its logic in one or more front-ends that talk to the database. So by all means, go with the approach Steve suggests, but that occurs in the front-end. I see no reason to carry the redundancies into the back end. My $.02. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Steve Conklin Sent: September 30, 2005 2:49 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Combo to Combo Virginia: You need a many-to-many table to relate the Systems to the Failure Types ... tblSystem: PK=systemID 1 (Alarm) 2 (Dryer) tblFailType: PK=FailTypeID 1 (Age) 2 (Wear) tblSystemFailType: FK1=SystemID FK2=FailTypeID Alarm Wear Alarm Shorted Dryer Wear Dryer Age Then on the form, after user selects system from combo1, requery combo 2 to show the applicable failure types Combo 2 source = "SELECT FailTypeID, FailType FROM tblFailType WHERE FailTypeID IN " & _ " (SELECT FailTypeID FROM tblSystemFailType WHERE SystemID=" & me.combo1 & ")" Hth Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From hollisvj at pgdp.usec.com Mon Oct 3 08:22:00 2005 From: hollisvj at pgdp.usec.com (Hollis, Virginia) Date: Mon, 03 Oct 2005 08:22:00 -0500 Subject: [AccessD] Combo to Combo Message-ID: <66ABA669023AE74B97746FD8E684392001516EDA@c2k3exchange.pgdp.corp.usec.com> Still getting the same error, Invalid SQL statement. It highlights the first part of the statement. "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; ________________________________ Probably the line continuation character (" _ ") ... Its only for code, not a control property. Sorry, that's on me; as I got to the right edge of the email, I put it in out of habit. Make the whole sql string string into one line. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 8:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia From jim.moss at jlmoss.net Mon Oct 3 08:32:51 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 3 Oct 2005 08:32:51 -0500 (CDT) Subject: [AccessD] OT: Need new laptop In-Reply-To: <001501c5c7ba$4ab68fd0$0a01a8c0@desktop> References: <2874.65.196.182.34.1128200431.squirrel@65.196.182.34> <001501c5c7ba$4ab68fd0$0a01a8c0@desktop> Message-ID: <15263.65.196.182.34.1128346371.squirrel@65.196.182.34> Asus and MSI, and others build bare bones systems, which include mainboard, usually a CD-RW/DVD, and a choice of display from 12 - 15.75". You add memory, CPU and hard drive. I've had good luck with MSI products and will probably lean that way. I had no idea that anyone was building barebones notebooks til I saw a magazine article a week or so ago. I will try to remember and reply with that info when I get home. I want to replace my desktop system with a notebook but want something as powerful as my desktop. You probably aren't going to save any money but will end up with more bang for your buck. The battery life will probably suck, but that is a non issue for me, portability is the only thing that matters. Just google for barebones notebooks and you will find a good assortment of choices. Jim > Where and how do you build your own laptop? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss > Sent: Saturday, October 01, 2005 2:01 PM > To: access at joe2.endjunk.com; Access Developers discussion and problem > solving > Subject: Re: [AccessD] OT: Need new laptop > > Joe, > > I've been looking around for a notebook to replace a desktop system, and > I've come to the conclusion that I'm going to have to build one. Several > manufacturers are now selling barebones notebooks including Asus and MSI > starting in the mid $550's. My CPU of choice would be the AMD 64, more > bang for the buck. > > Jim > > >> My Dell is dying. It is time to replace it. >> >> Does any one have thoughts on the following: >> >> Pentium vs. Celeron vs. AMD >> >> >> Mostly runs office. Some flight sim. Some Ipod support. >> >> Will defiantly have 512 megs of Ram looking to try for a gig depending >> on >> $ >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jim.moss at jlmoss.net Mon Oct 3 08:38:36 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 3 Oct 2005 08:38:36 -0500 (CDT) Subject: [AccessD] Code for Groupwise Objects In-Reply-To: References: Message-ID: <15851.65.196.182.34.1128346716.squirrel@65.196.182.34> Lonnie, There is also groupwise email code on Dev Ashish's site. Jim > Hi Lonnie > > Did you check out Novell's site: > > http://developer.novell.com/wiki/index.php/Develop_to_GroupWise > > Tons of docs and code here. > > /gustav > >>>> prodevmg at yahoo.com 03-10-2005 13:36 >>> > Does anyone have code to send emials via VBA for groupwise? The SendObject > is not enough for what I need. I found some snippets, but none of them > seem to have a .CC or .BCC parameter. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From EdTesiny at oasas.state.ny.us Mon Oct 3 08:48:52 2005 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Mon, 3 Oct 2005 09:48:52 -0400 Subject: [AccessD] Option Group Message-ID: Hi All, I don't get this??? I'm creating a data entry form that for the most part contains option groups with radio buttons with Yes/No choices. I don't want a default button selected. No problem, except for the first option group where "Yes" is selected. Deleted it and copied an option group where there was no default selected (that is it was working correctly), still "Yes" is selected. Looking at the properties, there is no default value. Any suggestions? TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us From ssharkins at bellsouth.net Mon Oct 3 08:56:59 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 3 Oct 2005 09:56:59 -0400 Subject: [AccessD] Combo to Combo In-Reply-To: <66ABA669023AE74B97746FD8E684392001516EDA@c2k3exchange.pgdp.corp.usec.com> Message-ID: <20051003135706.CANY24738.ibm65aec.bellsouth.net@SUSANONE> I haven't been following the thread, but Virginia, I don't think you need those inner quotations around the subquery. Susan H. Still getting the same error, Invalid SQL statement. It highlights the first part of the statement. "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; ________________________________ Probably the line continuation character (" _ ") ... Its only for code, not a control property. Sorry, that's on me; as I got to the right edge of the email, I put it in out of habit. Make the whole sql string string into one line. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 8:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.9/116 - Release Date: 9/30/2005 From developer at ultradnt.com Mon Oct 3 09:00:07 2005 From: developer at ultradnt.com (Steve Conklin) Date: Mon, 3 Oct 2005 10:00:07 -0400 Subject: [AccessD] Combo to Combo In-Reply-To: <66ABA669023AE74B97746FD8E684392001516EDA@c2k3exchange.pgdp.corp.usec.com> Message-ID: <200510031400.j93E09f95698@ultradnt.com> It looks ok to me, but if theres a stray hard return in the propertry it could break. Paste the string into query design, you'll get better error message if its wrong SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism & ")"; -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 9:22 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Still getting the same error, Invalid SQL statement. It highlights the first part of the statement. "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; ________________________________ Probably the line continuation character (" _ ") ... Its only for code, not a control property. Sorry, that's on me; as I got to the right edge of the email, I put it in out of habit. Make the whole sql string string into one line. Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com ] On Behalf Of Hollis, Virginia Sent: Monday, October 03, 2005 8:33 AM To: accessd at databaseadvisors.com Subject: [AccessD] Combo to Combo Thanks so much, I think that is what has me thrown off on this whole thing - the repeated values in the tables. I could not figure out a way to make them match without repeating everything. Steve, When I used the Select, I get an error - Invalid SQL statement, Delete, Insert, Or Select... It highlights the first part of the statement, to the IN. What am I doing wrong? tbl_Identification (Alarm, Battery, etc) IdentID (autonumber) Identification (text) tbl_Mechanism (Age, Wear, etc) MechanismID (autonumber) FailureMechanism (text) tbl_IdentMechanism IdentID (number) MechanismID (number)(these are the primary key numbers from the Identification & Mechanism tables) The form has 2 combos, cboMechanism & cboIndentifcation "SELECT MechanismID, FailureMechanism FROM tbl_mechanism WHERE MechanismID IN " & _ " (SELECT MechanismID FROM tbl_IdentMechanism WHERE IdentID=" & me.cboMechanism &")"; Virginia -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Mon Oct 3 09:03:45 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 3 Oct 2005 10:03:45 -0400 Subject: [AccessD] Option Group Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3E8F@TTNEXCHCL2.hshhp.com> Is it bound to a data field? Check to see if that field has a value. HTH, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed Sent: Monday, October 03, 2005 9:49 AM To: Access Developers discussion and problem solving Subject: [AccessD] Option Group Hi All, I don't get this??? I'm creating a data entry form that for the most part contains option groups with radio buttons with Yes/No choices. I don't want a default button selected. No problem, except for the first option group where "Yes" is selected. Deleted it and copied an option group where there was no default selected (that is it was working correctly), still "Yes" is selected. Looking at the properties, there is no default value. Any suggestions? TIA Ed Edward P. Tesiny Assistant Director for Evaluation Bureau of Evaluation and Practice Improvement New York State OASAS 1450 Western Ave. Albany, New York 12203-3526 Phone: (518) 485-7189 Fax: (518) 485-5769 Email: EdTesiny at oasas.state.ny.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From EdTesiny at oasas.state.ny.us Mon Oct 3 09:09:22 2005 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Mon, 3 Oct 2005 10:09:22 -0400 Subject: [AccessD] Option Group Message-ID: Jim, Thanks, overlooked the obvious, feeling stupid.... Ed Tesiny EdTesiny at oasas.state.ny.us > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco > Sent: Monday, October 03, 2005 10:04 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Option Group > > Is it bound to a data field? Check to see if that field has a value. > > HTH, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Tesiny, Ed > Sent: Monday, October 03, 2005 9:49 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Option Group > > > Hi All, > I don't get this??? I'm creating a data entry form that for the most > part contains option groups with radio buttons with Yes/No choices. I > don't want a default button selected. No problem, except for > the first > option group where "Yes" is selected. Deleted it and copied an option > group where there was no default selected (that is it was working > correctly), still "Yes" is selected. Looking at the properties, there > is no default value. Any suggestions? > TIA > Ed > > Edward P. Tesiny > Assistant Director for Evaluation > Bureau of Evaluation and Practice Improvement > New York State OASAS > 1450 Western Ave. > Albany, New York 12203-3526 > Phone: (518) 485-7189 > Fax: (518) 485-5769 > Email: EdTesiny at oasas.state.ny.us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > > > ************************************************************** > ********************* > "This electronic message is intended to be for the use only > of the named recipient, and may contain information from > Hudson Health Plan (HHP) that is confidential or privileged. > If you are not the intended recipient, you are hereby > notified that any disclosure, copying, distribution or use of > the contents of this message is strictly prohibited. If you > have received this message in error or are not the named > recipient, please notify us immediately, either by contacting > the sender at the electronic mail address noted above or > calling HHP at (914) 631-1611. If you are not the intended > recipient, please do not forward this email to anyone, and > delete and destroy all copies of this message. Thank You". > ************************************************************** > ********************* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From GregSmith at starband.net Mon Oct 3 09:25:35 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 3 Oct 2005 09:25:35 -0500 (CDT) Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3E8F@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C74016C3E8F@TTNEXCHCL2.hshhp.com> Message-ID: <13293.65.118.249.214.1128349535.squirrel@cetus.email.starband.net> Hi everyone! Hope you all are having a GREAT day! I've got a real puzzle here. I'm using the Dir() command (Access 2003 module) to find if a filename exists in a specific directory, or not. The exact syntax is shown below. The code is checking for a specific file in two different directories (one exists at work, and one at the customer's), and if it can't find that file in either location, the application warns the user that it's not available right now and closes automatically. The code is: strFileName = Dir("c:\MyData\chkfile.ozx") strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" ... This code works perfectly at work and at the customer's. So, you may ask, what's the big deal? Well, I also work on this at home, and I just (within the last 3 weeks) reformatted my home computer (winXP), reinstalled everything (supposedly...), and service packed everything up to date. When I run this application at home, it fails on the Dir() command where the directory doesn't exist. Since I'm at home, for example, I don't have a "G" drive and it fails on that one with the message "Bad Filename or Number", and the error number is 52. The application is identical in both places...that is, I take a copy home and put it on my computer, relink all the tables to the BE and everything else is the same. Either I've not installed something correctly at home, or I've not installed something I need to have. Or both. The references are all the same and none are missing at either location. Anyone else see this before? TIA!! Greg Smith From bchacc at san.rr.com Mon Oct 3 09:48:44 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 3 Oct 2005 07:48:44 -0700 Subject: [AccessD] DIR Command Failing-but not everywhere... References: <08F823FD83787D4BA0B99CA580AD3C74016C3E8F@TTNEXCHCL2.hshhp.com> <13293.65.118.249.214.1128349535.squirrel@cetus.email.starband.net> Message-ID: <008601c5c829$8ddaaca0$6501a8c0@HAL9004> Greg: If you have no G: drive at home, wouldn't you expect the Dir command to fail on second one where it's looking for a G drive? Rocky ----- Original Message ----- From: "Greg Smith" To: Sent: Monday, October 03, 2005 7:25 AM Subject: [AccessD] DIR Command Failing-but not everywhere... > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. The > exact syntax is shown below. The code is checking for a specific file in > two different directories (one exists at work, and one at the customer's), > and if it can't find that file in either location, the application warns > the user that it's not available right now and closes automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" ... > > This code works perfectly at work and at the customer's. So, you may ask, > what's the big deal? Well, I also work on this at home, and I just > (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything up > to date. > > When I run this application at home, it fails on the Dir() command where > the directory doesn't exist. Since I'm at home, for example, I don't have > a "G" drive and it fails on that one with the message "Bad Filename or > Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy home > and put it on my computer, relink all the tables to the BE and everything > else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all the > same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Lambert.Heenan at AIG.com Mon Oct 3 10:00:32 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 11:00:32 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB944A@xlivmbx21.aig.com> First of all, here's a better way to check if a file exists... Function FileExists(strFile As String) As Boolean ' Comments : Determines if the file exists ' Works for hidden files and folders ' Parameters: strFile - file to check ' Returns : True if the file exists, otherwise false Dim intAttr As Integer Dim errnum As Long On Error Resume Next 'GET THE FILE ATTRIBUTE INSTEAD OF THE LENGTH OF THE FILE NAME intAttr = GetAttr(strFile) errnum = Err.Number FileExists = (Err.Number = 0) End Function It's better in that it works for hidden filed and folder too. As for why Dir() on a non-existent folder/drive gives you the Error 52, I'm just as clueless as you are. On my (Access 2002) system Dir("G:\BHCRecorder\Scripts\chkfile.ozx") just returns an empty string (no G drive here either) - as it should do. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith Sent: Monday, October 03, 2005 10:26 AM To: accessd at databaseadvisors.com Subject: [AccessD] DIR Command Failing-but not everywhere... Hi everyone! Hope you all are having a GREAT day! I've got a real puzzle here. I'm using the Dir() command (Access 2003 module) to find if a filename exists in a specific directory, or not. The exact syntax is shown below. The code is checking for a specific file in two different directories (one exists at work, and one at the customer's), and if it can't find that file in either location, the application warns the user that it's not available right now and closes automatically. The code is: strFileName = Dir("c:\MyData\chkfile.ozx") strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" ... This code works perfectly at work and at the customer's. So, you may ask, what's the big deal? Well, I also work on this at home, and I just (within the last 3 weeks) reformatted my home computer (winXP), reinstalled everything (supposedly...), and service packed everything up to date. When I run this application at home, it fails on the Dir() command where the directory doesn't exist. Since I'm at home, for example, I don't have a "G" drive and it fails on that one with the message "Bad Filename or Number", and the error number is 52. The application is identical in both places...that is, I take a copy home and put it on my computer, relink all the tables to the BE and everything else is the same. Either I've not installed something correctly at home, or I've not installed something I need to have. Or both. The references are all the same and none are missing at either location. Anyone else see this before? TIA!! Greg Smith -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Oct 3 10:05:31 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 11:05:31 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB945B@xlivmbx21.aig.com> Dir() does not normally choke if you pass an invalid filespec to it. Instead it just returns an empty string. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 03, 2005 10:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Greg: If you have no G: drive at home, wouldn't you expect the Dir command to fail on second one where it's looking for a G drive? Rocky From developer at ultradnt.com Mon Oct 3 10:07:43 2005 From: developer at ultradnt.com (Steve Conklin) Date: Mon, 3 Oct 2005 11:07:43 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <008601c5c829$8ddaaca0$6501a8c0@HAL9004> Message-ID: <200510031507.j93F7if06216@ultradnt.com> That error happens when an existing drive (like a CD Rom ) is emtpy; not-ever-existed drive just returns empty string to DIR. Are you sure you didn't get new letters assigned from the re-format? Or plugged in a multi-card reader (SD, CF,etc) that changed/added letters? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 03, 2005 10:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Greg: If you have no G: drive at home, wouldn't you expect the Dir command to fail on second one where it's looking for a G drive? Rocky ----- Original Message ----- From: "Greg Smith" To: Sent: Monday, October 03, 2005 7:25 AM Subject: [AccessD] DIR Command Failing-but not everywhere... > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. The > exact syntax is shown below. The code is checking for a specific file in > two different directories (one exists at work, and one at the customer's), > and if it can't find that file in either location, the application warns > the user that it's not available right now and closes automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" ... > > This code works perfectly at work and at the customer's. So, you may ask, > what's the big deal? Well, I also work on this at home, and I just > (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything up > to date. > > When I run this application at home, it fails on the Dir() command where > the directory doesn't exist. Since I'm at home, for example, I don't have > a "G" drive and it fails on that one with the message "Bad Filename or > Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy home > and put it on my computer, relink all the tables to the BE and everything > else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all the > same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 3 10:13:54 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 3 Oct 2005 08:13:54 -0700 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <007b01c5c38d$9a6ff240$c71865cb@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004> <00dd01c5c6cf$028afc00$6501a8c0@HAL9004> <01aa01c5c7d9$790ddef0$9d1865cb@winxp> Message-ID: <00c001c5c82d$11ca95e0$6501a8c0@HAL9004> A.D.: I have the magnifier control in my custom report toolbar. So the user can make it bigger for readability. What happens if subsequently the user magnifies the page so that it's no longer in FitToWindow mode? Re: adding controls to the toolbar - I used customize to get the current controls in the toolbar but I don't see any page navigation controls on the customize form. Am I missing something there? Thanks and regards, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Sunday, October 02, 2005 10:13 PM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > That is not a problem. The code sent in my first post in this thread > enforces FitToWindow mode for the report, before carrying out SendKeys > command. > > For adding buttons on the print preview toolbar, you have to right > click on it and choose customize. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Sunday, October 02, 2005 02:58 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > What happens if I use the pop-up form approach and the user changes the > report sizing so that it no longer is in "FitToWindow" mode? > > I'd like to put the navigation in the custom report toolbar I made but if > SendKeys won't work then that's a no go. How do you make a custom button > for a toolbar anyway? > > Thanks and regards, > Rocky > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 30, 2005 5:44 AM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > Rocky, > > > > It is a tiny pop-up form (similar to a tool bar) that sits in a > corner of the screen. It gets opened via report's open event and closed > via report's close event. > > > > You might like to adapt the commands suitably to appropriate buttons > on your tool bar. In that case, the commands specific to the form (i.e. > hiding / un-hiding etc) can be ignored. > > > > After ensuring that report window is the active one and the report > is in FitToWindow mode, SendKeys arguments as summarized below, would do > the needful. > > (a) Go to Next Page - "{DOWN}" > > (b) Go to Prev Page - "{UP}" > > (c) Go to Last Page - "^{DOWN}" > > (d) Go to First Page - "^{UP}" > > > > It is observed that SendKeys commands do not get ported smoothly to > tool bar functions. If you find yourself stuck on this account, and wish > to avoid form based solution, you could consider experimenting with > fTurnPage feature available at Leban's site. For this, you would have to > download the file named ControlReports.zip. > > > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as > mentioned by Ervin, represents the pop-up form approach. > > > > If at any stage, you happen to need a simplified sample based upon > the code sent by me earlier, I can try to put it together. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: Access Developers discussion and problem solving > > Sent: Thursday, September 29, 2005 20:05 > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > A.D.: > > > > Thanks for the idea. Does this mean that the report preview appears > in a > > pop-up or that there's a pop-up form with the navigation buttons? > > > > I already have a custom toolbar with a minimum of controls on it - > print, > > close, & fit. I see that you can add controls for record navigation. > > They look like the icons I want but of course they don't turn the pages > of > > a report. I'd like to put the page navigation in the toolbar. > > Is there a way to change the action of those icons you can put on a > > custom toolbar? Or is there a way to create a custom button for a > toolbar > > that would turn the pages of a report? > > > > Thanks and regards, > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > 858-259-4334 > > > > ----- Original Message ----- > > From: "A.D.Tejpal" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 27, 2005 11:00 AM > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > > Rocky, > > > > > > Sample code in the module of a pop-up form, as given below, > enables > > > page navigation of report named R_Test. Command button named CmdNext > > steps > > > forward through the pages while that named CmdPrev does the reverse. > > > > > > You might like to adapt it suitably for your specific situation. > > > > > > Note - For the SendKeys command (Up or Dn arrow) to be effective, > it > > is > > > necessary that report is in FitToWindow mode and report's window is > the > > > active one. > > > > > > Best wishes, > > > A.D.Tejpal > > > -------------- > > > > > > Code module for Pop Up Form > > > ================================ > > > ' Declarations Section > > > Private RepHdw As Long, FrmHdw As Long > > > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > > (ByVal hwnd As Long) As Long > > > -------------------------------------------------------- > > > Private Sub CmdNext_Click() > > > DoCmd.Echo False > > > Me.Visible = False > > > BringWindowToTop RepHdw > > > DoCmd.RunCommand acCmdFitToWindow > > > SendKeys "{DOWN}", True > > > DoCmd.RunCommand acCmdZoom100 > > > Me.Visible = True > > > BringWindowToTop FrmHdw > > > DoCmd.Echo True > > > End Sub > > > > > > Private Sub CmdPrev_Click() > > > DoCmd.Echo False > > > Me.Visible = False > > > BringWindowToTop RepHdw > > > DoCmd.RunCommand acCmdFitToWindow > > > SendKeys "{UP}", True > > > DoCmd.RunCommand acCmdZoom100 > > > Me.Visible = True > > > BringWindowToTop FrmHdw > > > DoCmd.Echo True > > > End Sub > > > > > > Private Sub Form_Activate() > > > DoCmd.Restore > > > End Sub > > > > > > Private Sub Form_Load() > > > RepHdw = Reports("R_Test").hwnd > > > FrmHdw = Me.hwnd > > > End Sub > > > ================================ > > > > > > ----- Original Message ----- > > > From: Rocky Smolin - Beach Access Software > > > To: AccessD at databaseadvisors.com > > > Sent: Monday, September 26, 2005 23:41 > > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > > > > Dear List: > > > > > > I have a custom toolbar for reports that get displayed in report > > preview > > > if the db is an mde. It has only printer icon, close button, and > zoom > > > control. The paging navigation is of course, at the lower left of > the > > > screen in preview mode, but I'm wondering if these nav buttons can > be > > > added to the custom toolbar where an inexperienced user might be > more > > > likely to see them. > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From GregSmith at starband.net Mon Oct 3 10:16:36 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 3 Oct 2005 10:16:36 -0500 (CDT) Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F16CB944A@xlivmbx21.aig.com> References: <1D7828CDB8350747AFE9D69E0E90DA1F16CB944A@xlivmbx21.aig.com> Message-ID: <19015.65.118.249.214.1128352596.squirrel@cetus.email.starband.net> I'm going to apologize for the ">" things now...I hate those...but my ISP's webmail only provides these... Rocky: If the Dir() command doesn't find a file, then it's "supposed" to return and empty string, "". And what's even more ODD is that I got this code from Microsoft's support in an article about Remote Shutdown of Access databases...so it's THEIR idea really... ;) Lambert: Thanks. I'll try that Function tonight when I get home to see if it fixes the issue. I'm still puzzled and worried about the fact it (my current setup) won't work at a different installation...which may crop up again when they update computers at the client's location now or if I install it at new locations later. I still wonder if it's something I've not added to the home computer (odbc functionality or something like that...) that should be there or was removed when I had to uninstall something (I had MS Office Accounting 2006 and MSDE installed but removed them both earlier). Greg > First of all, here's a better way to check if a file exists... > > Function FileExists(strFile As String) As Boolean > ' Comments : Determines if the file exists > ' Works for hidden files and folders > ' Parameters: strFile - file to check > ' Returns : True if the file exists, otherwise false > Dim intAttr As Integer > Dim errnum As Long > On Error Resume Next > 'GET THE FILE ATTRIBUTE INSTEAD OF THE LENGTH OF THE FILE NAME > intAttr = GetAttr(strFile) > errnum = Err.Number > FileExists = (Err.Number = 0) > End Function > > It's better in that it works for hidden filed and folder too. > > As for why Dir() on a non-existent folder/drive gives you the Error 52, > I'm just as clueless as you are. On my (Access 2002) system > Dir("G:\BHCRecorder\Scripts\chkfile.ozx") just returns an empty string > (no G drive here either) - as it should do. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Monday, October 03, 2005 10:26 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] DIR Command Failing-but not everywhere... > > > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. > The exact syntax is shown below. The code is checking for a specific > file in two different directories (one exists at work, and one at the > customer's), and if it can't find that file in either location, the > application warns the user that it's not available right now and closes > automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" > ... > > This code works perfectly at work and at the customer's. So, you may > ask, what's the big deal? Well, I also work on this at home, and I just > (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything up > to date. > > When I run this application at home, it fails on the Dir() command where > the directory doesn't exist. Since I'm at home, for example, I don't > have a "G" drive and it fails on that one with the message "Bad Filename > or Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy > home and put it on my computer, relink all the tables to the BE and > everything else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all > the same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith From GregSmith at starband.net Mon Oct 3 10:21:40 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 3 Oct 2005 10:21:40 -0500 (CDT) Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <200510031507.j93F7if06216@ultradnt.com> References: <008601c5c829$8ddaaca0$6501a8c0@HAL9004> <200510031507.j93F7if06216@ultradnt.com> Message-ID: <19359.65.118.249.214.1128352900.squirrel@cetus.email.starband.net> Steve: Oh crap. Maybe. That might be my DVD burner. Well, if that's it, I'll be happy and DUMB at the same time. :) I'm not at home now so I can't check that until tonight. Thanks! Greg > That error happens when an existing drive (like a CD Rom ) is emtpy; > not-ever-existed drive just returns empty string to DIR. Are you sure > you didn't get new letters assigned from the re-format? Or plugged in a > multi-card reader (SD, CF,etc) that changed/added letters? > > Steve > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, October 03, 2005 10:49 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > Greg: > > If you have no G: drive at home, wouldn't you expect the Dir command to > fail on second one where it's looking for a G drive? > > Rocky > > ----- Original Message ----- > From: "Greg Smith" > To: > Sent: Monday, October 03, 2005 7:25 AM > Subject: [AccessD] DIR Command Failing-but not everywhere... > > >> Hi everyone! Hope you all are having a GREAT day! >> >> I've got a real puzzle here. I'm using the Dir() command (Access 2003 >> module) to find if a filename exists in a specific directory, or not. >> The exact syntax is shown below. The code is checking for a specific >> file in two different directories (one exists at work, and one at the >> customer's), and if it can't find that file in either location, the >> application warns the user that it's not available right now and >> closes automatically. >> >> The code is: >> >> strFileName = Dir("c:\MyData\chkfile.ozx") >> strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") >> If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" >> ... >> >> This code works perfectly at work and at the customer's. So, you may >> ask, what's the big deal? Well, I also work on this at home, and I >> just (within the last 3 weeks) reformatted my home computer (winXP), >> reinstalled everything (supposedly...), and service packed everything >> up to date. >> >> When I run this application at home, it fails on the Dir() command >> where the directory doesn't exist. Since I'm at home, for example, I >> don't have a "G" drive and it fails on that one with the message "Bad >> Filename or Number", and the error number is 52. >> >> The application is identical in both places...that is, I take a copy >> home and put it on my computer, relink all the tables to the BE and >> everything else is the same. >> >> Either I've not installed something correctly at home, or I've not >> installed something I need to have. Or both. The references are all >> the same and none are missing at either location. >> >> Anyone else see this before? >> >> TIA!! >> >> Greg Smith >> >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Oct 3 10:57:38 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 3 Oct 2005 08:57:38 -0700 Subject: [AccessD] OT: Need new laptop Message-ID: My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Mon Oct 3 11:10:39 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 11:10:39 -0500 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> Ah Hah! That's the one case (?) where Dir() does not just return an empty string. Nice catch. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Monday, October 03, 2005 11:08 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DIR Command Failing-but not everywhere... That error happens when an existing drive (like a CD Rom ) is emtpy; not-ever-existed drive just returns empty string to DIR. Are you sure you didn't get new letters assigned from the re-format? Or plugged in a multi-card reader (SD, CF,etc) that changed/added letters? Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 03, 2005 10:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Greg: If you have no G: drive at home, wouldn't you expect the Dir command to fail on second one where it's looking for a G drive? Rocky ----- Original Message ----- From: "Greg Smith" To: Sent: Monday, October 03, 2005 7:25 AM Subject: [AccessD] DIR Command Failing-but not everywhere... > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. > The exact syntax is shown below. The code is checking for a specific > file in two different directories (one exists at work, and one at the > customer's), and if it can't find that file in either location, the > application warns the user that it's not available right now and > closes automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> "chkfile.ozx" > ... > > This code works perfectly at work and at the customer's. So, you may > ask, what's the big deal? Well, I also work on this at home, and I > just (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything > up to date. > > When I run this application at home, it fails on the Dir() command > where the directory doesn't exist. Since I'm at home, for example, I > don't have a "G" drive and it fails on that one with the message "Bad > Filename or Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy > home and put it on my computer, relink all the tables to the BE and > everything else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all > the same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Mon Oct 3 11:14:09 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Mon, 3 Oct 2005 12:14:09 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> Message-ID: <20051003161410.FVVU12154.ibm62aec.bellsouth.net@SUSANONE> Lambert, do you have a solution? Susan H. Ah Hah! That's the one case (?) where Dir() does not just return an empty string. Nice catch. From accessd at shaw.ca Mon Oct 3 11:31:00 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 03 Oct 2005 09:31:00 -0700 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <000f01c5c7e5$1daef290$6401a8c0@fincomplex.spb.ru> Message-ID: <001301c5c837$d7159700$017ba8c0@xpserver> Thanks for that Shamil... I am slowly putting all the pieces together. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 02, 2005 11:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Question that will be simple for those that know > Do I sound paranoid?... Yes :) You can switch this feature off. <<< ViewState is generally used for persisting form data on a page across round trips. Do not use ViewState to store information such as passwords, connection strings, and file paths. >>> http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/htm l/cpconmantainingstateincontrol.asp Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 9:44 AM Subject: Re: [AccessD] OT Question that will be simple for those that know > Thanks Bryan, Stuart and John for the information. I was initially sort of > wondering what that 'value ="dDwtNjIxMjI0NzQ...' was now I am very curious. > If it doesn't have a reason and is more of a problem that it is worth why is > it there? Is MS really spying on us storing encrypted data in our browsers > that work like cookies? Does the data block just hold state variables or can > it hold code? > > Do I sound paranoid?... > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Sunday, October 02, 2005 10:15 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT Question that will be simple for those that know > > On 3 Oct 2005 at 0:21, John W. Colby wrote: > > > LOL, Stuart, are you SERIOUSLY saying I should worry about tens of > kilobytes > > of useless junk moving around the web > > Nope, just pointing at a website that explains what _viewstate does :-) > > The bit about "tell JC" was in response to Bryan's comment: > "The only time that I have ever seen this is when a PostNuke site that > I run was hacked. it too me about 3 days to "decode" it (don't ask me > how I did it, I don't remember) and it was a redirect to or from a > Warez site." > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 AIG.com Mon Oct 3 11:44:47 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 11:44:47 -0500 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB951A@xlivmbx21.aig.com> Will I suppose you could trap error 52, which seems to only happen with Dir() when you access a drive with no disk in it. If the error happens it's a safe bet to interpret it as "Drive Empty" and issue an appropriate message to the user. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Monday, October 03, 2005 12:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Lambert, do you have a solution? Susan H. Ah Hah! That's the one case (?) where Dir() does not just return an empty string. Nice catch. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 3 12:08:38 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 03 Oct 2005 19:08:38 +0200 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: Hi all You can use a simple API function for exactly this: Private Declare Function PathIsDirectory Lib "shlwapi.dll" Alias "PathIsDirectoryA" ( _ ByVal pszPath As String) _ As Long Public Function IsDir( _ ByVal strPath As String) _ As Boolean ' Returns True if strPath exists. Dim stzPath As String stzPath = strPath & vbNullChar IsDir = CBool(PathIsDirectory(stzPath)) End Function /gustav >>> Lambert.Heenan at AIG.com 03-10-2005 18:44 >>> Will I suppose you could trap error 52, which seems to only happen with Dir() when you access a drive with no disk in it. If the error happens it's a safe bet to interpret it as "Drive Empty" and issue an appropriate message to the user. From jmhecht at earthlink.net Mon Oct 3 12:31:43 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 3 Oct 2005 10:31:43 -0700 Subject: [AccessD] OT: Outlook help (Laptop still Sick) Message-ID: <000601c5c840$52d59b80$0a01a8c0@desktop> My friend backed all my data off the Hard Drive, formatted and reinstalled XP Pro.( All patched) I reinstalled office XP Pro ( same version as before.) service pack 3 installed. I can not open my Outlook.pst. I go file open new data file point to it but it will not open the file. (145 Megs of data) Any thoughts? TIA Joe From GregSmith at starband.net Mon Oct 3 12:31:40 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 3 Oct 2005 12:31:40 -0500 (CDT) Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> References: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> Message-ID: <33626.65.118.249.214.1128360700.squirrel@cetus.email.starband.net> Yahoo! That was it. I just changed the code to read to my "D" drive (cdrom) here at work and got the same error message. So my "G" drive at home must be one of the cd/dvd drives. Like I said, happy and dumb at the same time... :) Thanks everyone!! I'll have to test the drive to make sure it's not a cd/dvd drive. Somehow. ? :) Greg > Ah Hah! That's the one case (?) where Dir() does not just return an > empty string. Nice catch. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin > Sent: Monday, October 03, 2005 11:08 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > > That error happens when an existing drive (like a CD Rom ) is emtpy; > not-ever-existed drive just returns empty string to DIR. Are you sure > you didn't get new letters assigned from the re-format? Or plugged in a > multi-card reader (SD, CF,etc) that changed/added letters? > > Steve > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Monday, October 03, 2005 10:49 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > Greg: > > If you have no G: drive at home, wouldn't you expect the Dir command to > fail on second one where it's looking for a G drive? > > Rocky > > ----- Original Message . . . From cyx5 at cdc.gov Mon Oct 3 12:46:49 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 3 Oct 2005 13:46:49 -0400 Subject: [AccessD] OT: Outlook help (Laptop still Sick) Message-ID: What format is the .pst file? Unicode or non-unicode? Did you try to import it, or just open it? Karen S. Nicholson Progammer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, October 03, 2005 1:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Outlook help (Laptop still Sick) My friend backed all my data off the Hard Drive, formatted and reinstalled XP Pro.( All patched) I reinstalled office XP Pro ( same version as before.) service pack 3 installed. I can not open my Outlook.pst. I go file open new data file point to it but it will not open the file. (145 Megs of data) Any thoughts? TIA Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Mon Oct 3 12:53:55 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 3 Oct 2005 10:53:55 -0700 Subject: [AccessD] OT: Outlook help (Laptop still Sick) In-Reply-To: Message-ID: <000001c5c843$6cc96870$0a01a8c0@desktop> What ever the Outlook default is. Is there a way to test? I moved the file to the proper folder and tried to open it. Not import -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 03, 2005 10:47 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Outlook help (Laptop still Sick) What format is the .pst file? Unicode or non-unicode? Did you try to import it, or just open it? Karen S. Nicholson Progammer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From Lambert.Heenan at AIG.com Mon Oct 3 12:58:37 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Mon, 3 Oct 2005 12:58:37 -0500 Subject: [AccessD] OT: Outlook help (Laptop still Sick) Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB958C@xlivmbx21.aig.com> What, if any, error messages do you get? Have you tried running ScanPst on it? >From the help file... "About the Inbox repair tool If you can't open your Personal Folders file (.pst) or Offline Folder file (.ost) file, or you suspect that your .pst or .ost data file is corrupt, you can use Scanpst.exe, the Inbox repair tool, to diagnose and repair errors in the file. Scanpst.exe scans only the .pst or.ost file, making sure that the file structure is intact. It doesn't scan your mailbox on the Microsoft Exchange server. Scanpst.exe is installed when you install Microsoft Outlook and is located at: drive:\Program Files\Common Files\System\Mapi\1033\ For detailed information about running the tool, see the Help file, Scanpst.hlp, at the same location." Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, October 03, 2005 1:32 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Outlook help (Laptop still Sick) My friend backed all my data off the Hard Drive, formatted and reinstalled XP Pro.( All patched) I reinstalled office XP Pro ( same version as before.) service pack 3 installed. I can not open my Outlook.pst. I go file open new data file point to it but it will not open the file. (145 Megs of data) Any thoughts? TIA Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Mon Oct 3 13:06:03 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Mon, 3 Oct 2005 11:06:03 -0700 (PDT) Subject: [AccessD] Code for Groupwise Objects In-Reply-To: <15851.65.196.182.34.1128346716.squirrel@65.196.182.34> Message-ID: <20051003180603.651.qmail@web33102.mail.mud.yahoo.com> Do you have a link to that? Jim Moss wrote:Lonnie, There is also groupwise email code on Dev Ashish's site. Jim > Hi Lonnie > > Did you check out Novell's site: > > http://developer.novell.com/wiki/index.php/Develop_to_GroupWise > > Tons of docs and code here. > > /gustav > >>>> prodevmg at yahoo.com 03-10-2005 13:36 >>> > Does anyone have code to send emials via VBA for groupwise? The SendObject > is not enough for what I need. I found some snippets, but none of them > seem to have a .CC or .BCC parameter. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! for Good Click here to donate to the Hurricane Katrina relief effort. From cyx5 at cdc.gov Mon Oct 3 13:10:02 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 3 Oct 2005 14:10:02 -0400 Subject: [AccessD] OT: Outlook help (Laptop still Sick) Message-ID: You have to import it, not just open it. Go to file import. Determine the Personal Folders file (.pst) format On the Tools menu, click Options. Click Mail Setup, and then click Data Files. Click the data file you want to check, and then click Settings. Check the Format field to see if it contains the string Personal Folders file or Personal Folders file (97-2002). Personal Folders file indicates the new format that supports multilingual Unicode (Unicode: A character encoding standard developed by the Unicode Consortium. By using more than one byte to represent each character, Unicode enables almost all of the written languages in the world to be represented by using a single character set.) data and offers greater storage capacity for items and folders. A file with the Personal Folders file type is not compatible with earlier versions of Microsoft Outlook. Personal Folders file (97-2002) indicates the earlier format that is compatible with earlier versions of Outlook. Personal Folders file (97-2002) does not support Unicode and offers the same storage capacity for items and folders that was available in earlier versions of Outlook. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Monday, October 03, 2005 1:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Outlook help (Laptop still Sick) What ever the Outlook default is. Is there a way to test? I moved the file to the proper folder and tried to open it. Not import -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 03, 2005 10:47 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Outlook help (Laptop still Sick) What format is the .pst file? Unicode or non-unicode? Did you try to import it, or just open it? Karen S. Nicholson Progammer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Mon Oct 3 13:08:00 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 3 Oct 2005 13:08:00 -0500 (CDT) Subject: [AccessD] Code for Groupwise Objects In-Reply-To: <20051003180603.651.qmail@web33102.mail.mud.yahoo.com> References: <15851.65.196.182.34.1128346716.squirrel@65.196.182.34> <20051003180603.651.qmail@web33102.mail.mud.yahoo.com> Message-ID: <33299.65.196.182.34.1128362880.squirrel@65.196.182.34> Lonnie, Here is a link to the groupwise solution: http://www.mvps.org/access/modules/mdl0059.htm Jim > Do you have a link to that? > > Jim Moss wrote:Lonnie, > > There is also groupwise email code on Dev Ashish's site. > > > Jim > > >> Hi Lonnie >> >> Did you check out Novell's site: >> >> http://developer.novell.com/wiki/index.php/Develop_to_GroupWise >> >> Tons of docs and code here. >> >> /gustav >> >>>>> prodevmg at yahoo.com 03-10-2005 13:36 >>> >> Does anyone have code to send emials via VBA for groupwise? The >> SendObject >> is not enough for what I need. I found some snippets, but none of them >> seem to have a .CC or .BCC parameter. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! for Good > Click here to donate to the Hurricane Katrina relief effort. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Mon Oct 3 13:26:19 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 3 Oct 2005 14:26:19 -0400 Subject: [AccessD] OT: Outlook help (Laptop still Sick) In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAB567@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF076@ADGSERVER> In Outlook XP, I am able to open a PST from File/Open/Outlook Data File. It adds the PST file to the existing PST file(s). Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 03, 2005 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Outlook help (Laptop still Sick) You have to import it, not just open it. Go to file import. Determine the Personal Folders file (.pst) format On the Tools menu, click Options. Click Mail Setup, and then click Data Files. Click the data file you want to check, and then click Settings. Check the Format field to see if it contains the string Personal Folders file or Personal Folders file (97-2002). Personal Folders file indicates the new format that supports multilingual Unicode (Unicode: A character encoding standard developed by the Unicode Consortium. By using more than one byte to represent each character, Unicode enables almost all of the written languages in the world to be represented by using a single character set.) data and offers greater storage capacity for items and folders. A file with the Personal Folders file type is not compatible with earlier versions of Microsoft Outlook. Personal Folders file (97-2002) indicates the earlier format that is compatible with earlier versions of Outlook. Personal Folders file (97-2002) does not support Unicode and offers the same storage capacity for items and folders that was available in earlier versions of Outlook. Karen S. Nicholson From jwcolby at colbyconsulting.com Mon Oct 3 14:00:08 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Mon, 03 Oct 2005 15:00:08 -0400 Subject: [AccessD] DAO field - Description Message-ID: <003401c5c84c$aff64830$6c7aa8c0@ColbyM6805> When you look at a table in design view, each field has a field name, a data type, and a description. I have iterated through the field properties of a field in a table, and the various properties I can see are: Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceField;S ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;ValidationRu le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;VisibleVa lue;ColumnWidth;ColumnOrder;ColumnHidden; I am not finding the DESCRIPTION which I REALLY need to extract for building a document. Does anyone know how I get at the DESCRIPTION property of a field in a table? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From marcus at tsstech.com Mon Oct 3 14:09:53 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 3 Oct 2005 15:09:53 -0400 Subject: [AccessD] DAO field - Description Message-ID: According to the following website, the field must have a description value before it will appear in the properties... http://www.vb-helper.com/howto_dao_database_structure_to_excel.html Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, October 03, 2005 3:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DAO field - Description When you look at a table in design view, each field has a field name, a data type, and a description. I have iterated through the field properties of a field in a table, and the various properties I can see are: Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceFie ld;S ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;Validati onRu le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;Visib leVa lue;ColumnWidth;ColumnOrder;ColumnHidden; I am not finding the DESCRIPTION which I REALLY need to extract for building a document. Does anyone know how I get at the DESCRIPTION property of a field in a table? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Oct 3 14:11:19 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 3 Oct 2005 15:11:19 -0400 Subject: [AccessD] DAO field - Description Message-ID: Hope this helps... http://support.microsoft.com/?kbid=210314 Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, October 03, 2005 3:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DAO field - Description When you look at a table in design view, each field has a field name, a data type, and a description. I have iterated through the field properties of a field in a table, and the various properties I can see are: Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceFie ld;S ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;Validati onRu le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;Visib leVa lue;ColumnWidth;ColumnOrder;ColumnHidden; I am not finding the DESCRIPTION which I REALLY need to extract for building a document. Does anyone know how I get at the DESCRIPTION property of a field in a table? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From marcus at tsstech.com Mon Oct 3 14:19:14 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 3 Oct 2005 15:19:14 -0400 Subject: [AccessD] DAO field - Description Message-ID: Using Access97, I tried the function listed under the DAO section, and it works. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Monday, October 03, 2005 3:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DAO field - Description Hope this helps... http://support.microsoft.com/?kbid=210314 Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Monday, October 03, 2005 3:00 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] DAO field - Description When you look at a table in design view, each field has a field name, a data type, and a description. I have iterated through the field properties of a field in a table, and the various properties I can see are: Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceFie ld;S ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;Validati onRu le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;Visib leVa lue;ColumnWidth;ColumnOrder;ColumnHidden; I am not finding the DESCRIPTION which I REALLY need to extract for building a document. Does anyone know how I get at the DESCRIPTION property of a field in a table? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Oct 3 15:36:37 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 4 Oct 2005 00:36:37 +0400 Subject: [AccessD] DAO field - Description References: <003401c5c84c$aff64830$6c7aa8c0@ColbyM6805> Message-ID: <001a01c5c85a$2a582a00$6401a8c0@fincomplex.spb.ru> If there is Description property value then property object exists, if there is no - it doesn't: Public Property Get TableFieldDescription( _ ByRef rdbs As DAO.Database, _ ByVal vstrTblName As String, _ ByVal vstrFldName As String) As String On Error GoTo HandleErr With rdbs.TableDefs(vstrTblName).Fields(vstrFldName) TableFieldDescription = _ .Properties("Description").Value End With Exit Property HandleErr: TableFieldDescription = "" End Property Shamil ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 03, 2005 11:00 PM Subject: [AccessD] DAO field - Description > When you look at a table in design view, each field has a field name, a data > type, and a description. I have iterated through the field properties of a > field in a table, and the various properties I can see are: > > Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceField;S > ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;ValidationRu > le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;VisibleVa > lue;ColumnWidth;ColumnOrder;ColumnHidden; > > I am not finding the DESCRIPTION which I REALLY need to extract for building > a document. > > Does anyone know how I get at the DESCRIPTION property of a field in a > table? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 3 16:35:49 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Oct 2005 14:35:49 -0700 Subject: [AccessD] DIR Command Failing-but not everywhere... References: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> <33626.65.118.249.214.1128360700.squirrel@cetus.email.starband.net> Message-ID: <4341A435.8030302@shaw.ca> There are some side effects when Dir is used in certain cases. You shouldn't use Dir to check for file existence since the Dir function has the side effect of killing any other Dir loop already running. May cause "bad things to happen" and much head scratching to trace this. Also doing it like this will still throw up 68 and 76 errors on removeable or missing drive letters fileexist = Not (Len(Dir(sFileName)) = 0 Or Len(sFileName) = 0) These methods below will work without throwing up an error on removeable drives. Public Function FileExists(ByVal FileSpec As String) As Boolean On Error Resume Next FileExists = (GetAttr(FileSpec) And vbDirectory) = vbNormal End Function Public Function DriveExists(ByVal DriveSpec As String) As Boolean On Error Resume Next DriveExists = Len(CurDir$(DriveSpec)) > 0 End Function '?folderexists("c:\access files") ' either works no need to check for trailing slash '?folderexists("c:\access filesd\") Public Function FolderExists(ByVal FolderSpec As String) As Boolean On Error Resume Next FolderExists = (GetAttr(FolderSpec) And vbDirectory) = vbDirectory End Function Greg Smith wrote: >Yahoo! That was it. I just changed the code to read to my "D" drive >(cdrom) here at work and got the same error message. So my "G" drive at >home must be one of the cd/dvd drives. Like I said, happy and dumb at the >same time... :) > >Thanks everyone!! > >I'll have to test the drive to make sure it's not a cd/dvd drive. >Somehow. ? :) > >Greg > > > >>Ah Hah! That's the one case (?) where Dir() does not just return an >>empty string. Nice catch. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin >>Sent: Monday, October 03, 2005 11:08 AM >>To: 'Access Developers discussion and problem solving' >>Subject: Re: [AccessD] DIR Command Failing-but not everywhere... >> >> >>That error happens when an existing drive (like a CD Rom ) is emtpy; >>not-ever-existed drive just returns empty string to DIR. Are you sure >>you didn't get new letters assigned from the re-format? Or plugged in a >>multi-card reader (SD, CF,etc) that changed/added letters? >> >>Steve >> >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>- Beach Access Software >>Sent: Monday, October 03, 2005 10:49 AM >>To: Access Developers discussion and problem solving >>Subject: Re: [AccessD] DIR Command Failing-but not everywhere... >> >>Greg: >> >>If you have no G: drive at home, wouldn't you expect the Dir command to >>fail on second one where it's looking for a G drive? >> >>Rocky >> >>----- Original Message >> >> >. >. >. > > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Oct 3 16:47:29 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 03 Oct 2005 14:47:29 -0700 Subject: [AccessD] DIR Command Failing-but not everywhere... References: <1D7828CDB8350747AFE9D69E0E90DA1F16CB94E8@xlivmbx21.aig.com> <33626.65.118.249.214.1128360700.squirrel@cetus.email.starband.net> <4341A435.8030302@shaw.ca> Message-ID: <4341A6F1.7030003@shaw.ca> Oh one other thing about the GetAttr function under NFTS if the user program is running under a logon that doesn't have permission to access the folder or file it will return a false existance even though the folder or file exists physically on the drive.. MartyConnelly wrote: >There are some side effects when Dir is used in certain cases. >You shouldn't use Dir to check for file existence since the Dir >function has the side effect of killing any other Dir loop already running. >May cause "bad things to happen" and much head scratching to trace this. > >Also doing it like this will still throw up 68 and 76 errors on >removeable or missing drive letters > >fileexist = Not (Len(Dir(sFileName)) = 0 Or Len(sFileName) = 0) > >These methods below will work without throwing up an error on removeable >drives. > >Public Function FileExists(ByVal FileSpec As String) As Boolean > On Error Resume Next > FileExists = (GetAttr(FileSpec) And vbDirectory) = vbNormal >End Function > > >Public Function DriveExists(ByVal DriveSpec As String) As Boolean > On Error Resume Next > DriveExists = Len(CurDir$(DriveSpec)) > 0 >End Function > >'?folderexists("c:\access files") ' either works no need to check for >trailing slash >'?folderexists("c:\access filesd\") > >Public Function FolderExists(ByVal FolderSpec As String) As Boolean > On Error Resume Next > FolderExists = (GetAttr(FolderSpec) And vbDirectory) = vbDirectory >End Function > >Greg Smith wrote: > > > >>Yahoo! That was it. I just changed the code to read to my "D" drive >>(cdrom) here at work and got the same error message. So my "G" drive at >>home must be one of the cd/dvd drives. Like I said, happy and dumb at the >>same time... :) >> >>Thanks everyone!! >> >>I'll have to test the drive to make sure it's not a cd/dvd drive. >>Somehow. ? :) >> >>Greg >> >> >> >> >> >>>Ah Hah! That's the one case (?) where Dir() does not just return an >>>empty string. Nice catch. >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin >>>Sent: Monday, October 03, 2005 11:08 AM >>>To: 'Access Developers discussion and problem solving' >>>Subject: Re: [AccessD] DIR Command Failing-but not everywhere... >>> >>> >>>That error happens when an existing drive (like a CD Rom ) is emtpy; >>>not-ever-existed drive just returns empty string to DIR. Are you sure >>>you didn't get new letters assigned from the re-format? Or plugged in a >>>multi-card reader (SD, CF,etc) that changed/added letters? >>> >>>Steve >>> >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >>>- Beach Access Software >>>Sent: Monday, October 03, 2005 10:49 AM >>>To: Access Developers discussion and problem solving >>>Subject: Re: [AccessD] DIR Command Failing-but not everywhere... >>> >>>Greg: >>> >>>If you have no G: drive at home, wouldn't you expect the Dir command to >>>fail on second one where it's looking for a G drive? >>> >>>Rocky >>> >>>----- Original Message >>> >>> >>> >>> >>. >>. >>. >> >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From jim.moss at jlmoss.net Mon Oct 3 17:25:59 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 3 Oct 2005 17:25:59 -0500 (CDT) Subject: [AccessD] DAO field - Description In-Reply-To: <003401c5c84c$aff64830$6c7aa8c0@ColbyM6805> References: <003401c5c84c$aff64830$6c7aa8c0@ColbyM6805> Message-ID: <45265.65.196.182.34.1128378359.squirrel@65.196.182.34> John, According to the Microsoft Jet Database Engine Programmer's Guide and this may have changed between 3.5 and 3.6 : If the table was created via code, then there will be no Description Property created. If the table was created with Access, and then you typed a value in description, the Description property should have been added automatically. If the table was created by code and then you added data in the description, that is not covered. If you want to include a Description property in code created tables, then you must add it to the properties collection by using the CreateProperty method of the TableDef object. Jim > When you look at a table in design view, each field has a field name, a > data > type, and a description. I have iterated through the field properties of > a > field in a table, and the various properties I can see are: > > Value;Attributes;CollatingOrder;Type;Name;OrdinalPosition;Size;SourceField;S > ourceTable;ValidateOnSet;DataUpdatable;ForeignName;DefaultValue;ValidationRu > le;ValidationText;Required;AllowZeroLength;FieldSize;OriginalValue;VisibleVa > lue;ColumnWidth;ColumnOrder;ColumnHidden; > > I am not finding the DESCRIPTION which I REALLY need to extract for > building > a document. > > Does anyone know how I get at the DESCRIPTION property of a field in a > table? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Mon Oct 3 20:59:20 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 3 Oct 2005 21:59:20 -0400 Subject: [AccessD] My new web site In-Reply-To: <000501c5c809$dba19db0$6c7aa8c0@ColbyM6805> References: <014801c5c7e2$b6212910$fa10a8c0@Albatross> <000501c5c809$dba19db0$6c7aa8c0@ColbyM6805> Message-ID: On 03/10/05, John W. Colby wrote: > >But I can't view additional content without cookies turned on. > > That is fascinating. No idea why of course. Not knowing DotNetNuke, but knowing other CMS systems, I suspect that it's because the login info is stored in a session cookie, and by not allowing cookies the system can't validate you to give you access to the extra goodies. -- 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 carbonnb at gmail.com Mon Oct 3 21:05:30 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 3 Oct 2005 22:05:30 -0400 Subject: [AccessD] Code for Groupwise Objects In-Reply-To: <20051003113628.7080.qmail@web33101.mail.mud.yahoo.com> References: <20051003113628.7080.qmail@web33101.mail.mud.yahoo.com> Message-ID: On 03/10/05, Lonnie Johnson wrote: > Does anyone have code to send emials via VBA for groupwise? The SendObject is not enough for what I need. I found some snippets, but none of them seem to have a .CC or .BCC parameter. Lonnie, Did the code on Dev's site give you what you need? If not, let me know and I will tyr and find the code that I'm using for one of my DBs on my laptop tomorrow night. If it isn't on my laptop, I can get it form work, but it may be another week or 2 before I can get to the DB at work. Let me know and I'll try and find it here at home for you. -- 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 jmhecht at earthlink.net Tue Oct 4 01:07:17 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 3 Oct 2005 23:07:17 -0700 Subject: [AccessD] OT: Need new laptop In-Reply-To: Message-ID: <001001c5c8a9$dff068b0$0a01a8c0@desktop> Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Tue Oct 4 05:33:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 04 Oct 2005 03:33:54 -0700 Subject: [AccessD] Slightly OT two .Net Microsoft books to download for free In-Reply-To: <4341A435.8030302@shaw.ca> Message-ID: <002e01c5c8cf$1e5fafa0$017ba8c0@xpserver> Hi All: If you are interested there are two online .Net Microsoft books you can download for free at http://msdn.microsoft.com/vbrun/staythepath/additionalresources/default.aspx Jim From becklesd at tiscali.co.uk Tue Oct 4 09:51:24 2005 From: becklesd at tiscali.co.uk (David Beckles) Date: Tue, 04 Oct 2005 14:51:24 +0000 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: References: Message-ID: <434296EC.1060601@tiscali.co.uk> Susan, Why not use the FileExists function at Randy Birch's site: http://vbnet.mvps.org/index.html?code/fileapi/fileexists.htm David B -----Original Message----- Date: Mon, 3 Oct 2005 12:14:09 -0400 From: "Susan Harkins" Subject: Re: [AccessD] DIR Command Failing-but not everywhere... To: "'Access Developers discussion and problem solving'" Message-ID: <20051003161410.FVVU12154.ibm62aec.bellsouth.net at SUSANONE> Content-Type: text/plain; charset="us-ascii" Lambert, do you have a solution? Susan H. Ah Hah! That's the one case (?) where Dir() does not just return an empty string. Nice catch. From cfoust at infostatsystems.com Tue Oct 4 10:17:11 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Oct 2005 08:17:11 -0700 Subject: [AccessD] OT: Need new laptop Message-ID: LOL I just got this one last year. I think it will hold me for a while, but thanks for the invitation. ;-} Charlotte -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Monday, October 03, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 4 10:26:37 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 11:26:37 -0400 Subject: [AccessD] OT: Need new laptop In-Reply-To: Message-ID: <005001c5c8f8$05f564e0$6c7aa8c0@ColbyM6805> Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, October 04, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop LOL I just got this one last year. I think it will hold me for a while, but thanks for the invitation. ;-} Charlotte -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Monday, October 03, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 AIG.com Tue Oct 4 11:01:09 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 4 Oct 2005 12:01:09 -0400 Subject: [AccessD] OT: Need new laptop Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB985A@xlivmbx21.aig.com> If it's getting slower at loading files up then perhaps it's time to defrag the drive? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, October 04, 2005 11:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com From cfoust at infostatsystems.com Tue Oct 4 11:10:32 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 4 Oct 2005 09:10:32 -0700 Subject: [AccessD] OT: Need new laptop Message-ID: Five or six years is more than I expect out of them, John. If I get 4, I consider it good performance. It isn't that the machine breaks down, but the software keeps demanding bigger and better and faster processors, larger and larger hard drives and higher and higher screen resolution. Plus with laptops, you can't mix and match the components and after an indeterminate period, you can't necessarily find the memory to upgrade them or other components, like DVD-R drives. Hah! Try to find a floppy or zip drive for a laptop bay these days! ;-} Of course, I do tend to wear the letters off the keys too, so I'm ready for a new laptop when the keyboard wears out! LOL Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, October 04, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, October 04, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop LOL I just got this one last year. I think it will hold me for a while, but thanks for the invitation. ;-} Charlotte -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Monday, October 03, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 4 11:09:51 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 12:09:51 -0400 Subject: [AccessD] OT: Need new laptop In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F16CB985A@xlivmbx21.aig.com> Message-ID: <005101c5c8fe$0d694ba0$6c7aa8c0@ColbyM6805> No, I keep it defragged. The registry is the key factor in load times. I probably have 60 apps loaded on this laptop, including a dozen MAJOR apps used for development. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert Sent: Tuesday, October 04, 2005 12:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop If it's getting slower at loading files up then perhaps it's time to defrag the drive? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Tuesday, October 04, 2005 11:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Tue Oct 4 11:28:12 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 12:28:12 -0400 Subject: [AccessD] OT: Need new laptop In-Reply-To: Message-ID: <005201c5c900$9d71c8b0$6c7aa8c0@ColbyM6805> I purchased my last laptop when in Ireland working with Mark Breen. That was November, 1997. The laptop was a PII 233 mhz with a MAXIMUM of 180mb ram, a 5 gbyte hard drive and 800x600 screen. I actually replaced the keyboard on that one because I spilled water on it. In the end, the backlight just got too dim to see it any more and it wasn't worth even thinking about fixing. I purchased my new machine about 2 years ago, so the old one lasted 5 years - but in the end it was really too slow to use for much. The new machine is an AMD64 2.8 ghz with a maximum of 2 gbytes of ram, populated with 1.25 gbytes (a 1 gig stick and one of two original 256m sticks), and I upgraded to the faster 7200 rpm drive. I can still upgrade the RAM by replacing the 256 mbyte stick with another 1 gbyte stick. In theory the processor is upgradeable as well (it is in a socket). At this point in its life it still FEELS as if it will be fast enough in three more years, OTOH I haven't had an opportunity to feel any of the 4 ghz class machines, and of course at this point they are moving away from faster clock speeds to more processors. I think in 3 more years the laptop itself will be "worn out" and I will hand it down to my son, who will be around 7 by then and should be able to lug a 7 lb. machine around the house. I paid right at $1500 for this machine so if I get 5 years out of it, that will be $300 / year - not too bad for a laptop TODAY. And in another few years the machine I will get for $1500 will be even better. Will it be as much faster than this one as this one was over the PII 233 mhz? Doubtful! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, October 04, 2005 12:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop Five or six years is more than I expect out of them, John. If I get 4, I consider it good performance. It isn't that the machine breaks down, but the software keeps demanding bigger and better and faster processors, larger and larger hard drives and higher and higher screen resolution. Plus with laptops, you can't mix and match the components and after an indeterminate period, you can't necessarily find the memory to upgrade them or other components, like DVD-R drives. Hah! Try to find a floppy or zip drive for a laptop bay these days! ;-} Of course, I do tend to wear the letters off the keys too, so I'm ready for a new laptop when the keyboard wears out! LOL Charlotte Foust -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, October 04, 2005 8:27 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Processors have finally (more or less) leveled out in terms of performance increases, at least for the common man. I bought a laptop with a 2.8g AMD64 with 1.5g RAM and a 1280 x 800 screen. I replace the HD with a 7200 rpm 60g unit which REALLY helped the load speed. I bought it almost two years ago and it is still an amazing machine. Yea, the more I load on it the slower the load, but the actual use is very fast. I may be able to replace the processor some day with a 4+g unit, not real sure if that will ever happen really since it is the 754 pin processor, which would have to move to the next lower die size in order to reduce the heat for the speed increase. In the end, I think this machine will still be fast enough even in another 3 or 4 years. 5 or 6 years is truly all you can expect out of a laptop anyway. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Tuesday, October 04, 2005 11:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop LOL I just got this one last year. I think it will hold me for a while, but thanks for the invitation. ;-} Charlotte -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Monday, October 03, 2005 11:07 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Need new laptop Charlotte, Next time you are in LA come by my store. I have a few like that. Besides, I need to pay for my new HP that I should have by the end of the week. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Monday, October 03, 2005 8:58 AM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Need new laptop My laptop has a full P4 processer, not a Pm, and 1Gb ram. I'm very happy with it, but I always find odd laptops because I insist on a built-in number pad on the right of the keyboard and those are hard to find. Charlotte Foust -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Saturday, October 01, 2005 10:38 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: Need new laptop My Dell is dying. It is time to replace it. Does any one have thoughts on the following: Pentium vs. Celeron vs. AMD Mostly runs office. Some flight sim. Some Ipod support. Will defiantly have 512 megs of Ram looking to try for a gig depending on $ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Tue Oct 4 12:12:57 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 4 Oct 2005 12:12:57 -0500 Subject: [AccessD] My new web site Message-ID: <123701F54509D9119A4F00D0B7473490EA5D5E@main2.marlow.com> Microsoft's Scriting Editor does that when writing HTML. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, October 01, 2005 7:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Do you happen to know of a calculator that allows you to choose a color like in paint and get the number? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. > DNN does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Tue Oct 4 12:25:23 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 4 Oct 2005 21:25:23 +0400 Subject: [AccessD] OT: Need new laptop References: <005201c5c900$9d71c8b0$6c7aa8c0@ColbyM6805> Message-ID: <002c01c5c908$9d924f60$6401a8c0@fincomplex.spb.ru> > Will it be as > much faster than this one as this one was > over the PII 233 mhz? Doubtful! My guess it will, John: by the time you purchase the new notebook it might be an n-core processors Intel device: http://www.intel.com/cd/ids/developer/asmo-na/eng/234550.htm And MS Windows Vista with Windows Presentation Foundation (http://en.wikipedia.org/wiki/Windows_Presentation_Foundation) and applications running on this notebook will be well tuned to take advantage of multicore processors... Shamil :) ----- Original Message ----- From: "John W. Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 04, 2005 8:28 PM Subject: Re: [AccessD] OT: Need new laptop > I purchased my last laptop when in Ireland working with Mark Breen. That > was November, 1997. The laptop was a PII 233 mhz with a MAXIMUM of 180mb > ram, a 5 gbyte hard drive and 800x600 screen. I actually replaced the > keyboard on that one because I spilled water on it. In the end, the > backlight just got too dim to see it any more and it wasn't worth even > thinking about fixing. > > I purchased my new machine about 2 years ago, so the old one lasted 5 years > - but in the end it was really too slow to use for much. > > The new machine is an AMD64 2.8 ghz with a maximum of 2 gbytes of ram, > populated with 1.25 gbytes (a 1 gig stick and one of two original 256m > sticks), and I upgraded to the faster 7200 rpm drive. I can still upgrade > the RAM by replacing the 256 mbyte stick with another 1 gbyte stick. In > theory the processor is upgradeable as well (it is in a socket). At this > point in its life it still FEELS as if it will be fast enough in three more > years, OTOH I haven't had an opportunity to feel any of the 4 ghz class > machines, and of course at this point they are moving away from faster clock > speeds to more processors. > > I think in 3 more years the laptop itself will be "worn out" and I will hand > it down to my son, who will be around 7 by then and should be able to lug a > 7 lb. machine around the house. > > I paid right at $1500 for this machine so if I get 5 years out of it, that > will be $300 / year - not too bad for a laptop TODAY. And in another few > years the machine I will get for $1500 will be even better. Will it be as > much faster than this one as this one was over the PII 233 mhz? Doubtful! > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > <<< tail trimmed>>> From jwcolby at colbyconsulting.com Tue Oct 4 12:28:09 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 13:28:09 -0400 Subject: [AccessD] My new web site In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5D5E@main2.marlow.com> Message-ID: <006001c5c908$fd8dd7e0$6c7aa8c0@ColbyM6805> I found one already. A little free app that just allows you to click around in a "color wheel" and get the hex number, slide sliders to get the colors etc. Just what I needed. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Tuesday, October 04, 2005 1:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] My new web site Microsoft's Scriting Editor does that when writing HTML. Drew -----Original Message----- From: John W. Colby [mailto:jwcolby at colbyconsulting.com] Sent: Saturday, October 01, 2005 7:37 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Do you happen to know of a calculator that allows you to choose a color like in paint and get the number? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Saturday, October 01, 2005 8:24 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] My new web site On 01/10/05, John W. Colby wrote: > >Try placing the following option in your opening body tag I.e: bgcolor="#a0a0a0"> or > > What I need is a reference on what values are used for what colors. > DNN does not have a color selector control 8-(. Here are a couple: http://webmonkey.wired.com/webmonkey/reference/color_codes/ http://www.zspc.com/color/index-e.html http://www.immigration-usa.com/html_colors.html and a google search for more http://www.google.ca/search?hl=en&q=color+chart&btnG=Google+Search&meta= -- 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at bellsouth.net Tue Oct 4 12:32:36 2005 From: ssharkins at bellsouth.net (Susan Harkins) Date: Tue, 4 Oct 2005 13:32:36 -0400 Subject: [AccessD] My new web site In-Reply-To: <006001c5c908$fd8dd7e0$6c7aa8c0@ColbyM6805> Message-ID: <20051004173237.XDHX22881.ibm66aec.bellsouth.net@SUSANONE> Um... You want to share? Susan H. I found one already. A little free app that just allows you to click around in a "color wheel" and get the hex number, slide sliders to get the colors etc. Just what I needed. From jmhecht at earthlink.net Tue Oct 4 12:42:03 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 4 Oct 2005 10:42:03 -0700 Subject: [AccessD] OT: Need new laptop Solved (Attn Hardware Folks) In-Reply-To: <005101c5c8fe$0d694ba0$6c7aa8c0@ColbyM6805> Message-ID: <000901c5c90a$ee962380$6401a8c0@laptop> My Dell is revived. Hardware folks, It was the new battery that the system was looking for at boot up that was the issue. I still need to test if was a defective battery or defective circuits but it boots like new machine with no battery in the slot. Would that define the problem as the battery and not the battery circuits? Thanks all for help and comments. Joe From jwcolby at colbyconsulting.com Tue Oct 4 12:47:53 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Tue, 04 Oct 2005 13:47:53 -0400 Subject: [AccessD] My new web site In-Reply-To: <20051004173237.XDHX22881.ibm66aec.bellsouth.net@SUSANONE> Message-ID: <006101c5c90b$c3b724b0$6c7aa8c0@ColbyM6805> Here ya go. http://www.blacksunsoftware.com/colormania.html John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, October 04, 2005 1:33 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] My new web site Um... You want to share? Susan H. I found one already. A little free app that just allows you to click around in a "color wheel" and get the hex number, slide sliders to get the colors etc. Just what I needed. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at touchtelindia.net Tue Oct 4 13:40:21 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 5 Oct 2005 00:10:21 +0530 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004><007b01c5c38d$9a6ff240$c 71865cb@winxp><072301c5c503$0c2b8680$6501a8c0@HAL9004><00dd01c5c6cf$028afc0 0$6501a8c0@HAL9004><01aa01c5c7d9$790ddef0$9d1865cb@winxp> <00c001c5c82d$11ca95e0$6501a8c0@HAL9004> Message-ID: <007201c5c913$55c9b050$bf1865cb@winxp> Rocky, As mentioned earlier, before executing SendKeys commands, compliance with FitToWindow mode is ensured by code, irrespective of what the user might already have done. For inserting a command button, select ToolBox in Categories panel of the customize dialog box. Select command button in Commands pane and drag it to the tool bar. You can then right click the command button and either paste an image or create the desired image by clicking "Edit Button Image". Other properties can be set by opening the properties dialog box. Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Monday, October 03, 2005 20:43 Subject: Re: [AccessD] Report Navigation on Custom Toolbar A.D.: I have the magnifier control in my custom report toolbar. So the user can make it bigger for readability. What happens if subsequently the user magnifies the page so that it's no longer in FitToWindow mode? Re: adding controls to the toolbar - I used customize to get the current controls in the toolbar but I don't see any page navigation controls on the customize form. Am I missing something there? Thanks and regards, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Sunday, October 02, 2005 10:13 PM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > That is not a problem. The code sent in my first post in this thread > enforces FitToWindow mode for the report, before carrying out SendKeys > command. > > For adding buttons on the print preview toolbar, you have to right > click on it and choose customize. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Sunday, October 02, 2005 02:58 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > What happens if I use the pop-up form approach and the user changes the > report sizing so that it no longer is in "FitToWindow" mode? > > I'd like to put the navigation in the custom report toolbar I made but if > SendKeys won't work then that's a no go. How do you make a custom button > for a toolbar anyway? > > Thanks and regards, > Rocky > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Friday, September 30, 2005 5:44 AM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > Rocky, > > > > It is a tiny pop-up form (similar to a tool bar) that sits in a > corner of the screen. It gets opened via report's open event and closed > via report's close event. > > > > You might like to adapt the commands suitably to appropriate buttons > on your tool bar. In that case, the commands specific to the form (i.e. > hiding / un-hiding etc) can be ignored. > > > > After ensuring that report window is the active one and the report > is in FitToWindow mode, SendKeys arguments as summarized below, would do > the needful. > > (a) Go to Next Page - "{DOWN}" > > (b) Go to Prev Page - "{UP}" > > (c) Go to Last Page - "^{DOWN}" > > (d) Go to First Page - "^{UP}" > > > > It is observed that SendKeys commands do not get ported smoothly to > tool bar functions. If you find yourself stuck on this account, and wish > to avoid form based solution, you could consider experimenting with > fTurnPage feature available at Leban's site. For this, you would have to > download the file named ControlReports.zip. > > > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as > mentioned by Ervin, represents the pop-up form approach. > > > > If at any stage, you happen to need a simplified sample based upon > the code sent by me earlier, I can try to put it together. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: Access Developers discussion and problem solving > > Sent: Thursday, September 29, 2005 20:05 > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > A.D.: > > > > Thanks for the idea. Does this mean that the report preview appears > in a > > pop-up or that there's a pop-up form with the navigation buttons? > > > > I already have a custom toolbar with a minimum of controls on it - > print, > > close, & fit. I see that you can add controls for record navigation. > > They look like the icons I want but of course they don't turn the pages > of > > a report. I'd like to put the page navigation in the toolbar. > > Is there a way to change the action of those icons you can put on a > > custom toolbar? Or is there a way to create a custom button for a > toolbar > > that would turn the pages of a report? > > > > Thanks and regards, > > > > Rocky Smolin > > Beach Access Software > > http://www.e-z-mrp.com > > 858-259-4334 > > > > ----- Original Message ----- > > From: "A.D.Tejpal" > > To: "Access Developers discussion and problem solving" > > > > Sent: Tuesday, September 27, 2005 11:00 AM > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > > Rocky, > > > > > > Sample code in the module of a pop-up form, as given below, > enables > > > page navigation of report named R_Test. Command button named CmdNext > > steps > > > forward through the pages while that named CmdPrev does the reverse. > > > > > > You might like to adapt it suitably for your specific situation. > > > > > > Note - For the SendKeys command (Up or Dn arrow) to be effective, > it > > is > > > necessary that report is in FitToWindow mode and report's window is > the > > > active one. > > > > > > Best wishes, > > > A.D.Tejpal > > > -------------- > > > > > > Code module for Pop Up Form > > > ================================ > > > ' Declarations Section > > > Private RepHdw As Long, FrmHdw As Long > > > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > > (ByVal hwnd As Long) As Long > > > -------------------------------------------------------- > > > Private Sub CmdNext_Click() > > > DoCmd.Echo False > > > Me.Visible = False > > > BringWindowToTop RepHdw > > > DoCmd.RunCommand acCmdFitToWindow > > > SendKeys "{DOWN}", True > > > DoCmd.RunCommand acCmdZoom100 > > > Me.Visible = True > > > BringWindowToTop FrmHdw > > > DoCmd.Echo True > > > End Sub > > > > > > Private Sub CmdPrev_Click() > > > DoCmd.Echo False > > > Me.Visible = False > > > BringWindowToTop RepHdw > > > DoCmd.RunCommand acCmdFitToWindow > > > SendKeys "{UP}", True > > > DoCmd.RunCommand acCmdZoom100 > > > Me.Visible = True > > > BringWindowToTop FrmHdw > > > DoCmd.Echo True > > > End Sub > > > > > > Private Sub Form_Activate() > > > DoCmd.Restore > > > End Sub > > > > > > Private Sub Form_Load() > > > RepHdw = Reports("R_Test").hwnd > > > FrmHdw = Me.hwnd > > > End Sub > > > ================================ > > > > > > ----- Original Message ----- > > > From: Rocky Smolin - Beach Access Software > > > To: AccessD at databaseadvisors.com > > > Sent: Monday, September 26, 2005 23:41 > > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > > > > Dear List: > > > > > > I have a custom toolbar for reports that get displayed in report > > preview > > > if the db is an mde. It has only printer icon, close button, and > zoom > > > control. The paging navigation is of course, at the lower left of > the > > > screen in preview mode, but I'm wondering if these nav buttons can > be > > > added to the custom toolbar where an inexperienced user might be > more > > > likely to see them. > > > > > > MTIA, > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > 858-259-4334 From newsgrps at dalyn.co.nz Tue Oct 4 22:21:59 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 05 Oct 2005 16:21:59 +1300 Subject: [AccessD] Rows limited in combo box Message-ID: <6.2.3.4.0.20051005160506.0317ad70@mail.dalyn.co.nz> Cross posted to AccessD, AccessDSQL Access XP, SQL2K I have a combo box that uses the value in the control source to link to another table and show the description (a typical 2 column combo box with the first column width set to 0) The sproc that is the row source for the combo box returns 16484 rows. Lately the box has been showing blank even though there is a valid link to a row in the row source. When I limit the number of rows the missing text appears. It seems that Access is limiting the number of rows that are being returned (similar to the Maximum Records property for a form). Is there a similar field for a combo box/stored procedure that will limit the records returned? Regards David Emerson Dalyn Software Ltd 999 Moonshine Rd, RD 1 Judgeford, Porirua New Zealand 6006 Phone 0064 4 235-6782 Fax 0064 4 235-6783 From newsgrps at dalyn.co.nz Tue Oct 4 23:59:18 2005 From: newsgrps at dalyn.co.nz (David Emerson) Date: Wed, 05 Oct 2005 17:59:18 +1300 Subject: [AccessD] Rows limited in combo box In-Reply-To: <6.2.3.4.0.20051005160506.0317ad70@mail.dalyn.co.nz> References: <6.2.3.4.0.20051005160506.0317ad70@mail.dalyn.co.nz> Message-ID: <6.2.3.4.0.20051005175848.068fc9b0@mail.dalyn.co.nz> Found it - Tools ... Options ... Advanced ... Client server settings ... Default Max Records. I set this to 0. At 5/10/2005, you wrote: >Cross posted to AccessD, AccessDSQL > >Access XP, SQL2K > >I have a combo box that uses the value in the control source to link >to another table and show the description (a typical 2 column combo >box with the first column width set to 0) > >The sproc that is the row source for the combo box returns 16484 >rows. Lately the box has been showing blank even though there is a >valid link to a row in the row source. When I limit the number of >rows the missing text appears. It seems that Access is limiting the >number of rows that are being returned (similar to the Maximum >Records property for a form). > >Is there a similar field for a combo box/stored procedure that will >limit the records returned? > >Regards > >David Emerson >Dalyn Software Ltd >999 Moonshine Rd, RD 1 >Judgeford, Porirua >New Zealand 6006 >Phone 0064 4 235-6782 >Fax 0064 4 235-6783 > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Oct 5 11:12:48 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 5 Oct 2005 09:12:48 -0700 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <"007b01c5c38d$9a6ff240$c 71865cb"@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004> <"00dd01c5c6cf$028afc0 0$6501a8c0"@HAL9004> <01aa01c5c7d9$790ddef0$9d1865cb@winxp> <00c001c5c82d$11ca95e0$6501a8c0@HAL9004> <007201c5c913$55c9b050$bf1865cb@winxp> Message-ID: <00fe01c5c9c7$a0f62d10$6501a8c0@HAL9004> A.D.: Thanks for pointing me in the right direction. I got the four buttons up there now, even edited their appearance to more mimic the standard navigation buttons and I point them to one of the four public functions: Option Compare Database Option Explicit Public Function FirstPage() SendKeys "^{UP}" End Function Public Function PreviousPage() SendKeys "{UP}" End Function Public Function NextPage() SendKeys "{DOWN}" End Function Public Function LastPage() SendKeys "^{DOWN}" End Function Somewhere I read, however, that SendKeys is not good form, there's some problem with them, but I can't remember what. You think we're safe using SendKeys in this limited way? Is there an alternative? Thanks and regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 04, 2005 11:40 AM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > As mentioned earlier, before executing SendKeys commands, compliance > with FitToWindow mode is ensured by code, irrespective of what the user > might already have done. > > For inserting a command button, select ToolBox in Categories panel of > the customize dialog box. Select command button in Commands pane and drag > it to the tool bar. You can then right click the command button and either > paste an image or create the desired image by clicking "Edit Button > Image". Other properties can be set by opening the properties dialog box. > > Best wishes, > A.D.Tejpal > -------------- > > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Monday, October 03, 2005 20:43 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > I have the magnifier control in my custom report toolbar. So the user > can make it bigger for readability. What happens if subsequently the user > magnifies the page so that it's no longer in FitToWindow mode? > > Re: adding controls to the toolbar - I used customize to get the current > controls in the toolbar but I don't see any page navigation controls on > the customize form. Am I missing something there? > > Thanks and regards, > > Rocky > > ----- Original Message ----- > From: "A.D.Tejpal" > To: "Access Developers discussion and problem solving" > > Sent: Sunday, October 02, 2005 10:13 PM > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > Rocky, > > > > That is not a problem. The code sent in my first post in this thread > > enforces FitToWindow mode for the report, before carrying out SendKeys > > command. > > > > For adding buttons on the print preview toolbar, you have to right > > click on it and choose customize. > > > > Best wishes, > > A.D.Tejpal > > -------------- > > > > ----- Original Message ----- > > From: Rocky Smolin - Beach Access Software > > To: Access Developers discussion and problem solving > > Sent: Sunday, October 02, 2005 02:58 > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > A.D.: > > > > What happens if I use the pop-up form approach and the user changes > the > > report sizing so that it no longer is in "FitToWindow" mode? > > > > I'd like to put the navigation in the custom report toolbar I made but > if > > SendKeys won't work then that's a no go. How do you make a custom > button > > for a toolbar anyway? > > > > Thanks and regards, > > Rocky > > > > ----- Original Message ----- > > From: "A.D.Tejpal" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, September 30, 2005 5:44 AM > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > Rocky, > > > > > > It is a tiny pop-up form (similar to a tool bar) that sits in a > > corner of the screen. It gets opened via report's open event and closed > > via report's close event. > > > > > > You might like to adapt the commands suitably to appropriate > buttons > > on your tool bar. In that case, the commands specific to the form (i.e. > > hiding / un-hiding etc) can be ignored. > > > > > > After ensuring that report window is the active one and the > report > > is in FitToWindow mode, SendKeys arguments as summarized below, would > do > > the needful. > > > (a) Go to Next Page - "{DOWN}" > > > (b) Go to Prev Page - "{UP}" > > > (c) Go to Last Page - "^{DOWN}" > > > (d) Go to First Page - "^{UP}" > > > > > > It is observed that SendKeys commands do not get ported smoothly > to > > tool bar functions. If you find yourself stuck on this account, and > wish > > to avoid form based solution, you could consider experimenting with > > fTurnPage feature available at Leban's site. For this, you would have > to > > download the file named ControlReports.zip. > > > > > > Sample named ReportPreviewing.zip (by Heenan) at Roger's site, as > > mentioned by Ervin, represents the pop-up form approach. > > > > > > If at any stage, you happen to need a simplified sample based > upon > > the code sent by me earlier, I can try to put it together. > > > > > > Best wishes, > > > A.D.Tejpal > > > -------------- > > > > > > ----- Original Message ----- > > > From: Rocky Smolin - Beach Access Software > > > To: Access Developers discussion and problem solving > > > Sent: Thursday, September 29, 2005 20:05 > > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > A.D.: > > > > > > Thanks for the idea. Does this mean that the report preview > appears > > in a > > > pop-up or that there's a pop-up form with the navigation buttons? > > > > > > I already have a custom toolbar with a minimum of controls on it - > > print, > > > close, & fit. I see that you can add controls for record > navigation. > > > They look like the icons I want but of course they don't turn the > pages > > of > > > a report. I'd like to put the page navigation in the toolbar. > > > Is there a way to change the action of those icons you can put on a > > > custom toolbar? Or is there a way to create a custom button for a > > toolbar > > > that would turn the pages of a report? > > > > > > Thanks and regards, > > > > > > Rocky Smolin > > > Beach Access Software > > > http://www.e-z-mrp.com > > > 858-259-4334 > > > > > > ----- Original Message ----- > > > From: "A.D.Tejpal" > > > To: "Access Developers discussion and problem solving" > > > > > > Sent: Tuesday, September 27, 2005 11:00 AM > > > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > > > > > > > > Rocky, > > > > > > > > Sample code in the module of a pop-up form, as given below, > > enables > > > > page navigation of report named R_Test. Command button named > CmdNext > > > steps > > > > forward through the pages while that named CmdPrev does the > reverse. > > > > > > > > You might like to adapt it suitably for your specific > situation. > > > > > > > > Note - For the SendKeys command (Up or Dn arrow) to be > effective, > > it > > > is > > > > necessary that report is in FitToWindow mode and report's window > is > > the > > > > active one. > > > > > > > > Best wishes, > > > > A.D.Tejpal > > > > -------------- > > > > > > > > Code module for Pop Up Form > > > > ================================ > > > > ' Declarations Section > > > > Private RepHdw As Long, FrmHdw As Long > > > > > > > > Private Declare Function BringWindowToTop Lib "user32" _ > > > > (ByVal hwnd As Long) As Long > > > > -------------------------------------------------------- > > > > Private Sub CmdNext_Click() > > > > DoCmd.Echo False > > > > Me.Visible = False > > > > BringWindowToTop RepHdw > > > > DoCmd.RunCommand acCmdFitToWindow > > > > SendKeys "{DOWN}", True > > > > DoCmd.RunCommand acCmdZoom100 > > > > Me.Visible = True > > > > BringWindowToTop FrmHdw > > > > DoCmd.Echo True > > > > End Sub > > > > > > > > Private Sub CmdPrev_Click() > > > > DoCmd.Echo False > > > > Me.Visible = False > > > > BringWindowToTop RepHdw > > > > DoCmd.RunCommand acCmdFitToWindow > > > > SendKeys "{UP}", True > > > > DoCmd.RunCommand acCmdZoom100 > > > > Me.Visible = True > > > > BringWindowToTop FrmHdw > > > > DoCmd.Echo True > > > > End Sub > > > > > > > > Private Sub Form_Activate() > > > > DoCmd.Restore > > > > End Sub > > > > > > > > Private Sub Form_Load() > > > > RepHdw = Reports("R_Test").hwnd > > > > FrmHdw = Me.hwnd > > > > End Sub > > > > ================================ > > > > > > > > ----- Original Message ----- > > > > From: Rocky Smolin - Beach Access Software > > > > To: AccessD at databaseadvisors.com > > > > Sent: Monday, September 26, 2005 23:41 > > > > Subject: [AccessD] Report Navigation on Custom Toolbar > > > > > > > > > > > > Dear List: > > > > > > > > I have a custom toolbar for reports that get displayed in report > > > preview > > > > if the db is an mde. It has only printer icon, close button, and > > zoom > > > > control. The paging navigation is of course, at the lower left > of > > the > > > > screen in preview mode, but I'm wondering if these nav buttons > can > > be > > > > added to the custom toolbar where an inexperienced user might be > > more > > > > likely to see them. > > > > > > > > MTIA, > > > > > > > > Rocky Smolin > > > > Beach Access Software > > > > http://www.e-z-mrp.com > > > > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at colbyconsulting.com Wed Oct 5 11:25:49 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 05 Oct 2005 12:25:49 -0400 Subject: [AccessD] Framework Articles Message-ID: <000a01c5c9c9$724ee630$6c7aa8c0@ColbyM6805> Anyone who read about, followed or is otherwise interested in the series of articles I wrote awhile back and published on the list regarding building a framework, please go to my web page, register (if not already) and log in. Click the Example Code / C2DbFW3G Lecture. The lecture series is being resurrected as a multi-page page on my site. The multi-page page is a nice little module I discovered last night, which allows me to set up a single page off the main menu which contains, embedded in that page, a series of pages, complete with a menu at the top and bottom. You will recognize the format from the Ezine sites that publish articles. Anyway, I have not pulled out all of the articles yet, but over the next few days I will do so. Additionally you can download the articles themselves in Word format, plus an associated mdb via the main/sub menu items Example Code / C2DbFW3G Framework. Any comments / feedback on this can be provided utilizing the Forum for C2DbFW3G under Access. I am way busy ATM but I will be monitoring the forums. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Lambert.Heenan at AIG.com Wed Oct 5 14:06:44 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 5 Oct 2005 15:06:44 -0400 Subject: [AccessD] Report Navigation on Custom Toolbar Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB9CA6@xlivmbx21.aig.com> The trouble with SendKeys is that is messes around with the Num lock, Caps lock and / or Scroll lock status of the keyboard. It's a bug MS never fixed since version 1.0. However, go here.. http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='ReportPrevi ewing.zip' ... and you can D/L my original 'report preview' example which includes a wrapper function "MySendKeys" which eliminates this problem. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 05, 2005 12:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Report Navigation on Custom Toolbar A.D.: Somewhere I read, however, that SendKeys is not good form, there's some problem with them, but I can't remember what. You think we're safe using SendKeys in this limited way? Is there an alternative? Thanks and regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From Jim.Hale at FleetPride.com Wed Oct 5 14:09:19 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 5 Oct 2005 14:09:19 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378D2@corp-es01.fleetpride.com> if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From bheid at appdevgrp.com Wed Oct 5 14:30:41 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 5 Oct 2005 15:30:41 -0400 Subject: [AccessD] Setting objects to nothing In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CABAE0@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF0AB@ADGSERVER> I always do. Not sure if you have to if you did not use it. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:09 PM To: 'Accessd (E-mail) Subject: [AccessD] Setting objects to nothing if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale From cfoust at infostatsystems.com Wed Oct 5 14:38:22 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 5 Oct 2005 12:38:22 -0700 Subject: [AccessD] Setting objects to nothing Message-ID: Strictly speaking, no you don't have to unless you use Set to instantiate the object. I think a better question would be why all those objects are being dimmed if they aren't going to be used. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, October 05, 2005 12:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing I always do. Not sure if you have to if you did not use it. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:09 PM To: 'Accessd (E-mail) Subject: [AccessD] Setting objects to nothing if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From starkey at wanadoo.nl Wed Oct 5 14:39:15 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Wed, 5 Oct 2005 21:39:15 +0200 Subject: [AccessD] Setting objects to nothing In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB67723378D2@corp-es01.fleetpride.com> Message-ID: <20051005194041.C9F1152ECA@smtp8.wanadoo.nl> Hi Jim, AFAIK only created objects have to be set to nothing (sounds logical, it is NOT set to anything so why set it to nothing) eg. Being dimmed with the 'new' or set as 'CreateObject'. Also the variable 'dies' once the program is no longer using the procedure it is dimensioned in unless it's public/static or private to a module ofcourse. So in your case having multiple recordsets and using 5, the sources used by the system/application will not be reduced by a 'set to nothing' but you'd better dimension less recordsets. Microsoft has a document on things to kepe in mind when programming in Access, some kind of whitepaper where you can find all about these kind of things, very interesting if you're looking for ways to improve performance and memory usage. For example; always use a var as .... If you leave out a type a variant will be used causing more memory in use. Also it seems to be better to create larger procedures in a module instead of creating several procedures over several modules though this is more readable code usually it does slow things down according to Bill:-) http://msdn.microsoft.com/library/default.asp?url=/library/en-us/off2000/htm l/actrbOptimizingPerformanceS.asp HOWEVER, personally I always set all objects to nothing since I'd rather be safe than sorry;) Regards, Eric Starkenburg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 9:09 PM To: 'Accessd (E-mail) Subject: [AccessD] Setting objects to nothing if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0540-2, 05-10-2005 Getest op: 5-10-2005 21:39:16 avast! auteursrecht (c) 1988-2005 ALWIL Software. http://www.avast.com From Jim.Hale at FleetPride.com Wed Oct 5 14:55:53 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 5 Oct 2005 14:55:53 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378D6@corp-es01.fleetpride.com> I have a function that can use up to 14 recordsets but may use as few as three depending upon which case is selected.So I typically go For x = 1 To y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x where y is the number of recordsets I actually opened. The problem is I have an Excel instance that refuses to die and the only thing I can figure is some dimensioned objects I never use still exist. Jim Hale -----Original Message----- From: Charlotte Foust [mailto:cfoust at infostatsystems.com] Sent: Wednesday, October 05, 2005 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Setting objects to nothing Strictly speaking, no you don't have to unless you use Set to instantiate the object. I think a better question would be why all those objects are being dimmed if they aren't going to be used. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Wednesday, October 05, 2005 12:31 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing I always do. Not sure if you have to if you did not use it. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:09 PM To: 'Accessd (E-mail) Subject: [AccessD] Setting objects to nothing if an object is dimmed but not used (ie set) must it still be set to nothing when cleaning up? Ex dim rs(1 to 14) as recordset where only 5 recorsets are used in a given run. Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Lambert.Heenan at AIG.com Wed Oct 5 15:09:08 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 5 Oct 2005 15:09:08 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB9D0B@xlivmbx21.aig.com> What's the code for setting the Excel instance, and the code you are using to close it? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing I have a function that can use up to 14 recordsets but may use as few as three depending upon which case is selected.So I typically go For x = 1 To y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x where y is the number of recordsets I actually opened. The problem is I have an Excel instance that refuses to die and the only thing I can figure is some dimensioned objects I never use still exist. Jim Hale From Jim.Hale at FleetPride.com Wed Oct 5 15:42:14 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 5 Oct 2005 15:42:14 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378DB@corp-es01.fleetpride.com> Here is the bottom part of the function. BTW if I change "For x = 1 To y" to "For x = 1 To 14" Excel seems to go away. Strange Jim Hale If blState = True Then .ActiveWorkbook.SaveAs FileName:=strFileSave .ActiveWorkbook.Close SaveChanges:=False End With If blState = False Then GoTo Err_Load_Financials If Err.Number <> 0 Then Load_Financials = False Else Load_Financials = True End If fm.lblFilename.Visible = False The_End: Set fm = Nothing For x = 1 To 14 'y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x If Not (dbs2 Is Nothing) Then dbs2.Close: Set dbs2 = Nothing Set Wsheet = Nothing appExcel.Quit Set appExcel = Nothing If Excel_is_running = True Then MsgBox "Excel still running" DoCmd.Hourglass False Exit Function Err_Load_Financials: Load_Financials = False If Not Err.Description = "" Then MsgBox Err.Description Resume The_End End Function -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Wednesday, October 05, 2005 3:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing What's the code for setting the Excel instance, and the code you are using to close it? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 3:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing I have a function that can use up to 14 recordsets but may use as few as three depending upon which case is selected.So I typically go For x = 1 To y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x where y is the number of recordsets I actually opened. The problem is I have an Excel instance that refuses to die and the only thing I can figure is some dimensioned objects I never use still exist. Jim Hale -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Lambert.Heenan at AIG.com Wed Oct 5 16:20:57 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 5 Oct 2005 16:20:57 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F16CB9D74@xlivmbx21.aig.com> Re your comment about 14 and y: this strongly suggests that y is not being set to the correct value in the first place (or is being altered later on). In any case, where the number of elements in an array is (potentially) in doubt I always use.. For x = lBound(SomeArrayName) to uBound(SomeArrayName) ... The next thing that confuses me (very easy to do!) is... If blState = True Then .ActiveWorkbook.SaveAs FileName:=strFileSave .ActiveWorkbook.Close SaveChanges:=False End With I'm not sure why you are trying to save the workbook to some specific file name, but I assume that your code has changed the excel file that was opened and you want to then save it to a *new* file with a different path/name. If not, then why does the next line close the workbook without saving the changes? For what it's worth here is how I open and close excel workbooks... I have a routine that opens files invisibly... **************code starts ******************* Function Excel_OpenWorkBookHidden(Path As String, Optional UpdateLinks As Boolean = False, Optional password As String = "") As Excel.Application Dim xlObj As Excel.Application On Error GoTo Excel_OpenWorkBookHidden_err 'Check to see if the file name passed in to the procedure is valid If IsNull(Path) Or isDirectory(Path) Or Not FileExists(Path) Then MsgBox Path & " isn't a valid path!", vbCritical, "Open Excel Workbook" Set Excel_OpenWorkBookHidden = Nothing Exit Function Else Set xlObj = CreateObject("Excel.Application") xlObj.Workbooks.Open Path, UpdateLinks, , , password Set Excel_OpenWorkBookHidden = xlObj End If Excel_OpenWorkBookHidden_exit: Exit Function Excel_OpenWorkBookHidden_err: ' replace with your own error logging/reporting routine ReportError Err.Number, Err.Description, "Excel_OpenWorkBookHidden", "Excel_mod", "File Name=" & Path Set Excel_OpenWorkBookHidden = Nothing Resume Excel_OpenWorkBookHidden_exit End Function And another one for opening them and show them on screen... Function Excel_OpenWorkBook(Path As String, Optional UpdateLinks As Boolean = False, Optional password As String = "") As Excel.Application Dim xlObj As Excel.Application On Error GoTo Excel_OpenWorkBook_err Set xlObj = Excel_OpenWorkBookHidden(Path, UpdateLinks, password) If xlObj.Name > "" Then xlObj.Visible = True Set Excel_OpenWorkBook = xlObj Excel_OpenWorkBook_exit: Exit Function Excel_OpenWorkBook_err: ' replace with your own error logging/reporting routine ReportError Err.Number, Err.Description, "Excel_OpenWorkBook", "Excel_mod", "File Name=" & Path Set Excel_OpenWorkBook = Nothing Resume Excel_OpenWorkBook_exit End Function ... And for closing the workbook I use... Sub Excel_CloseWorkBook(xlApp As Excel.Application, Optional bSaveChanges As Boolean = False) Dim wb As Excel.Workbook On Error Resume Next If xlApp.Name > "" Then End If If Err.Number <> 0 Then Exit Sub On Error GoTo 0 For Each wb In xlApp.Workbooks 'Close all open workbooks wb.Close bSaveChanges Next wb xlApp.UserControl = False Set xlApp = Nothing End Sub And here is the isDirectory function... Function isDirectory(sDir As String) As Boolean On Error Resume Next isDirectory = (GetAttr(sDir) And vbDirectory) <> 0 If Err.Number <> 0 Then isDirectory = False On Error GoTo 0 End Function And the FieExisit function... Function FileExists(strFile As String) As Boolean ' Comments : Determines if the file exists ' Works for hidden files and folders ' Parameters: strFile - file to check ' Returns : True if the file exists, otherwise false Dim intAttr As Integer Dim errnum As Long On Error Resume Next 'GET THE FILE ATTRIBUTE INSTEAD OF THE LENGTH OF THE FILE NAME intAttr = GetAttr(strFile) errnum = Err.Number FileExists = (Err.Number = 0) End Function **************code ends ******************* Now these routines do not allow you to open one file and save it under a different name, but then I would instead copy the file to a new name first, open the copy and change it any way I want, and then close the copy, saving the changes. One other comment, you have... If blState = False Then GoTo Err_Load_Financials The only time I ever need to use Goto is in setting up an error handler, because that's the only way you can do it in VB/VBA. Otherwise I've never needed to code anything using Goto. Plus, in your code it looks like the Goto target really is an error handler, which means that if blState IS false and your code jumps there, you will get another error when the Resume line executes, because you did not enter the error handler legally (by raising an error). Hope some of this helps. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 05, 2005 4:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing Here is the bottom part of the function. BTW if I change "For x = 1 To y" to "For x = 1 To 14" Excel seems to go away. Strange Jim Hale If blState = True Then .ActiveWorkbook.SaveAs FileName:=strFileSave .ActiveWorkbook.Close SaveChanges:=False End With If blState = False Then GoTo Err_Load_Financials If Err.Number <> 0 Then Load_Financials = False Else Load_Financials = True End If fm.lblFilename.Visible = False The_End: Set fm = Nothing For x = 1 To 14 'y If Not (rs(x) Is Nothing) Then rs(x).Close: Set rs(x) = Nothing Next x If Not (dbs2 Is Nothing) Then dbs2.Close: Set dbs2 = Nothing Set Wsheet = Nothing appExcel.Quit Set appExcel = Nothing If Excel_is_running = True Then MsgBox "Excel still running" DoCmd.Hourglass False Exit Function Err_Load_Financials: Load_Financials = False If Not Err.Description = "" Then MsgBox Err.Description Resume The_End End Function -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Wednesday, October 05, 2005 3:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing What's the code for setting the Excel instance, and the code you are using to close it? Lambert From robert at servicexp.com Wed Oct 5 17:17:13 2005 From: robert at servicexp.com (Robert Gracie) Date: Wed, 5 Oct 2005 18:17:13 -0400 Subject: [AccessD] Framework Articles Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F64@gbsserver.GBS.local> John, Nice... Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, October 05, 2005 12:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Framework Articles Anyone who read about, followed or is otherwise interested in the series of articles I wrote awhile back and published on the list regarding building a framework, please go to my web page, register (if not already) and log in. Click the Example Code / C2DbFW3G Lecture. The lecture series is being resurrected as a multi-page page on my site. The multi-page page is a nice little module I discovered last night, which allows me to set up a single page off the main menu which contains, embedded in that page, a series of pages, complete with a menu at the top and bottom. You will recognize the format from the Ezine sites that publish articles. Anyway, I have not pulled out all of the articles yet, but over the next few days I will do so. Additionally you can download the articles themselves in Word format, plus an associated mdb via the main/sub menu items Example Code / C2DbFW3G Framework. Any comments / feedback on this can be provided utilizing the Forum for C2DbFW3G under Access. I am way busy ATM but I will be monitoring the forums. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at colbyconsulting.com Wed Oct 5 17:48:40 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Wed, 05 Oct 2005 18:48:40 -0400 Subject: [AccessD] Framework Articles In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F64@gbsserver.GBS.local> Message-ID: <001001c5c9fe$ee118950$6c7aa8c0@ColbyM6805> Isn't that cool? I soooo like DNN. I just found that module out on the net, uploaded it to my site and voila, a new kind of web control. It took me a couple of hours to pull the content out of the word docs and get it in the page. N there ya are. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Wednesday, October 05, 2005 6:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Framework Articles John, Nice... Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Wednesday, October 05, 2005 12:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Framework Articles Anyone who read about, followed or is otherwise interested in the series of articles I wrote awhile back and published on the list regarding building a framework, please go to my web page, register (if not already) and log in. Click the Example Code / C2DbFW3G Lecture. The lecture series is being resurrected as a multi-page page on my site. The multi-page page is a nice little module I discovered last night, which allows me to set up a single page off the main menu which contains, embedded in that page, a series of pages, complete with a menu at the top and bottom. You will recognize the format from the Ezine sites that publish articles. Anyway, I have not pulled out all of the articles yet, but over the next few days I will do so. Additionally you can download the articles themselves in Word format, plus an associated mdb via the main/sub menu items Example Code / C2DbFW3G Framework. Any comments / feedback on this can be provided utilizing the Forum for C2DbFW3G under Access. I am way busy ATM but I will be monitoring the forums. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From paul.hartland at isharp.co.uk Thu Oct 6 04:59:44 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 6 Oct 2005 10:59:44 +0100 Subject: [AccessD] Using Treeview Control To Mimic Outlook Folders In-Reply-To: <434296EC.1060601@tiscali.co.uk> Message-ID: To all, Before I start please note that I have never used a Treeview control in my 8 years of Access/Visual Basic development. I'm working on a little project for a small department in our company, basically they have a folder in their Outlook inbox called Timesheets (so I wrote my code to only look for this folder, however somepeople in the department have called it Otimesheets and OrrTimesheets etc....Obviously the easy way would to get them to name their folders the same, but I have some time on my hands and would like to make my application more user friendly)..... What I would like is a form with a Treeview control that will look exactly like all the folders that they currently have in Outlook, then allow them to select the folder in which the Timesheets are automatically emailed, then run my code I already have developed to process the Timesheets Thanks in advance for any help, sample code etc Paul Hartland Database Developer paul.hartland at orridge.co.uk From jwcolby at colbyconsulting.com Thu Oct 6 08:08:56 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 06 Oct 2005 09:08:56 -0400 Subject: [AccessD] My new website Message-ID: <000b01c5ca77$1ed5bc50$6c7aa8c0@ColbyM6805> Borg, >John, having had a look at your new website and the features it >provides 'out of the box' - has spurred me on to once again have a look >at further developing my own website.... I am truly jazzed about DNN and what it gives me as a developer. You can see what it can do with no programming whatsoever, just what is built in, and then scouting around looking for free modules. Additionally, it provides the .Net savvy developer (which I am not yet) the ability to build new modules, and in particular (since I am in databases) modules that utilize the database to build web based database applications. DNN requires MSSQL. I use WebHost4Life just because the price was good - $9.99 / month with 2gb hard disk and 2gb MSSQL database (they share the same 2GB), and because at WH4L DNN was just clicking on a couple of buttons in your control panel to get it set up. It literally took under 5 minutes to have the basic site up and running using DNN, which I think is just awesome. Yes, you MUST have MSSQL in order to use DNN which does raise the cost of the web site. AT WH4L the cheapest site is $5 / month which includes the ability to use ASP.Net (any .net really) but because I specifically wanted to go with DNN I had to go with the $10 / month package which included the MSSQL. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at colbyconsulting.com Thu Oct 6 08:50:06 2005 From: jwcolby at colbyconsulting.com (John W. Colby) Date: Thu, 06 Oct 2005 09:50:06 -0400 Subject: [AccessD] OT: My web site and WebHost4Life Message-ID: <000d01c5ca7c$dc1b9dc0$6c7aa8c0@ColbyM6805> I am always a little hesitant to make recommendations on something like a web host company because whenever anything goes wrong... And things do go wrong... They always remember who recommended... However, I use WebHost4Life. The reasons are really pretty simple: I wanted to use DotNetNuke NotNetNuke requires ASP.Net and an MSSQL database I needed something inexpensive. I needed it to be EASY to get DNN set up. There are many Hosting companies providing Windows hosting, with ASP.Net capabilities, and even with MSSQL database support. However most of them provide a fairly paltry amount of disk space and / or server space. WebHost4Life provides 2 gbytes disk and 2 gbytes server (they share your 2gbytes) for $10 / month. That is my kind of price. And finally, it LITERALLY took me 5 minutes to get DNN set up. From the control panel for the admin of the web site (me) there is a hotlink that allows you to install DNN. The install works exactly as advertised. The only issue I had was that I installed DNN before my domain name pointed there, i.e. using the "temporary" url they give you to work with your site. Once my domain name pointed there I had a snafu getting the DNN site to work correctly. In the end I uninstalled and reinstalled DNN using my domain name (www.colbyconsulting.com) and it all worked like a dream. Given how easy the DNN install goes and the fact that I was just playing around at first learning how to use DNN it was a small issue, and in fact you may not have it happen to you. You should do your own research and come to your own decisions, but if you decide that WebHost4Life works for you, I get something (not sure what) for referrals so... My referral link is: http://www.webhost4life.com/default.asp?refid=jwcolby54 You can also visit my site and look under my picture for a link to WH4L using my referral. Speaking of the picture, I had that pic taken when I was working on the SQL book, and never got it in to the publisher, so my pic does not appear on the cover. What a shame eh? I decided what the heck, throw it on my web site. You guys can be honest and tell me if I should take it off. I've had a lot of good comments on the site and am quite pleased with how easy it was for me to do this stuff myself. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From ebarro at afsweb.com Thu Oct 6 10:31:36 2005 From: ebarro at afsweb.com (Eric Barro) Date: Thu, 6 Oct 2005 08:31:36 -0700 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: <000d01c5ca7c$dc1b9dc0$6c7aa8c0@ColbyM6805> Message-ID: I concur with John. I've used webhost4life.com for 2 yrs now and I've been satisfied with the service. Aside from SQL server and DotNet support they also have Sharepoint Team Sites available as part of the package. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, October 06, 2005 6:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: My web site and WebHost4Life I am always a little hesitant to make recommendations on something like a web host company because whenever anything goes wrong... And things do go wrong... They always remember who recommended... However, I use WebHost4Life. The reasons are really pretty simple: I wanted to use DotNetNuke NotNetNuke requires ASP.Net and an MSSQL database I needed something inexpensive. I needed it to be EASY to get DNN set up. There are many Hosting companies providing Windows hosting, with ASP.Net capabilities, and even with MSSQL database support. However most of them provide a fairly paltry amount of disk space and / or server space. WebHost4Life provides 2 gbytes disk and 2 gbytes server (they share your 2gbytes) for $10 / month. That is my kind of price. And finally, it LITERALLY took me 5 minutes to get DNN set up. From the control panel for the admin of the web site (me) there is a hotlink that allows you to install DNN. The install works exactly as advertised. The only issue I had was that I installed DNN before my domain name pointed there, i.e. using the "temporary" url they give you to work with your site. Once my domain name pointed there I had a snafu getting the DNN site to work correctly. In the end I uninstalled and reinstalled DNN using my domain name (www.colbyconsulting.com) and it all worked like a dream. Given how easy the DNN install goes and the fact that I was just playing around at first learning how to use DNN it was a small issue, and in fact you may not have it happen to you. You should do your own research and come to your own decisions, but if you decide that WebHost4Life works for you, I get something (not sure what) for referrals so... My referral link is: http://www.webhost4life.com/default.asp?refid=jwcolby54 You can also visit my site and look under my picture for a link to WH4L using my referral. Speaking of the picture, I had that pic taken when I was working on the SQL book, and never got it in to the publisher, so my pic does not appear on the cover. What a shame eh? I decided what the heck, throw it on my web site. You guys can be honest and tell me if I should take it off. I've had a lot of good comments on the site and am quite pleased with how easy it was for me to do this stuff myself. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. From artful at rogers.com Thu Oct 6 10:58:59 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 6 Oct 2005 11:58:59 -0400 Subject: [AccessD] Question about ANPKs In-Reply-To: Message-ID: <200510061608.j96G8KT21782@databaseadvisors.com> Scenario: Database 1 -- a legacy app that is being redesigned. It contains some tables with ANPKs and some without. In addition, it suffers from numerous design problems, including nested tables. (I inherited it, don't blame me :) Database 2 -- my revised version, in which all tables contain ANPKs. In I have to import all the old data into the new design. One particular table in the old design has been refactored into six tables (no lie). Various other tables have been refactored as well, but into fewer tables. My plan is to link the tables in the old database to the new one, then perform numerous append queries with various degrees of smarts so that the old data ends up in the refactored database correctly. The basic question is this: given that a source-table is ANPK in the old app, can I do an append query and specify that the old ANPK numbers go into the new ANPK column as-is? I suppose I could build a test table and try it, but I just wondered whether anyone had the answer off the top. I know that this can be done in MS-SQL but I can't recall ever doing it in Access. ------------ A related question: given that the new database has a whole lot of referential integrity and the old database has none, I cannot do the appends in just any order. I must guarantee that all foreign keys go in first, before I attempt to import the rows depending upon their existence. Another way to say this is, I must walk the tree from its outermost leaves, progressing inwards as I go (i.e. Add sales reps, product categories, products, etc. first, then I can add sales orders and finally sales details). Given that there are about 75 tables, I can easily screw the order up, forgetting to add this or that leaf-table before trying to add its branch. Is there some way to determine a sequence in which to add them, which is guaranteed to work? Obviously, there are many possible sequences which could work: I don't want an exhaustive list -- I will settle for one sequence that works. But I cannot readily deduce how to generate such a sequence. TIA, Arthur From max at sherman.org.uk Thu Oct 6 11:15:01 2005 From: max at sherman.org.uk (Max Sherman) Date: Thu, 6 Oct 2005 17:15:01 +0100 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: Message-ID: Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Excuse my ignorance, please. Regards Max (Derby) Mob: 07990 521001 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: 06 October 2005 16:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life I concur with John. I've used webhost4life.com for 2 yrs now and I've been satisfied with the service. Aside from SQL server and DotNet support they also have Sharepoint Team Sites available as part of the package. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John W. Colby Sent: Thursday, October 06, 2005 6:50 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT: My web site and WebHost4Life I am always a little hesitant to make recommendations on something like a web host company because whenever anything goes wrong... And things do go wrong... They always remember who recommended... However, I use WebHost4Life. The reasons are really pretty simple: I wanted to use DotNetNuke NotNetNuke requires ASP.Net and an MSSQL database I needed something inexpensive. I needed it to be EASY to get DNN set up. There are many Hosting companies providing Windows hosting, with ASP.Net capabilities, and even with MSSQL database support. However most of them provide a fairly paltry amount of disk space and / or server space. WebHost4Life provides 2 gbytes disk and 2 gbytes server (they share your 2gbytes) for $10 / month. That is my kind of price. And finally, it LITERALLY took me 5 minutes to get DNN set up. From the control panel for the admin of the web site (me) there is a hotlink that allows you to install DNN. The install works exactly as advertised. The only issue I had was that I installed DNN before my domain name pointed there, i.e. using the "temporary" url they give you to work with your site. Once my domain name pointed there I had a snafu getting the DNN site to work correctly. In the end I uninstalled and reinstalled DNN using my domain name (www.colbyconsulting.com) and it all worked like a dream. Given how easy the DNN install goes and the fact that I was just playing around at first learning how to use DNN it was a small issue, and in fact you may not have it happen to you. You should do your own research and come to your own decisions, but if you decide that WebHost4Life works for you, I get something (not sure what) for referrals so... My referral link is: http://www.webhost4life.com/default.asp?refid=jwcolby54 You can also visit my site and look under my picture for a link to WH4L using my referral. Speaking of the picture, I had that pic taken when I was working on the SQL book, and never got it in to the publisher, so my pic does not appear on the cover. What a shame eh? I decided what the heck, throw it on my web site. You guys can be honest and tell me if I should take it off. I've had a lot of good comments on the site and am quite pleased with how easy it was for me to do this stuff myself. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ---------------------------------------------------------------- The information contained in this e-mail message and any file, document, previous e-mail message and/or attachment transmitted herewith is confidential and may be legally privileged. It is intended solely for the private use of the addressee and must not be disclosed to or used by anyone other than the addressee. If you receive this transmission by error, please immediately notify the sender by reply e-mail and destroy the original transmission and its attachments without reading or saving it in any manner. If you are not the intended recipient, or a person responsible for delivering it to the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of any of the information contained in or attached to this transmission is STRICTLY PROHIBITED. E-mail transmission cannot be guaranteed to be secure or error free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. The sender therefore does not accept liability for any errors or omissions in the contents of this message, which arise as a result of email transmission. Users and employees of the e-mail system are expressly required not to make defamatory statements and not to infringe or authorize any infringement of copyright or any other legal right by email communications. Any such communication is contrary to company policy. The company will not accept any liability in respect of such communication. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Thu Oct 6 11:54:30 2005 From: dmcafee at pacbell.net (David McAfee) Date: Thu, 6 Oct 2005 09:54:30 -0700 Subject: [AccessD] Question about ANPKs In-Reply-To: <200510061608.j96G8KT21782@databaseadvisors.com> Message-ID: Yes you can do it. This is how some people add a 0th record. As for the import, if you have access (no pun intended) to SQL server, you could always crate a DTS import package then when finished with normalization, export everything into Access (or import from SQL into Access if you prefer.) By using SQL, you can use temp tables and table variables to help out with some of the tasks. I like to import all tables as is(in their flat state) from Access, then add a new ANPK column even if it already has a PKID. When joining tables to get ParentIDs, join on as many fields as possible but include this new ANPK for your "relating". Sometimes you have to add additional INT columns to serve as links between child tables that are broken apart into many tables. Once you have everything mapped, you can move that data into your final normalized table structure. HTH David McAfee -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Thursday, October 06, 2005 8:59 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Question about ANPKs Scenario: Database 1 -- a legacy app that is being redesigned. It contains some tables with ANPKs and some without. In addition, it suffers from numerous design problems, including nested tables. (I inherited it, don't blame me :) Database 2 -- my revised version, in which all tables contain ANPKs. In I have to import all the old data into the new design. One particular table in the old design has been refactored into six tables (no lie). Various other tables have been refactored as well, but into fewer tables. My plan is to link the tables in the old database to the new one, then perform numerous append queries with various degrees of smarts so that the old data ends up in the refactored database correctly. The basic question is this: given that a source-table is ANPK in the old app, can I do an append query and specify that the old ANPK numbers go into the new ANPK column as-is? I suppose I could build a test table and try it, but I just wondered whether anyone had the answer off the top. I know that this can be done in MS-SQL but I can't recall ever doing it in Access. ------------ A related question: given that the new database has a whole lot of referential integrity and the old database has none, I cannot do the appends in just any order. I must guarantee that all foreign keys go in first, before I attempt to import the rows depending upon their existence. Another way to say this is, I must walk the tree from its outermost leaves, progressing inwards as I go (i.e. Add sales reps, product categories, products, etc. first, then I can add sales orders and finally sales details). Given that there are about 75 tables, I can easily screw the order up, forgetting to add this or that leaf-table before trying to add its branch. Is there some way to determine a sequence in which to add them, which is guaranteed to work? Obviously, there are many possible sequences which could work: I don't want an exhaustive list -- I will settle for one sequence that works. But I cannot readily deduce how to generate such a sequence. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 6 12:56:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 06 Oct 2005 13:56:13 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: Message-ID: <003c01c5ca9f$411c6d40$6c7aa8c0@ColbyM6805> >Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Max, DNN stands for DotNetNuke. It is a web site framework based on ASP.Net, VB.Net and MSSQL, which allows people to put up a web site with "out of the box" capabilities that you would otherwise have to program yourself (or go find modules for). DNN had an entire database (30 or so tables) used specifically for maintaining DNN structures, users, etc. You as a developer can add other tables in the MSSQL database and build a web enabled database application around the DNN foundation. Note that I am no expert in web design so read this with that in mind. Real web designers MAY be able to do all this stuff with little or no effort as well, once they learn their trade and tools. I am not a web designer and I can do this stuff (at least what you see) with DNN. Go to my site - www.ColbyConsulting.com . BTW, also go to my OLD web site at www.jwcolby.com to see my previous attempt at web design. Just a bit of a difference eh? At my new web site, notice the register and login. That is DotNetNuke. I did not create that. Notice the handsome guy (pic) off to the left, and the book gifs and hotlinks to buy them off to the right, with the main "Colby consulting message" in the middle. All of those are modules that come with DNN. I "fill in the content" of those modules in order to show my picture, the book gifs and the links to buy the books. Take this opportunity to register and log in. Now notice that the menu has expanded to include other menu items that are not visible for visitors who don't register and log in. There is an ExampleCode menu item with sub menu items. Pages in DNN can be "allowed to be viewed" by groups of users. I have set up my site such that the stuff you see without logging in can be seen by "all users" whereas the rest of the stuff can only bee seen by "registered users". This kind of functionality is just built in to DNN. These menu items are "pages" in DNN. I add a page by clicking a "add page" button (when logged in as an administrator) and I get a new page. DNN just creates a menu item for me, I don't have to do that. Each page has areas that are predefined by the "skin" I selected into which I can drop one or more "modules". These modules can include text / html areas, announcements, banners, events, faqs and a ton of other things that are just built in to DNN. Additionally I can go out to the web and buy or find for free other modules. On the top menu, click on Example Code / Framework Articles. The page you see is a free module I downloaded off the web which allows me to enter a "multi-page" page. That module allowed me to set up pages to put my article pages on, and built for me (no programming on my part) the little menu you see off to the left. Also down at the bottom you will see a "page n of m" kind of thing, part of the module. On the top menu, click on the Forums menu item. Forums are another module that I downloaded off the web. I just built a page and told DNN to put a Forums Module in the center area of the page and there you go. I go in and define the topic / sub topic. All "no programming on my part". On the top menu, click on the Feedback menu item. An email applet that just "snaps in", no programming on my part. DNN is the FRAMEWORK that makes all this possible, and includes enough modules to make it useable with no outside help, but which allows developers to write additional modules that do some thing. There are LOTS of modules out there, a thriving community of developers trying to build and sell modules, and many free modules as well. DotNetNuke is really about allowing you to create a web site with a presentation (the skin), the data (the pictures and text in the areas of the web page) and the business logic (the programming that causes the modules to do what they do). These three pieces are distinct from each other to a large extent. I did not write the skin, and I did not write the modules. I just found a skin I could live with, and started assembling the pages and modules, filling in the content. Only the content is mine. According to the DotNetNuke site, they now have several hundred thousand web sites running DNN. What you see on my site was completed in about two weeks it seems. In fact I just checked and I purchased my hosting there on the 20th of last month and then had to transfer my domain to them. So it took me 2 weeks to figure out how to use DNN plus get the content you see up there. The key though is that going forward, adding content is a no brainer. Of course learning to do my own modules is definitely NOT a no-brainer. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Thursday, October 06, 2005 12:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Excuse my ignorance, please. Regards Max (Derby) Mob: 07990 521001 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: 06 October 2005 16:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life I concur with John. I've used webhost4life.com for 2 yrs now and I've been satisfied with the service. Aside from SQL server and DotNet support they also have Sharepoint Team Sites available as part of the package. From jwcolby at ColbyConsulting.com Thu Oct 6 19:25:37 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 06 Oct 2005 20:25:37 -0400 Subject: [AccessD] OT: Help for Visual Studio Message-ID: <000801c5cad5$a6a51a50$6c7aa8c0@ColbyM6805> I purchased Visual Studio, only to discover that the HELP for it is only found on the MSDN disks. Is that a rip or what? On EBay I am finding a set of 3 CDs called the MSDN Library for Visual Studio.Net 2003, for about $20. Does this include the help files? And why in the world is it sold without help to begin with? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From pcantoni at erggroup.com Thu Oct 6 20:49:37 2005 From: pcantoni at erggroup.com (Paolo Cantoni) Date: Fri, 7 Oct 2005 09:49:37 +0800 Subject: [AccessD] Help stop making electrons dizzy... In-Reply-To: Message-ID: Hi, I've posted this before, but it getting very frustrating... Please please please take the extra three seconds to remove unneeded content from your replies... The electrons must be getting dizzy sending the same information back and forth. The digest of 28th September was particularly bad (you can see how far behind I am!) and prompted this second request. It was 30 pages long and contained a grand total of less than 2 pages of new content! One particular posting contained _three lines_ of new info and _four and a half pages_ of baggage!! Please please please just take that extra few seconds... and spare the electrons and the trees! The list contains great stuff, but wading through the baggage makes it tough! Paolo ERG Group 247 Balcatta Road Balcatta WA 6021 Australia Tel: + 61 8 9273 1287 Fax: +61 8 9273 1535 Email: pcantoni at erggroup.com Website: www.erggroup.com There is no such thing as an inconsistently correct system... ...Therefore, aim for consistency; in the expectation of achieving correctness! From john at winhaven.net Thu Oct 6 21:05:15 2005 From: john at winhaven.net (John Bartow) Date: Thu, 6 Oct 2005 21:05:15 -0500 Subject: [AccessD] Help stop making electrons dizzy... In-Reply-To: Message-ID: <000001c5cae3$902a37c0$6801a8c0@ScuzzPaq> Paolo, Good point. Sorry for the frustration. We are lowering the size limits of messages so that at some point people are forced to snip unneeded content. Besides making it easier on people that recieve the digest version it will also make archive searches more efficient and cut done on the cost of storage that we pay for. Remember everything sent is archived whether or not it has been repeated or not. We have already started doing this on the other lists. John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paolo Cantoni Sent: Thursday, October 06, 2005 8:50 PM To: accessd at databaseadvisors.com Subject: [AccessD] Help stop making electrons dizzy... Hi, I've posted this before, but it getting very frustrating... Please please please take the extra three seconds to remove unneeded content from your replies... The electrons must be getting dizzy sending the same information back and forth. The digest of 28th September was particularly bad (you can see how far behind I am!) and prompted this second request. It was 30 pages long and contained a grand total of less than 2 pages of new content! One particular posting contained _three lines_ of new info and _four and a half pages_ of baggage!! Please please please just take that extra few seconds... and spare the electrons and the trees! The list contains great stuff, but wading through the baggage makes it tough! Paolo ERG Group 247 Balcatta Road Balcatta WA 6021 Australia Tel: + 61 8 9273 1287 Fax: +61 8 9273 1535 Email: pcantoni at erggroup.com Website: www.erggroup.com There is no such thing as an inconsistently correct system... ...Therefore, aim for consistency; in the expectation of achieving correctness! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Thu Oct 6 21:25:04 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Fri, 07 Oct 2005 12:25:04 +1000 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <000801c5cad5$a6a51a50$6c7aa8c0@ColbyM6805> Message-ID: <43466920.14874.2A1D52@localhost> On 6 Oct 2005 at 20:25, John Colby wrote: > I purchased Visual Studio, only to discover that the HELP for it is only > found on the MSDN disks. Is that a rip or what? > > On EBay I am finding a set of 3 CDs called the MSDN Library for Visual > Studio.Net 2003, for about $20. Does this include the help files? And why > in the world is it sold without help to begin with? > I'm in the same situation with VB6. I know of four sets of VB Pro/Enterprise, including my own one in Port Moresby. Not one of the owners still has the MSDN disks that have the Help files - mine were stolen a few years ago when I left a CD case sitting in my car in a shopping centre for half an hour :-(. I recently had to instal VB6 on a new development machine and it consequently has no help. (If anyone has a set of the old MSDN disks containing the help files for VB6 and would be prepared to mail me a copy, I'd be more than happy to pay for them) From accessd at shaw.ca Fri Oct 7 03:38:11 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 07 Oct 2005 01:38:11 -0700 Subject: [AccessD] OT Friday In-Reply-To: <002e01c5c8cf$1e5fafa0$017ba8c0@xpserver> Message-ID: <015e01c5cb1a$73b4e3b0$017ba8c0@xpserver> Someone has dug out an ancient version of LISP, from 9 track tapes and now it is available to all as open source: http://www.heeltoe.com/retro/mit/mit_cadr_lmss.html Here is a niche market. Tired of all the traditional colognes and perfumes; try these: http://www.perfume.com/demeter/demeter-1007504.html ....and http://www.fashion-planet.com/shopping/demeter/homecollection.html Jim From shamil at users.mns.ru Fri Oct 7 04:48:12 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 7 Oct 2005 13:48:12 +0400 Subject: [AccessD] OT: Friday Humor: There's A Hole In My Sidewalk Message-ID: <005901c5cb24$6f491990$6401a8c0@fincomplex.spb.ru> Hi All, I found this story funny and I decided to post its link here - for me it looks like a "reusable pattern" real life situation, which a way too often happens in software development: http://www.storybin.com/builders/builders115.shtml Shamil :) From mikedorism at verizon.net Fri Oct 7 07:25:11 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Fri, 07 Oct 2005 08:25:11 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <43466920.14874.2A1D52@localhost> Message-ID: <000501c5cb3a$2ab342e0$2e01a8c0@dorismanning> As I told John Colby in a message on the VB List, I dug around in my software drawer and unearthed two older MDSN Library DVDs from 2003 that I'm not using. I offered one to him and you would be more than welcome to the other one. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of stuart at lexacorp.com.pg Sent: Thursday, October 06, 2005 10:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Help for Visual Studio I'm in the same situation with VB6. I know of four sets of VB Pro/Enterprise, including my own one in Port Moresby. Not one of the owners still has the MSDN disks that have the Help files - mine were stolen a few years ago when I left a CD case sitting in my car in a shopping centre for half an hour :-(. I recently had to instal VB6 on a new development machine and it consequently has no help. (If anyone has a set of the old MSDN disks containing the help files for VB6 and would be prepared to mail me a copy, I'd be more than happy to pay for them) -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prosoft6 at hotmail.com Fri Oct 7 07:34:33 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Fri, 07 Oct 2005 08:34:33 -0400 Subject: [AccessD] (no subject) Message-ID: Has anyone read this article about a security flaw in Jet? http://www.securityfocus.com/news/11335 Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From Lambert.Heenan at AIG.com Fri Oct 7 08:27:34 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 7 Oct 2005 09:27:34 -0400 Subject: [AccessD] Help stop making electrons dizzy... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F171F0107@xlivmbx21.aig.com> But isn't reposting his entire message, complete with two AccessD footers exactly the kind of baggage Paolo was talking about? Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, October 06, 2005 10:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Help stop making electrons dizzy... Paolo, Good point. Sorry for the frustration. From Gustav at cactus.dk Fri Oct 7 08:38:52 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 07 Oct 2005 15:38:52 +0200 Subject: [AccessD] LINQ Message-ID: Hi all This is hot: http://msdn.microsoft.com/netframework/future/linq/ Note the link to sample code. /gustav From bchacc at san.rr.com Fri Oct 7 08:46:51 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Oct 2005 06:46:51 -0700 Subject: [AccessD] Fw: [dba-Tech] Toll Free Number Message-ID: <004201c5cb45$929753a0$6501a8c0@HAL9004> Posted on dba-tech but I think I need a bigger audience and it's Friday so maybe I can get away with it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "dba-tech" Sent: Thursday, October 06, 2005 3:25 PM Subject: [dba-Tech] Toll Free Number > This is about as far off topic as it gets. But it's still tech, so... > > I need a toll-free number. I was going to call SBC, the local company. > But found this: > > http://www.gotvmail.com/solutions/index.html > > Does anybody know this outfit? > > Any recommendations an a toll-free number? > > TIA > > Rocky > _______________________________________________ > dba-Tech mailing list > dba-Tech at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/dba-tech > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Fri Oct 7 08:56:46 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 07 Oct 2005 15:56:46 +0200 Subject: [AccessD] Fw: [dba-Tech] Toll Free Number Message-ID: Hi Rocky Did you study this site: http://www.fcc.gov/wcb/tapd/toll_free/888faq.html /gustav >>> bchacc at san.rr.com 07-10-2005 15:46 >>> Posted on dba-tech but I think I need a bigger audience and it's Friday so maybe I can get away with it. Rocky ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "dba-tech" Sent: Thursday, October 06, 2005 3:25 PM Subject: [dba-Tech] Toll Free Number > This is about as far off topic as it gets. But it's still tech, so... > > I need a toll-free number. I was going to call SBC, the local company. > But found this: > > http://www.gotvmail.com/solutions/index.html > > Does anybody know this outfit? > > Any recommendations an a toll-free number? From markamatte at hotmail.com Fri Oct 7 09:06:33 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 07 Oct 2005 14:06:33 +0000 Subject: [AccessD] (no subject) In-Reply-To: Message-ID: I may be over simplifying this...but the wording of the following snip caught my attention: "The Hesive Trojan can be disguised as a Microsoft Access file. Once opened in Access, infected .mdb files take advantage of a five-month old buffer overflow flaw in Microsoft's Jet Database Engine software to seize control of vulnerable machines. "... Would this actually be a virus 'disguised'...or is it just a database written to be a virus. The article states that the virus takes advantages of the bug...AFTER you open it with access...from what I know about access...you don't need a bug...if you can get someone to open the db...it will run all of your code, good or bad, regardless. I'm not sure what my point was...but something didn't seem entirely clear when I read that article... Any feedback? Thanks, Mark A. Matte >From: "Julie Reardon-Taylor" >Reply-To: Access Developers discussion and problem >solving >To: accessd at databaseadvisors.com >Subject: [AccessD] (no subject) >Date: Fri, 07 Oct 2005 08:34:33 -0400 > >Has anyone read this article about a security flaw in Jet? > >http://www.securityfocus.com/news/11335 > > >Julie Reardon-Taylor >PRO-SOFT OF NY, INC. >44 Public Square Suite #5 >Watertown, NY 13601 >Phone/Fax: (315) 785-0319 >www.pro-soft.net > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Oct 7 09:23:35 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 7 Oct 2005 07:23:35 -0700 Subject: [AccessD] Fw: [dba-Tech] Toll Free Number References: Message-ID: <00a401c5cb4a$b3ba5a00$6501a8c0@HAL9004> Bless my government. They've now told me all the things they can't do for me. And they told me where to go (as is their wont). So I guess I'll start searching for RespOrgs (quite an Orwellian word, wouldn't you say?). Thanks GB. Rocky ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, October 07, 2005 6:56 AM Subject: Re: [AccessD] Fw: [dba-Tech] Toll Free Number > Hi Rocky > > Did you study this site: > > http://www.fcc.gov/wcb/tapd/toll_free/888faq.html > > /gustav > >>>> bchacc at san.rr.com 07-10-2005 15:46 >>> > Posted on dba-tech but I think I need a bigger audience and it's Friday so > maybe I can get away with it. > > Rocky > > ----- Original Message ----- > From: "Rocky Smolin - Beach Access Software" > To: "dba-tech" > Sent: Thursday, October 06, 2005 3:25 PM > Subject: [dba-Tech] Toll Free Number > > >> This is about as far off topic as it gets. But it's still tech, so... >> >> I need a toll-free number. I was going to call SBC, the local company. >> But found this: >> >> http://www.gotvmail.com/solutions/index.html >> >> Does anybody know this outfit? >> >> Any recommendations an a toll-free number? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Fri Oct 7 08:57:01 2005 From: john at winhaven.net (John Bartow) Date: Fri, 7 Oct 2005 08:57:01 -0500 Subject: [AccessD] Help stop making electrons dizzy... In-Reply-To: <1D7828CDB8350747AFE9D69E0E90DA1F171F0107@xlivmbx21.aig.com> Message-ID: <004001c5cb46$fe21e2b0$6801a8c0@ScuzzPaq> Yes it is. Slap! Lambert nails me . I generally snip replies as I have with yours (below). If every one would do this it would be great! But your retort does bring up the fact that everyone is going to slip up now and again. Just go through the last couple of weeks and look for messages over 10kb in size. They are that size due to lack of snipping. (I won't slap anyone individual's wrist, Lambert, but I see that just about everyone forgets to snip occasionally ;o) My excuse - I was just plain tired. Been working 15 hour days and if you note the time that was near the end of one of them. Sometimes the fact that someone replies quickly to a plea for help is more important than the reply's cleanliness - not in my case though, I hang my head in shame... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Heenan, Lambert But isn't reposting his entire message, complete with two AccessD footers exactly the kind of baggage Paolo was talking about? Lambert From Lambert.Heenan at AIG.com Fri Oct 7 10:10:17 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 7 Oct 2005 11:10:17 -0400 Subject: [AccessD] Help stop making electrons dizzy... Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F171F01C4@xlivmbx21.aig.com> Mea Culpa also. I got a post rejected just the other day because it was over 32k. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 07, 2005 9:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Help stop making electrons dizzy... Yes it is. Slap! Lambert nails me . From cfoust at infostatsystems.com Fri Oct 7 10:19:49 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 08:19:49 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: If you have any recent version of MSDN disks, they have the help on them. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 06, 2005 5:26 PM To: 'Access Developers discussion and problem solving'; dba-vb at databaseadvisors.com Subject: [AccessD] OT: Help for Visual Studio I purchased Visual Studio, only to discover that the HELP for it is only found on the MSDN disks. Is that a rip or what? On EBay I am finding a set of 3 CDs called the MSDN Library for Visual Studio.Net 2003, for about $20. Does this include the help files? And why in the world is it sold without help to begin with? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Fri Oct 7 10:47:39 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 7 Oct 2005 11:47:39 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: Message-ID: <20051007154739.OKFZ463.ibm61aec.bellsouth.net@SUSANONE> I thought you got a year's sub to MSDN with your initial purchase? Susan H. If you have any recent version of MSDN disks, they have the help on them. From cfoust at infostatsystems.com Fri Oct 7 10:54:01 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 08:54:01 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: I didn't. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 8:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio I thought you got a year's sub to MSDN with your initial purchase? Susan H. If you have any recent version of MSDN disks, they have the help on them. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Fri Oct 7 10:56:55 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 7 Oct 2005 11:56:55 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: Message-ID: <20051007155655.HKQX14361.ibm68aec.bellsouth.net@SUSANONE> Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. From Jim.Hale at FleetPride.com Fri Oct 7 11:00:37 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 7 Oct 2005 11:00:37 -0500 Subject: [AccessD] OT: Friday Humor Texas Chili Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378E6@corp-es01.fleetpride.com> A Texas Chili Contest For those of you who have lived in Texas, you know how true this is. They actually have a chili cook-off about the time Halloween comes around. It takes up a major portion of a parking lot at the San Antonio city park. The notes are from an inexperienced chili taster named Frank, who was visiting from Springfield, IL. Note: Please take time to read this slowly. If you pay attention to the first two judges (who were experienced judges), the reaction of the third judge is even better. Frank: "Recently, I was honored to be selected as a judge at a chili cooking contest. The original person called in sick at the last moment and I happened to be standing there at the judge's table asking for directions to the Coors Light truck, when the call came in. I was assured by the other two judges (native Texans) that the chili wouldn't be all that spicy and, besides, they told me I could have free beer during the tasting, so I accepted." Here are the scorecards from the advent: (Frank is Judge #3) Chili # 1 Eddie's Maniac Monster Chili... Judge # 1 -- A little too heavy on the tomato. Amusing kick. Judge # 2 -- Nice, smooth tomato flavor. Very mild. Judge # 3 -- (Frank) What the hell is this stuff?! You could remove dried paint from your driveway. Took me two beers to put out the flames. I hope that's the worst one. These Texans are crazy! Chili # 2 Austin's Afterburner Chili... Judge # 1 -- Smoky, with a hint of pork. Slight jalapeno tang. Judge # 2 -- Exciting BBQ flavor; needs more peppers to be taken seriously. Judge # 3 -- Keep this out of the reach of children. I'm not sure what I'm supposed to taste besides pain. I had to wave off two people who wanted to give me the Heimlich maneuver. They had to rush in more beer when they saw the look on my face. Chili # 3 Ronny's Famous Burn Down the Barn Chili... Judge # 1 -- Excellent firehouse chili. Great kick. Needs more beans. Judge # 2 -- A beanless chili, a bit salty, good use of peppers. Judge # 3 -- Call the EPA. I've located a uranium spill. My nose feels like I have been snorting Drano. Everyone knows the routine by now. Get me more beer before I ignite. Barmaid pounded me on the back, now my backbone is in the front part of my chest. I'm getting pie-eyed from all of the beer... Chili # 4 Dave's Black Magic... Judge # 1 -- Black bean chili with almost no spice. Disappointing. Judge # 2 -- Hint of lime in the black beans. Good side dish for fish, or other mild foods; not much of a chili. Judge # 3 -- I felt something scraping across my tongue, but was unable to taste it. Is it possible to burn out taste buds? Sally, the barmaid, was standing behind me with fresh refills. That 300-lb. woman is starting to look HOT...just like this nuclear waste I'm eating! Is chili an aphrodisiac? Chili # 5 Lisa's Legal Lip Remover... Judge # 1 -- Meaty, strong chili. Cayenne peppers freshly ground, adding considerable kick. Very impressive. Judge # 2 -- Chili using shredded beef, could use more tomato. Must admit the cayenne peppers make a strong statement. Judge # 3 -- My ears are ringing, sweat is pouring off my forehead, and I can no longer focus my eyes. I farted and four people behind me needed paramedics. The contestant seemed offended when I told her that her chili had given me brain damage. Sally saved my tongue from bleeding by pouring beer directly on it from the pitcher. I wonder if I'm burning my lips off. It really pisses me off that the other judges asked me to stop screaming. Screw those rednecks. Chili # 6 Pam's Very Vegetarian Variety... Judge # 1 -- Thin, yet bold vegetarian variety chili. Good balance of spices and peppers. Judge # 2 -- The best yet. Aggressive use of peppers, onions, and garlic. Superb. Judge # 3 -- My intestines are now a straight pipe filled with gaseous, sulphuric flames. I pooped on myself when I farted and I'm worried it will eat through the chair! No one seems inclined to stand behind me anymore. I need to wipe my butt with a snow cone. Chili # 7 Carla's Screaming Sensation Chili... Judge # 1 -- A mediocre chili with too much reliance on canned peppers. Judge # 2 -- Ho-hum; tastes as if the chef literally threw in a can of chili peppers at the last moment. **I should take note that I am worried about Judge # 3. He appears to be in a bit of distress, as he is cursing uncontrollably. Judge # 3 -- You could put a grenade in my mouth, pull the pin, and I wouldn't feel a thing. I've lost sight in one eye, and the world sounds like it is made of rushing water. My shirt is covered with chili, which slid unnoticed out of my mouth. My pants are full of lava to match my shirt. At least during the autopsy, they'll know what killed me. I've decided to stop breathing; it's too painful. Screw it; I'm not getting any oxygen anyway. If I need air, I'll just suck it in through the 4-inch hole in my stomach. Chili # 8 Karen's Toenail Curling Chili... Judge # 1 -- The perfect ending, this is a nice blend chili. Not too bold, but spicy enough to declare its existence. Judge # 2 -- This final entry is a good, balanced chili. Neither mild, nor hot. Sorry to see that most of it was lost when Judge # 3 farted, passed out, fell over, and pulled the chili pot down on top of himself. Not sure if he's going to make it. Poor fella, wonder how he'd have reacted to really hot chili *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Fri Oct 7 11:09:18 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 09:09:18 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: I believe Office Developer used to come with a one-year MSDN sub. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 8:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Oct 7 11:09:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 07 Oct 2005 12:09:10 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <20051007155655.HKQX14361.ibm68aec.bellsouth.net@SUSANONE> Message-ID: <002801c5cb59$739d8c80$6c7aa8c0@ColbyM6805> Especially when the "extra" is an MSDN subscription to the tune of thousands of dollars. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 11:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 7 11:14:34 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 09:14:34 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: The annual subscription to just the documentation MSDN is more like $300. It's the universal subscription that is in the thousands. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 07, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Especially when the "extra" is an MSDN subscription to the tune of thousands of dollars. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 11:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 7 11:15:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 07 Oct 2005 18:15:02 +0200 Subject: [AccessD] OT: Friday Humor Texas Chili Message-ID: Hi Jim Wonderful! I love the titles of those chili recipes ... /gustav >>> Jim.Hale at FleetPride.com 07-10-2005 18:00 >>> A Texas Chili Contest From jwcolby at ColbyConsulting.com Fri Oct 7 11:25:17 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 07 Oct 2005 12:25:17 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: Message-ID: <002901c5cb5b$b440b850$6c7aa8c0@ColbyM6805> None the less... $300 is a bit much to get the manual. Why isn't it just a free download? I purchased the 2001 Visual Studio and the manuals were included. The 2003 version they aren't. This does NOT endear them to their customers. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 07, 2005 12:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Help for Visual Studio The annual subscription to just the documentation MSDN is more like $300. It's the universal subscription that is in the thousands. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 07, 2005 9:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Especially when the "extra" is an MSDN subscription to the tune of thousands of dollars. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 11:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Oct 7 11:28:06 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 07 Oct 2005 09:28:06 -0700 Subject: [AccessD] OT Open source PBX software In-Reply-To: <005901c5cb24$6f491990$6401a8c0@fincomplex.spb.ru> Message-ID: <019201c5cb5c$1994a950$017ba8c0@xpserver> OT Friday Listening to a pod cast on this product seems very interesting especially to small entrepreneurs like many of the list members. See http://www.asterisk.org/ If you are interested further you could download the mp3 pod cast file from here: http://reference.creativesystemdesigns.com/Downloads/yigal/PBXOpenSource.mp3 Jim From john at winhaven.net Fri Oct 7 11:33:07 2005 From: john at winhaven.net (John Bartow) Date: Fri, 7 Oct 2005 11:33:07 -0500 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <002801c5cb59$739d8c80$6c7aa8c0@ColbyM6805> Message-ID: <007401c5cb5c$cc5995a0$6801a8c0@ScuzzPaq> And get this, I had to choose how to upgrade my "Universal" subscription to a "premium" account in order that they might decide what parts of Visual Studio 2005 I get. I no longer get everything with a "Universal" subscription. If I had a premium subsciption I would. How can you constantly screw with the titles of products and expect not to irritate people? How is "Premium" a more inclusive term than "Universal". MS Marketing at its worst. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 07, 2005 11:09 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Especially when the "extra" is an MSDN subscription to the tune of thousands of dollars. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 11:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio Maybe it was a one-time thing -- and it was a few years ago -- but I got a one-year sub with purchase. I just don't remember what I bought. :) I don't think making you pay extra for the "manual" is a real good pr move. :( Susan H. I didn't. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 7 11:38:49 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 7 Oct 2005 11:38:49 -0500 Subject: [AccessD] Setting objects to nothing Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67723378E7@corp-es01.fleetpride.com> Lambert, Thank you for your input. I agree with your thought about y but I checked it and it returns the expected value. I am going to test this idea further but I am about to conclude that dimmed but unused objects can prevent excel from properly closing. Regarding saving workbooks, generally I open a template and add data using a function. If the operation was successful the function returns true and I save the newly created workbook. If false I discard the workbook and send a message that the workbook was not created. All this has worked well for years. I agree with your comments about the goto statement. This is one of those lines of code that worked and I have never bothered to improve. I will need an exorcist to remove it from all the places I have copied it over time but I will eventually have it cleaned up. I wish this was the only case of code that should be rewritten as I've learned better ways to do things! Regards, Jim Hale -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Wednesday, October 05, 2005 4:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Setting objects to nothing Re your comment about 14 and y: this strongly suggests that y is not being set to the correct value in the first place (or is being altered later on). In any case, where the number of elements in an array is (potentially) in doubt I always use.. For x = lBound(SomeArrayName) to uBound(SomeArrayName) ... The next thing that confuses me (very easy to do!) is... If blState = True Then .ActiveWorkbook.SaveAs FileName:=strFileSave .ActiveWorkbook.Close SaveChanges:=False End With I'm not sure why you are trying to save the workbook to some specific file name, but I assume that your code has changed the excel file that was opened and you want to then save it to a *new* file with a different path/name. If not, then why does the next line close the workbook without saving the changes? Now these routines do not allow you to open one file and save it under a different name, but then I would instead copy the file to a new name first, open the copy and change it any way I want, and then close the copy, saving the changes. One other comment, you have... If blState = False Then GoTo Err_Load_Financials The only time I ever need to use Goto is in setting up an error handler, because that's the only way you can do it in VB/VBA. Otherwise I've never needed to code anything using Goto. Plus, in your code it looks like the Goto target really is an error handler, which means that if blState IS false and your code jumps there, you will get another error when the Resume line executes, because you did not enter the error handler legally (by raising an error). Hope some of this helps. Lambert *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From harkinsss at bellsouth.net Fri Oct 7 11:48:59 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Fri, 7 Oct 2005 12:48:59 -0400 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: Message-ID: <20051007164910.PNUF463.ibm61aec.bellsouth.net@SUSANONE> I just find it outrageous that they charge for it at all -- why should we pay for the instructions? Susan H. The annual subscription to just the documentation MSDN is more like $300. It's the universal subscription that is in the thousands. From accessd at shaw.ca Fri Oct 7 12:01:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 07 Oct 2005 10:01:34 -0700 Subject: [AccessD] (no subject) In-Reply-To: Message-ID: <019301c5cb60$c5be5010$017ba8c0@xpserver> The whole issue of many of these viruses and Trojans is that they use a very common issue with many programs written in C and C++. The process used to get control of the resident computer, is to use a simple script, to first push an address on to the stack, which points back to the hacker's program and then flood the character buffer of some poorly written application. The application crashes and Windows recovers by returning through the stack... which points back to the hackers' code. Both C and C++ have very simple languages. If you create a string variable of a length of 50 characters, unlike other languages, if you attempt to push a string of 65 characters into that string variable, it will accept it. What happens to the other 15 characters?... well they write off into the string buffer over-writing the end of string Null character and who knows what else. (Anyone remembers Fortran common blocks?) It is up to the C programmer to assure that this can not happen by writing the appropriate code to check string lengths and number sizes, in their application. In most cases, hackers are not working around holes left in applications but are just taking advantage of poorly written code. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, October 07, 2005 7:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] (no subject) I may be over simplifying this...but the wording of the following snip caught my attention: "The Hesive Trojan can be disguised as a Microsoft Access file. Once opened in Access, infected .mdb files take advantage of a five-month old buffer overflow flaw in Microsoft's Jet Database Engine software to seize control of vulnerable machines. "... Would this actually be a virus 'disguised'...or is it just a database written to be a virus. The article states that the virus takes advantages of the bug...AFTER you open it with access...from what I know about access...you don't need a bug...if you can get someone to open the db...it will run all of your code, good or bad, regardless. I'm not sure what my point was...but something didn't seem entirely clear when I read that article... Any feedback? Thanks, Mark A. Matte From Gustav at cactus.dk Fri Oct 7 12:03:50 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 07 Oct 2005 19:03:50 +0200 Subject: [AccessD] OT Open source PBX software Message-ID: Hi Jim et all It certainly is interesting. Asterisk can do just about everything you can imagine a PBX could/should do and for a large amount of extensions (1000+). We sell the system here (actually the setup and support for it) including these important tools which you shouldn't miss: http://ipswitchboard.thorben.dk/ Note that the free version of IPManager is limited to 5 extensions. /gustav >>> accessd at shaw.ca 07-10-2005 18:28 >>> OT Friday Listening to a pod cast on this product seems very interesting especially to small entrepreneurs like many of the list members. See http://www.asterisk.org/ If you are interested further you could download the mp3 pod cast file from here: http://reference.creativesystemdesigns.com/Downloads/yigal/PBXOpenSource.mp3 Jim From accessd at shaw.ca Fri Oct 7 12:13:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 07 Oct 2005 10:13:34 -0700 Subject: [AccessD] OT Open source PBX software In-Reply-To: Message-ID: <019401c5cb62$7361a5e0$017ba8c0@xpserver> Thank you Gustav... I have just started to research the product and plan set up one at my home office. Those tools will definitely make it easier. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 07, 2005 10:04 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT Open source PBX software Hi Jim et all It certainly is interesting. Asterisk can do just about everything you can imagine a PBX could/should do and for a large amount of extensions (1000+). We sell the system here (actually the setup and support for it) including these important tools which you shouldn't miss: http://ipswitchboard.thorben.dk/ Note that the free version of IPManager is limited to 5 extensions. /gustav >>> accessd at shaw.ca 07-10-2005 18:28 >>> OT Friday Listening to a pod cast on this product seems very interesting especially to small entrepreneurs like many of the list members. See http://www.asterisk.org/ If you are interested further you could download the mp3 pod cast file from here: http://reference.creativesystemdesigns.com/Downloads/yigal/PBXOpenSource.mp3 Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 7 12:16:16 2005 From: john at winhaven.net (John Bartow) Date: Fri, 7 Oct 2005 12:16:16 -0500 Subject: [AccessD] OFFLIST (was: My new web site) In-Reply-To: <000501c5c644$920ae330$6c7aa8c0@ColbyM6805> Message-ID: <007d01c5cb62$d7a3d8c0$6801a8c0@ScuzzPaq> Hi John, Are you paying $4.95 a month for this? We've been looking for a new web host for dba's website and this sounds too good to be true! John B. BTW: you need something from MSDN let me know. I pay a fortune for it every year and never use but a 10th of it. ...I wonder if DBA could be a universal subscriber and all of it owners share in it use? From jwcolby at ColbyConsulting.com Fri Oct 7 12:31:22 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 07 Oct 2005 13:31:22 -0400 Subject: [AccessD] OFFLIST (was: My new web site) In-Reply-To: <007d01c5cb62$d7a3d8c0$6801a8c0@ScuzzPaq> Message-ID: <002a01c5cb64$f27b9280$6c7aa8c0@ColbyM6805> John, I am paying for the Microsoft Hosting / ADVANCE plan which is $9.99 / month. The reason I buy that plan is that DotNetNuke REQUIRES MSSQL, in fact it has a couple of dozen tables that hold all the stuff that makes it work, as well as tables that hold the CONTENT that I place in the site. I do think it is a good price, even for the plan I am buying. They give a reasonable disk space, but more importantly they give a reasonable database size. Most of the other plans that I looked at gave a couple of hundred megabytes for the database, even if they gave you a lot of disk space. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 07, 2005 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OFFLIST (was: My new web site) Hi John, Are you paying $4.95 a month for this? We've been looking for a new web host for dba's website and this sounds too good to be true! John B. BTW: you need something from MSDN let me know. I pay a fortune for it every year and never use but a 10th of it. ...I wonder if DBA could be a universal subscriber and all of it owners share in it use? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 7 12:35:14 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 7 Oct 2005 10:35:14 -0700 Subject: [AccessD] OT: Help for Visual Studio Message-ID: Well, if we're guys, we don't read the instructions, so I guess the women absorb the cost ...? Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Friday, October 07, 2005 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Help for Visual Studio I just find it outrageous that they charge for it at all -- why should we pay for the instructions? Susan H. The annual subscription to just the documentation MSDN is more like $300. It's the universal subscription that is in the thousands. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 7 12:37:25 2005 From: john at winhaven.net (John Bartow) Date: Fri, 7 Oct 2005 12:37:25 -0500 Subject: [AccessD] OFFLIST (was: My new web site) In-Reply-To: <007d01c5cb62$d7a3d8c0$6801a8c0@ScuzzPaq> Message-ID: <000001c5cb65$caa762b0$6901a8c0@ScuzzPaq> Doh! Yea, OFFLIST, sure. I've been so good with emailing this week! Hope I don't get a flood of web hosting ads now! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 07, 2005 12:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OFFLIST (was: My new web site) From stuart at lexacorp.com.pg Fri Oct 7 14:11:33 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 08 Oct 2005 05:11:33 +1000 Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <000501c5cb3a$2ab342e0$2e01a8c0@dorismanning> References: <43466920.14874.2A1D52@localhost> Message-ID: <43475505.9424.6B0A541@stuart.lexacorp.com.pg> On 7 Oct 2005 at 8:25, Mike & Doris Manning wrote: > As I told John Colby in a message on the VB List, I dug around in my > software drawer and unearthed two older MDSN Library DVDs from 2003 that I'm > not using. I offered one to him and you would be more than welcome to the > other one. > Thanks for the offer, but I've got one of them. It's the old one with VB6 on that I need. -- Stuart From martyconnelly at shaw.ca Fri Oct 7 14:22:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 07 Oct 2005 12:22:06 -0700 Subject: [AccessD] OT: Help for Visual Studio References: <20051007164910.PNUF463.ibm61aec.bellsouth.net@SUSANONE> Message-ID: <4346CADE.5000905@shaw.ca> They have been doing this for some time The Student Model of VB6 came with no help files and inabilty to create an exe You could run from p-code. It was once free and downloadable, now you can only find the CD in the backs of some VB6 books. Susan Harkins wrote: >I just find it outrageous that they charge for it at all -- why should we >pay for the instructions? > >Susan H. > >The annual subscription to just the documentation MSDN is more like $300. >It's the universal subscription that is in the thousands. > > > > -- Marty Connelly Victoria, B.C. Canada From jim.moss at jlmoss.net Fri Oct 7 16:04:28 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Fri, 7 Oct 2005 16:04:28 -0500 (CDT) Subject: [AccessD] OT: Help for Visual Studio In-Reply-To: <43475505.9424.6B0A541@stuart.lexacorp.com.pg> References: <43466920.14874.2A1D52@localhost> <43475505.9424.6B0A541@stuart.lexacorp.com.pg> Message-ID: <53062.209.136.1.154.1128719068.squirrel@209.136.1.154> Stuart, I had (and probably still have) the MSDN set for VB6 Enterprise at home, I think that there were 2 or 3 cd's and I believe they were from the SP6 timeframe. You are welcome to them if I can find them when and if I ever get home... If I haven't gotten back to you by tomorrow afternoon email me at jim at jlmoss.net as a reminder. Jim > On 7 Oct 2005 at 8:25, Mike & Doris Manning wrote: > >> As I told John Colby in a message on the VB List, I dug around in my >> software drawer and unearthed two older MDSN Library DVDs from 2003 that >> I'm >> not using. I offered one to him and you would be more than welcome to >> the >> other one. >> > > Thanks for the offer, but I've got one of them. It's the old one with VB6 > on that I need. > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Sat Oct 8 06:03:01 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 08 Oct 2005 13:03:01 +0200 Subject: [AccessD] SharePoint Public Services Message-ID: Hi all Anyone having an URL to a SharePoint Server with public access - at which everyone (for fun/test) can attach some tables? /gustav From mwp.reid at qub.ac.uk Sat Oct 8 06:10:50 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Sat, 8 Oct 2005 12:10:50 +0100 Subject: [AccessD] SharePoint Public Services References: Message-ID: <000b01c5cbf8$f1bfbd50$0d02a8c0@MartinReid> dont have the address but the MS Sharepoint site shoudl have a link to a MS hosted test server. Martin ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, October 08, 2005 12:03 PM Subject: [AccessD] SharePoint Public Services > Hi all > > Anyone having an URL to a SharePoint Server with public access - at which > everyone (for fun/test) can attach some tables? > > /gustav > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Sat Oct 8 07:05:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 08 Oct 2005 14:05:12 +0200 Subject: [AccessD] SharePoint Public Services Message-ID: Hi Martin Thanks. So I thought, but no (or it is buried deeply) ... And - browsing many sites - such Sharepoint sites takes _forever_ to load - be warned and think twice before you decide to bring a Sharepoint site to the public. /gustav >>> mwp.reid at qub.ac.uk 08-10-2005 13:10 >>> dont have the address but the MS Sharepoint site shoudl have a link to a MS hosted test server. Martin ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, October 08, 2005 12:03 PM Subject: [AccessD] SharePoint Public Services > Hi all > > Anyone having an URL to a SharePoint Server with public access - at which > everyone (for fun/test) can attach some tables? > > /gustav From martyconnelly at shaw.ca Sat Oct 8 13:28:45 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 08 Oct 2005 11:28:45 -0700 Subject: [AccessD] SharePoint Public Services References: Message-ID: <43480FDD.6010000@shaw.ca> Microsoft Windows SharePoint Services Hosted Trial 30 days https://www.globaltrial.com/global/campaigns/canada_en_ad/default.aspx I don't know if you remember this guy Eli Robillard out of Toronto, he wrote up a series of asp wizards called GenericDB to quickly put up Access and ASP, his method even got an editorial write up in Nature Journal as a quick method of disseminating scientific lab info. But I guess he has moved on to Sharepoint, here is his Sharepoint Resources FAQ. maybe you can find something there. http://weblogs.asp.net/erobillard/articles/SharePointResources.aspx There are several sites I can find that will give you WSS for around $20 a month I used one in Europe while it was still free in Beta, response time were less than a second to load someting like northwind size tables. Gustav Brock wrote: >Hi Martin > >Thanks. So I thought, but no (or it is buried deeply) ... >And - browsing many sites - such Sharepoint sites takes _forever_ to load - be warned and think twice before you decide to bring a Sharepoint site to the public. > >/gustav > > > >>>>mwp.reid at qub.ac.uk 08-10-2005 13:10 >>> >>>> >>>> >dont have the address but the MS Sharepoint site shoudl have a link to a MS >hosted test server. > >Martin > > >----- Original Message ----- >From: "Gustav Brock" >To: >Sent: Saturday, October 08, 2005 12:03 PM >Subject: [AccessD] SharePoint Public Services > > > > >>Hi all >> >>Anyone having an URL to a SharePoint Server with public access - at which >>everyone (for fun/test) can attach some tables? >> >>/gustav >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sat Oct 8 14:11:13 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 08 Oct 2005 21:11:13 +0200 Subject: [AccessD] SharePoint Public Services Message-ID: Hi Marty Thanks, lots of stuff at that site. But again, apparently no mentioning of sites for casual testing. I'm aware of the 30-days offerings around but I would prefer just a table or two I could retrieve from time to time - I have no intention of building a Sharepoint site. To me it looks like a tool for intra- and perhaps extranets only, not public sites - these seems to require massive hardware to run at just decent speed. /gustav >>> martyconnelly at shaw.ca 08-10-2005 20:28 >>> Microsoft Windows SharePoint Services Hosted Trial 30 days https://www.globaltrial.com/global/campaigns/canada_en_ad/default.aspx I don't know if you remember this guy Eli Robillard out of Toronto, he wrote up a series of asp wizards called GenericDB to quickly put up Access and ASP, his method even got an editorial write up in Nature Journal as a quick method of disseminating scientific lab info. But I guess he has moved on to Sharepoint, here is his Sharepoint Resources FAQ. maybe you can find something there. http://weblogs.asp.net/erobillard/articles/SharePointResources.aspx There are several sites I can find that will give you WSS for around $20 a month I used one in Europe while it was still free in Beta, response time were less than a second to load someting like northwind size tables. From jwcolby at ColbyConsulting.com Sat Oct 8 14:42:27 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 08 Oct 2005 15:42:27 -0400 Subject: [AccessD] My Site - Useful Files Message-ID: <000001c5cc40$6d3d8a10$697aa8c0@ColbyM6805> I just got the "Useful Files" section moved to my new site. I found something interesting in the process. ONE of the files is an MDE. When I was testing, that file was "not found", where all the others were. I eventually tried zipping the file and putting that up there, and that file could be downloaded. So something about an MDE (and maybe MDA/MDB?) prevented the file from being found as a downloadable file. Strange. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Sat Oct 8 15:15:28 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 08 Oct 2005 16:15:28 -0400 Subject: [AccessD] Getting Visual Studio 3.0 running a web page Message-ID: <000101c5cc45$09bd0740$697aa8c0@ColbyM6805> I am getting a variety of errors when trying to create a new web page project in VS 2003. I had a bunch of different things installed, including VS 2001, the various 2005 betas and VS 2003, pretty much all at the same time. I uninstalled everything including IIS, purchased Registry Mechanic to clean up the registry, reinstalled IIS and then VS 2003. I am now able to serve a basic web page IF I place my old web site's Index.HTML etc. I see the basics of the old ColbyConsulting.com. So IIS appears to run. What I am getting ATM is a server error 500 when I try to build a new project. From everything I am reading is a general "it doesn't fit in any of my other errors" error. I have spent probably the last 8 hours messing around, then uninstalling, then re-installing, and still no closer to success. My machine boots noticeably faster though. ;-) So, can anyone help me get VS 2003 building and running an ASP.Net web project? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From artful at rogers.com Sat Oct 8 18:01:14 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 8 Oct 2005 19:01:14 -0400 Subject: [AccessD] LINQ In-Reply-To: Message-ID: <200510082301.j98N1BT08351@databaseadvisors.com> Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. The late Dr. Codd fought long and mightily to eradicate the distinctions lying between the implementations from various vendors. MS is not the only rapist in the park, as it were. Oracle was first. I do NOT like this direction. First and foremost, it moves application logic into the app or middle tier rather than the database itself. I HATE this direction! IMO all logic that CAN reside in the db SHOULD reside there, and nowhere else. To the extent that LINQ encourages logic in the front end, I think that it is a serious design mistake. I distinguish this objection from an object to extending T-SQL (PL-SQL, etc.) with new languages and constructs. But I want them all to work with all SQL implementations. Otherwise the genius of Dr. Codd will be buried along with him. How sad. SQL should IMO work just like the web: adhere to the spec, and flag your differences in BOLD type so that the user-developers will realize that to the extent they use your extensions, they violate the protocol. Personally, I have bought into various Oracle and MS extensions and paid the price for it every time. All this marketing strategy reminds me of a crack dealer saying The first hit is free. I hate this direction. I want vendor-language transparency -- everything I write in MS is guaranteed portable to Oracle, Postgres, MySQL, ANTs, etc. ... In all directions. I realize that the self-serving vendors have chosen to capture their customers, but I hate it. In my ideal world, I specialize in SQL not in MS-SQL or Oracle or any other flavour you wish. I want every line of code to work in every implementation, and to the extent that the implementation fails, then I do not want to use that product. I want the vendors to propose language extensions and upon agreement by the other vendors, every vendor can then implement the extensions. The late Dr. Codd is most often thought of as having invented relational databases. Historically, he had no part in the creation of the SQL query language. In fact, he had lots of objections to it (c.f. The Relational Model for Database Management, Version Two, ISBN 0-201-14192-2; Chapter 23, Serious Flaws in SQL) I have examined the objections of Dr. Codd in detail and I am convinced that he is correct. His disciple Michael Stonebreaker produced a superior query language, but as in the case of betamax v. vhs, it does not really matter whether you are correct. It may be that the application logic moves to the front end thanks to LINQ. I hope that this does not happen. I am fine with various languages moving into the back end and replacing or augmenting T-SQL, but only if they are portable to other SQL implementations. I have been down this road before, and I now name it VENDOR-ENTRAPMENT. I hate it. I have instead a vision much like the SQL spec in which all vendors agree to comply with said spec, and any cool extensions they wish to introduce should be subject to the scrutiny of all other vendors. Given the db players in the market, any my particular fragment of said market, MS-SQL is the best answer. But I do NOT want to trap myself or my clients into this solution! Everything could change next month or year. I want a migration from product X to product Y to be painless. To the extent that the db vendors stifle me in this, I understand their commercial motives but I hate them nonetheless. Codd was about universality and transparency. Please, let us try to remember that. So what does this mean in real terms... Vendor X cannot introduce extension Y without first proposing it to the committee, and having it accepted. (Example: the pivot extensions in SQL 2005.) Unless and until all the other major vendors accept this new extension and its syntax, it shall not be considered part of the SQL spec. Back to LINQ... to the extent that the application logic moves to the front end, regardless of the language, I get very nervous. This is NOT the direction in which I wish to travel. My vision is opposite: all front-end developers use the same set of back-end sprocs and views and UDFs, regardless of their chosen UI. In this scenario, I make one code correction in a sproc and all possible front-ends inherit it automatically. Why on earth would we choose to do it any other way... I do not get it. This seems soooo obvious to me. Perhaps I am missing something. I imagine 5 front-ends to my database -- Access, .NET, Excel, ASP and Delphi -- and I do NOT want each programmer of each of these to re-think and re-write the logic! Instead I want them to comprehend the sprocs, pass the params required and test the result, then act accordingly. EVERYTHING THE BE CAN DO THE BE SHOULD DO. The front-ends should interrogate and that is all they should do. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: October 7, 2005 9:39 AM To: accessd at databaseadvisors.com Subject: [AccessD] LINQ Hi all This is hot: http://msdn.microsoft.com/netframework/future/linq/ Note the link to sample code. /gustav From jwcolby at ColbyConsulting.com Sat Oct 8 19:22:11 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 08 Oct 2005 20:22:11 -0400 Subject: [AccessD] LINQ In-Reply-To: <200510082301.j98N1BT08351@databaseadvisors.com> Message-ID: <000201c5cc67$7dcaaee0$697aa8c0@ColbyM6805> Arthur, SQL and the database engine is about providing data to an application, it is NOT about BEING the application. As soon as you discuss building an application then all kinds of considerations take over, things having nothing to do with the data. Screen resolution, input devices, local storage of various things, platform architecture kind of stuff. All of these things are done in languages VERY platform specific. Perhaps not the best way but there are good reasons for doing so, from application speed to development speed. Applications are bigger than the data. I have a call center application where data is automatically validated at the control level as it is entered. As 5 check boxes are checked and unchecked, business rules take over and cause other check boxes to be checked and unchecked. This data has never even been sent to storage yet, it is just out in the form so far. Where data causes program execution branches, displaying or not displaying entire tabs on forms, or allowing / preventing specific forms from being seen. Where user rights dictate whether specific controls can be used, whether specific fields can be seen and used for data entry. Where data is exported to word documents and excel spreadsheets, stored out in directories for archive purposes, attached to emails and sent, where documents received as attachments are stripped off of the emails, placed in directories, and then data is extracted from the documents and appended into the database. Data is pulled out and faxed automatically, inserted into emails and emailed automatically etc. The data is about claims, but the APPLICATION is about customer service, handling a claim in the most expeditious manner in order to ensure that payment is prompt. The data collected is by and large just a byproduct of the processes occurring to validate a claim. I absolutely believe that "what the database engine can do, it should do". However what the database engine can do is a TINY part of what the application does. In order to develop powerful data-driven APPLICATIONS I need powerful data manipulation tools integrated right into my language. THAT is what .NET is trying to attempt. My APPLICATION will NEVER just port to a different ENVIRONMENT. To make the data store transparent is definitely a good thing, I agree whole heartedly. But don't cut me off at the knees getting at the data. If I have to use a specific data store (as long as it is a powerful one) I simply couldn't care less. It would definitely be better if the interface between the language and the data store could swap out data stores, that would be a nice thing, but certainly not critical. AFAICT .Net can indeed "talk to" other data stores than Access and SQL Server. You wax poetic about the BE / data store / database engine / SQL Language but it is just a critical but tiny part of the bigger picture. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, October 08, 2005 7:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] LINQ Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. The late Dr. Codd fought long and mightily to eradicate the distinctions lying between the implementations from various vendors. MS is not the only rapist in the park, as it were. Oracle was first. I do NOT like this direction. First and foremost, it moves application logic into the app or middle tier rather than the database itself. I HATE this direction! IMO all logic that CAN reside in the db SHOULD reside there, and nowhere else. To the extent that LINQ encourages logic in the front end, I think that it is a serious design mistake. I distinguish this objection from an object to extending T-SQL (PL-SQL, etc.) with new languages and constructs. But I want them all to work with all SQL implementations. Otherwise the genius of Dr. Codd will be buried along with him. How sad. SQL should IMO work just like the web: adhere to the spec, and flag your differences in BOLD type so that the user-developers will realize that to the extent they use your extensions, they violate the protocol. Personally, I have bought into various Oracle and MS extensions and paid the price for it every time. All this marketing strategy reminds me of a crack dealer saying The first hit is free. I hate this direction. I want vendor-language transparency -- everything I write in MS is guaranteed portable to Oracle, Postgres, MySQL, ANTs, etc. ... In all directions. I realize that the self-serving vendors have chosen to capture their customers, but I hate it. In my ideal world, I specialize in SQL not in MS-SQL or Oracle or any other flavour you wish. I want every line of code to work in every implementation, and to the extent that the implementation fails, then I do not want to use that product. I want the vendors to propose language extensions and upon agreement by the other vendors, every vendor can then implement the extensions. The late Dr. Codd is most often thought of as having invented relational databases. Historically, he had no part in the creation of the SQL query language. In fact, he had lots of objections to it (c.f. The Relational Model for Database Management, Version Two, ISBN 0-201-14192-2; Chapter 23, Serious Flaws in SQL) I have examined the objections of Dr. Codd in detail and I am convinced that he is correct. His disciple Michael Stonebreaker produced a superior query language, but as in the case of betamax v. vhs, it does not really matter whether you are correct. It may be that the application logic moves to the front end thanks to LINQ. I hope that this does not happen. I am fine with various languages moving into the back end and replacing or augmenting T-SQL, but only if they are portable to other SQL implementations. I have been down this road before, and I now name it VENDOR-ENTRAPMENT. I hate it. I have instead a vision much like the SQL spec in which all vendors agree to comply with said spec, and any cool extensions they wish to introduce should be subject to the scrutiny of all other vendors. Given the db players in the market, any my particular fragment of said market, MS-SQL is the best answer. But I do NOT want to trap myself or my clients into this solution! Everything could change next month or year. I want a migration from product X to product Y to be painless. To the extent that the db vendors stifle me in this, I understand their commercial motives but I hate them nonetheless. Codd was about universality and transparency. Please, let us try to remember that. So what does this mean in real terms... Vendor X cannot introduce extension Y without first proposing it to the committee, and having it accepted. (Example: the pivot extensions in SQL 2005.) Unless and until all the other major vendors accept this new extension and its syntax, it shall not be considered part of the SQL spec. Back to LINQ... to the extent that the application logic moves to the front end, regardless of the language, I get very nervous. This is NOT the direction in which I wish to travel. My vision is opposite: all front-end developers use the same set of back-end sprocs and views and UDFs, regardless of their chosen UI. In this scenario, I make one code correction in a sproc and all possible front-ends inherit it automatically. Why on earth would we choose to do it any other way... I do not get it. This seems soooo obvious to me. Perhaps I am missing something. I imagine 5 front-ends to my database -- Access, .NET, Excel, ASP and Delphi -- and I do NOT want each programmer of each of these to re-think and re-write the logic! Instead I want them to comprehend the sprocs, pass the params required and test the result, then act accordingly. EVERYTHING THE BE CAN DO THE BE SHOULD DO. The front-ends should interrogate and that is all they should do. A. From accessd at shaw.ca Sat Oct 8 21:03:53 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 08 Oct 2005 19:03:53 -0700 Subject: [AccessD] Getting Visual Studio 3.0 running a web page In-Reply-To: <000101c5cc45$09bd0740$697aa8c0@ColbyM6805> Message-ID: <021101c5cc75$b2ebe090$017ba8c0@xpserver> Hi John: Error 500 from IIS means you do not have rights to access a specific directory. Check your permissions HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 08, 2005 1:15 PM To: 'Access Developers discussion and problem solving'; dba-vb at databaseadvisors.com; Tech - Database Advisors Inc. Subject: [AccessD] Getting Visual Studio 3.0 running a web page I am getting a variety of errors when trying to create a new web page project in VS 2003. I had a bunch of different things installed, including VS 2001, the various 2005 betas and VS 2003, pretty much all at the same time. I uninstalled everything including IIS, purchased Registry Mechanic to clean up the registry, reinstalled IIS and then VS 2003. I am now able to serve a basic web page IF I place my old web site's Index.HTML etc. I see the basics of the old ColbyConsulting.com. So IIS appears to run. What I am getting ATM is a server error 500 when I try to build a new project. From everything I am reading is a general "it doesn't fit in any of my other errors" error. I have spent probably the last 8 hours messing around, then uninstalling, then re-installing, and still no closer to success. My machine boots noticeably faster though. ;-) So, can anyone help me get VS 2003 building and running an ASP.Net web project? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sat Oct 8 23:02:29 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 08 Oct 2005 21:02:29 -0700 Subject: [AccessD] LINQ In-Reply-To: <000201c5cc67$7dcaaee0$697aa8c0@ColbyM6805> Message-ID: <021201c5cc86$44a3b2f0$017ba8c0@xpserver> Hi Guys: IMHO there is a moving away from database centric applications. Dot Net and associated ADO.Net with it's Datasets are an attempt by MS to move an application away from reliance on the server for processing pages and pointing the BE DB to what it should be doing... managing data. Dot Net is an attempt to make applications more distributive. In a properly written program it should call back to the server when it needs to select, add, modify or delete (a) record(s) and between then it should run as if it is a stand-alone application. (There is of course a startup 'load' process but after that...) I am currently investigating 'Cache', an alternative database and have been delightfully entertaining with it very interesting concepts. If you can imagine a field handled like a Class, with all the properties, methods, events with overloading, encapsulation, aggregation, custom data types, etc etc. After a number of classes are constructed they can be inherited by another super class and so on. All the standards and relationships surrounding a proper class structure can be implemented. The process is very intuitive for those understanding the fundamentals of OOP. When all is completed the system can generate a SQL schema with all the constraints, rules, SP, UDF, structures, tables and databases. This is not to be fooled that this is just a code generator as the schema displayed is just to give the old SQL designers the warm and fuzzies. It generates a full XML schema just as easily. The database structure can scale virtually to infinity and how that would be represented I can not imagine. Under the hood is an ultimate highly optimized relational hierarchy. Access to any data is fast regardless of which ghost 'database', 'table' or 'field; it resides in. The whole structure distributes itself from servers to clients with little effort on behalf of the database designer. For remote systems there is not the issues around 'publishing', 'subscribing' and 'synchronizing' as in MS SQL and Oracle. So far I am very impressed. The next step is to see how it handles a few million pieces of data and then the last aspect is how it responds under load. Do not get me wrong; I am not embracing Cache over MS SQL or Oracle, as I know them well as do my clients. It is that this technology has proven itself stellar in implementation and if it performs as well with volume and under load I will have no legitimate reasons to not recommend it. Does this Cache database follow Codd's rules... I can not say. The internal implementation is hidden and I have not the knowledge to go digging. Jim PS If you are interested in a fully function, single user, free Cache database check out: http://www.intersystems.com/cache/index.html and http://www.intersystems.com/cache/downloads/index.html. The download comes with a full set of step by step tutorials; it runs on any Linux, Mac OSX or Windows distribution from 98 up. It takes up little room (38xK), requires little memory (128Mb+), can still function on slow machines (400Mhz) and is simple-stupid to install. Compare that to Oracle 10i. Arthur, SQL and the database engine is about providing data to an application, it is NOT about BEING the application. As soon as you discuss building an application then all kinds of considerations take over, things having nothing to do with the data. Screen resolution, input devices, local storage of various things, platform architecture kind of stuff. All of these things are done in languages VERY platform specific. Perhaps not the best way but there are good reasons for doing so, from application speed to development speed. Applications are bigger than the data. I have a call center application where data is automatically validated at the control level as it is entered. As 5 check boxes are checked and unchecked, business rules take over and cause other check boxes to be checked and unchecked. This data has never even been sent to storage yet, it is just out in the form so far. Where data causes program execution branches, displaying or not displaying entire tabs on forms, or allowing / preventing specific forms from being seen. Where user rights dictate whether specific controls can be used, whether specific fields can be seen and used for data entry. Where data is exported to word documents and excel spreadsheets, stored out in directories for archive purposes, attached to emails and sent, where documents received as attachments are stripped off of the emails, placed in directories, and then data is extracted from the documents and appended into the database. Data is pulled out and faxed automatically, inserted into emails and emailed automatically etc. The data is about claims, but the APPLICATION is about customer service, handling a claim in the most expeditious manner in order to ensure that payment is prompt. The data collected is by and large just a byproduct of the processes occurring to validate a claim. I absolutely believe that "what the database engine can do, it should do". However what the database engine can do is a TINY part of what the application does. In order to develop powerful data-driven APPLICATIONS I need powerful data manipulation tools integrated right into my language. THAT is what .NET is trying to attempt. My APPLICATION will NEVER just port to a different ENVIRONMENT. To make the data store transparent is definitely a good thing, I agree whole heartedly. But don't cut me off at the knees getting at the data. If I have to use a specific data store (as long as it is a powerful one) I simply couldn't care less. It would definitely be better if the interface between the language and the data store could swap out data stores, that would be a nice thing, but certainly not critical. AFAICT .Net can indeed "talk to" other data stores than Access and SQL Server. You wax poetic about the BE / data store / database engine / SQL Language but it is just a critical but tiny part of the bigger picture. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. The late Dr. Codd fought long and mightily to eradicate the distinctions lying between the implementations from various vendors. MS is not the only rapist in the park, as it were. Oracle was first. I do NOT like this direction. First and foremost, it moves application logic into the app or middle tier rather than the database itself. I HATE this direction! IMO all logic that CAN reside in the db SHOULD reside there, and nowhere else. To the extent that LINQ encourages logic in the front end, I think that it is a serious design mistake. I distinguish this objection from an object to extending T-SQL (PL-SQL, etc.) with new languages and constructs. But I want them all to work with all SQL implementations. Otherwise the genius of Dr. Codd will be buried along with him. How sad. SQL should IMO work just like the web: adhere to the spec, and flag your differences in BOLD type so that the user-developers will realize that to the extent they use your extensions, they violate the protocol. Personally, I have bought into various Oracle and MS extensions and paid the price for it every time. All this marketing strategy reminds me of a crack dealer saying The first hit is free. I hate this direction. I want vendor-language transparency -- everything I write in MS is guaranteed portable to Oracle, Postgres, MySQL, ANTs, etc. ... In all directions. I realize that the self-serving vendors have chosen to capture their customers, but I hate it. In my ideal world, I specialize in SQL not in MS-SQL or Oracle or any other flavour you wish. I want every line of code to work in every implementation, and to the extent that the implementation fails, then I do not want to use that product. I want the vendors to propose language extensions and upon agreement by the other vendors, every vendor can then implement the extensions. The late Dr. Codd is most often thought of as having invented relational databases. Historically, he had no part in the creation of the SQL query language. In fact, he had lots of objections to it (c.f. The Relational Model for Database Management, Version Two, ISBN 0-201-14192-2; Chapter 23, Serious Flaws in SQL) I have examined the objections of Dr. Codd in detail and I am convinced that he is correct. His disciple Michael Stonebreaker produced a superior query language, but as in the case of betamax v. vhs, it does not really matter whether you are correct. It may be that the application logic moves to the front end thanks to LINQ. I hope that this does not happen. I am fine with various languages moving into the back end and replacing or augmenting T-SQL, but only if they are portable to other SQL implementations. I have been down this road before, and I now name it VENDOR-ENTRAPMENT. I hate it. I have instead a vision much like the SQL spec in which all vendors agree to comply with said spec, and any cool extensions they wish to introduce should be subject to the scrutiny of all other vendors. Given the db players in the market, any my particular fragment of said market, MS-SQL is the best answer. But I do NOT want to trap myself or my clients into this solution! Everything could change next month or year. I want a migration from product X to product Y to be painless. To the extent that the db vendors stifle me in this, I understand their commercial motives but I hate them nonetheless. Codd was about universality and transparency. Please, let us try to remember that. So what does this mean in real terms... Vendor X cannot introduce extension Y without first proposing it to the committee, and having it accepted. (Example: the pivot extensions in SQL 2005.) Unless and until all the other major vendors accept this new extension and its syntax, it shall not be considered part of the SQL spec. Back to LINQ... to the extent that the application logic moves to the front end, regardless of the language, I get very nervous. This is NOT the direction in which I wish to travel. My vision is opposite: all front-end developers use the same set of back-end sprocs and views and UDFs, regardless of their chosen UI. In this scenario, I make one code correction in a sproc and all possible front-ends inherit it automatically. Why on earth would we choose to do it any other way... I do not get it. This seems soooo obvious to me. Perhaps I am missing something. I imagine 5 front-ends to my database -- Access, .NET, Excel, ASP and Delphi -- and I do NOT want each programmer of each of these to re-think and re-write the logic! Instead I want them to comprehend the sprocs, pass the params required and test the result, then act accordingly. EVERYTHING THE BE CAN DO THE BE SHOULD DO. The front-ends should interrogate and that is all they should do. A. From Gustav at cactus.dk Sun Oct 9 05:42:14 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 09 Oct 2005 12:42:14 +0200 Subject: [AccessD] LINQ Message-ID: Hi Arthur As I understand it, LINQ is rather an attempt to create a database vendor independent query class in dot net, thus this should be within the thoughts of Dr. Codd as you reference these (I haven't read his books). You may argue that, if so, you are still trapped, now in dot net, and that may be true but only until the Mono project (dot net for Linux) catches up on this. Neither do I like to be trapped with MS-SQL. That's why I never have made an ADP (except for fun) and never will. As to the business logic, I think it should be kept in the front end for the simple reason that it is much easier to maintain a frontend than a database engine, the only exception being if performance seriously calls for it. If having the business logic in the frontend for some reason is not practical - say, when using several different frontends - business logic could be moved to a middle-tier. The only logic I prefer to place in the database itself is low level routines like validation and other rules that will "never" change. Never is a dangerous word, but a field for a month value will never be smaller than 1 or larger than 12 and a year value will not be larger than 9999. When I listen to MS at the developer meetings it is perfectly clear that while examples etc. are, of course, shown with their own engine, MS is fully aware that "out there" many Oracle and DB2 installations exist and dot net must serve these as well. /gustav >>> artful at rogers.com 09-10-2005 01:01:14 >>> Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. From artful at rogers.com Sun Oct 9 09:31:00 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 9 Oct 2005 10:31:00 -0400 Subject: [AccessD] LINQ In-Reply-To: Message-ID: <200510091431.j99EV0T29778@databaseadvisors.com> I see that you are into writing short-term applications LOL. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: October 9, 2005 6:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ ... a year value will not be larger than 9999. From bchacc at san.rr.com Sun Oct 9 10:07:13 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 9 Oct 2005 08:07:13 -0700 Subject: [AccessD] OT: Firewall Message-ID: <003d01c5cce3$2156b420$6501a8c0@HAL9004> I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky From Gustav at cactus.dk Sun Oct 9 11:05:51 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 09 Oct 2005 18:05:51 +0200 Subject: [AccessD] LINQ Message-ID: Hi Arthur Certainly! Well, the rationale is that more than four digits is most likely a typing error. /gustav >>> artful at rogers.com 09-10-2005 16:31:00 >>> I see that you are into writing short-term applications LOL. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: October 9, 2005 6:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ ... a year value will not be larger than 9999. From dwaters at usinternet.com Sun Oct 9 11:47:28 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 9 Oct 2005 11:47:28 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <30046922.1128870813812.JavaMail.root@sniper17> Message-ID: <000001c5ccf1$229e46f0$0200a8c0@danwaters> Rocky, I've used Computer Associates EZ Armor (virus + firewall) for about three years. Very transparent, no technical problems, and apparently effective because my weekly sweeps for viruses and spyware result in no or only low-threat findings. Can't compare to others since I haven't used them. BOL (Best of Luck)! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, October 09, 2005 10:07 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Firewall I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 9 11:55:45 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 9 Oct 2005 11:55:45 -0500 Subject: [AccessD] Easy Screenshots Message-ID: <000101c5ccf2$4b0a8620$0200a8c0@danwaters> I've been developing Word manuals for my database, and have discovered that if I open a form using the acDialog value in the WindowMode argument, I can then push keys Alt+Print Scrn to get a copy of just that form. Paste into Word (or something else) and then I can adjust size and other properties because in Word it's just a picture. Perhaps everyone knows this, but maybe not . . . ! Dan Waters From Gustav at cactus.dk Sun Oct 9 12:13:12 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 09 Oct 2005 19:13:12 +0200 Subject: [AccessD] OT: Internet Archive Message-ID: Hi all Are you aware of this amazing project: http://web.archive.org The name says it all. For example: http://web.archive.org/web/20010402051847/http://www.databaseadvisors.com/ http://web.archive.org/web/20000619213525/http://www.colbyconsulting.com/ /gustav From bchacc at san.rr.com Sun Oct 9 12:34:32 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 9 Oct 2005 10:34:32 -0700 Subject: [AccessD] Easy Screenshots References: <000101c5ccf2$4b0a8620$0200a8c0@danwaters> Message-ID: <004c01c5ccf7$b6090500$6501a8c0@HAL9004> Dan: Had to do this for a couple of product manuals. Harder was to capture a report in a format which could be pasted into word. I found a product called Print To Picture which creates a separate jpg of each page of a report which can then be inserted into a word doc. Comes in an exe and installs like a printer and shows up on your installed printers list when you Ctrl-P> I can send it to you off line if you want it. Regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Dan Waters" To: "AccessD" Sent: Sunday, October 09, 2005 9:55 AM Subject: [AccessD] Easy Screenshots > I've been developing Word manuals for my database, and have discovered > that > if I open a form using the acDialog value in the WindowMode argument, I > can > then push keys Alt+Print Scrn to get a copy of just that form. Paste into > Word (or something else) and then I can adjust size and other properties > because in Word it's just a picture. > > Perhaps everyone knows this, but maybe not . . . ! > > Dan Waters > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dmcafee at pacbell.net Sun Oct 9 12:50:45 2005 From: dmcafee at pacbell.net (David McAfee) Date: Sun, 9 Oct 2005 10:50:45 -0700 Subject: [AccessD] LINQ In-Reply-To: Message-ID: Uh oh, watch out for Y10K :) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Sunday, October 09, 2005 9:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ Hi Arthur Certainly! Well, the rationale is that more than four digits is most likely a typing error. /gustav >>> artful at rogers.com 09-10-2005 16:31:00 >>> I see that you are into writing short-term applications LOL. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: October 9, 2005 6:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ ... a year value will not be larger than 9999. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Oct 9 13:26:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 09 Oct 2005 11:26:20 -0700 Subject: [AccessD] LINQ In-Reply-To: Message-ID: <022a01c5ccfe$f2741320$017ba8c0@xpserver> Well said Gustav. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, October 09, 2005 3:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] LINQ Hi Arthur As I understand it, LINQ is rather an attempt to create a database vendor independent query class in dot net, thus this should be within the thoughts of Dr. Codd as you reference these (I haven't read his books). You may argue that, if so, you are still trapped, now in dot net, and that may be true but only until the Mono project (dot net for Linux) catches up on this. Neither do I like to be trapped with MS-SQL. That's why I never have made an ADP (except for fun) and never will. As to the business logic, I think it should be kept in the front end for the simple reason that it is much easier to maintain a frontend than a database engine, the only exception being if performance seriously calls for it. If having the business logic in the frontend for some reason is not practical - say, when using several different frontends - business logic could be moved to a middle-tier. The only logic I prefer to place in the database itself is low level routines like validation and other rules that will "never" change. Never is a dangerous word, but a field for a month value will never be smaller than 1 or larger than 12 and a year value will not be larger than 9999. When I listen to MS at the developer meetings it is perfectly clear that while examples etc. are, of course, shown with their own engine, MS is fully aware that "out there" many Oracle and DB2 installations exist and dot net must serve these as well. /gustav >>> artful at rogers.com 09-10-2005 01:01:14 >>> Call me an old-timer if you wish, but I do think this is NOT hot, but rather an extension that attempts to trap developers in MS-SQL. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Sun Oct 9 17:01:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sun, 09 Oct 2005 18:01:13 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <003d01c5cce3$2156b420$6501a8c0@HAL9004> Message-ID: <000301c5cd1c$fa1cd8a0$697aa8c0@ColbyM6805> I use Sygate personal on all of my machines. Works fine, lasts a long time, with proper maintenance. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, October 09, 2005 11:07 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Firewall I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sun Oct 9 22:52:54 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 09 Oct 2005 20:52:54 -0700 Subject: [AccessD] LINQ References: <200510091431.j99EV0T29778@databaseadvisors.com> Message-ID: <4349E596.5080303@shaw.ca> Yes and you haven't written apps that have light speed delay. Try updating a database that has a client circling Jupiter with terrestrial internet protocols. Go see what Vincent Cerf is trying to do. I have rarely seen companies that actually have reusable code, well one of my fortran algorithms for cubic spline fits is still floating around on the net, I gave up on this malarkey to make universal code around 1980 when people were asking for C code to be speced to K&R standards. How much C-code have you seen still floating around that passes that standard? Arthur Fuller wrote: >I see that you are into writing short-term applications LOL. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: October 9, 2005 6:42 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] LINQ >... a year value will not be larger than 9999. > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Sun Oct 9 23:27:06 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 9 Oct 2005 21:27:06 -0700 Subject: [AccessD] OT: Firewall References: <000301c5cd1c$fa1cd8a0$697aa8c0@ColbyM6805> Message-ID: <015701c5cd52$dfce51a0$6501a8c0@HAL9004> Are you behind a router firewall? Is that sufficient? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 09, 2005 3:01 PM Subject: Re: [AccessD] OT: Firewall >I use Sygate personal on all of my machines. Works fine, lasts a long >time, > with proper maintenance. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Sunday, October 09, 2005 11:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've > used it for years with no problem, upgraded this one box from Version 3 to > the latest, it blocks internet access and give a page full of instructions > on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed > the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of them) > so I don't know if I should be too concerned but I've always run a > firewall > on each machine in addition to the hardware firewall in the Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another > free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know > about this? Any other recommendations for a personal firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Mon Oct 10 03:00:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 10 Oct 2005 10:00:26 +0200 Subject: [AccessD] LINQ Message-ID: Hi Marty With that level of delay you would need some sort of message queue. I'm not into this but guess that at the upcoming Moon journeys NASA will provide some solutions - at least for the scientific world - to the asynchronous challenges ... /gustav >>> martyconnelly at shaw.ca 10-10-2005 05:52 >>> Yes and you haven't written apps that have light speed delay. Try updating a database that has a client circling Jupiter with terrestrial internet protocols. Go see what Vincent Cerf is trying to do. I have rarely seen companies that actually have reusable code, well one of my fortran algorithms for cubic spline fits is still floating around on the net, I gave up on this malarkey to make universal code around 1980 when people were asking for C code to be speced to K&R standards. How much C-code have you seen still floating around that passes that standard? Arthur Fuller wrote: >I see that you are into writing short-term applications LOL. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: October 9, 2005 6:42 AM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] LINQ >... a year value will not be larger than 9999. From jwcolby at ColbyConsulting.com Mon Oct 10 06:25:12 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 07:25:12 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <015701c5cd52$dfce51a0$6501a8c0@HAL9004> Message-ID: <009c01c5cd8d$47c9fdb0$697aa8c0@ColbyM6805> I am behind a router. Software firewalls are great for checking up on OUTBOUND comms. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 10, 2005 12:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Are you behind a router firewall? Is that sufficient? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 09, 2005 3:01 PM Subject: Re: [AccessD] OT: Firewall >I use Sygate personal on all of my machines. Works fine, lasts a long >time, > with proper maintenance. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Sunday, October 09, 2005 11:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've > used it for years with no problem, upgraded this one box from Version 3 to > the latest, it blocks internet access and give a page full of instructions > on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed > the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of > them) so I don't know if I should be too concerned but I've always run > a firewall on each machine in addition to the hardware firewall in the > Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( > another free one : http://smb.sygate.com/products/spf_standard.htm) . > Anyone know about this? Any other recommendations for a personal > firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Oct 10 07:32:07 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 10 Oct 2005 08:32:07 -0400 Subject: [AccessD] Easy Screenshots In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CABFBD@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF0E6@ADGSERVER> Paint Shop Pro can do screen captures quite easily. Just an FYI. Bobby From bchacc at san.rr.com Mon Oct 10 08:08:06 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 06:08:06 -0700 Subject: [AccessD] OT: Firewall References: <009c01c5cd8d$47c9fdb0$697aa8c0@ColbyM6805> Message-ID: <006401c5cd9b$a7959430$6501a8c0@HAL9004> What is the risk with outbound comms? Can you have a problem even though you're behind the router firewall? And if so, how? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 4:25 AM Subject: Re: [AccessD] OT: Firewall >I am behind a router. Software firewalls are great for checking up on > OUTBOUND comms. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, October 10, 2005 12:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > Are you behind a router firewall? Is that sufficient? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 09, 2005 3:01 PM > Subject: Re: [AccessD] OT: Firewall > > >>I use Sygate personal on all of my machines. Works fine, lasts a long >>time, >> with proper maintenance. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Sunday, October 09, 2005 11:07 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] OT: Firewall >> >> >> I\'m having a huge problem getting Zone Alarm on one of our computers >> I've >> used it for years with no problem, upgraded this one box from Version 3 >> to >> the latest, it blocks internet access and give a page full of >> instructions >> on how to solve the problem - none of which work. >> >> Uninstalled, reinstalled, cleaned registry per their instructions, >> renamed >> the internet log, blah, blah. >> >> At the moment the machine is behind the router firewall (like all of >> them) so I don't know if I should be too concerned but I've always run >> a firewall on each machine in addition to the hardware firewall in the >> Linksys. >> >> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( >> another free one : http://smb.sygate.com/products/spf_standard.htm) . >> Anyone know about this? Any other recommendations for a personal >> firewall? >> >> Thanks and regards, >> >> Rocky >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 08:24:26 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 09:24:26 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <006401c5cd9b$a7959430$6501a8c0@HAL9004> Message-ID: <00a401c5cd9d$f390cd80$697aa8c0@ColbyM6805> Rocky, You could say that monitoring outbound comms is your last wall of defense. It should never happen, and won't if your AV program protects you perfectly. If a virus does slip by and starts trying to phone home, the software firewall will prevent the outbound comms and notify you that a program is attempting to talk to the internet. This level is not about preventing infection, but about discovering that you are infected. Imagine that somehow something slipped past, and was watching you log in to everything you log into these days. As it tries to ship that info out to the perps, the software firewall prevents the transmission, saving your bacon, as well as notifying you that the program is trying to transmit. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 10, 2005 9:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall What is the risk with outbound comms? Can you have a problem even though you're behind the router firewall? And if so, how? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 4:25 AM Subject: Re: [AccessD] OT: Firewall >I am behind a router. Software firewalls are great for checking up on >OUTBOUND comms. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin - Beach Access Software > Sent: Monday, October 10, 2005 12:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > Are you behind a router firewall? Is that sufficient? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 09, 2005 3:01 PM > Subject: Re: [AccessD] OT: Firewall > > >>I use Sygate personal on all of my machines. Works fine, lasts a long >>time, with proper maintenance. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Sunday, October 09, 2005 11:07 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] OT: Firewall >> >> >> I\'m having a huge problem getting Zone Alarm on one of our computers >> I've used it for years with no problem, upgraded this one box from >> Version 3 to >> the latest, it blocks internet access and give a page full of >> instructions >> on how to solve the problem - none of which work. >> >> Uninstalled, reinstalled, cleaned registry per their instructions, >> renamed the internet log, blah, blah. >> >> At the moment the machine is behind the router firewall (like all of >> them) so I don't know if I should be too concerned but I've always >> run a firewall on each machine in addition to the hardware firewall >> in the Linksys. >> >> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( >> another free one : http://smb.sygate.com/products/spf_standard.htm) . >> Anyone know about this? Any other recommendations for a personal >> firewall? >> >> Thanks and regards, >> >> Rocky >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 10 08:53:08 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 06:53:08 -0700 Subject: [AccessD] OT: Firewall References: <00a401c5cd9d$f390cd80$697aa8c0@ColbyM6805> Message-ID: <00a701c5cda1$f2155440$6501a8c0@HAL9004> Aha. So I'd better get Sygate up on Pundit's machine then. We run NAV and have the email scanner on. Not a friendly world out there, is it? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 6:24 AM Subject: Re: [AccessD] OT: Firewall > Rocky, > > You could say that monitoring outbound comms is your last wall of defense. > It should never happen, and won't if your AV program protects you > perfectly. > If a virus does slip by and starts trying to phone home, the software > firewall will prevent the outbound comms and notify you that a program is > attempting to talk to the internet. > > This level is not about preventing infection, but about discovering that > you > are infected. Imagine that somehow something slipped past, and was > watching > you log in to everything you log into these days. As it tries to ship > that > info out to the perps, the software firewall prevents the transmission, > saving your bacon, as well as notifying you that the program is trying to > transmit. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, October 10, 2005 9:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > What is the risk with outbound comms? Can you have a problem even though > you're behind the router firewall? And if so, how? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 10, 2005 4:25 AM > Subject: Re: [AccessD] OT: Firewall > > >>I am behind a router. Software firewalls are great for checking up on >>OUTBOUND comms. >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >> Smolin - Beach Access Software >> Sent: Monday, October 10, 2005 12:27 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] OT: Firewall >> >> >> Are you behind a router firewall? Is that sufficient? >> >> Rocky >> >> ----- Original Message ----- >> From: "John Colby" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Sunday, October 09, 2005 3:01 PM >> Subject: Re: [AccessD] OT: Firewall >> >> >>>I use Sygate personal on all of my machines. Works fine, lasts a long >>>time, with proper maintenance. >>> >>> John W. Colby >>> www.ColbyConsulting.com >>> >>> Contribute your unused CPU cycles to a good cause: >>> http://folding.stanford.edu/ >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky >>> Smolin - Beach Access Software >>> Sent: Sunday, October 09, 2005 11:07 AM >>> To: AccessD at databaseadvisors.com >>> Subject: [AccessD] OT: Firewall >>> >>> >>> I\'m having a huge problem getting Zone Alarm on one of our computers >>> I've used it for years with no problem, upgraded this one box from >>> Version 3 to >>> the latest, it blocks internet access and give a page full of >>> instructions >>> on how to solve the problem - none of which work. >>> >>> Uninstalled, reinstalled, cleaned registry per their instructions, >>> renamed the internet log, blah, blah. >>> >>> At the moment the machine is behind the router firewall (like all of >>> them) so I don't know if I should be too concerned but I've always >>> run a firewall on each machine in addition to the hardware firewall >>> in the Linksys. >>> >>> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( >>> another free one : http://smb.sygate.com/products/spf_standard.htm) . >>> Anyone know about this? Any other recommendations for a personal >>> firewall? >>> >>> Thanks and regards, >>> >>> Rocky >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >>> >>> -- >>> AccessD mailing list >>> AccessD at databaseadvisors.com >>> http://databaseadvisors.com/mailman/listinfo/accessd >>> Website: http://www.databaseadvisors.com >>> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Mon Oct 10 08:53:37 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 10 Oct 2005 15:53:37 +0200 Subject: [AccessD] OT: Oracle and MySQL and InnoDB Message-ID: Hi all Did you notice that Oracle is about eating InnoDB, the left (or right) leg of MySQL? Read frontpage: http://www.innodb.com /gustav From john at winhaven.net Mon Oct 10 10:11:05 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 10:11:05 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <003d01c5cce3$2156b420$6501a8c0@HAL9004> Message-ID: <00a201c5cdac$d5c53f70$6a01a8c0@ScuzzPaq> Rocky, I use SPF on a number of "home" clients. Mostly people with home offices. It is quite respectable. Only problem is that Symantec (Norton) recenlty acquired it. May be an issue in the future. When I found this out I questioned people for another freebie firewall. Someone mentioned Kerio's personal firewall. Unforutnately they are ending that product so I'm not even going there. I use CA's EZ-armor firewall on my main computer now (since Norton 2005 was such a pain) It is very good too. It is actually zone labs too but apparently by some licensing scheme between the two companies. Panda has one built in to their Titanium product but I find their products a bit cumbersome. Norton's Personal Firewall always worked good (2000-2004) for me but I won't recommend any of their 2005 series of products. I have a number of clients where it runs fine but I have also had my share of bad experineces with it. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, October 09, 2005 10:07 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Firewall I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Oct 10 10:48:05 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 10 Oct 2005 08:48:05 -0700 Subject: [AccessD] OT: Firewall Message-ID: Rocky, There have been a lot of problems with the 6.x versions of ZoneAlarm, but most if not all were solved in the latest build. The best advice seems to be to do a clean install, not an upgrade. That requires you to retrain the critter, but it presents no other problems that I've encountered. You do need the software firewall to prevent outgoing unauthorized traffic. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Sunday, October 09, 2005 8:07 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Firewall I\'m having a huge problem getting Zone Alarm on one of our computers I've used it for years with no problem, upgraded this one box from Version 3 to the latest, it blocks internet access and give a page full of instructions on how to solve the problem - none of which work. Uninstalled, reinstalled, cleaned registry per their instructions, renamed the internet log, blah, blah. At the moment the machine is behind the router firewall (like all of them) so I don't know if I should be too concerned but I've always run a firewall on each machine in addition to the hardware firewall in the Linksys. I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know about this? Any other recommendations for a personal firewall? Thanks and regards, Rocky -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 10 10:49:38 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 08:49:38 -0700 Subject: [AccessD] OT: Firewall References: <00a201c5cdac$d5c53f70$6a01a8c0@ScuzzPaq> Message-ID: <017d01c5cdb2$38645760$6501a8c0@HAL9004> Looks like for a no-cost option Sygate's leading the pack currently. Rocky ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 8:11 AM Subject: Re: [AccessD] OT: Firewall > Rocky, > I use SPF on a number of "home" clients. Mostly people with home offices. > It > is quite respectable. Only problem is that Symantec (Norton) recenlty > acquired it. May be an issue in the future. > > When I found this out I questioned people for another freebie firewall. > Someone mentioned Kerio's personal firewall. Unforutnately they are ending > that product so I'm not even going there. > > I use CA's EZ-armor firewall on my main computer now (since Norton 2005 > was > such a pain) It is very good too. It is actually zone labs too but > apparently by some licensing scheme between the two companies. > > Panda has one built in to their Titanium product but I find their products > a > bit cumbersome. > > Norton's Personal Firewall always worked good (2000-2004) for me but I > won't > recommend any of their 2005 series of products. I have a number of clients > where it runs fine but I have also had my share of bad experineces with > it. > > HTH > John B. > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Sunday, October 09, 2005 10:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've > used it for years with no problem, upgraded this one box from Version 3 to > the latest, it blocks internet access and give a page full of instructions > on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed > the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of them) > so I don't know if I should be too concerned but I've always run a > firewall > on each machine in addition to the hardware firewall in the Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( another > free one : http://smb.sygate.com/products/spf_standard.htm) . Anyone know > about this? Any other recommendations for a personal firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Mon Oct 10 11:05:27 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 09:05:27 -0700 Subject: [AccessD] OT: Firewall References: Message-ID: <018401c5cdb4$6e9baa70$6501a8c0@HAL9004> Charlotte: I tried the clean install but it still messed up. Even went through all their uninstall stuff. I'm sure it's something peculiar to that machine. But if I can do a quickie with Sygate that'll be fine, instead of messing around for another hour or two with Zone Alarm. Regards, Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 10, 2005 8:48 AM Subject: Re: [AccessD] OT: Firewall > Rocky, > > There have been a lot of problems with the 6.x versions of ZoneAlarm, > but most if not all were solved in the latest build. The best advice > seems to be to do a clean install, not an upgrade. That requires you to > retrain the critter, but it presents no other problems that I've > encountered. You do need the software firewall to prevent outgoing > unauthorized traffic. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Sunday, October 09, 2005 8:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've used it for years with no problem, upgraded this one box from > Version 3 to the latest, it blocks internet access and give a page full > of instructions on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of > them) so I don't know if I should be too concerned but I've always run a > firewall on each machine in addition to the hardware firewall in the > Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( > another free one : http://smb.sygate.com/products/spf_standard.htm) . > Anyone know about this? Any other recommendations for a personal > firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From john at winhaven.net Mon Oct 10 11:52:31 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 11:52:31 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <017d01c5cdb2$38645760$6501a8c0@HAL9004> Message-ID: <00a901c5cdbb$018d40e0$6a01a8c0@ScuzzPaq> Until something comes out of Symantec's buy out I have nothing negative to say about it. In fact, I have it running on my mom's pc :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 10, 2005 10:50 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Looks like for a no-cost option Sygate's leading the pack currently. Rocky From pctech at mybellybutton.com Mon Oct 10 13:06:01 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Mon, 10 Oct 2005 20:06:01 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EP24A23OS-0004pN@mrelay.perfora.net> John Bartow wrote on 10/10/2005, 06:52:31 PM: > Until something comes out of Symantec's buy out I have nothing negative to > say about it. In fact, I have it running on my mom's pc :o) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, October 10, 2005 10:50 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > Looks like for a no-cost option Sygate's leading the pack currently. > > Rocky > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Not to sound biased, but there are better no-cost/low-cost options out there if you have a spare PC lying around. Being a computer network engineer, part of my job is providing solutions for my employer with regards to "all things network". A document I recently completed, and I consider at draft 1 stage, is a document on how to build a Linux based firewall from bare metal on up. It doesn't discuss the rule sets themselves, but the rule set configurations are discussed in the documentation for the application used to create them. Aside from a few initial setup tasks the majority of the firewall configuration is done via a web interface adn a GUI interface. This documentation also covers the installation of a transparent proxy and a content filtering system. Any firewall ran on top of Windows suffers from all of the inherent attacks against the host OS. Which is why I run a dedicated machine, even at home, for my firewall, and it's not running Windows. From jwcolby at ColbyConsulting.com Mon Oct 10 14:17:16 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 15:17:16 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EP24A23OS-0004pN@mrelay.perfora.net> Message-ID: <000501c5cdcf$39fc2f40$697aa8c0@ColbyM6805> PCTech, First let me say that signatures are a good thing. We know what you like to be called and can address you that way. Second, I understand the "dedicated firewall" mentality, but for Joe Average (me!) it is a non starter. The effort involved in learning enough just to get Linux installed is enough to kill the concept. I have done that much and all by itself it was enough to give me pause. Believe me, I read about such things and wish... But it ain't happening. What is simple to a "computer network engineer" is pretty much Greek to me. And finally, what you are discussing is what high end routers with REAL SPI etc firewalls built-in are all about are they not? It is my understanding that they are exactly that, real processors, running Linux, implementing a firewall. No hard disk to fail, no video to deal with, turns back on after a power failure, instant on, etc. I would be much more likely to go do that than spend the time and effort building a Linux box to implement a firewall. Even here, the difference between the $50 I actually spent and the $200 I would need to spend for the real McCoy prevented that. The simple router / NAT / firewall combination by itself pretty much prevents the external probing kind of stuff (unless you have port mapping / run a web server etc), and then the AV and software firewall picks up the pieces not handled. I have run this combination since going broadband about 4 years ago and have never had an infection, so I guess I have to say that is "good enough". I hate it when people rain on my parade, but I have considered this idea several times in the past and just said no way it was going to really happen. OTOH, if you put together a "put in this CD, reboot and you will have a hardware firewall" kind of package, I might be persuaded to try it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Not to sound biased, but there are better no-cost/low-cost options out there if you have a spare PC lying around. Being a computer network engineer, part of my job is providing solutions for my employer with regards to "all things network". A document I recently completed, and I consider at draft 1 stage, is a document on how to build a Linux based firewall from bare metal on up. It doesn't discuss the rule sets themselves, but the rule set configurations are discussed in the documentation for the application used to create them. Aside from a few initial setup tasks the majority of the firewall configuration is done via a web interface adn a GUI interface. This documentation also covers the installation of a transparent proxy and a content filtering system. Any firewall ran on top of Windows suffers from all of the inherent attacks against the host OS. Which is why I run a dedicated machine, even at home, for my firewall, and it's not running Windows. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From chizotz at mchsi.com Mon Oct 10 14:33:17 2005 From: chizotz at mchsi.com (chizotz at mchsi.com) Date: Mon, 10 Oct 2005 19:33:17 +0000 Subject: [AccessD] OT: Firewall Message-ID: <101020051933.5342.434AC1FC000C8EAA000014DE2197913329969B019607080C@mchsi.com> I feel a need to jump in here with a comment regarding Zone Alarm. Several months ago, after spending the money to buy two Zone Alarm Pro licenses (one for me, one for my wife's machine), I went to install an upgrade to ZAP and it informed me that I would have to uninstall Trend Micro Anti- Virus first. Bear in mind that I had also paid for two licenses to Trend Micro. I contacted Zone Labs and was told -- literally -- that it wasn't their problem and I should complain to Trend Micro about it. I have a real problem with any company releasing software to paying customers knowing that it is incompatible with certain other software the user has also paid for and is possibly running and not providing some kind of option or work- around to get past the problem. I have an even bigger problem with being instructed to uninstall some other software. And my biggest problem of all is being told it isn't their problem and to not bother them, go bother the other company. In my very strong opinion, the problem was with Zone Alarm and their response was the absolute height of arrogance, assuming they had the right to set the rules about what would be done and attempting to enlist their users to bully another company into compliance. After using Zone Alarm for years, since it first came out, I immediately ditched it after that fiasco. And you know what? I haven't missed it at all. To be fair, I also ditched Trend Micro not long after that because of horrible customer service. Their AV kept shutting itself off and refuse to restart, and every time it happened their only response was, after the same multi-message run-around each time, was to send me a link to a patch that would fix it temporarily. After 6 months of that nonsense I finally said enough was enough and tossed them out too. I'm behind a hardware firewall (router) and FWIW I now have Avast AV and the Windows XP firewall and have (knock on wood) had no problems. Ron > Rocky, > > You could say that monitoring outbound comms is your last wall of defense. > It should never happen, and won't if your AV program protects you perfectly. > If a virus does slip by and starts trying to phone home, the software > firewall will prevent the outbound comms and notify you that a program is > attempting to talk to the internet. > > This level is not about preventing infection, but about discovering that you > are infected. Imagine that somehow something slipped past, and was watching > you log in to everything you log into these days. As it tries to ship that > info out to the perps, the software firewall prevents the transmission, > saving your bacon, as well as notifying you that the program is trying to > transmit. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Monday, October 10, 2005 9:08 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > What is the risk with outbound comms? Can you have a problem even though > you're behind the router firewall? And if so, how? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 10, 2005 4:25 AM > Subject: Re: [AccessD] OT: Firewall > > > >I am behind a router. Software firewalls are great for checking up on > >OUTBOUND comms. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > > Smolin - Beach Access Software > > Sent: Monday, October 10, 2005 12:27 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] OT: Firewall > > > > > > Are you behind a router firewall? Is that sufficient? > > > > Rocky > > > > ----- Original Message ----- > > From: "John Colby" > > To: "'Access Developers discussion and problem solving'" > > > > Sent: Sunday, October 09, 2005 3:01 PM > > Subject: Re: [AccessD] OT: Firewall > > > > > >>I use Sygate personal on all of my machines. Works fine, lasts a long > >>time, with proper maintenance. > >> > >> John W. Colby > >> www.ColbyConsulting.com > >> > >> Contribute your unused CPU cycles to a good cause: > >> http://folding.stanford.edu/ > >> > >> -----Original Message----- > >> From: accessd-bounces at databaseadvisors.com > >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > >> Smolin - Beach Access Software > >> Sent: Sunday, October 09, 2005 11:07 AM > >> To: AccessD at databaseadvisors.com > >> Subject: [AccessD] OT: Firewall > >> > >> > >> I\'m having a huge problem getting Zone Alarm on one of our computers > >> I've used it for years with no problem, upgraded this one box from > >> Version 3 to > >> the latest, it blocks internet access and give a page full of > >> instructions > >> on how to solve the problem - none of which work. > >> > >> Uninstalled, reinstalled, cleaned registry per their instructions, > >> renamed the internet log, blah, blah. > >> > >> At the moment the machine is behind the router firewall (like all of > >> them) so I don't know if I should be too concerned but I've always > >> run a firewall on each machine in addition to the hardware firewall > >> in the Linksys. > >> > >> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( > >> another free one : http://smb.sygate.com/products/spf_standard.htm) . > >> Anyone know about this? Any other recommendations for a personal > >> firewall? > >> > >> Thanks and regards, > >> > >> Rocky > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > >> > >> -- > >> AccessD mailing list > >> AccessD at databaseadvisors.com > >> http://databaseadvisors.com/mailman/listinfo/accessd > >> Website: http://www.databaseadvisors.com > >> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Mon Oct 10 14:40:01 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Mon, 10 Oct 2005 21:40:01 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EP3X73kbc-0008FY@mrelay.perfora.net> John Colby wrote on 10/10/2005, 09:17:16 PM: > PCTech, > > First let me say that signatures are a good thing. We know what you like to > be called and can address you that way. > > Second, I understand the "dedicated firewall" mentality, but for Joe Average > (me!) it is a non starter. The effort involved in learning enough just to > get Linux installed is enough to kill the concept. I have done that much > and all by itself it was enough to give me pause. Believe me, I read about > such things and wish... But it ain't happening. What is simple to a > "computer network engineer" is pretty much Greek to me. > > And finally, what you are discussing is what high end routers with REAL SPI > etc firewalls built-in are all about are they not? It is my understanding > that they are exactly that, real processors, running Linux, implementing a > firewall. No hard disk to fail, no video to deal with, turns back on after > a power failure, instant on, etc. I would be much more likely to go do that > than spend the time and effort building a Linux box to implement a firewall. > Even here, the difference between the $50 I actually spent and the $200 I > would need to spend for the real McCoy prevented that. > > The simple router / NAT / firewall combination by itself pretty much > prevents the external probing kind of stuff (unless you have port mapping / > run a web server etc), and then the AV and software firewall picks up the > pieces not handled. I have run this combination since going broadband about > 4 years ago and have never had an infection, so I guess I have to say that > is "good enough". > > I hate it when people rain on my parade, but I have considered this idea > several times in the past and just said no way it was going to really > happen. OTOH, if you put together a "put in this CD, reboot and you will > have a hardware firewall" kind of package, I might be persuaded to try it. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > Not to sound biased, but there are better no-cost/low-cost options out there > if you have a spare PC lying around. > > Being a computer network engineer, part of my job is providing solutions for > my employer with regards to "all things network". A document I recently > completed, and I consider at draft 1 stage, is a document on how to build a > Linux based firewall from bare metal on up. > > It doesn't discuss the rule sets themselves, but the rule set configurations > are discussed in the documentation for the application used to create them. > > Aside from a few initial setup tasks the majority of the firewall > configuration is done via a web interface adn a GUI interface. > > This documentation also covers the installation of a transparent proxy and a > content filtering system. > > Any firewall ran on top of Windows suffers from all of the inherent attacks > against the host OS. Which is why I run a dedicated machine, even at home, > for my firewall, and it's not running Windows. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Let me correct a couple of misconceptions. The first one is that the document I created is designed for a non-engineer to begin with. It is designed for "joe user". It has step by step instructions, including screen shots. The second is that "real" firewalls don't have hard drives. In fact, a large percentage of "real firewalls" are PC based and do have hard drives in them. For instance the Nokia firewalls are exactly a PC with a hard drive. There are, however, also firmware based firewalls. It is trivial to build a firmware based Linux firewall as well. The third is that the PC will not turn back on after a power failure. Most of the modern BIOSes in PCs have a "resume on power failure" option in them for just that occurance. It restarts the PC, providing it was on to begin with, in the event of a power failure. The fourth is that you haev some sort of video to deal with. Linux itself is designed to operate in a headless mode. This means that it will operate just fine without a keyboard, mouse, and monitor attached to it and can be administered remotely. It works like this "out of the box". The fifth is that you need some heavy hardware to run your firewall. Even my home firewall is EXTREME overkill. It is a Pentium III 933MHz with 512M of RAM and a 20GB hard drive. That system can process enough traffic to saturate a T3 line. A Linux firewall will run just fine on a Pentium or Pentium II platform. The thing you seem to forget is that ANY firewall is only as secuer as the operating system it is ran on. By and large, any Unix or variant is mroe secure than any Windows platform out of the box. Take into account, also, that Linux is much easier to secure than Windows is. Add to that that you do not need to reboot Linux when doing any sort of OS update, with the exception of the kernel itself. It becomes a "no brainer". Don't get me wrong. I like Windows and am an MCSE. However, everything has it's place. Firewalls are no place for Windows. My document explains, in great detail (over 100 pages including screen shots), on how to build a Linux firewall. With the exception of some of the initial build steps it is 100% administered via a web interface and a graphical interface remotely. This document also gives instructions on adding a transparent web cache/proxy and content filtering system to it. Specifically with home users with children in mind. One of the next things I will be adding to the document in the next revision is adding antivirus capabilities to the content filter. With the firewall I built, and have in place, I have never had a virus either, and I don't even use anti-virus software. That is due partially to the firewall, and partially in the manner in which I practice "safe computing". If you want to continue using your Windows based firewall, I say go for it. But never think that it is the best solution and always remember, the manner in which the Titanic was built was "good enough". From jwcolby at ColbyConsulting.com Mon Oct 10 15:12:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 16:12:13 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EP3X73kbc-0008FY@mrelay.perfora.net> Message-ID: <000801c5cdd6$e78118e0$697aa8c0@ColbyM6805> PC Tech, First, let me say that a signature is a good thing. ;-) Second, I understand (or have heard) everything that you say. I make no attempt to evaluate the effectiveness of a custom built firewall vs. an off the shelf (software) solution, however I would like to point out that your manual being 100 pages, including screen shots about says it all for me. You are a network engineer. I am not. Your document may in fact be for the beginner but if I need 100 pages including screenshots why would I do that? When I work I earn enough that in a couple of hours I could go buy a $200 box from one of the people who build routers / firewalls. I would need to enjoy the task to read a 100 page manual to set up my firewall. I could write a 100 page manual for designing databases for the complete novice as well, but when they were done building the database they would still be a complete novice and when anything went wrong they would be up the crick. I think it is naive to think that a complete novice can build and MAINTAIN a custom built firewall when just the concepts of what a firewall is and how and why you do this stuff requires a network engineer to TRULY understand. I am a smart guy. I have read a lot about that stuff, and the more I read the less I want to do that. I do databases not networks, and not firewalls. I want to buy a firewall that works. I want to turn it on and forget about it. I don't want to read 100 pages including screen shots only to have something go wrong and have to get you on chat to figure out what is happening. As I said, I am a database analyst / programmer. I am know more than most people will ever know about Access and database design, but I spent decades getting where I am in the area I specialize in (as I am sure you did as well). I am attempting to learn .NET and specifically web based database design. That is where I will earn my paycheck in a year or so. I am not going to spend hours turning an old PC into a firewall. 100 pages including screenshots is a non-starter. I said, and I truly mean, if you design a CD that I plug in, run the install, and reboot and I am up and running a first class firewall (and it is cost effective), I will do that. But that is just my personal opinion, so don't take it personally. And I absolutely encourage you to assist people in building firewalls from scratch, it sounds like a good idea for some people. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Let me correct a couple of misconceptions. The first one is that the document I created is designed for a non-engineer to begin with. It is designed for "joe user". It has step by step instructions, including screen shots. The second is that "real" firewalls don't have hard drives. In fact, a large percentage of "real firewalls" are PC based and do have hard drives in them. For instance the Nokia firewalls are exactly a PC with a hard drive. There are, however, also firmware based firewalls. It is trivial to build a firmware based Linux firewall as well. The third is that the PC will not turn back on after a power failure. Most of the modern BIOSes in PCs have a "resume on power failure" option in them for just that occurance. It restarts the PC, providing it was on to begin with, in the event of a power failure. The fourth is that you haev some sort of video to deal with. Linux itself is designed to operate in a headless mode. This means that it will operate just fine without a keyboard, mouse, and monitor attached to it and can be administered remotely. It works like this "out of the box". The fifth is that you need some heavy hardware to run your firewall. Even my home firewall is EXTREME overkill. It is a Pentium III 933MHz with 512M of RAM and a 20GB hard drive. That system can process enough traffic to saturate a T3 line. A Linux firewall will run just fine on a Pentium or Pentium II platform. The thing you seem to forget is that ANY firewall is only as secuer as the operating system it is ran on. By and large, any Unix or variant is mroe secure than any Windows platform out of the box. Take into account, also, that Linux is much easier to secure than Windows is. Add to that that you do not need to reboot Linux when doing any sort of OS update, with the exception of the kernel itself. It becomes a "no brainer". Don't get me wrong. I like Windows and am an MCSE. However, everything has it's place. Firewalls are no place for Windows. My document explains, in great detail (over 100 pages including screen shots), on how to build a Linux firewall. With the exception of some of the initial build steps it is 100% administered via a web interface and a graphical interface remotely. This document also gives instructions on adding a transparent web cache/proxy and content filtering system to it. Specifically with home users with children in mind. One of the next things I will be adding to the document in the next revision is adding antivirus capabilities to the content filter. With the firewall I built, and have in place, I have never had a virus either, and I don't even use anti-virus software. That is due partially to the firewall, and partially in the manner in which I practice "safe computing". If you want to continue using your Windows based firewall, I say go for it. But never think that it is the best solution and always remember, the manner in which the Titanic was built was "good enough". -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 15:14:48 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 16:14:48 -0400 Subject: [AccessD] CSV with no header Message-ID: <000901c5cdd7$4397ed20$697aa8c0@ColbyM6805> Does anyone know a simple way to do a CSV without the header? And yea, I can do the export, open the file and delete the first line. Other than that...? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From john at winhaven.net Mon Oct 10 15:25:20 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 15:25:20 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <000801c5cdd6$e78118e0$697aa8c0@ColbyM6805> Message-ID: <00f601c5cdd8$bca531e0$6a01a8c0@ScuzzPaq> I think its time we moved this thread over to the dba-tech list. From jim.moss at jlmoss.net Mon Oct 10 15:25:30 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Mon, 10 Oct 2005 15:25:30 -0500 (CDT) Subject: [AccessD] CSV with no header In-Reply-To: <000901c5cdd7$4397ed20$697aa8c0@ColbyM6805> References: <000901c5cdd7$4397ed20$697aa8c0@ColbyM6805> Message-ID: <20384.65.196.182.34.1128975930.squirrel@65.196.182.34> If you use docmd.TransferText you can set the parameter after filename to false. > Does anyone know a simple way to do a CSV without the header? And yea, I > can do the export, open the file and delete the first line. > > Other than that...? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DElam at jenkens.com Mon Oct 10 15:34:31 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Mon, 10 Oct 2005 15:34:31 -0500 Subject: [AccessD] CSV with no header Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CEB8@natexch.jenkens.com> I have a file that has to go out in a very specific fixed width field .csv file. It is not simple, but I open an ADO source, make a string of exactly what I want on one row, write it to the file I created earlier and add a carriage return line feed to the end of it. I loop to the next record and add it. Not the prettiest thing, but the only method I could think of that gave me enough control to get the proper space padding as well as creating a first row that tells about the batch instead of giving row headers. Debbie -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Monday, October 10, 2005 3:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] CSV with no header Does anyone know a simple way to do a CSV without the header? And yea, I can do the export, open the file and delete the first line. Other than that...? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From pctech at mybellybutton.com Mon Oct 10 15:40:02 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Mon, 10 Oct 2005 22:40:02 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKp2t-1EP4TB35es-0002zo@mrelay.perfora.net> John Colby wrote on 10/10/2005, 10:12:13 PM: > PC Tech, > > First, let me say that a signature is a good thing. ;-) > > Second, I understand (or have heard) everything that you say. I make no > attempt to evaluate the effectiveness of a custom built firewall vs. an off > the shelf (software) solution, however I would like to point out that your > manual being 100 pages, including screen shots about says it all for me. > You are a network engineer. I am not. Your document may in fact be for the > beginner but if I need 100 pages including screenshots why would I do that? > When I work I earn enough that in a couple of hours I could go buy a $200 > box from one of the people who build routers / firewalls. I would need to > enjoy the task to read a 100 page manual to set up my firewall. > > I could write a 100 page manual for designing databases for the complete > novice as well, but when they were done building the database they would > still be a complete novice and when anything went wrong they would be up the > crick. I think it is naive to think that a complete novice can build and > MAINTAIN a custom built firewall when just the concepts of what a firewall > is and how and why you do this stuff requires a network engineer to TRULY > understand. I am a smart guy. I have read a lot about that stuff, and the > more I read the less I want to do that. > > I do databases not networks, and not firewalls. I want to buy a firewall > that works. I want to turn it on and forget about it. I don't want to read > 100 pages including screen shots only to have something go wrong and have to > get you on chat to figure out what is happening. > > As I said, I am a database analyst / programmer. I am know more than most > people will ever know about Access and database design, but I spent decades > getting where I am in the area I specialize in (as I am sure you did as > well). I am attempting to learn .NET and specifically web based database > design. That is where I will earn my paycheck in a year or so. I am not > going to spend hours turning an old PC into a firewall. 100 pages including > screenshots is a non-starter. > > I said, and I truly mean, if you design a CD that I plug in, run the > install, and reboot and I am up and running a first class firewall (and it > is cost effective), I will do that. > > But that is just my personal opinion, so don't take it personally. And I > absolutely encourage you to assist people in building firewalls from > scratch, it sounds like a good idea for some people. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > Let me correct a couple of misconceptions. The first one is that the > document I created is designed for a non-engineer to begin with. It is > designed for "joe user". It has step by step instructions, including screen > shots. The second is that "real" firewalls don't have hard drives. In > fact, a large percentage of "real firewalls" are PC based and do have hard > drives in them. For instance the Nokia firewalls are exactly a PC with a > hard drive. There are, however, also firmware based firewalls. It is > trivial to build a firmware based Linux firewall as well. The third is that > the PC will not turn back on after a power failure. Most of the modern > BIOSes in PCs have a "resume on power failure" option in them for just that > occurance. It restarts the PC, providing it was on to begin with, in the > event of a power failure. The fourth is that you haev some sort of video to > deal with. Linux itself is designed to operate in a headless mode. This > means that it will operate just fine without a keyboard, mouse, and monitor > attached to it and can be administered remotely. It works like this "out of > the box". The fifth is that you need some heavy hardware to run your > firewall. Even my home firewall is EXTREME overkill. It is a Pentium III > 933MHz with 512M of RAM and a 20GB hard drive. That system can process > enough traffic to saturate a T3 line. A Linux firewall will run just fine > on a Pentium or Pentium II platform. > > The thing you seem to forget is that ANY firewall is only as secuer as the > operating system it is ran on. By and large, any Unix or variant is mroe > secure than any Windows platform out of the box. Take into account, also, > that Linux is much easier to secure than Windows is. > Add to that that you do not need to reboot Linux when doing any sort of OS > update, with the exception of the kernel itself. It becomes a "no brainer". > > Don't get me wrong. I like Windows and am an MCSE. However, everything has > it's place. Firewalls are no place for Windows. > > My document explains, in great detail (over 100 pages including screen > shots), on how to build a Linux firewall. With the exception of some of the > initial build steps it is 100% administered via a web interface and a > graphical interface remotely. This document also gives instructions on > adding a transparent web cache/proxy and content filtering system to it. > Specifically with home users with children in mind. One of the next things > I will be adding to the document in the next revision is adding antivirus > capabilities to the content filter. > > With the firewall I built, and have in place, I have never had a virus > either, and I don't even use anti-virus software. That is due partially to > the firewall, and partially in the manner in which I practice "safe > computing". > > If you want to continue using your Windows based firewall, I say go for it. > But never think that it is the best solution and always remember, the manner > in which the Titanic was built was "good enough". > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Actually, using a "live" CD it WOULD be trivial to build a frewall based on a "boot CD". But would you REALLY want to? Think about it. That "live" CD wouldn't have updates on it. This means you'd have to have new "live" CD every time that you wanted to update the OS on the firewall. This is a non-starter without some sort of subscription service. This sorta defeats the whole purpose. Without the screen shots, the document itself is less than 30 pages. The screen shots themselves take up alot of real estate in the document. The screen shots were done with useability in mind. How many times have you read a book on something and though, "I wish I could see what they were talking about"? These screen shots obviate that statement. You misunderstand. You think I am taking it personal. I'm not. However when someone that doesn't do this for a living tries to correct me on something that I do on a daily basis, I will correct them. Just as I'd expect that you would if I were to make some off-base development comment. You are the one that seems close-minded about this, without even having seen the document, I might add. From jwcolby at ColbyConsulting.com Mon Oct 10 16:36:04 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 17:36:04 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKp2t-1EP4TB35es-0002zo@mrelay.perfora.net> Message-ID: <000a01c5cde2$a0e0b0b0$697aa8c0@ColbyM6805> pctech at mybellybutton.com I take it you want to be known as pctech at mybellybutton.com? I have to assume that if you can figure out how to do software firewalls you can figure out how to do signatures? >Actually, using a "live" CD it WOULD be trivial to build a firewall based on a "boot CD". But would you REALLY want to? Think about it. That "live" CD wouldn't have updates on it. This means you'd have to have new "live" CD every time that you wanted to update the OS on the firewall. I don't want to have to update the OS on the firewall. I don't want to know that the firewall exists. I currently own a Dlink 624. Once a year or so I go download any firmware updates, over the web. Pretty much click, click, I am done. Other than that I pay no attention to it. I do not consider myself closed minded. I downloaded (about two years ago) one of the Linux distros. I got it working. I even downloaded and installed OfficeStar. I know it is getting easier and easier. None of which means I personally want to do that stuff. I think you have an agenda (to have people build a firewall themselves). I do not (at least in this area). I don't care if you set up a spare PC as a firewall, or teach others how. I don't care if Rocky goes out and buys a multi-hundred dollar "out of the box" solution, or builds your custom firewall, or uses some software firewall, or indeed, if he uses nothing at all. I just don't care. However... I have been in computers since 1972. I know enough to know that whether it is Windows, or Linux, or VMS, or CPM, if something goes wrong it takes digging to figure out what is happening. The more you know about the OS, the less digging it takes. I know that things DO go wrong, and the less you know, the more likely something WILL go wrong. I personally know nothing about Linux. I don't want to know anything about Linux. I am CAPABLE of learning enough to do what you propose, I just don't WANT to. The very fact that you are discussing OS updates tells me I don't want to. Additionally, I think the effort to do so is not in proportion to any risk I might be taking by not doing so. >However when someone that doesn't do this for a living tries to correct me on something that I do on a daily basis, I will correct them. I am not attempting to correct you, I am stating an opinion, which I believe I very clearly stated. My opinion still is, that setting up and MAINTAINING a custom firewall is a non-trivial task. Getting it running is no doubt the easiest part of the project. Setting up a complex SQL Server database is non-trivial, but even if you get it set up, MAINTAINING it is beyond the capability of anyone not trained in SQL Server. THAT is my point. Things happen. Handling those things requires training. If this firewall sits in the corner and never needs to be touched, then we are back to "give me a disk that I can install it with" and I will do so. You can't have it both ways, either it is no maintenance and I can just load the disk and go (and leave it humming in the corner for the next 10 years), or things happen and I will have to deal with them. I don't WANT to deal with them. >Without the screen shots, the document itself is less than 30 pages. In none of your emails so far have you offered up this document, in fact you seemed to indicate it was not really in a state to share. Do you need a place to post it? I just happen to have a brand new web site (part of what I spend MY time doing) where I can offer a page to you to put this document on if you care to publish it. I can also put the document itself up with a hotlink for anyone who desires to do so can download the entire thing. I am always happy to help you assist anyone who is interested in doing something like this. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Actually, using a "live" CD it WOULD be trivial to build a frewall based on a "boot CD". But would you REALLY want to? Think about it. That "live" CD wouldn't have updates on it. This means you'd have to have new "live" CD every time that you wanted to update the OS on the firewall. This is a non-starter without some sort of subscription service. This sorta defeats the whole purpose. Without the screen shots, the document itself is less than 30 pages. The screen shots themselves take up alot of real estate in the document. The screen shots were done with useability in mind. How many times have you read a book on something and though, "I wish I could see what they were talking about"? These screen shots obviate that statement. You misunderstand. You think I am taking it personal. I'm not. However when someone that doesn't do this for a living tries to correct me on something that I do on a daily basis, I will correct them. Just as I'd expect that you would if I were to make some off-base development comment. You are the one that seems close-minded about this, without even having seen the document, I might add. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Mon Oct 10 17:03:11 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Mon, 10 Oct 2005 15:03:11 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <000501c5cdcf$39fc2f40$697aa8c0@ColbyM6805> Message-ID: <200510102203.j9AM3OT19177@databaseadvisors.com> John (and all), I just bought a copy of the new distro of Mandriva (formerly Mandrake)at Barnes & Noble and installed it on an old PIII box with 512m of ram. Installed like a breeze. It read and set up my LAN, my printer and all the hardware very easily. I had previously been trying to learn Linux with Red Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any longer than Windows XP either. You can set it up as a DHCP server with firewall or DSN server or whatever. The magazine that came with the distro -- from Linux Format -- had a step-by-step install guide with tutorials and it included a Linux quick reference wall chart. As you can tell, I was pretty impressed. Cost $20 but might be worth your while to look at. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 10, 2005 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall PCTech, First let me say that signatures are a good thing. We know what you like to be called and can address you that way. Second, I understand the "dedicated firewall" mentality, but for Joe Average (me!) it is a non starter. The effort involved in learning enough just to get Linux installed is enough to kill the concept. I have done that much and all by itself it was enough to give me pause. Believe me, I read about such things and wish... But it ain't happening. What is simple to a "computer network engineer" is pretty much Greek to me. And finally, what you are discussing is what high end routers with REAL SPI etc firewalls built-in are all about are they not? It is my understanding that they are exactly that, real processors, running Linux, implementing a firewall. No hard disk to fail, no video to deal with, turns back on after a power failure, instant on, etc. I would be much more likely to go do that than spend the time and effort building a Linux box to implement a firewall. Even here, the difference between the $50 I actually spent and the $200 I would need to spend for the real McCoy prevented that. The simple router / NAT / firewall combination by itself pretty much prevents the external probing kind of stuff (unless you have port mapping / run a web server etc), and then the AV and software firewall picks up the pieces not handled. I have run this combination since going broadband about 4 years ago and have never had an infection, so I guess I have to say that is "good enough". I hate it when people rain on my parade, but I have considered this idea several times in the past and just said no way it was going to really happen. OTOH, if you put together a "put in this CD, reboot and you will have a hardware firewall" kind of package, I might be persuaded to try it. John W. Colby www.ColbyConsulting.com From john at winhaven.net Mon Oct 10 17:19:58 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 17:19:58 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EP3X73kbc-0008FY@mrelay.perfora.net> Message-ID: <010301c5cde8$c05af3a0$6a01a8c0@ScuzzPaq> You should sign up for the dba-tech list too. We discuss this type of topic over there on a regular basis. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com > Being a computer network engineer, part of my job is providing > solutions for my employer with regards to "all things network". From john at winhaven.net Mon Oct 10 17:20:06 2005 From: john at winhaven.net (John Bartow) Date: Mon, 10 Oct 2005 17:20:06 -0500 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKp2t-1EP4TB35es-0002zo@mrelay.perfora.net> Message-ID: <010701c5cde8$c4c04990$6a01a8c0@ScuzzPaq> Did you post a link to the document? If you did I missed it. John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com You are the one that seems close-minded about this, without even having seen the document, I might add. From jmhecht at earthlink.net Mon Oct 10 19:14:45 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 10 Oct 2005 17:14:45 -0700 Subject: [AccessD] OT: Outlook (almost done fixing my laptop) Message-ID: <000001c5cdf8$c999f1e0$6501a8c0@laptop> Thanks to all about last Access issues. Last one here I hope. My link to my addresses is not working. Outlook XP. My address auto look up is not looking up. Ms Word as editor. TIA Joe Los Angeles, CA From jmhecht at earthlink.net Mon Oct 10 19:35:49 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 10 Oct 2005 17:35:49 -0700 Subject: [AccessD] Some code help please X posted Message-ID: <001401c5cdfb$bb0094b0$6501a8c0@laptop> Silly me. The only work I can get lately is rebuilding someone else's database; It is tragic for it is the only way right now I can keep my one bedroom apartment. I need code that will in the field MEMO_KEY Grab the current year. 2005 Get the first and last digit of the year 25 Do a count to get the existing highest incident x Number Add 1 to it x+1 End up with a value like 25-01 25-02 And so on. Thanks Joe Los Angeles, CA From jwcolby at ColbyConsulting.com Mon Oct 10 20:38:09 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 21:38:09 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <200510102203.j9AM3OT19177@databaseadvisors.com> Message-ID: <000f01c5ce04$72e88800$697aa8c0@ColbyM6805> Cool. Best of luck in learning all that stuff. If you discover a first class firewall that is a load and forget, and as easy to use (or preferably easier) than a dlink etc., do let me know. PCTech at BellyButton is not the first to insist this is The Way. I have no intention of becoming a Linux geek nor a firewall geek in order to get such a thing, but if it is indeed load and forget, then it is definitely for me. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen Rosenstiel Sent: Monday, October 10, 2005 6:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall John (and all), I just bought a copy of the new distro of Mandriva (formerly Mandrake)at Barnes & Noble and installed it on an old PIII box with 512m of ram. Installed like a breeze. It read and set up my LAN, my printer and all the hardware very easily. I had previously been trying to learn Linux with Red Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any longer than Windows XP either. You can set it up as a DHCP server with firewall or DSN server or whatever. The magazine that came with the distro -- from Linux Format -- had a step-by-step install guide with tutorials and it included a Linux quick reference wall chart. As you can tell, I was pretty impressed. Cost $20 but might be worth your while to look at. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 10, 2005 12:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall PCTech, First let me say that signatures are a good thing. We know what you like to be called and can address you that way. Second, I understand the "dedicated firewall" mentality, but for Joe Average (me!) it is a non starter. The effort involved in learning enough just to get Linux installed is enough to kill the concept. I have done that much and all by itself it was enough to give me pause. Believe me, I read about such things and wish... But it ain't happening. What is simple to a "computer network engineer" is pretty much Greek to me. And finally, what you are discussing is what high end routers with REAL SPI etc firewalls built-in are all about are they not? It is my understanding that they are exactly that, real processors, running Linux, implementing a firewall. No hard disk to fail, no video to deal with, turns back on after a power failure, instant on, etc. I would be much more likely to go do that than spend the time and effort building a Linux box to implement a firewall. Even here, the difference between the $50 I actually spent and the $200 I would need to spend for the real McCoy prevented that. The simple router / NAT / firewall combination by itself pretty much prevents the external probing kind of stuff (unless you have port mapping / run a web server etc), and then the AV and software firewall picks up the pieces not handled. I have run this combination since going broadband about 4 years ago and have never had an infection, so I guess I have to say that is "good enough". I hate it when people rain on my parade, but I have considered this idea several times in the past and just said no way it was going to really happen. OTOH, if you put together a "put in this CD, reboot and you will have a hardware firewall" kind of package, I might be persuaded to try it. John W. Colby www.ColbyConsulting.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 20:40:55 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 21:40:55 -0400 Subject: [AccessD] CSV with no header In-Reply-To: <20384.65.196.182.34.1128975930.squirrel@65.196.182.34> Message-ID: <001001c5ce04$d2386730$697aa8c0@ColbyM6805> I am trying that but it ends up bracketing the fields with ". I suppose that if a comma is embedded in the string then the "" is required to specify that the , is internal to the string and not a delimiter. Is the "" part of the csv spec? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss Sent: Monday, October 10, 2005 4:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV with no header If you use docmd.TransferText you can set the parameter after filename to false. > Does anyone know a simple way to do a CSV without the header? And > yea, I can do the export, open the file and delete the first line. > > Other than that...? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Mon Oct 10 21:25:28 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 10 Oct 2005 19:25:28 -0700 Subject: [AccessD] OT: Firewall References: <000f01c5ce04$72e88800$697aa8c0@ColbyM6805> Message-ID: <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> How can we take someone seriously who wants to be known as belly button? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 6:38 PM Subject: Re: [AccessD] OT: Firewall > Cool. Best of luck in learning all that stuff. If you discover a first > class firewall that is a load and forget, and as easy to use (or > preferably > easier) than a dlink etc., do let me know. PCTech at BellyButton is not the > first to insist this is The Way. I have no intention of becoming a Linux > geek nor a firewall geek in order to get such a thing, but if it is indeed > load and forget, then it is definitely for me. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen > Rosenstiel > Sent: Monday, October 10, 2005 6:03 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Firewall > > > John (and all), > I just bought a copy of the new distro of Mandriva (formerly Mandrake)at > Barnes & Noble and installed it on an old PIII box with 512m of ram. > Installed like a breeze. It read and set up my LAN, my printer and all the > hardware very easily. I had previously been trying to learn Linux with Red > Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any > longer than Windows XP either. You can set it up as a DHCP server with > firewall or DSN server or whatever. > > The magazine that came with the distro -- from Linux Format -- had a > step-by-step install guide with tutorials and it included a Linux quick > reference wall chart. As you can tell, I was pretty impressed. Cost $20 > but > might be worth your while to look at. > > Regards, > > Karen Rosenstiel > Seattle WA USA > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Monday, October 10, 2005 12:17 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Firewall > > PCTech, > > First let me say that signatures are a good thing. We know what you like > to > be called and can address you that way. > > Second, I understand the "dedicated firewall" mentality, but for Joe > Average > (me!) it is a non starter. The effort involved in learning enough just to > get Linux installed is enough to kill the concept. I have done that much > and all by itself it was enough to give me pause. Believe me, I read > about > such things and wish... But it ain't happening. What is simple to a > "computer network engineer" is pretty much Greek to me. > > And finally, what you are discussing is what high end routers with REAL > SPI > etc firewalls built-in are all about are they not? It is my understanding > that they are exactly that, real processors, running Linux, implementing a > firewall. No hard disk to fail, no video to deal with, turns back on > after > a power failure, instant on, etc. I would be much more likely to go do > that > than spend the time and effort building a Linux box to implement a > firewall. > Even here, the difference between the $50 I actually spent and the $200 I > would need to spend for the real McCoy prevented that. > > The simple router / NAT / firewall combination by itself pretty much > prevents the external probing kind of stuff (unless you have port mapping > / > run a web server etc), and then the AV and software firewall picks up the > pieces not handled. I have run this combination since going broadband > about > 4 years ago and have never had an infection, so I guess I have to say that > is "good enough". > > I hate it when people rain on my parade, but I have considered this idea > several times in the past and just said no way it was going to really > happen. OTOH, if you put together a "put in this CD, reboot and you will > have a hardware firewall" kind of package, I might be persuaded to try it. > > John W. Colby > www.ColbyConsulting.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From michael at ddisolutions.com.au Mon Oct 10 21:34:38 2005 From: michael at ddisolutions.com.au (Michael Maddison) Date: Tue, 11 Oct 2005 12:34:38 +1000 Subject: [AccessD] OT: My web site and WebHost4Life Message-ID: <59A61174B1F5B54B97FD4ADDE71E7D010DE9DA@ddi-01.DDI.local> Just to throw in my 2c... We use http://bottomlinecom.net/ We took the basic package, 3 x domains, 500mb space, 20gb traffic, up to 5 MS SQL db's (no size limit IIRC). Interestingly, we had the same problem with DNN not working correctly until the domain was active. DNN is pretty awesome, we got our site up very fast www.ddisolutions.com.au we are still adding and fine tuning parts of it but overall are very happy. We are a bit disppointed with the performance of bottomline but for 1/10 of what it would cost in Oz to get the same level of hosting we will put up with it for a while. I don't know if we are getting ripped by MS but most ISP's that offer SQL want 40-50AUD per MONTH for the privilege, and that's on top of the hosting fees!!!! We have a sub domain that is written in classic asp and uses an Access db, it performs very well so I suspect the SQL db's are the bottleneck... Only real issue so far with DNN is I wanted to put google search on the site but it uses forms, my DNN/asp.net programmer tells me DNN will not like it at all. Havn't tested it yet so YMMV. cheers Michael Maddison www.ddisolutions.com.au -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, 7 October 2005 3:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life >Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Max, DNN stands for DotNetNuke. It is a web site framework based on ASP.Net, VB.Net and MSSQL, which allows people to put up a web site with "out of the box" capabilities that you would otherwise have to program yourself (or go find modules for). DNN had an entire database (30 or so tables) used specifically for maintaining DNN structures, users, etc. You as a developer can add other tables in the MSSQL database and build a web enabled database application around the DNN foundation. Note that I am no expert in web design so read this with that in mind. Real web designers MAY be able to do all this stuff with little or no effort as well, once they learn their trade and tools. I am not a web designer and I can do this stuff (at least what you see) with DNN. Go to my site - www.ColbyConsulting.com . BTW, also go to my OLD web site at www.jwcolby.com to see my previous attempt at web design. Just a bit of a difference eh? At my new web site, notice the register and login. That is DotNetNuke. I did not create that. Notice the handsome guy (pic) off to the left, and the book gifs and hotlinks to buy them off to the right, with the main "Colby consulting message" in the middle. All of those are modules that come with DNN. I "fill in the content" of those modules in order to show my picture, the book gifs and the links to buy the books. Take this opportunity to register and log in. Now notice that the menu has expanded to include other menu items that are not visible for visitors who don't register and log in. There is an ExampleCode menu item with sub menu items. Pages in DNN can be "allowed to be viewed" by groups of users. I have set up my site such that the stuff you see without logging in can be seen by "all users" whereas the rest of the stuff can only bee seen by "registered users". This kind of functionality is just built in to DNN. These menu items are "pages" in DNN. I add a page by clicking a "add page" button (when logged in as an administrator) and I get a new page. DNN just creates a menu item for me, I don't have to do that. Each page has areas that are predefined by the "skin" I selected into which I can drop one or more "modules". These modules can include text / html areas, announcements, banners, events, faqs and a ton of other things that are just built in to DNN. Additionally I can go out to the web and buy or find for free other modules. On the top menu, click on Example Code / Framework Articles. The page you see is a free module I downloaded off the web which allows me to enter a "multi-page" page. That module allowed me to set up pages to put my article pages on, and built for me (no programming on my part) the little menu you see off to the left. Also down at the bottom you will see a "page n of m" kind of thing, part of the module. On the top menu, click on the Forums menu item. Forums are another module that I downloaded off the web. I just built a page and told DNN to put a Forums Module in the center area of the page and there you go. I go in and define the topic / sub topic. All "no programming on my part". On the top menu, click on the Feedback menu item. An email applet that just "snaps in", no programming on my part. DNN is the FRAMEWORK that makes all this possible, and includes enough modules to make it useable with no outside help, but which allows developers to write additional modules that do some thing. There are LOTS of modules out there, a thriving community of developers trying to build and sell modules, and many free modules as well. DotNetNuke is really about allowing you to create a web site with a presentation (the skin), the data (the pictures and text in the areas of the web page) and the business logic (the programming that causes the modules to do what they do). These three pieces are distinct from each other to a large extent. I did not write the skin, and I did not write the modules. I just found a skin I could live with, and started assembling the pages and modules, filling in the content. Only the content is mine. According to the DotNetNuke site, they now have several hundred thousand web sites running DNN. What you see on my site was completed in about two weeks it seems. In fact I just checked and I purchased my hosting there on the 20th of last month and then had to transfer my domain to them. So it took me 2 weeks to figure out how to use DNN plus get the content you see up there. The key though is that going forward, adding content is a no brainer. Of course learning to do my own modules is definitely NOT a no-brainer. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Max Sherman Sent: Thursday, October 06, 2005 12:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life Hi, could somebody tell me what DNN is and what it is used for. I must have missed some threads. Excuse my ignorance, please. Regards Max (Derby) Mob: 07990 521001 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Eric Barro Sent: 06 October 2005 16:32 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: My web site and WebHost4Life I concur with John. I've used webhost4life.com for 2 yrs now and I've been satisfied with the service. Aside from SQL server and DotNet support they also have Sharepoint Team Sites available as part of the package. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 21:30:39 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 22:30:39 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> Message-ID: <000001c5ce0b$c89112c0$697aa8c0@ColbyM6805> LOL, he sounds like he knows what he is talking about though. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, October 10, 2005 10:25 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall How can we take someone seriously who wants to be known as belly button? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 10, 2005 6:38 PM Subject: Re: [AccessD] OT: Firewall > Cool. Best of luck in learning all that stuff. If you discover a > first class firewall that is a load and forget, and as easy to use (or > preferably > easier) than a dlink etc., do let me know. PCTech at BellyButton is not > the first to insist this is The Way. I have no intention of becoming > a Linux geek nor a firewall geek in order to get such a thing, but if > it is indeed load and forget, then it is definitely for me. > > John W. Colby > www.ColbyConsulting.com From jwcolby at ColbyConsulting.com Mon Oct 10 21:56:34 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 22:56:34 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: <59A61174B1F5B54B97FD4ADDE71E7D010DE9DA@ddi-01.DDI.local> Message-ID: <000201c5ce0f$63ce1a50$697aa8c0@ColbyM6805> It is hard to know how this thing scales up, and in particular how a given web site will scale up. This is shared hosting of course, I don't have the funds or the need for a dedicated host. As long as the response is reasonably quick that is all I ask. I have to assume though that if you can afford the hardware, you can host some pretty sophisticated, hard hit sites. DNN claims to have hundreds of thousands of sites now. I am still trying to get VS 2003 to play nice with IIS, so far no luck. I want to try my hand at some simple custom modules but it requires a dev system running DNN and so far I am just not getting there. Sigh. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Michael Maddison Sent: Monday, October 10, 2005 10:35 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: My web site and WebHost4Life Just to throw in my 2c... We use http://bottomlinecom.net/ We took the basic package, 3 x domains, 500mb space, 20gb traffic, up to 5 MS SQL db's (no size limit IIRC). Interestingly, we had the same problem with DNN not working correctly until the domain was active. DNN is pretty awesome, we got our site up very fast www.ddisolutions.com.au we are still adding and fine tuning parts of it but overall are very happy. We are a bit disppointed with the performance of bottomline but for 1/10 of what it would cost in Oz to get the same level of hosting we will put up with it for a while. I don't know if we are getting ripped by MS but most ISP's that offer SQL want 40-50AUD per MONTH for the privilege, and that's on top of the hosting fees!!!! We have a sub domain that is written in classic asp and uses an Access db, it performs very well so I suspect the SQL db's are the bottleneck... Only real issue so far with DNN is I wanted to put google search on the site but it uses forms, my DNN/asp.net programmer tells me DNN will not like it at all. Havn't tested it yet so YMMV. cheers Michael Maddison www.ddisolutions.com.au From pctech at mybellybutton.com Mon Oct 10 22:07:22 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Mon, 10 Oct 2005 20:07:22 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <000a01c5cde2$a0e0b0b0$697aa8c0@ColbyM6805> References: <000a01c5cde2$a0e0b0b0$697aa8c0@ColbyM6805> Message-ID: <1129000042.3338.1.camel@localhost.localdomain> On Mon, 2005-10-10 at 17:36 -0400, John Colby wrote: > pctech at mybellybutton.com > > I take it you want to be known as pctech at mybellybutton.com? I have to > assume that if you can figure out how to do software firewalls you can > figure out how to do signatures? > > >Actually, using a "live" CD it WOULD be trivial to build a firewall based > on a "boot CD". But would you REALLY want to? Think about it. That "live" > CD wouldn't have updates on it. This means you'd have to have new "live" CD > every time that you wanted to update the OS on the firewall. > > I don't want to have to update the OS on the firewall. I don't want to know > that the firewall exists. I currently own a Dlink 624. Once a year or so I > go download any firmware updates, over the web. Pretty much click, click, I > am done. Other than that I pay no attention to it. > > I do not consider myself closed minded. I downloaded (about two years ago) > one of the Linux distros. I got it working. I even downloaded and > installed OfficeStar. I know it is getting easier and easier. None of > which means I personally want to do that stuff. I think you have an agenda > (to have people build a firewall themselves). I do not (at least in this > area). I don't care if you set up a spare PC as a firewall, or teach others > how. I don't care if Rocky goes out and buys a multi-hundred dollar "out of > the box" solution, or builds your custom firewall, or uses some software > firewall, or indeed, if he uses nothing at all. I just don't care. > > However... I have been in computers since 1972. I know enough to know that > whether it is Windows, or Linux, or VMS, or CPM, if something goes wrong it > takes digging to figure out what is happening. The more you know about the > OS, the less digging it takes. I know that things DO go wrong, and the less > you know, the more likely something WILL go wrong. > > I personally know nothing about Linux. I don't want to know anything about > Linux. I am CAPABLE of learning enough to do what you propose, I just don't > WANT to. The very fact that you are discussing OS updates tells me I don't > want to. Additionally, I think the effort to do so is not in proportion to > any risk I might be taking by not doing so. > > >However when someone that doesn't do this for a living tries to correct me > on something that I do on a daily basis, I will correct them. > > I am not attempting to correct you, I am stating an opinion, which I believe > I very clearly stated. My opinion still is, that setting up and MAINTAINING > a custom firewall is a non-trivial task. Getting it running is no doubt the > easiest part of the project. Setting up a complex SQL Server database is > non-trivial, but even if you get it set up, MAINTAINING it is beyond the > capability of anyone not trained in SQL Server. THAT is my point. Things > happen. Handling those things requires training. > > If this firewall sits in the corner and never needs to be touched, then we > are back to "give me a disk that I can install it with" and I will do so. > You can't have it both ways, either it is no maintenance and I can just load > the disk and go (and leave it humming in the corner for the next 10 years), > or things happen and I will have to deal with them. I don't WANT to deal > with them. > > >Without the screen shots, the document itself is less than 30 pages. > > In none of your emails so far have you offered up this document, in fact you > seemed to indicate it was not really in a state to share. Do you need a > place to post it? I just happen to have a brand new web site (part of what > I spend MY time doing) where I can offer a page to you to put this document > on if you care to publish it. I can also put the document itself up with a > hotlink for anyone who desires to do so can download the entire thing. > > I am always happy to help you assist anyone who is interested in doing > something like this. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > Actually, using a "live" CD it WOULD be trivial to build a frewall based on > a "boot CD". But would you REALLY want to? Think about it. That "live" CD > wouldn't have updates on it. This means you'd have to have > new "live" CD every time that you wanted to update the OS on the firewall. > This is a non-starter without some sort of subscription service. This sorta > defeats the whole purpose. > > Without the screen shots, the document itself is less than 30 pages. > The screen shots themselves take up alot of real estate in the document. > The screen shots were done with useability in mind. How many times have you > read a book on something and though, "I wish I could see what they were > talking about"? These screen shots obviate that statement. > > You misunderstand. You think I am taking it personal. I'm not. > However when someone that doesn't do this for a living tries to correct me > on something that I do on a daily basis, I will correct them. Just as I'd > expect that you would if I were to make some off-base development comment. > You are the one that seems close-minded about this, without even having seen > the document, I might add. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > You've OBVIOUSLY never dealt with web based e-mail clients. I was answering you via web mail from my ISP rather than answering from home. Web based e-mail doesn't always support signatures. Once again, you judge long before you have the facts in and attempt to assert your superiority based on your "facts. -- Frank Tanner III From pctech at mybellybutton.com Mon Oct 10 22:08:33 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Mon, 10 Oct 2005 20:08:33 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <010701c5cde8$c4c04990$6a01a8c0@ScuzzPaq> References: <010701c5cde8$c4c04990$6a01a8c0@ScuzzPaq> Message-ID: <1129000113.3338.3.camel@localhost.localdomain> On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > Did you post a link to the document? If you did I missed it. > > John B. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > pctech at mybellybutton.com > > You are the one that seems close-minded about this, without even having seen > the document, I might add. > No. I didn't post a link to the document. He judged the document without having ever seen it. He assumed that it was complicated and hard to read for the novice. From itsame2000 at sbcglobal.net Mon Oct 10 22:11:05 2005 From: itsame2000 at sbcglobal.net (Jeremy Toves) Date: Mon, 10 Oct 2005 20:11:05 -0700 (PDT) Subject: [AccessD] Some code help please X posted In-Reply-To: <001401c5cdfb$bb0094b0$6501a8c0@laptop> Message-ID: <20051011031105.96768.qmail@web81508.mail.yahoo.com> Is the Memo_Key a primary key? Are you looking for something like this? I hope this helps. Thanks, Jeremy Sub Seqno_Increment() Dim db As DAO.Database Dim rs As DAO.Recordset Dim strYr As String, strSeq As String, _ strSQL As String strYr = Left(Year(Date), 1) & Right(Year(Date), 1) strSQL = "SELECT tblSeqno.* " _ & "FROM " _ & "tblSeqno " _ & "WHERE " _ & "(((tblSeqno.[Memo_Key]) Like " _ & Chr(34) & strYr & "-*" & Chr(34) & ")) " _ & "ORDER BY " _ & "tblSeqno.[Memo_Key] DESC;" Set db = CurrentDb() Set rs = db.OpenRecordset(strSQL, dbOpenDynaset) If rs.RecordCount > 0 Then strSeq = Format(Val(Right(rs("[Memo_Key]"), 2)) + 1, "00") Else strSeq = "01" End If strSeq = strYr & "-" & strSeq Debug.Print strSeq Set rs = Nothing Set db = Nothing End Sub Joe Hecht wrote: Silly me. The only work I can get lately is rebuilding someone else's database; It is tragic for it is the only way right now I can keep my one bedroom apartment. I need code that will in the field MEMO_KEY Grab the current year. 2005 Get the first and last digit of the year 25 Do a count to get the existing highest incident x Number Add 1 to it x+1 End up with a value like 25-01 25-02 And so on. Thanks Joe Los Angeles, CA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Mon Oct 10 22:10:14 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Mon, 10 Oct 2005 20:10:14 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> References: <000f01c5ce04$72e88800$697aa8c0@ColbyM6805> <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> Message-ID: <1129000214.3338.6.camel@localhost.localdomain> On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software wrote: > How can we take someone seriously who wants to be known as belly button? > > Rocky > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Monday, October 10, 2005 6:38 PM > Subject: Re: [AccessD] OT: Firewall > > > > Cool. Best of luck in learning all that stuff. If you discover a first > > class firewall that is a load and forget, and as easy to use (or > > preferably > > easier) than a dlink etc., do let me know. PCTech at BellyButton is not the > > first to insist this is The Way. I have no intention of becoming a Linux > > geek nor a firewall geek in order to get such a thing, but if it is indeed > > load and forget, then it is definitely for me. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen > > Rosenstiel > > Sent: Monday, October 10, 2005 6:03 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] OT: Firewall > > > > > > John (and all), > > I just bought a copy of the new distro of Mandriva (formerly Mandrake)at > > Barnes & Noble and installed it on an old PIII box with 512m of ram. > > Installed like a breeze. It read and set up my LAN, my printer and all the > > hardware very easily. I had previously been trying to learn Linux with Red > > Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any > > longer than Windows XP either. You can set it up as a DHCP server with > > firewall or DSN server or whatever. > > > > The magazine that came with the distro -- from Linux Format -- had a > > step-by-step install guide with tutorials and it included a Linux quick > > reference wall chart. As you can tell, I was pretty impressed. Cost $20 > > but > > might be worth your while to look at. > > > > Regards, > > > > Karen Rosenstiel > > Seattle WA USA > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > Sent: Monday, October 10, 2005 12:17 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] OT: Firewall > > > > PCTech, > > > > First let me say that signatures are a good thing. We know what you like > > to > > be called and can address you that way. > > > > Second, I understand the "dedicated firewall" mentality, but for Joe > > Average > > (me!) it is a non starter. The effort involved in learning enough just to > > get Linux installed is enough to kill the concept. I have done that much > > and all by itself it was enough to give me pause. Believe me, I read > > about > > such things and wish... But it ain't happening. What is simple to a > > "computer network engineer" is pretty much Greek to me. > > > > And finally, what you are discussing is what high end routers with REAL > > SPI > > etc firewalls built-in are all about are they not? It is my understanding > > that they are exactly that, real processors, running Linux, implementing a > > firewall. No hard disk to fail, no video to deal with, turns back on > > after > > a power failure, instant on, etc. I would be much more likely to go do > > that > > than spend the time and effort building a Linux box to implement a > > firewall. > > Even here, the difference between the $50 I actually spent and the $200 I > > would need to spend for the real McCoy prevented that. > > > > The simple router / NAT / firewall combination by itself pretty much > > prevents the external probing kind of stuff (unless you have port mapping > > / > > run a web server etc), and then the AV and software firewall picks up the > > pieces not handled. I have run this combination since going broadband > > about > > 4 years ago and have never had an infection, so I guess I have to say that > > is "good enough". > > > > I hate it when people rain on my parade, but I have considered this idea > > several times in the past and just said no way it was going to really > > happen. OTOH, if you put together a "put in this CD, reboot and you will > > have a hardware firewall" kind of package, I might be persuaded to try it. > > > > John W. Colby > > www.ColbyConsulting.com > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > I see. So, because my mail domain is mybellybutton.com I must be a complete idiot..... From jwcolby at ColbyConsulting.com Mon Oct 10 22:30:17 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 23:30:17 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <1129000214.3338.6.camel@localhost.localdomain> Message-ID: <000301c5ce14$19ae7aa0$697aa8c0@ColbyM6805> Frank, lighten up. We are nice people. Or at least Rocky is. ;-) Me, I just assume you spend time contemplating your belly button. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Monday, October 10, 2005 11:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software wrote: > How can we take someone seriously who wants to be known as belly > button? > > Rocky I see. So, because my mail domain is mybellybutton.com I must be a complete idiot..... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 22:46:49 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 23:46:49 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <1129000042.3338.1.camel@localhost.localdomain> Message-ID: <000401c5ce16$68f5aaa0$697aa8c0@ColbyM6805> >You've OBVIOUSLY never dealt with web based e-mail clients. Once again, you judge long before you have the facts in and attempt to assert your superiority based on your "facts". I do in fact know about web based emails, I have used them, and I am QUITE capable of signing my emails using them. It turns out to be simple, at the bottom of your message just hit carriage return a couple of times and type in your name. Now, as anyone on this list will assure you, I don't need no steenkin facts to assert my superiority. My superiority is simply unchallenged, facts or no facts. ;-) Well, perhaps unchallenged is not the right phrase. "Unchallenged in my own mind" might be closer to correct. In actual fact, my superiority is pretty much challenged on a daily basis. Luckily I am quite capable of ignoring such ignoramuses, not that I do. So where were we? Welcome to the list. Whatever you do, stay OFF of the OT list, you are not cut out for that. Mr. Hindman will eat you alive. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ You've OBVIOUSLY never dealt with web based e-mail clients. I was answering you via web mail from my ISP rather than answering from home. Web based e-mail doesn't always support signatures. Once again, you judge long before you have the facts in and attempt to assert your superiority based on your "facts. -- Frank Tanner III -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 10 22:56:21 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 10 Oct 2005 23:56:21 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <1129000113.3338.3.camel@localhost.localdomain> Message-ID: <000501c5ce17$c104bcd0$697aa8c0@ColbyM6805> Frank, >He judged the document without having ever seen it. I tried to judge it AFTER reading it but I couldn't find it. I have offered to post it however, and the offer stands. Lighten up buddy. I am not casting aspersions on your document, or your abilities. You sound to me like you know what you are doing. And I am willing, on further consideration, to suspend my disbelief re whether a dedicated PC firewall could be as easy as you make it sound. If it is in fact that easy, I want one. I think I said that somewhere in this exchange. But it does have to just sit in the corner humming and not bother me. No OS updates and stuff. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Monday, October 10, 2005 11:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > Did you post a link to the document? If you did I missed it. > > John B. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > pctech at mybellybutton.com > > You are the one that seems close-minded about this, without even > having seen the document, I might add. > No. I didn't post a link to the document. He judged the document without having ever seen it. He assumed that it was complicated and hard to read for the novice. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Bruce.Bruen at railcorp.nsw.gov.au Tue Oct 11 00:53:29 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Tue, 11 Oct 2005 15:53:29 +1000 Subject: [AccessD] OT: Firewall Message-ID: L I N U X ..... ;-) I have a firewall running on an old Pentium I using a Linux Distribution called "Coyote Linux" which is sadly no longer supported by the originator but control has passed to another set of FOSS people in South America. Although the learning curve is steep - this is a raw implementation of the Linux NETFILTER/IPTABLES kernel features - the reward is a real firewall totally under your control. Hth bruce -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, 11 October 2005 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall Frank, >He judged the document without having ever seen it. I tried to judge it AFTER reading it but I couldn't find it. I have offered to post it however, and the offer stands. Lighten up buddy. I am not casting aspersions on your document, or your abilities. You sound to me like you know what you are doing. And I am willing, on further consideration, to suspend my disbelief re whether a dedicated PC firewall could be as easy as you make it sound. If it is in fact that easy, I want one. I think I said that somewhere in this exchange. But it does have to just sit in the corner humming and not bother me. No OS updates and stuff. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Monday, October 10, 2005 11:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > Did you post a link to the document? If you did I missed it. > > John B. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > pctech at mybellybutton.com > > You are the one that seems close-minded about this, without even > having seen the document, I might add. > No. I didn't post a link to the document. He judged the document without having ever seen it. He assumed that it was complicated and hard to read for the novice. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and it's attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from it's content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From andy at minstersystems.co.uk Tue Oct 11 01:43:11 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 11 Oct 2005 07:43:11 +0100 Subject: [AccessD] OT: Firewall In-Reply-To: Message-ID: <000a01c5ce2f$0cb60f50$fd980c54@minster33c3r25> We set up the Tech list specifically for this type of discussion. Please use it. Oh and there was a plea only a couple of days ago for more snipping of replies. That'd be good too. -- Andy Lacey http://www.minstersystems.co.uk From shamil at users.mns.ru Tue Oct 11 02:13:45 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 11 Oct 2005 11:13:45 +0400 Subject: [AccessD] OT: My web site and WebHost4Life References: <000201c5ce0f$63ce1a50$697aa8c0@ColbyM6805> Message-ID: <002201c5ce33$569cfcb0$6401a8c0@fincomplex.spb.ru> <<< don't have the funds... for a dedicated host >>> To build ASP.NET -enabled Web Server MS Windows 2003 Web Edition looks like being good enough - and its cost is within USD200-400 as far as I see (http://www.dealtime.com/xPF-Microsoft_20740721). I mean even a small company should be able to afford owning ASP.NET enabled Web site if they do not want to have their information hosted by someone else.... Of course MS SQL Server 2000 or 2005 are costly "beasts". And anyway they I guess will not run on MS Windows 2003 Web edition. I did try to find but this is not clear directly from DNN docs or I did miss this info on quick look through - is DNN able to use any other backends than MS SQL Server? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 11, 2005 6:56 AM Subject: Re: [AccessD] OT: My web site and WebHost4Life > It is hard to know how this thing scales up, and in particular how a given > web site will scale up. This is shared hosting of course, I don't have the > funds or the need for a dedicated host. As long as the response is > reasonably quick that is all I ask. > > I have to assume though that if you can afford the hardware, you can host > some pretty sophisticated, hard hit sites. DNN claims to have hundreds of > thousands of sites now. > > I am still trying to get VS 2003 to play nice with IIS, so far no luck. I > want to try my hand at some simple custom modules but it requires a dev > system running DNN and so far I am just not getting there. Sigh. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ <<< tail trimmed>> From accessd at shaw.ca Tue Oct 11 02:20:54 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 11 Oct 2005 00:20:54 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EP3X73kbc-0008FY@mrelay.perfora.net> Message-ID: <029401c5ce34$51a3fcd0$017ba8c0@xpserver> Hi Frank: > ... I created is designed for a non-engineer to begin with. It is > designed for "joe user". It has step by step instructions, including > screen shots... I would be interested in seeing your paper on the subject. Is it a version of 'Smoothwall' Linux that you are describing? TIA Jim From Gustav at cactus.dk Tue Oct 11 02:41:02 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Oct 2005 09:41:02 +0200 Subject: [AccessD] CSV with no header Message-ID: Hi John Write the file yourself. I do not need to tell you how ... I do that all the time to have control of the formatting of the fields. /gustav >>> jwcolby at ColbyConsulting.com 10-10-2005 22:14:48 >>> Does anyone know a simple way to do a CSV without the header? And yea, I can do the export, open the file and delete the first line. From jwcolby at ColbyConsulting.com Tue Oct 11 05:40:49 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 06:40:49 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: <002201c5ce33$569cfcb0$6401a8c0@fincomplex.spb.ru> Message-ID: <001001c5ce50$3f1937d0$697aa8c0@ColbyM6805> Shamil, Hosting it myself is out simply because my ISP blocks port 80 for non-business users. I'd have to pay $100 / month to get a business account in order to allow me to run my own web server. I don't need that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, October 11, 2005 3:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: My web site and WebHost4Life <<< don't have the funds... for a dedicated host >>> To build ASP.NET -enabled Web Server MS Windows 2003 Web Edition looks like being good enough - and its cost is within USD200-400 as far as I see (http://www.dealtime.com/xPF-Microsoft_20740721). I mean even a small company should be able to afford owning ASP.NET enabled Web site if they do not want to have their information hosted by someone else.... Of course MS SQL Server 2000 or 2005 are costly "beasts". And anyway they I guess will not run on MS Windows 2003 Web edition. I did try to find but this is not clear directly from DNN docs or I did miss this info on quick look through - is DNN able to use any other backends than MS SQL Server? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 11, 2005 6:56 AM Subject: Re: [AccessD] OT: My web site and WebHost4Life > It is hard to know how this thing scales up, and in particular how a > given web site will scale up. This is shared hosting of course, I > don't have the > funds or the need for a dedicated host. As long as the response is > reasonably quick that is all I ask. > > I have to assume though that if you can afford the hardware, you can > host some pretty sophisticated, hard hit sites. DNN claims to have > hundreds of thousands of sites now. > > I am still trying to get VS 2003 to play nice with IIS, so far no > luck. I want to try my hand at some simple custom modules but it > requires a dev system running DNN and so far I am just not getting > there. Sigh. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ <<< tail trimmed>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 11 05:43:33 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 06:43:33 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: <002201c5ce33$569cfcb0$6401a8c0@fincomplex.spb.ru> Message-ID: <001201c5ce50$a0887490$697aa8c0@ColbyM6805> And no, AFAICT DNN requires MSSQL for its internal control structures. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Tuesday, October 11, 2005 3:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: My web site and WebHost4Life <<< don't have the funds... for a dedicated host >>> To build ASP.NET -enabled Web Server MS Windows 2003 Web Edition looks like being good enough - and its cost is within USD200-400 as far as I see (http://www.dealtime.com/xPF-Microsoft_20740721). I mean even a small company should be able to afford owning ASP.NET enabled Web site if they do not want to have their information hosted by someone else.... Of course MS SQL Server 2000 or 2005 are costly "beasts". And anyway they I guess will not run on MS Windows 2003 Web edition. I did try to find but this is not clear directly from DNN docs or I did miss this info on quick look through - is DNN able to use any other backends than MS SQL Server? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 11, 2005 6:56 AM Subject: Re: [AccessD] OT: My web site and WebHost4Life > It is hard to know how this thing scales up, and in particular how a > given web site will scale up. This is shared hosting of course, I > don't have the > funds or the need for a dedicated host. As long as the response is > reasonably quick that is all I ask. > > I have to assume though that if you can afford the hardware, you can > host some pretty sophisticated, hard hit sites. DNN claims to have > hundreds of thousands of sites now. > > I am still trying to get VS 2003 to play nice with IIS, so far no > luck. I want to try my hand at some simple custom modules but it > requires a dev system running DNN and so far I am just not getting > there. Sigh. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ <<< tail trimmed>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 11 06:20:49 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Oct 2005 13:20:49 +0200 Subject: [AccessD] OT: My web site and WebHost4Life Message-ID: Hi John What kind of people are those suppliers over there? Don't you have any competition? $100 per month would kill an ISP here. /gustav >>> jwcolby at ColbyConsulting.com 11-10-2005 12:40:49 >>> Hosting it myself is out simply because my ISP blocks port 80 for non-business users. I'd have to pay $100 / month to get a business account in order to allow me to run my own web server. I don't need that. From jwcolby at ColbyConsulting.com Tue Oct 11 08:00:16 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 09:00:16 -0400 Subject: [AccessD] OT: My web site and WebHost4Life In-Reply-To: Message-ID: <001801c5ce63$b9dfc020$697aa8c0@ColbyM6805> >Don't you have any competition? $100 per month would kill an ISP here. That is my cable company and no, in my particular case there is no competition since I live outside the range of the nearest DSL repeater. Even if I did, they are priced about the same long term. That $100 / month is for a business package of course, with a fixed IP, more bandwidth (up) and other little goodies, as well as no port blocking. My "home" package is $50 / month. For that I get about 5 mbit down and 1 mbit up speeds, which is about as fast as you can find for the moment, though really fast access is coming - just not out here in the woods where I live. I also have to live with Port 25 blocking as well as blocking of a slew of other ports, mostly used for setting up your own web and ftp sites. They are trying to prevent you from serving up video, audio and file transfer sites mostly I think, plus limit spam (port 25 blocking). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 11, 2005 7:21 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: My web site and WebHost4Life Hi John What kind of people are those suppliers over there? Don't you have any competition? $100 per month would kill an ISP here. /gustav >>> jwcolby at ColbyConsulting.com 11-10-2005 12:40:49 >>> Hosting it myself is out simply because my ISP blocks port 80 for non-business users. I'd have to pay $100 / month to get a business account in order to allow me to run my own web server. I don't need that. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Oct 11 08:49:13 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Oct 2005 06:49:13 -0700 Subject: [AccessD] OT: Firewall References: <000f01c5ce04$72e88800$697aa8c0@ColbyM6805> <03fd01c5ce0b$0ba82c20$6501a8c0@HAL9004> <1129000214.3338.6.camel@localhost.localdomain> Message-ID: <00a001c5ce6a$91247cf0$6501a8c0@HAL9004> Nah. It was a joke, Frank. Welcome to the list. Rocky ----- Original Message ----- From: "Frank Tanner III" To: "Access Developers discussion and problem solving" Sent: Monday, October 10, 2005 8:10 PM Subject: Re: [AccessD] OT: Firewall > On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software > wrote: >> How can we take someone seriously who wants to be known as belly button? >> >> Rocky >> >> ----- Original Message ----- >> From: "John Colby" >> To: "'Access Developers discussion and problem solving'" >> >> Sent: Monday, October 10, 2005 6:38 PM >> Subject: Re: [AccessD] OT: Firewall >> >> >> > Cool. Best of luck in learning all that stuff. If you discover a >> > first >> > class firewall that is a load and forget, and as easy to use (or >> > preferably >> > easier) than a dlink etc., do let me know. PCTech at BellyButton is not >> > the >> > first to insist this is The Way. I have no intention of becoming a >> > Linux >> > geek nor a firewall geek in order to get such a thing, but if it is >> > indeed >> > load and forget, then it is definitely for me. >> > >> > John W. Colby >> > www.ColbyConsulting.com >> > >> > Contribute your unused CPU cycles to a good cause: >> > http://folding.stanford.edu/ >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Karen >> > Rosenstiel >> > Sent: Monday, October 10, 2005 6:03 PM >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] OT: Firewall >> > >> > >> > John (and all), >> > I just bought a copy of the new distro of Mandriva (formerly >> > Mandrake)at >> > Barnes & Noble and installed it on an old PIII box with 512m of ram. >> > Installed like a breeze. It read and set up my LAN, my printer and all >> > the >> > hardware very easily. I had previously been trying to learn Linux with >> > Red >> > Hat Ver. 9 and then Fedora, but it was a PITA. Mandriva didn't take any >> > longer than Windows XP either. You can set it up as a DHCP server with >> > firewall or DSN server or whatever. >> > >> > The magazine that came with the distro -- from Linux Format -- had a >> > step-by-step install guide with tutorials and it included a Linux quick >> > reference wall chart. As you can tell, I was pretty impressed. Cost $20 >> > but >> > might be worth your while to look at. >> > >> > Regards, >> > >> > Karen Rosenstiel >> > Seattle WA USA >> > >> > -----Original Message----- >> > From: accessd-bounces at databaseadvisors.com >> > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby >> > Sent: Monday, October 10, 2005 12:17 PM >> > To: 'Access Developers discussion and problem solving' >> > Subject: Re: [AccessD] OT: Firewall >> > >> > PCTech, >> > >> > First let me say that signatures are a good thing. We know what you >> > like >> > to >> > be called and can address you that way. >> > >> > Second, I understand the "dedicated firewall" mentality, but for Joe >> > Average >> > (me!) it is a non starter. The effort involved in learning enough just >> > to >> > get Linux installed is enough to kill the concept. I have done that >> > much >> > and all by itself it was enough to give me pause. Believe me, I read >> > about >> > such things and wish... But it ain't happening. What is simple to a >> > "computer network engineer" is pretty much Greek to me. >> > >> > And finally, what you are discussing is what high end routers with REAL >> > SPI >> > etc firewalls built-in are all about are they not? It is my >> > understanding >> > that they are exactly that, real processors, running Linux, >> > implementing a >> > firewall. No hard disk to fail, no video to deal with, turns back on >> > after >> > a power failure, instant on, etc. I would be much more likely to go do >> > that >> > than spend the time and effort building a Linux box to implement a >> > firewall. >> > Even here, the difference between the $50 I actually spent and the $200 >> > I >> > would need to spend for the real McCoy prevented that. >> > >> > The simple router / NAT / firewall combination by itself pretty much >> > prevents the external probing kind of stuff (unless you have port >> > mapping >> > / >> > run a web server etc), and then the AV and software firewall picks up >> > the >> > pieces not handled. I have run this combination since going broadband >> > about >> > 4 years ago and have never had an infection, so I guess I have to say >> > that >> > is "good enough". >> > >> > I hate it when people rain on my parade, but I have considered this >> > idea >> > several times in the past and just said no way it was going to really >> > happen. OTOH, if you put together a "put in this CD, reboot and you >> > will >> > have a hardware firewall" kind of package, I might be persuaded to try >> > it. >> > >> > John W. Colby >> > www.ColbyConsulting.com >> > >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > >> > -- >> > AccessD mailing list >> > AccessD at databaseadvisors.com >> > http://databaseadvisors.com/mailman/listinfo/accessd >> > Website: http://www.databaseadvisors.com >> > >> > > I see. So, because my mail domain is mybellybutton.com I must be a > complete idiot..... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From tewald at comcast.net Tue Oct 11 09:09:33 2005 From: tewald at comcast.net (tewald at comcast.net) Date: Tue, 11 Oct 2005 14:09:33 +0000 Subject: [AccessD] Automatically expanding source data parameter Message-ID: <101120051409.28111.434BC79D00089A3E00006DCF22069997350B040E990A9B@comcast.net> Whether this will require VBA, or I'm just about to reveal (more of) my ignorance with regard to MSFT's built-in chart abilities, I don't know. Once a week I update data in several spreadsheets.Certain totals (the same in each case) are copied from each of the sheets to one sheet comprised of totals only. The data from each sheet has 3 charts based on that sheet's data. The charts are all time-oriented in that past data remains, while a new column is added to the individual totals tables and is to be included in that table's chart. Each of the initial sheets has a counterpart chart sheet containing 3 charts. I go to each of the 3 charts in each of the chart sheets, and expand the Source Data parameter. Here are examples of the Source Data from one of the chart sheets for today's data: ='Scorecard Data'!$A$2:$O$7 ='Scorecard Data'!$A$2:$O$3,'Scorecard Data'!$A$5:$O$5,'Scorecard Data'!$A$12:$O$14 ='Scorecard Data'!$A$2:$O$2,'Scorecard Data'!$A$4:$O$4,'Scorecard Data'!$A$9:$O$11 I had to go to each of these and change the "N" to an "O", as you see above. This is no big deal, but I have several sheets similar to this one. You will note that the data contained in the last two lines are not contiguous, which adds to the confusion. I would think naming a range, and then simply redefining the range programmatically, would be a reasonable idea, except for that lack of contiguity. Is there a way to update each of these 3 parameters on several chart sheets automatically? TIA, Tom Ewald From Gustav at cactus.dk Tue Oct 11 09:22:30 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 11 Oct 2005 16:22:30 +0200 Subject: [AccessD] Automatically expanding source data parameter Message-ID: Hi Tom If you have control over these spreadsheets you may find it easier to create Named Ranges for the row/column ranges and then refer to these. /gustav >>> tewald at comcast.net 11-10-2005 16:09:33 >>> Whether this will require VBA, or I'm just about to reveal (more of) my ignorance with regard to MSFT's built-in chart abilities, I don't know. Once a week I update data in several spreadsheets.Certain totals (the same in each case) are copied from each of the sheets to one sheet comprised of totals only. The data from each sheet has 3 charts based on that sheet's data. The charts are all time-oriented in that past data remains, while a new column is added to the individual totals tables and is to be included in that table's chart. Each of the initial sheets has a counterpart chart sheet containing 3 charts. I go to each of the 3 charts in each of the chart sheets, and expand the Source Data parameter. Here are examples of the Source Data from one of the chart sheets for today's data: ='Scorecard Data'!$A$2:$O$7 ='Scorecard Data'!$A$2:$O$3,'Scorecard Data'!$A$5:$O$5,'Scorecard Data'!$A$12:$O$14 ='Scorecard Data'!$A$2:$O$2,'Scorecard Data'!$A$4:$O$4,'Scorecard Data'!$A$9:$O$11 I had to go to each of these and change the "N" to an "O", as you see above. This is no big deal, but I have several sheets similar to this one. You will note that the data contained in the last two lines are not contiguous, which adds to the confusion. I would think naming a range, and then simply redefining the range programmatically, would be a reasonable idea, except for that lack of contiguity. Is there a way to update each of these 3 parameters on several chart sheets automatically? TIA, Tom Ewald From cfoust at infostatsystems.com Tue Oct 11 09:29:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Oct 2005 07:29:40 -0700 Subject: [AccessD] OT: Firewall Message-ID: Frank, If you want to hang out in this list, don't take everything so seriously. There is a lot of banter and horsing around, as well as serious discussion and help. Nobody is judging you based on your domain, but you must admit it's an amusing one. The mods of this list stamp out flames quite efficiently but you need to give as good as you get and in the same vein. Trust me, the discussions sometimes get VERY intense, but there is no personal animosity involved. Just don't expect anyone to take your advice as received truth, since developers as a group tend to have as many opinions as they have topics. Charlotte Foust -----Original Message----- On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software wrote: > How can we take someone seriously who wants to be known as belly > button? > > Rocky > I see. So, because my mail domain is mybellybutton.com I must be a complete idiot..... From markamatte at hotmail.com Tue Oct 11 10:33:41 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Oct 2005 15:33:41 +0000 Subject: [AccessD] CSV with no header In-Reply-To: Message-ID: John, Just a curiosity, if the attributes you are looking for are those of a FLAT file...why the commas? Just curious, Mark A. Matte >From: "Gustav Brock" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] CSV with no header >Date: Tue, 11 Oct 2005 09:41:02 +0200 > >Hi John > >Write the file yourself. I do not need to tell you how ... >I do that all the time to have control of the formatting of the fields. > >/gustav > > >>> jwcolby at ColbyConsulting.com 10-10-2005 22:14:48 >>> >Does anyone know a simple way to do a CSV without the header? And yea, I >can do the export, open the file and delete the first line. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Tue Oct 11 10:38:02 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Tue, 11 Oct 2005 17:38:02 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EPMET42id-00025j@mrelay.perfora.net> Charlotte Foust wrote on 10/11/2005, 04:29:40 PM: > Frank, > > If you want to hang out in this list, don't take everything so > seriously. There is a lot of banter and horsing around, as well as > serious discussion and help. Nobody is judging you based on your > domain, but you must admit it's an amusing one. The mods of this list > stamp out flames quite efficiently but you need to give as good as you > get and in the same vein. Trust me, the discussions sometimes get VERY > intense, but there is no personal animosity involved. Just don't expect > anyone to take your advice as received truth, since developers as a > group tend to have as many opinions as they have topics. > > Charlotte Foust > > > -----Original Message----- > On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software > wrote: > > How can we take someone seriously who wants to be known as belly > > button? > > > > Rocky > > > > > I see. So, because my mail domain is mybellybutton.com I must be a > complete idiot..... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Actually, I have been on this list for about 4 or 5 years now. I mostly lurk. Until a network/systems question comes up. Then I add my educated input. I *DO* take it seriously when someone makes assumptions about me or something I have said based on little or no information. That is exactly what John C and Rocky did. Because I have a "humorous" mail domain I must be an idiot. And because my document is 100 pages with screen shots it must be too difficult to understand. 80% of the pages of my document have screen shots. Of that 80% about 80% of those have five or less lines of text. Of the remaining 20% about 5% of those have a second screen shot on the page. In other words, without the table of contents, cover pages, revision pages, and screen shots, my document is less than 30 pages. As a reference, your average stereo assembly instructions are between 5 and 50 pages depending on the complexity of the equipment involved. Your average VCR manual is 60+ pages. Yout average cell phone manual is also 60+ pages. Judging people, and things, without having all of the facts is one of my pet peeves. From John.Clark at niagaracounty.com Tue Oct 11 10:45:02 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 11 Oct 2005 11:45:02 -0400 Subject: [AccessD] OT: Firewall Message-ID: Hey Rocky. First I want to give you a disclaimer; I am way behind with my Email reading, and I haven't scanned this whole thread yet...I had been thinking of just deleting the whole thread, but checked out the first few posts on a whim. On my daughters' PC, I am having a problem with ZA. From what I can tell, it looks as if something got in and messed up the "signature" or something. I've tried a reinstall and a fresh install and nothing is working. This has worked for years now, so it is definitely something odd that is taking place on mine. I am actually considering a total format of the PC, because in this case, being my daughters', it is just for Internet and games, so I can replace everything on it. I'm going on to read the rest of this post, so I apologize if this was redundant or way off base. Take care! John W Clark >>> bchacc at san.rr.com 10/10/2005 12:05 PM >>> Charlotte: I tried the clean install but it still messed up. Even went through all their uninstall stuff. I'm sure it's something peculiar to that machine. But if I can do a quickie with Sygate that'll be fine, instead of messing around for another hour or two with Zone Alarm. Regards, Rocky ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Monday, October 10, 2005 8:48 AM Subject: Re: [AccessD] OT: Firewall > Rocky, > > There have been a lot of problems with the 6.x versions of ZoneAlarm, > but most if not all were solved in the latest build. The best advice > seems to be to do a clean install, not an upgrade. That requires you to > retrain the critter, but it presents no other problems that I've > encountered. You do need the software firewall to prevent outgoing > unauthorized traffic. > > Charlotte Foust > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin > - Beach Access Software > Sent: Sunday, October 09, 2005 8:07 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] OT: Firewall > > > I\'m having a huge problem getting Zone Alarm on one of our computers > I've used it for years with no problem, upgraded this one box from > Version 3 to the latest, it blocks internet access and give a page full > of instructions on how to solve the problem - none of which work. > > Uninstalled, reinstalled, cleaned registry per their instructions, > renamed the internet log, blah, blah. > > At the moment the machine is behind the router firewall (like all of > them) so I don't know if I should be too concerned but I've always run a > firewall on each machine in addition to the hardware firewall in the > Linksys. > > I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( > another free one : http://smb.sygate.com/products/spf_standard.htm) . > Anyone know about this? Any other recommendations for a personal > firewall? > > Thanks and regards, > > Rocky > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Tue Oct 11 10:46:24 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Tue, 11 Oct 2005 10:46:24 -0500 (CDT) Subject: [AccessD] CSV with no header In-Reply-To: <001001c5ce04$d2386730$697aa8c0@ColbyM6805> References: <20384.65.196.182.34.1128975930.squirrel@65.196.182.34> <001001c5ce04$d2386730$697aa8c0@ColbyM6805> Message-ID: <51545.65.196.182.34.1129045584.squirrel@65.196.182.34> If I had commas within strings, then I would select another delimiter like a |. I think that you can set that up in a specification. > I am trying that but it ends up bracketing the fields with ". I suppose > that if a comma is embedded in the string then the "" is required to > specify > that the , is internal to the string and not a delimiter. Is the "" part > of > the csv spec? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss > Sent: Monday, October 10, 2005 4:26 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] CSV with no header > > > If you use docmd.TransferText you can set the parameter after filename to > false. > > >> Does anyone know a simple way to do a CSV without the header? And >> yea, I can do the export, open the file and delete the first line. >> >> Other than that...? >> >> John W. Colby >> www.ColbyConsulting.com >> >> Contribute your unused CPU cycles to a good cause: >> http://folding.stanford.edu/ >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Patricia.O'Connor at otda.state.ny.us Tue Oct 11 10:53:21 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 11 Oct 2005 11:53:21 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551ECB@EXCNYSM0A1AI.nysemail.nyenet> Did you get an answer for this? A co-worker is getting the same error in a VB program he created. Thanks ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Monday, October 03, 2005 10:26 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] DIR Command Failing-but not everywhere... > > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, > or not. The exact syntax is shown below. The code is > checking for a specific file in two different directories > (one exists at work, and one at the customer's), and if it > can't find that file in either location, the application > warns the user that it's not available right now and closes > automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> > "chkfile.ozx" ... > > This code works perfectly at work and at the customer's. So, > you may ask, what's the big deal? Well, I also work on this > at home, and I just (within the last 3 weeks) reformatted my > home computer (winXP), reinstalled everything > (supposedly...), and service packed everything up to date. > > When I run this application at home, it fails on the Dir() > command where the directory doesn't exist. Since I'm at > home, for example, I don't have a "G" drive and it fails on > that one with the message "Bad Filename or Number", and the > error number is 52. > > The application is identical in both places...that is, I take > a copy home and put it on my computer, relink all the tables > to the BE and everything else is the same. > > Either I've not installed something correctly at home, or > I've not installed something I need to have. Or both. The > references are all the same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From developer at ultradnt.com Tue Oct 11 11:17:32 2005 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 11 Oct 2005 12:17:32 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551ECB@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <200510111617.j9BGHXI41522@ultradnt.com> Yes, it is most likely caused by a drive that has a letter on the PC, but no media in it, such as a DVD or CD Rom drive. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Tuesday, October 11, 2005 11:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Did you get an answer for this? A co-worker is getting the same error in a VB program he created. Thanks ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Greg Smith > Sent: Monday, October 03, 2005 10:26 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] DIR Command Failing-but not everywhere... > > Hi everyone! Hope you all are having a GREAT day! > > I've got a real puzzle here. I'm using the Dir() command (Access 2003 > module) to find if a filename exists in a specific directory, or not. > The exact syntax is shown below. The code is checking for a specific > file in two different directories (one exists at work, and one at the > customer's), and if it can't find that file in either location, the > application warns the user that it's not available right now and > closes automatically. > > The code is: > > strFileName = Dir("c:\MyData\chkfile.ozx") > strFileNameBHC = Dir("G:\BHCRecorder\Scripts\chkfile.ozx") > If strFileName <> "chkfile.ozx" And strFileNameBHC <> > "chkfile.ozx" ... > > This code works perfectly at work and at the customer's. So, you may > ask, what's the big deal? Well, I also work on this at home, and I > just (within the last 3 weeks) reformatted my home computer (winXP), > reinstalled everything (supposedly...), and service packed everything > up to date. > > When I run this application at home, it fails on the Dir() command > where the directory doesn't exist. Since I'm at home, for example, I > don't have a "G" drive and it fails on that one with the message "Bad > Filename or Number", and the error number is 52. > > The application is identical in both places...that is, I take a copy > home and put it on my computer, relink all the tables to the BE and > everything else is the same. > > Either I've not installed something correctly at home, or I've not > installed something I need to have. Or both. The references are all > the same and none are missing at either location. > > Anyone else see this before? > > TIA!! > > Greg Smith > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Tue Oct 11 11:56:02 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Tue, 11 Oct 2005 18:56:02 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EPNRy2tLe-0005J2@mrelay.perfora.net> John Colby wrote on 10/11/2005, 05:56:21 AM: > Frank, > > >He judged the document without having ever seen it. > > I tried to judge it AFTER reading it but I couldn't find it. I have offered > to post it however, and the offer stands. > > Lighten up buddy. I am not casting aspersions on your document, or your > abilities. You sound to me like you know what you are doing. > > And I am willing, on further consideration, to suspend my disbelief re > whether a dedicated PC firewall could be as easy as you make it sound. If > it is in fact that easy, I want one. I think I said that somewhere in this > exchange. But it does have to just sit in the corner humming and not bother > me. No OS updates and stuff. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III > Sent: Monday, October 10, 2005 11:09 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > > Did you post a link to the document? If you did I missed it. > > > > John B. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > pctech at mybellybutton.com > > > > You are the one that seems close-minded about this, without even > > having seen the document, I might add. > > > > No. I didn't post a link to the document. He judged the document without > having ever seen it. He assumed that it was complicated and hard to read > for the novice. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com That's one of the nice things about Linux. It can update itself automatically, including a scheduled reboot *IF* the kernel has been updated. Linux is flexible that way. It even automatically restarts any services or daemons that have been replaced by an update. As an example, I have had to manually touch my home firewall that I built, that a large portion of this document is based on, exactly 5 times in the last 2 years. Yes, I actually keep maintenance logs on my home systems. One of those times was when I built it. One was to replace failed RAM. One was because my ISP and I thought I had a network card problem that turned out to be an issue with my VDSL gateway box. The other two were because I wanted to take the fierwall apart and blow the dust out. Linux and other *nix variants can run for a very long time without reboots. My firewall automatically reboots at 2:00am if, and only if, the kernel has been updated. Even then, it doesn't absolutely need to be rebooted. It only needs to be erbooted if you want to use the newly updated kernel. It will run just fine on the existing kernel that is loaded in memory. No, I didn't post a link to the document. For a couple of reasons. At the moment it is in first draft stage. I just completed it yesterday. Decond, even though I own the mybellybutton.com Internet domain name, I don't have a web site set up at the moment. I will send you a copy of the document off-list. From pctech at mybellybutton.com Tue Oct 11 12:00:01 2005 From: pctech at mybellybutton.com (pctech at mybellybutton.com) Date: Tue, 11 Oct 2005 19:00:01 +0200 Subject: [AccessD] =?iso-8859-1?q?OT=3A_Firewall?= Message-ID: <0MKoyl-1EPNVq2ZsC-0005Z1@mrelay.perfora.net> John Colby wrote on 10/11/2005, 05:30:17 AM: > Frank, lighten up. We are nice people. Or at least Rocky is. ;-) > > Me, I just assume you spend time contemplating your belly button. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III > Sent: Monday, October 10, 2005 11:10 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software > wrote: > > How can we take someone seriously who wants to be known as belly > > button? > > > > Rocky > > > I see. So, because my mail domain is mybellybutton.com I must be a complete > idiot..... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Actually I chose this mail domain because my oldest daughter, when she was born, had a belly button that looked like an @. Her mother used to poke her in the stomach saying, "Stormie at belly button dot com." So I began looking. Bellybutton.com was taken by a porn site, but mybelybutton.com wasn't taken at all. So I snapped it up. So in effect, you're partially correct. From John.Clark at niagaracounty.com Tue Oct 11 12:05:51 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 11 Oct 2005 13:05:51 -0400 Subject: [AccessD] attack of the Access pixies Message-ID: I am very...very very very...sorry (on the floor beggin' here), for not sending a note of thanks on this topic. I though I had actually, but I was out here today to send another help request...this one's a doosy I think...and I decided to move my Emails on this topic in a save folder (I save the threads regarding my posts...don't know why exactly), and I noticed this was missing. So, I truly and sincerely offer my belated thanks on this subject. Just for the record, yes, in response to Susan's question, I had used these buttons before...well, ones exactly like them. I took the advice of hiding/unhiding the top image control, as needed. However, I left them as .GIF files. It works fine now. And the guy I am helping out loves them...I got huge kudos for this, so I pass on kudos to Gustav, Susan and all the others who continue to help me out, when I need it. Take care all! John W Clark >>> Gustav at cactus.dk 9/30/2005 3:14:51 PM >>> Hi John Don't load the pictures every time. Convert them to bitmaps, insert them on the form, and hide/unhide them as needed. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Tue Oct 11 12:15:48 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 11 Oct 2005 13:15:48 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC2C8@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF102@ADGSERVER> Well Frank, let me be the first to say "me too please!" Thanks, Bobby I will send you a copy of the document off-list. From bheid at appdevgrp.com Tue Oct 11 12:17:28 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 11 Oct 2005 13:17:28 -0400 Subject: [AccessD] attack of the Access pixies In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC2CE@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF103@ADGSERVER> Bout time John! LOL. J/k. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Tuesday, October 11, 2005 1:06 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] attack of the Access pixies So, I truly and sincerely offer my belated thanks on this subject. John W Clark From cyx5 at cdc.gov Tue Oct 11 12:44:40 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 11 Oct 2005 13:44:40 -0400 Subject: [AccessD] OT: Firewall Message-ID: I love the bellybutton thing. My signficant other renamed *My Computer* to *My Toe Nails*, and I didn't realize it. All of a sudden, my Citrix was not working. I was on the phone with IT for at least a half an hour and we gave up. Then I saw it - what the? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Tuesday, October 11, 2005 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall John Colby wrote on 10/11/2005, 05:56:21 AM: > Frank, > > >He judged the document without having ever seen it. > > I tried to judge it AFTER reading it but I couldn't find it. I have > offered to post it however, and the offer stands. > > Lighten up buddy. I am not casting aspersions on your document, or > your abilities. You sound to me like you know what you are doing. > > And I am willing, on further consideration, to suspend my disbelief re > whether a dedicated PC firewall could be as easy as you make it sound. > If it is in fact that easy, I want one. I think I said that somewhere > in this exchange. But it does have to just sit in the corner humming > and not bother me. No OS updates and stuff. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank > Tanner III > Sent: Monday, October 10, 2005 11:09 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Firewall > > > On Mon, 2005-10-10 at 17:20 -0500, John Bartow wrote: > > Did you post a link to the document? If you did I missed it. > > > > John B. > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > pctech at mybellybutton.com > > > > You are the one that seems close-minded about this, without even > > having seen the document, I might add. > > > > No. I didn't post a link to the document. He judged the document > without having ever seen it. He assumed that it was complicated and > hard to read for the novice. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com That's one of the nice things about Linux. It can update itself automatically, including a scheduled reboot *IF* the kernel has been updated. Linux is flexible that way. It even automatically restarts any services or daemons that have been replaced by an update. As an example, I have had to manually touch my home firewall that I built, that a large portion of this document is based on, exactly 5 times in the last 2 years. Yes, I actually keep maintenance logs on my home systems. One of those times was when I built it. One was to replace failed RAM. One was because my ISP and I thought I had a network card problem that turned out to be an issue with my VDSL gateway box. The other two were because I wanted to take the fierwall apart and blow the dust out. Linux and other *nix variants can run for a very long time without reboots. My firewall automatically reboots at 2:00am if, and only if, the kernel has been updated. Even then, it doesn't absolutely need to be rebooted. It only needs to be erbooted if you want to use the newly updated kernel. It will run just fine on the existing kernel that is loaded in memory. No, I didn't post a link to the document. For a couple of reasons. At the moment it is in first draft stage. I just completed it yesterday. Decond, even though I own the mybellybutton.com Internet domain name, I don't have a web site set up at the moment. I will send you a copy of the document off-list. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Oct 11 12:53:32 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 11 Oct 2005 10:53:32 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPMET42id-00025j@mrelay.perfora.net> Message-ID: <002801c5ce8c$b21a0480$017ba8c0@xpserver> No Frank, Charlotte is saying you must have a sense of humour to choose that name. Many have their names chosen for them. A friend whose father's last name was Pipes, his father-in-laws name was Dwain which became his middle name and first name was David but he had red hair. It was not long before everyone knew him as Rusty Dwain Pipes. He works in the trades as an electrician but everyone assumes he is a Plumber. My daughter's boyfriend, a fellow from Demark, whose family name is Andersen and with a family name on the other side of Christian had parents with the humour to call him Hans. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: Tuesday, October 11, 2005 8:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Charlotte Foust wrote on 10/11/2005, 04:29:40 PM: > Frank, > > If you want to hang out in this list, don't take everything so > seriously. There is a lot of banter and horsing around, as well as > serious discussion and help. Nobody is judging you based on your > domain, but you must admit it's an amusing one. The mods of this list > stamp out flames quite efficiently but you need to give as good as you > get and in the same vein. Trust me, the discussions sometimes get VERY > intense, but there is no personal animosity involved. Just don't expect > anyone to take your advice as received truth, since developers as a > group tend to have as many opinions as they have topics. > > Charlotte Foust > > > -----Original Message----- > On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software > wrote: > > How can we take someone seriously who wants to be known as belly > > button? > > > > Rocky > > > > > I see. So, because my mail domain is mybellybutton.com I must be a > complete idiot..... > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Actually, I have been on this list for about 4 or 5 years now. I mostly lurk. Until a network/systems question comes up. Then I add my educated input. I *DO* take it seriously when someone makes assumptions about me or something I have said based on little or no information. That is exactly what John C and Rocky did. Because I have a "humorous" mail domain I must be an idiot. And because my document is 100 pages with screen shots it must be too difficult to understand. 80% of the pages of my document have screen shots. Of that 80% about 80% of those have five or less lines of text. Of the remaining 20% about 5% of those have a second screen shot on the page. In other words, without the table of contents, cover pages, revision pages, and screen shots, my document is less than 30 pages. As a reference, your average stereo assembly instructions are between 5 and 50 pages depending on the complexity of the equipment involved. Your average VCR manual is 60+ pages. Yout average cell phone manual is also 60+ pages. Judging people, and things, without having all of the facts is one of my pet peeves. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Tue Oct 11 13:21:08 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 11 Oct 2005 14:21:08 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: I've working on an A2K form (frmMonthly) that is sends parameters to query (qryMonthly), which in turn provides data for a subform (sfMoDetail) on this same form. Basically you type in an employee number and a year (both text boxes...yr defaults to current year), choose a time off type and a month (each using combo boxes), and it fills in a starting date and ending date, in the fields, "txtBegDate" and "txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and "txtEndDate" to return the dates and times that an employee took off that month. This works like a charm, if I type in an employee number (10080 is my test), and pick from the combos w/the mouse...the year is untouched, because it is already the current year and my test month is JUN, 2005. However, if I use the keyboard only to pick everything, nothing is returned, even if I then revert to using the mouse...once I've used the keyboard, I must exit the form and enter it again, for it to work. I currently have absolutely no clue as to why this is happening. After each of the fields (not including "txtEmpNum") the AfterUpdate event fires and calls a sub called "SetDates." This sub, as you can probably guess, sets the values of "txtBegDate" and "txtEndDate" and then requeries the subform. The dates are being filled in correctly, in both scenarios, and I have temporarily added two text boxes to verify that the values being passed to the query are what I am expecting. As I was writing this, it occurred to me that I hadn't tried running the query directly in my troubleshooting process, while using the keyboard...I just did and the query itself runs. The code in the sub, which probably has nothing to do with this, is: ***************************************** BEG CODE SNIPPET ************************************** Private Sub SetDates() Dim NumDays As Integer Dim SummaryText As String Select Case cboMonth.Value Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, Oct, & Dec have 31 days NumDays = 31 Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have 30 days NumDays = 30 Case 2 'February - could be leap year If txtYr.Value Mod 100 = 0 Then 'If it is a century year, it must be div. by 400. If txtYr.Value Mod 400 = 0 Then NumDays = 29 Else NumDays = 28 End If Else 'If not century yr, test if div by 4 for leap yr. If txtYr.Value Mod 4 = 0 Then NumDays = 29 Else NumDays = 28 End If End If End Select 'Set Beg & End dates for given month, for use as parameters in query txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType.Value & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", " & txtYr lblSummary.Caption = SummaryText sfMoDetail.Requery End Sub ***************************************** END CODE SNIPPET ************************************** Please save my sanity and send me a clue here! Take care! John W Clark From Patricia.O'Connor at otda.state.ny.us Tue Oct 11 13:57:22 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Tue, 11 Oct 2005 14:57:22 -0400 Subject: [AccessD] DIR Command Failing-but not everywhere... Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551ECD@EXCNYSM0A1AI.nysemail.nyenet> Thanks - will see If he is using DIR to a drive that might not be there. Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Conklin > Sent: Tuesday, October 11, 2005 12:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > Yes, it is most likely caused by a drive that has a letter on > the PC, but no media in it, such as a DVD or CD Rom drive. > > Steve > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > O'Connor, Patricia (OTDA) > Sent: Tuesday, October 11, 2005 11:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > > Did you get an answer for this? A co-worker is getting the > same error in a VB program he created. > > Thanks > > From John.Clark at niagaracounty.com Tue Oct 11 14:07:26 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Tue, 11 Oct 2005 15:07:26 -0400 Subject: [AccessD] In the meantime...simple syntax question Message-ID: I just posted, what I believe to be, a difficult question. But, in the meantime, allow me to pose something that should be quite a bit easier. I have a label on my form, which I am using to notify the user exactly what is being queried. The problem, if you could even call it a problem, is that if you filling in following data: txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; and txtYr = "2005" you will get the following string in the label, "lblSummary" "This data represents all v time taken, for employee 10080, for JUN, 2005" and I would like it to say, "This data represents all Vacation time taken, for employee 10080, for June, 2005" The following is the code snippet that I am doing this with: 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & txtYr lblSummary.Caption = SummaryText And I tried changing it to: 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType.SelText & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & ", " & txtYr lblSummary.Caption = SummaryText i.e. Adding ".SelText" to the two combo box control calls but then I get, "You can't reference a property or a method for a control unless the control has focus" OK...now what? Any ideas? The only one I've got in my head right now, is to set up parameters to send to the function that does this, but they would have to be global...so maybe I add the code snippet above to each of the field's "AfterUpdate" event and do it there? Again...any ideas? Thanks again. I'm flustered and going home for the night. I've got a headache and I've gotta stop at the pet store and buy crickets for my son's anoles...spelling?..."lizards." Then, I've got to stop by the football field and pass on the stats from last game. Is 4:00 PM too early to go to bed? Tomorrow is a new day...and hopfully a much better one ;) Take care all! John W Clark From andy at minstersystems.co.uk Tue Oct 11 14:29:31 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 11 Oct 2005 20:29:31 +0100 Subject: [AccessD] OT: Firewall In-Reply-To: Message-ID: <000101c5ce9a$1a587f60$fd980c54@minster33c3r25> Ok, I'll try again. --------------------------------------------------- We set up the Tech list specifically for this type of discussion. Please use it. Oh and there was a plea only a couple of days ago for more snipping of replies. That'd be good too. -- Andy Lacey http://www.minstersystems.co.uk From stephen at bondsoftware.co.nz Tue Oct 11 14:41:03 2005 From: stephen at bondsoftware.co.nz (Stephen Bond) Date: Wed, 12 Oct 2005 08:41:03 +1300 Subject: [AccessD] In the meantime...simple syntax question Message-ID: <70F3D727890C784291D8433E9C418F29149924@server.bondsoftware.co.nz> John, Does the RecordSource of the cboTOType combo have more than one field? The code looks like it is displaying the bound field (v) and you want it to display the combo's displayed field. If this is the case you might need to do this: SummaryText = "This data represents all " & cboTOType.Column(n) where n is the column ( zero-based) of the field you want to display in the RowSource of the combo Just a WAG Stephen Bond > -----Original Message----- > From: John Clark [mailto:John.Clark at niagaracounty.com] > Sent: Wednesday, 12 October 2005 8:07 a.m. > To: accessd at databaseadvisors.com > Subject: [AccessD] In the meantime...simple syntax question > > > I just posted, what I believe to be, a difficult question. But, in the > meantime, allow me to pose something that should be quite a > bit easier. > > I have a label on my form, which I am using to notify the user exactly > what is being queried. The problem, if you could even call it > a problem, > is that if you filling in following data: > > txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; > and txtYr = "2005" > > you will get the following string in the label, "lblSummary" > > "This data represents all v time taken, for employee 10080, for > JUN, 2005" > > and I would like it to say, "This data represents all Vacation time > taken, for employee 10080, for June, 2005" > > The following is the code snippet that I am doing this with: > > 'Set summary text to let user know exactly what is being queried > SummaryText = "This data represents all " & cboTOType & " time taken, > for employee " > SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & > txtYr > lblSummary.Caption = SummaryText > > And I tried changing it to: > > 'Set summary text to let user know exactly what is being queried > SummaryText = "This data represents all " & cboTOType.SelText & " time > taken, for employee " > SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & > ", " & txtYr > lblSummary.Caption = SummaryText > > > i.e. Adding ".SelText" to the two combo box control calls > > but then I get, "You can't reference a property or a method for a > control unless the control has focus" > > OK...now what? Any ideas? The only one I've got in my head right now, > is to set up parameters to send to the function that does > this, but they > would have to be global...so maybe I add the code snippet > above to each > of the field's "AfterUpdate" event and do it there? Again...any ideas? > > Thanks again. I'm flustered and going home for the night. I've got a > headache and I've gotta stop at the pet store and buy crickets for my > son's anoles...spelling?..."lizards." Then, I've got to stop by the > football field and pass on the stats from last game. Is 4:00 PM too > early to go to bed? > > Tomorrow is a new day...and hopfully a much better one ;) > > Take care all! > > John W Clark > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bheid at appdevgrp.com Tue Oct 11 14:49:32 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Tue, 11 Oct 2005 15:49:32 -0400 Subject: [AccessD] In the meantime...simple syntax question In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC30B@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF108@ADGSERVER> If I understand your problem, you are getting data from the combos that you are not expecting. I assume that the data in the combo box is id, then the display data, correct? If so then try something like: cboTOType.column(1) 'zero based, choose the 2nd column I do not have Access up at the moment, so it is either column or columns. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Tuesday, October 11, 2005 3:07 PM To: accessd at databaseadvisors.com Subject: [AccessD] In the meantime...simple syntax question I just posted, what I believe to be, a difficult question. But, in the meantime, allow me to pose something that should be quite a bit easier. I have a label on my form, which I am using to notify the user exactly what is being queried. The problem, if you could even call it a problem, is that if you filling in following data: txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; and txtYr = "2005" you will get the following string in the label, "lblSummary" "This data represents all v time taken, for employee 10080, for JUN, 2005" and I would like it to say, "This data represents all Vacation time taken, for employee 10080, for June, 2005" The following is the code snippet that I am doing this with: 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & txtYr lblSummary.Caption = SummaryText And I tried changing it to: 'Set summary text to let user know exactly what is being queried SummaryText = "This data represents all " & cboTOType.SelText & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & ", " & txtYr lblSummary.Caption = SummaryText i.e. Adding ".SelText" to the two combo box control calls but then I get, "You can't reference a property or a method for a control unless the control has focus" John W Clark From markamatte at hotmail.com Tue Oct 11 14:53:34 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Oct 2005 19:53:34 +0000 Subject: [AccessD] In the meantime...simple syntax question In-Reply-To: Message-ID: John, I think the problem originates with the combo displaying a description of the the value you are using...meaning the combo displays the description field "Vacation", but uses the ID field "V" to do your query stuff. If you still wanted to use this method...you could set focus to the field set a variable equal to the .seltext and then display your message...or use a dlookup or something. This may be the 'wrong' way...but should work... ********************** Dim Type Dim Month me!cboTOType.setfocus Type=cboTOType.SelText me!cboMonth .setfocus Month=me!cboMonth .SelText SummaryText = "This data represents all " & Type & " time taken, for employee " SummaryText = SummaryText & txtEmpNum & ", for " & Month & ", " & txtYr lblSummary.Caption = SummaryText ********************** ...then just put the focus back to where you need. Probably kinda ugly but gets what you need. Hope it helps, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] In the meantime...simple syntax question >Date: Tue, 11 Oct 2005 15:07:26 -0400 > >I just posted, what I believe to be, a difficult question. But, in the >meantime, allow me to pose something that should be quite a bit easier. > >I have a label on my form, which I am using to notify the user exactly >what is being queried. The problem, if you could even call it a problem, >is that if you filling in following data: > > txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; >and txtYr = "2005" > >you will get the following string in the label, "lblSummary" > > "This data represents all v time taken, for employee 10080, for >JUN, 2005" > >and I would like it to say, "This data represents all Vacation time >taken, for employee 10080, for June, 2005" > >The following is the code snippet that I am doing this with: > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType & " time taken, >for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & >txtYr >lblSummary.Caption = SummaryText > >And I tried changing it to: > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.SelText & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & >", " & txtYr >lblSummary.Caption = SummaryText > > >i.e. Adding ".SelText" to the two combo box control calls > >but then I get, "You can't reference a property or a method for a >control unless the control has focus" > >OK...now what? Any ideas? The only one I've got in my head right now, >is to set up parameters to send to the function that does this, but they >would have to be global...so maybe I add the code snippet above to each >of the field's "AfterUpdate" event and do it there? Again...any ideas? > >Thanks again. I'm flustered and going home for the night. I've got a >headache and I've gotta stop at the pet store and buy crickets for my >son's anoles...spelling?..."lizards." Then, I've got to stop by the >football field and pass on the stats from last game. Is 4:00 PM too >early to go to bed? > >Tomorrow is a new day...and hopfully a much better one ;) > >Take care all! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Oct 11 14:57:05 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Oct 2005 19:57:05 +0000 Subject: [AccessD] In the meantime...simple syntax question In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF108@ADGSERVER> Message-ID: Bobby and Stephen, Great suggestions...after reading yours mine sounded silly...I focused on the error and not the correct solution...but then again that's the beauty of this list. Thanks, Mark A. Matte >From: "Bobby Heid" >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] In the meantime...simple syntax question >Date: Tue, 11 Oct 2005 15:49:32 -0400 > >If I understand your problem, you are getting data from the combos that you >are not expecting. I assume that the data in the combo box is id, then the >display data, correct? If so then try something like: > >cboTOType.column(1) 'zero based, choose the 2nd column > >I do not have Access up at the moment, so it is either column or columns. > >Bobby > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark >Sent: Tuesday, October 11, 2005 3:07 PM >To: accessd at databaseadvisors.com >Subject: [AccessD] In the meantime...simple syntax question > > >I just posted, what I believe to be, a difficult question. But, in the >meantime, allow me to pose something that should be quite a bit easier. > >I have a label on my form, which I am using to notify the user exactly >what is being queried. The problem, if you could even call it a problem, >is that if you filling in following data: > > txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; >and txtYr = "2005" > >you will get the following string in the label, "lblSummary" > > "This data represents all v time taken, for employee 10080, for >JUN, 2005" > >and I would like it to say, "This data represents all Vacation time >taken, for employee 10080, for June, 2005" > >The following is the code snippet that I am doing this with: > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType & " time taken, >for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & >txtYr >lblSummary.Caption = SummaryText > >And I tried changing it to: > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.SelText & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & >", " & txtYr >lblSummary.Caption = SummaryText > > >i.e. Adding ".SelText" to the two combo box control calls > >but then I get, "You can't reference a property or a method for a >control unless the control has focus" > > > >John W Clark > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Oct 11 15:03:50 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 11 Oct 2005 20:03:50 +0000 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Tue Oct 11 15:24:38 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Tue, 11 Oct 2005 15:24:38 -0500 Subject: [AccessD] Automatically expanding source data parameter Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337905@corp-es01.fleetpride.com> Several possible solutions: A) Columns or rows that are part of a data series but are hidden will not be charted. You can use this to create data series with multiple empty hidden columns that you unhide as you add data. B)It is also possible to create dynamic ranges that automatically change as you add rows or columns. See: http://www.ozgrid.com/Excel/DynamicRanges.htm C)Pivot charts are an elegant way to create charts with rolling time periods. Like a pivot table the chart accesses a worksheet data table that you add to over time. The chart has drop down boxes that allow you to select which periods you want to display. D)You can change and set the range using VBA as you suggested although I for one am too lazy to go to all that trouble given the other possible solutions. HTH Jim Hale -----Original Message----- From: tewald at comcast.net [mailto:tewald at comcast.net] Sent: Tuesday, October 11, 2005 9:10 AM To: accessd at databaseadvisors.com Subject: [AccessD] Automatically expanding source data parameter Whether this will require VBA, or I'm just about to reveal (more of) my ignorance with regard to MSFT's built-in chart abilities, I don't know. Once a week I update data in several spreadsheets.Certain totals (the same in each case) are copied from each of the sheets to one sheet comprised of totals only. The data from each sheet has 3 charts based on that sheet's data. The charts are all time-oriented in that past data remains, while a new column is added to the individual totals tables and is to be included in that table's chart. Each of the initial sheets has a counterpart chart sheet containing 3 charts. I go to each of the 3 charts in each of the chart sheets, and expand the Source Data parameter. Here are examples of the Source Data from one of the chart sheets for today's data: ='Scorecard Data'!$A$2:$O$7 ='Scorecard Data'!$A$2:$O$3,'Scorecard Data'!$A$5:$O$5,'Scorecard Data'!$A$12:$O$14 ='Scorecard Data'!$A$2:$O$2,'Scorecard Data'!$A$4:$O$4,'Scorecard Data'!$A$9:$O$11 I had to go to each of these and change the "N" to an "O", as you see above. This is no big deal, but I have several sheets similar to this one. You will note that the data contained in the last two lines are not contiguous, which adds to the confusion. I would think naming a range, and then simply redefining the range programmatically, would be a reasonable idea, except for that lack of contiguity. Is there a way to update each of these 3 parameters on several chart sheets automatically? TIA, Tom Ewald -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From bchacc at san.rr.com Tue Oct 11 15:34:50 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Oct 2005 13:34:50 -0700 Subject: [AccessD] OT: Firewall References: <0MKoyl-1EPMET42id-00025j@mrelay.perfora.net> Message-ID: <01f901c5cea3$3b0ce8a0$6501a8c0@HAL9004> Hey, hey, hey, Frank. I didn't make any judgment about you. How could I? I don't understand what the heck you're talking about! Rocky ----- Original Message ----- From: To: "Access Developers discussion and problem solving" Sent: Tuesday, October 11, 2005 8:38 AM Subject: Re: [AccessD] OT: Firewall > > Charlotte Foust wrote on 10/11/2005, > 04:29:40 PM: >> Frank, >> >> If you want to hang out in this list, don't take everything so >> seriously. There is a lot of banter and horsing around, as well as >> serious discussion and help. Nobody is judging you based on your >> domain, but you must admit it's an amusing one. The mods of this list >> stamp out flames quite efficiently but you need to give as good as you >> get and in the same vein. Trust me, the discussions sometimes get VERY >> intense, but there is no personal animosity involved. Just don't expect >> anyone to take your advice as received truth, since developers as a >> group tend to have as many opinions as they have topics. >> >> Charlotte Foust >> >> >> -----Original Message----- >> On Mon, 2005-10-10 at 19:25 -0700, Rocky Smolin - Beach Access Software >> wrote: >> > How can we take someone seriously who wants to be known as belly >> > button? >> > >> > Rocky >> > >> >> >> I see. So, because my mail domain is mybellybutton.com I must be a >> complete idiot..... >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > Actually, I have been on this list for about 4 or 5 years now. I mostly > lurk. Until a network/systems question comes up. Then I add my > educated input. > > I *DO* take it seriously when someone makes assumptions about me or > something I have said based on little or no information. That is > exactly what John C and Rocky did. Because I have a "humorous" mail > domain I must be an idiot. And because my document is 100 pages with > screen shots it must be too difficult to understand. 80% of the pages > of my document have screen shots. Of that 80% about 80% of those have > five or less lines of text. Of the remaining 20% about 5% of those > have a second screen shot on the page. In other words, without the > table of contents, cover pages, revision pages, and screen shots, my > document is less than 30 pages. As a reference, your average stereo > assembly instructions are between 5 and 50 pages depending on the > complexity of the equipment involved. Your average VCR manual is 60+ > pages. Yout average cell phone manual is also 60+ pages. > > Judging people, and things, without having all of the facts is one of my > pet peeves. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Tue Oct 11 15:35:36 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Oct 2005 13:35:36 -0700 Subject: [AccessD] OT: Firewall References: Message-ID: <01fe01c5cea3$56437620$6501a8c0@HAL9004> John: I finally got it all cleaned off that machine and I'm going to put Sygate personal on there. Rocky ----- Original Message ----- From: "John Clark" To: Sent: Tuesday, October 11, 2005 8:45 AM Subject: Re: [AccessD] OT: Firewall > Hey Rocky. First I want to give you a disclaimer; I am way behind with > my Email reading, and I haven't scanned this whole thread yet...I had > been thinking of just deleting the whole thread, but checked out the > first few posts on a whim. > > On my daughters' PC, I am having a problem with ZA. From what I can > tell, it looks as if something got in and messed up the "signature" or > something. I've tried a reinstall and a fresh install and nothing is > working. This has worked for years now, so it is definitely something > odd that is taking place on mine. I am actually considering a total > format of the PC, because in this case, being my daughters', it is just > for Internet and games, so I can replace everything on it. > > I'm going on to read the rest of this post, so I apologize if this was > redundant or way off base. > > Take care! > > John W Clark > >>>> bchacc at san.rr.com 10/10/2005 12:05 PM >>> > Charlotte: > > I tried the clean install but it still messed up. Even went through all > > their uninstall stuff. I'm sure it's something peculiar to that > machine. > But if I can do a quickie with Sygate that'll be fine, instead of > messing > around for another hour or two with Zone Alarm. > > Regards, > > Rocky > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Monday, October 10, 2005 8:48 AM > Subject: Re: [AccessD] OT: Firewall > > >> Rocky, >> >> There have been a lot of problems with the 6.x versions of > ZoneAlarm, >> but most if not all were solved in the latest build. The best > advice >> seems to be to do a clean install, not an upgrade. That requires you > to >> retrain the critter, but it presents no other problems that I've >> encountered. You do need the software firewall to prevent outgoing >> unauthorized traffic. >> >> Charlotte Foust >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky > Smolin >> - Beach Access Software >> Sent: Sunday, October 09, 2005 8:07 AM >> To: AccessD at databaseadvisors.com >> Subject: [AccessD] OT: Firewall >> >> >> I\'m having a huge problem getting Zone Alarm on one of our > computers >> I've used it for years with no problem, upgraded this one box from >> Version 3 to the latest, it blocks internet access and give a page > full >> of instructions on how to solve the problem - none of which work. >> >> Uninstalled, reinstalled, cleaned registry per their instructions, >> renamed the internet log, blah, blah. >> >> At the moment the machine is behind the router firewall (like all of >> them) so I don't know if I should be too concerned but I've always > run a >> firewall on each machine in addition to the hardware firewall in the >> Linksys. >> >> I'm not wedded to Zone Alarm and I'm looking at Sygate's product ( >> another free one : http://smb.sygate.com/products/spf_standard.htm) > . >> Anyone know about this? Any other recommendations for a personal >> firewall? >> >> Thanks and regards, >> >> Rocky >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From stuart at lexacorp.com.pg Tue Oct 11 16:35:33 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Oct 2005 07:35:33 +1000 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPNRy2tLe-0005J2@mrelay.perfora.net> Message-ID: <434CBCC5.24593.1BCDCE72@stuart.lexacorp.com.pg> On 11 Oct 2005 at 18:56, pctech at mybellybutton.com wrote: ...... > That's one of the nice things about Linux. It can update itself ....... Bottom posting good. Bottom posting without trimming bad :-) -- Stuart From stuart at lexacorp.com.pg Tue Oct 11 16:35:33 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 12 Oct 2005 07:35:33 +1000 Subject: [AccessD] CSV with no header In-Reply-To: <51545.65.196.182.34.1129045584.squirrel@65.196.182.34> References: <001001c5ce04$d2386730$697aa8c0@ColbyM6805> Message-ID: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> On 11 Oct 2005 at 10:46, Jim Moss wrote: > If I had commas within strings, then I would select another delimiter like > a |. I think that you can set that up in a specification. > > In the Access Import/ExportText wizards you can specify any delimiter you like and also specify whether to quote strings. One problem is when strings themselves contain quotes :-( I prefer to use Tab delimited files. That way fields can contain commas,single/double quotes etc. Tabs are a widely accepted "standard"delimiter, you can specift Tab delimited as a Save format in Excel and can also select Tab as the delimiter in ImportText/ExportText specifications in Access. If you are building your own file with Print#, it's easy to throw in a Chr$(9) and not have to worry about what characters are in the strings. -- Stuart From jwcolby at ColbyConsulting.com Tue Oct 11 17:42:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 18:42:15 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPNVq2ZsC-0005Z1@mrelay.perfora.net> Message-ID: <001601c5ceb5$0a4fede0$697aa8c0@ColbyM6805> That's funny! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ Actually I chose this mail domain because my oldest daughter, when she was born, had a belly button that looked like an @. Her mother used to poke her in the stomach saying, "Stormie at belly button dot com." So I began looking. Bellybutton.com was taken by a porn site, but mybelybutton.com wasn't taken at all. So I snapped it up. So in effect, you're partially correct. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 11 17:44:28 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 18:44:28 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF102@ADGSERVER> Message-ID: <001701c5ceb5$56bc9890$697aa8c0@ColbyM6805> If he allows me to do so I will post it on my site, with full acknowledgements as to where it comes from. I have a "useful files" page already up there. This sounds like a perfect addition to that content. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Tuesday, October 11, 2005 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall Well Frank, let me be the first to say "me too please!" Thanks, Bobby I will send you a copy of the document off-list. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 11 18:12:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 11 Oct 2005 19:12:15 -0400 Subject: [AccessD] CSV with no header In-Reply-To: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> Message-ID: <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> In the end, I don't get to choose. This is a government export for PlanD of the Medicare system (or something like that). The gov says "these fields, in this format". The only problem is that they simply say "csv with no header". What does that mean exactly? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 11, 2005 5:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV with no header On 11 Oct 2005 at 10:46, Jim Moss wrote: > If I had commas within strings, then I would select another delimiter > like a |. I think that you can set that up in a specification. > > In the Access Import/ExportText wizards you can specify any delimiter you like and also specify whether to quote strings. One problem is when strings themselves contain quotes :-( I prefer to use Tab delimited files. That way fields can contain commas,single/double quotes etc. Tabs are a widely accepted "standard"delimiter, you can specift Tab delimited as a Save format in Excel and can also select Tab as the delimiter in ImportText/ExportText specifications in Access. If you are building your own file with Print#, it's easy to throw in a Chr$(9) and not have to worry about what characters are in the strings. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From karenr7 at oz.net Tue Oct 11 18:17:57 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Tue, 11 Oct 2005 16:17:57 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <001701c5ceb5$56bc9890$697aa8c0@ColbyM6805> Message-ID: <200510112317.j9BNHwT16325@databaseadvisors.com> Me too, me too! Thanks. karenr7 at oz.net Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, October 11, 2005 3:44 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall If he allows me to do so I will post it on my site, with full acknowledgements as to where it comes from. I have a "useful files" page already up there. This sounds like a perfect addition to that content. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Tuesday, October 11, 2005 1:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall Well Frank, let me be the first to say "me too please!" Thanks, Bobby I will send you a copy of the document off-list. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Tue Oct 11 18:35:29 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 11 Oct 2005 16:35:29 -0700 Subject: [AccessD] CSV with no header References: <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> Message-ID: <02b501c5cebc$774a51e0$6501a8c0@HAL9004> I would guess that means no field names in the first row. Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 11, 2005 4:12 PM Subject: Re: [AccessD] CSV with no header > In the end, I don't get to choose. This is a government export for PlanD > of > the Medicare system (or something like that). The gov says "these fields, > in this format". The only problem is that they simply say "csv with no > header". What does that mean exactly? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, October 11, 2005 5:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] CSV with no header > > > On 11 Oct 2005 at 10:46, Jim Moss wrote: > >> If I had commas within strings, then I would select another delimiter >> like a |. I think that you can set that up in a specification. >> >> > > > In the Access Import/ExportText wizards you can specify any delimiter you > like and also specify whether to quote strings. One problem is when > strings themselves contain quotes :-( > > > I prefer to use Tab delimited files. That way fields can contain > commas,single/double quotes etc. Tabs are a widely accepted > "standard"delimiter, you can specift Tab delimited as a Save format in > Excel and can also select Tab as the delimiter in ImportText/ExportText > specifications in Access. If you are building your own file with Print#, > it's easy to throw in a Chr$(9) and not have to worry about what > characters > are in the strings. > > > > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From cfoust at infostatsystems.com Tue Oct 11 18:36:58 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Tue, 11 Oct 2005 16:36:58 -0700 Subject: [AccessD] CSV with no header Message-ID: I would interpret it as comma delimited text with quotes around strings and none around numbers. CSV, is specifically comma-delimited, so you have to use quotes around text to handle possible interior commas. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, October 11, 2005 4:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] CSV with no header In the end, I don't get to choose. This is a government export for PlanD of the Medicare system (or something like that). The gov says "these fields, in this format". The only problem is that they simply say "csv with no header". What does that mean exactly? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 11, 2005 5:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV with no header On 11 Oct 2005 at 10:46, Jim Moss wrote: > If I had commas within strings, then I would select another delimiter > like a |. I think that you can set that up in a specification. > > In the Access Import/ExportText wizards you can specify any delimiter you like and also specify whether to quote strings. One problem is when strings themselves contain quotes :-( I prefer to use Tab delimited files. That way fields can contain commas,single/double quotes etc. Tabs are a widely accepted "standard"delimiter, you can specift Tab delimited as a Save format in Excel and can also select Tab as the delimiter in ImportText/ExportText specifications in Access. If you are building your own file with Print#, it's easy to throw in a Chr$(9) and not have to worry about what characters are in the strings. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pctech at mybellybutton.com Tue Oct 11 19:29:43 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Tue, 11 Oct 2005 17:29:43 -0700 Subject: [AccessD] OT: Firewall In-Reply-To: <001701c5ceb5$56bc9890$697aa8c0@ColbyM6805> References: <001701c5ceb5$56bc9890$697aa8c0@ColbyM6805> Message-ID: <1129076983.2908.0.camel@localhost.localdomain> On Tue, 2005-10-11 at 18:44 -0400, John Colby wrote: > If he allows me to do so I will post it on my site, with full > acknowledgements as to where it comes from. I have a "useful files" page > already up there. This sounds like a perfect addition to that content. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid > Sent: Tuesday, October 11, 2005 1:16 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] OT: Firewall > > > Well Frank, let me be the first to say "me too please!" > > Thanks, > Bobby > > > > I will send you a copy of the document off-list. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > Let me remove the company info and I don't mind at all. From stuart at lexacorp.com.pg Tue Oct 11 19:26:19 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Wed, 12 Oct 2005 10:26:19 +1000 Subject: [AccessD] CSV with no header In-Reply-To: <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> References: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> Message-ID: <434CE4CB.29133.72EE76@localhost> On 11 Oct 2005 at 19:12, John Colby wrote: > In the end, I don't get to choose. This is a government export for PlanD of > the Medicare system (or something like that). The gov says "these fields, > in this format". The only problem is that they simply say "csv with no > header". What does that mean exactly? > I would supply: A plain ASCII text (ie no Unicode). Each record terminates with CRLF Fields separate by commas. Quotes around text fields if any field is likely to include commas. Otherwise I would not quote the text. Do not include an initial line containing the field names. Note that there is no actual specification for a CSV file. Here's what you will find at http://www.wotsit.org which is the best place I know to get the specifications for just about any file format you can thiing of. ------------------------------------------------------------------- CSV file format ------------------------------------------------------------------- The CSV format is supposedly one of the most 'standard' interchange formats between data based programs. Almost all data based applications seem to be able to export CSV formatted data, and almost all have a way to import it. However, the format is anything BUT standard. There are quite a few variations that are very important to understand. ------------------------------------------------------------------- DATA ENCAPSULATION ------------------------------------------------------------------- Data is either 'naked' (without encapsulating doublequotes), or quoted. Quoted data is used to protect imbedded carriage returns, imbedded commas, odd characters and of course, the quote character itself. Quotes that are 'data' are doubled up. ------------------------------------------------------------------- UNQUOTED ENCAPSULATION ------------------------------------------------------------------- Data that does NOT contain newlines, carriage returns, comma's or quotes (or ASCII data below 0x20 or above 0x7f) stands on its own: data <1234> followed by becomes: 1234,The Big Ol' Bear{CR} ------------------------------------------------------------------- QUOTED ENCAPSULATION ------------------------------------------------------------------- Data that contains double quotes, commas, returns or other odd characters outside the 7-bit ASCII character set is quoted. data <1234 Harrington St, Northwest> followed by becomes: "1234 Harrington St, Northwest",Suite 17 Stop 3 Note that the second chunk of data does not have the protection of the quotes: it doesn't need it, having no odd characters within. <1234 West "Q" St.> ------------------------------------------------------------------- QUOTED ENCAPSULATION OF DOUBLE QUOTE ------------------------------------------------------------------- Data that contains double quotes is a special case, and oddly interpreted by all nature of commercial programs. Consider the data: <1234 West "Q" St.> It should become: "1234 West ""Q"" St." <<< RIGHT WAY Where each internal DATA quote is doubled up. However, some programs (such as Paradox) don't do so nicely. They would represent the data as: "1234 West "Q" St.",.... <<< WRONG WAY Where they feel that a doublequote with no comma following is part of the data. This turns out to be rather bogus, as it can be painful under various common circumstances (e.g.: <1234 West "Q" St. (for "Quantum", or "Quality")> becomes "1234 West "Q" St. (for "Quantum", or "Quality")", Which of course is entirely ambiguous as to the placement of data in the field. ------------------------------------------------------------------- QUOTED ENCAPSULATION OF CARRIAGE RETURNS ------------------------------------------------------------------- Often times data has imbedded carriage returns. YOU MUST MAKE SURE YOUR ROUTES HANDLE THIS CORRECTLY, as it is a VERY common case: becomes "Thomas Aquinus, Esq.{CR} Prosecutor for the Pope{CR} St. Luke's Dungeon{CR} Somewhere in Italy" What makes this so blasted difficult is that at the 'outer level', most CSV parsing code is trying to evaluate LINES, not fields. However, the imbedded CR louses up the logic. OPTIMALLY, you should code your CSV reader to have a 'field-by-field' read logic. If this is impossible (or awkward, as in PERL), you may want to have conditional logic looking for a trailing and unmatched doublequote. ------------------------------------------------------------------- EMPTY DATA CONVENTIONS ------------------------------------------------------------------- When data is 'empty' (either the empty string, or the numeric value '0', or FALSE if boolean), you have the option of either writing out: "" or writing nothing at all. Therefore, it is common to see CSV files that look like both of these examples: "","Thos.","","Aquinus","Esq.","Pros.forPope","","Somewhere..." ,Thos.,,Aquinus,Esq,Pros.forPope,,Somewhere... They're both equivalent, and do not violate the spirit of the CSV standard. ------------------------------------------------------------------- REMOVING PADDING ------------------------------------------------------------------- Though not strictly required, it is conventional to remove empty space padding before and after data. Likewise, it is conventional to remove empty padding when READING data [on the off chance that someone forgot to remove it when writing the data out!] ------------------------------------------------------------------- THE FIELD-DESCRIPTION HEADER ------------------------------------------------------------------- Surprisingly there is absolutly no part of the standard that either calls for the first record to consist of the names of the fields in the data following, or, that identifies the first record uniquely as such should it exist! However, it is both common AND EXPECTED that the first line should consist of the names of the fields for the records that follow. ------------------------------------------------------------------- VARIABLY FORMATTED CSV's ------------------------------------------------------------------- Some programmers have abandonded the very precept of a regularly formatted CSV file and have added their own twists. Groupwise CSV export is one of these programs. They "enhance" the CSV output format so that the first field of the record determines the structure of the rest of the record. This is hopelessly hard to cope with. DON'T DO IT IF YOU WANT TO REMAIN ALIVE. This document was created in a fit of disgust with the complete lack of CSV documentation found on the Internet. Author: Robert J. Lynch rlynch at lynchmarks.com Copyright (c) 2001 From gregsmith at starband.net Tue Oct 11 21:47:08 2005 From: gregsmith at starband.net (Greg W Smith) Date: Tue, 11 Oct 2005 21:47:08 -0500 Subject: [AccessD] DIR Command Failing-but not everywhere... In-Reply-To: <01DBAB52E30A9A4AB3D94EF8029EDBE8551ECD@EXCNYSM0A1AI.nysemail.nyenet> Message-ID: <000701c5ced7$4d35d030$0500a8c0@dads> Patti: Yes, it was exactly that. I had rebuilt my home computer and in that process my drive letter "G:" which had NOT been used before became my DVD writer (I added another backup hard drive which changed all the lettering)....who would have known. So when the code hit that drive, which was empty, the error occurred. I could replicate it on my computer at work, so I knew it was that. I no longer use the DIR command....geee, I wonder why... Greg -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of O'Connor, Patricia (OTDA) Sent: Tuesday, October 11, 2005 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] DIR Command Failing-but not everywhere... Thanks - will see If he is using DIR to a drive that might not be there. Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Steve Conklin > Sent: Tuesday, October 11, 2005 12:18 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] DIR Command Failing-but not everywhere... > > Yes, it is most likely caused by a drive that has a letter on > the PC, but no media in it, such as a DVD or CD Rom drive. > From bheid at appdevgrp.com Wed Oct 12 06:20:26 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 12 Oct 2005 07:20:26 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC33E@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF10A@ADGSERVER> I personally do not care for bottom posting. I believe that a lot of the Linux gods (read that sarcastically) on some of the RH lists I read will not even read a post if it's not bottom posted and complain very loudly that 'that is the way WE prefer it" as if they took a poll or something. Really pisses me off. LOL. But I don't really care which way someone posts as long as they don't bother me about the way I post. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 11, 2005 5:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Bottom posting good. Bottom posting without trimming bad :-) -- Stuart From bheid at appdevgrp.com Wed Oct 12 06:21:33 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Wed, 12 Oct 2005 07:21:33 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CAC366@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF10B@ADGSERVER> Thanks Frank. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Tuesday, October 11, 2005 8:30 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Let me remove the company info and I don't mind at all. From John.Clark at niagaracounty.com Wed Oct 12 07:11:35 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 08:11:35 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Not silly at all...I don't think anyhow. It didn't seem to work though. However, it did produce results that made me think of another thing to try. as I have explained, I am using a form that gathers the needed info, and the data comes through on a subform. I think that I may be requerying the wrong thing...maybe I need to requery that subform...not the subform control, but rather the actual form that I am piping in. I've tried requerying the query and the subform control, so I am going to try the actual form and see how that goes...once I figure out the syntax. I've done similar before, so I've got it here somewhere. Thanks for your input though...it is appreciated! John W Clark (The "other" John C) >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cyx5 at cdc.gov Wed Oct 12 07:22:47 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Wed, 12 Oct 2005 08:22:47 -0400 Subject: [AccessD] OT - Online CBT Courses Message-ID: I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From garykjos at gmail.com Wed Oct 12 08:09:44 2005 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 12 Oct 2005 08:09:44 -0500 Subject: [AccessD] OT - Online CBT Courses In-Reply-To: References: Message-ID: Congratulations Karen! I don't have any help on the training options though. GK On 10/12/05, Nicholson, Karen wrote: > I just switched contracting companies to do the same job I have been > doing with a 35% raise. Yes! I can take any course that I want to take > and am leaning towards vb.net or something with XML. I prefer to do CBT > courses. Any suggestions? > > Karen S. Nicholson -- Gary Kjos garykjos at gmail.com From mboyd at deloitte.com Wed Oct 12 08:40:57 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 12 Oct 2005 08:40:57 -0500 Subject: [AccessD] Counting Fields Message-ID: <0FBDA7773C0D634D8511C0F9438AD81D4C9975@uscnt0406.us.deloitte.com> I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From mikedorism at verizon.net Wed Oct 12 08:53:06 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 12 Oct 2005 09:53:06 -0400 Subject: [AccessD] OT - Online CBT Courses In-Reply-To: Message-ID: <000901c5cf34$47914940$2e01a8c0@dorismanning> Check with any colleges or community colleges in your area. A lot of them are beginning to offer online classes. They may also have suggestions for CBT training courses. Doris Manning mikedorism at verizon.net From mikedorism at verizon.net Wed Oct 12 08:55:37 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 12 Oct 2005 09:55:37 -0400 Subject: [AccessD] Counting Fields In-Reply-To: <0FBDA7773C0D634D8511C0F9438AD81D4C9975@uscnt0406.us.deloitte.com> Message-ID: <000a01c5cf34$a17f4a10$2e01a8c0@dorismanning> Add a column to the select query that contains the following... IIF(Field1 = "X", 1, 0) + IIF(Field2 = "X", 1, 0)...+ IIF(Field7 = "X", 1,0) This will sum all 7 fields giving you the total X count. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Wednesday, October 12, 2005 9:41 AM To: AccessD Subject: [AccessD] Counting Fields I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Wed Oct 12 08:58:43 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 12 Oct 2005 14:58:43 +0100 Subject: [AccessD] Counting Fields Message-ID: <20051012135841.3204D2531CC@smtp.nildram.co.uk> SELECT IIF(Field1="X",1,0)+IIF(Field2="X",1,0)+.... AS CountX FROM ..... -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "AccessD" Subject: [AccessD] Counting Fields Date: 12/10/05 13:42 I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From mboyd at deloitte.com Wed Oct 12 09:13:30 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 12 Oct 2005 09:13:30 -0500 Subject: [AccessD] Counting Fields Message-ID: <0FBDA7773C0D634D8511C0F9438AD81D4C9AA4@uscnt0406.us.deloitte.com> Works perfectly! Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Andy Lacey Sent: Wednesday, October 12, 2005 9:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Counting Fields SELECT IIF(Field1="X",1,0)+IIF(Field2="X",1,0)+.... AS CountX FROM ..... -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "AccessD" Subject: [AccessD] Counting Fields Date: 12/10/05 13:42 I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Wed Oct 12 09:13:51 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Wed, 12 Oct 2005 09:13:51 -0500 Subject: [AccessD] Counting Fields Message-ID: <0FBDA7773C0D634D8511C0F9438AD81D4C9AA9@uscnt0406.us.deloitte.com> Thanks Doris, this is what I needed. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Wednesday, October 12, 2005 9:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Counting Fields Add a column to the select query that contains the following... IIF(Field1 = "X", 1, 0) + IIF(Field2 = "X", 1, 0)...+ IIF(Field7 = "X", 1,0) This will sum all 7 fields giving you the total X count. Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Wednesday, October 12, 2005 9:41 AM To: AccessD Subject: [AccessD] Counting Fields I have a table that contains a value of "X" in any or all of 7 fields. For example, Record 1 has an "X" in fields [Field1], [Field2], and [Field7]. Is there an easy way within a select query to get a total count of "X"'s in the record? Thanks, Mark Boyd Sr. Consultant Deloitte & Touche LLP This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Oct 12 09:52:50 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Oct 2005 07:52:50 -0700 Subject: [AccessD] OT - Online CBT Courses Message-ID: Do vb.net. XML will follow naturally. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, October 12, 2005 5:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - Online CBT Courses I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Wed Oct 12 09:48:44 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Wed, 12 Oct 2005 09:48:44 -0500 (CDT) Subject: [AccessD] CSV with no header In-Reply-To: <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> References: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> <001801c5ceb9$385d5700$697aa8c0@ColbyM6805> Message-ID: <21019.65.196.182.34.1129128524.squirrel@65.196.182.34> John, To my understanding the "rules" stated that csv is comma separated fields with quotes enclosing text strings, nothing enclosing numeric strings. Jim > In the end, I don't get to choose. This is a government export for PlanD > of > the Medicare system (or something like that). The gov says "these fields, > in this format". The only problem is that they simply say "csv with no > header". What does that mean exactly? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Tuesday, October 11, 2005 5:36 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] CSV with no header > > > On 11 Oct 2005 at 10:46, Jim Moss wrote: > >> If I had commas within strings, then I would select another delimiter >> like a |. I think that you can set that up in a specification. >> >> > > > In the Access Import/ExportText wizards you can specify any delimiter you > like and also specify whether to quote strings. One problem is when > strings themselves contain quotes :-( > > > I prefer to use Tab delimited files. That way fields can contain > commas,single/double quotes etc. Tabs are a widely accepted > "standard"delimiter, you can specift Tab delimited as a Save format in > Excel and can also select Tab as the delimiter in ImportText/ExportText > specifications in Access. If you are building your own file with Print#, > it's easy to throw in a Chr$(9) and not have to worry about what > characters > are in the strings. > > > > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From John.Clark at niagaracounty.com Wed Oct 12 09:56:09 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 10:56:09 -0400 Subject: [AccessD] In the meantime...simple syntax question Message-ID: Thanks again guys and gals! I always neglect the .column(?) option...one of those things I had read about and "knew" of, but I've never used it before, so I tend to forget it. I just added ".column(1) to both the combo controls and it worked like a charm. Actually, I don't think I needed it for the Month field because it was a value list that I type in and it seemed to be fine by default...I'll check this out later, because I don't really understand it. John W Clark >>> stephen at bondsoftware.co.nz 10/11/2005 3:41 PM >>> John, Does the RecordSource of the cboTOType combo have more than one field? The code looks like it is displaying the bound field (v) and you want it to display the combo's displayed field. If this is the case you might need to do this: SummaryText = "This data represents all " & cboTOType.Column(n) where n is the column ( zero-based) of the field you want to display in the RowSource of the combo Just a WAG Stephen Bond > -----Original Message----- > From: John Clark [mailto:John.Clark at niagaracounty.com] > Sent: Wednesday, 12 October 2005 8:07 a.m. > To: accessd at databaseadvisors.com > Subject: [AccessD] In the meantime...simple syntax question > > > I just posted, what I believe to be, a difficult question. But, in the > meantime, allow me to pose something that should be quite a > bit easier. > > I have a label on my form, which I am using to notify the user exactly > what is being queried. The problem, if you could even call it > a problem, > is that if you filling in following data: > > txtEmpNum = "10080"; cboTOType = "Vacation"; cboMonth = "June"; > and txtYr = "2005" > > you will get the following string in the label, "lblSummary" > > "This data represents all v time taken, for employee 10080, for > JUN, 2005" > > and I would like it to say, "This data represents all Vacation time > taken, for employee 10080, for June, 2005" > > The following is the code snippet that I am doing this with: > > 'Set summary text to let user know exactly what is being queried > SummaryText = "This data represents all " & cboTOType & " time taken, > for employee " > SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth & ", " & > txtYr > lblSummary.Caption = SummaryText > > And I tried changing it to: > > 'Set summary text to let user know exactly what is being queried > SummaryText = "This data represents all " & cboTOType.SelText & " time > taken, for employee " > SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.SelText & > ", " & txtYr > lblSummary.Caption = SummaryText > > > i.e. Adding ".SelText" to the two combo box control calls > > but then I get, "You can't reference a property or a method for a > control unless the control has focus" > > OK...now what? Any ideas? The only one I've got in my head right now, > is to set up parameters to send to the function that does > this, but they > would have to be global...so maybe I add the code snippet > above to each > of the field's "AfterUpdate" event and do it there? Again...any ideas? > > Thanks again. I'm flustered and going home for the night. I've got a > headache and I've gotta stop at the pet store and buy crickets for my > son's anoles...spelling?..."lizards." Then, I've got to stop by the > football field and pass on the stats from last game. Is 4:00 PM too > early to go to bed? > > Tomorrow is a new day...and hopfully a much better one ;) > > Take care all! > > John W Clark > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From RRANTHON at sentara.com Wed Oct 12 09:59:09 2005 From: RRANTHON at sentara.com (Randall R Anthony) Date: Wed, 12 Oct 2005 10:59:09 -0400 Subject: [AccessD] OT - Online CBT Courses Message-ID: <200510121459.j9CExbT21842@databaseadvisors.com> If you take the MS course 2373B Programming with .Net (c# or vb), XML is covered to an extent. There is another small course (1-2 days?), that is strictly XML. >>> cfoust at infostatsystems.com 10/12/05 10:52 AM >>> Do vb.net. XML will follow naturally. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, October 12, 2005 5:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - Online CBT Courses I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Wed Oct 12 10:17:14 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 12 Oct 2005 11:17:14 -0400 Subject: [AccessD] OT - Online CBT Courses In-Reply-To: <200510121459.j9CExbT21842@databaseadvisors.com> Message-ID: <200510121517.j9CFHEI03043@ultradnt.com> Expensive, but gives free vb.net 2005 when they have it ready. Xml is in the course outline. The instructors on the dvd's are names you know : getz ,baron,etc. http://www.appdev.com/promo.asp?page=EB00331 Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Wednesday, October 12, 2005 10:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Online CBT Courses If you take the MS course 2373B Programming with .Net (c# or vb), XML is covered to an extent. There is another small course (1-2 days?), that is strictly XML. >>> cfoust at infostatsystems.com 10/12/05 10:52 AM >>> Do vb.net. XML will follow naturally. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, October 12, 2005 5:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - Online CBT Courses I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Oct 12 12:13:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 12 Oct 2005 10:13:45 -0700 Subject: [AccessD] OT - Online CBT Courses Message-ID: Yes, I've been through some of theirs. It is great backgrounding, but I found it very useful to get a book and follow the examples (changing as required, since books never seem to set Option Strict on) because I retain more when I actually use it. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Wednesday, October 12, 2005 8:17 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - Online CBT Courses Expensive, but gives free vb.net 2005 when they have it ready. Xml is in the course outline. The instructors on the dvd's are names you know : getz ,baron,etc. http://www.appdev.com/promo.asp?page=EB00331 Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Randall R Anthony Sent: Wednesday, October 12, 2005 10:59 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT - Online CBT Courses If you take the MS course 2373B Programming with .Net (c# or vb), XML is covered to an extent. There is another small course (1-2 days?), that is strictly XML. >>> cfoust at infostatsystems.com 10/12/05 10:52 AM >>> Do vb.net. XML will follow naturally. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Wednesday, October 12, 2005 5:23 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT - Online CBT Courses I just switched contracting companies to do the same job I have been doing with a 35% raise. Yes! I can take any course that I want to take and am leaning towards vb.net or something with XML. I prefer to do CBT courses. Any suggestions? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Oct 12 12:19:25 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 13:19:25 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Well, no...nothing seems to be working. I have tried: 'sfMoDetail.Requery (requerying the subform control, which gave no results where there should be two items) 'sfMoDetail.SourceObject = sfrmMonthlyDetail (resetting the source object of the subform control, whic totally 'blanks out' the subform control...it turns completely white) 'Me!sfMoDetail.Form.recordsourcce = qryMonthly (Nevermind this one...it gave an error, and looking at it I see why) 'Me!sfMoDetail.Requery (*** OK...this one does show promise, but it isn't exactly right either. If I choose the drop downs first, and leave the employee number until last, it seems to work...I believe this hold true if I use the keyboard as well.) sfMoDetail.SourceObject = qryMonthly (This methond also "blanks out" the subform control. This has me puzzled in itself...why would it blank it out? I'm missing something here) This is the third day in a row that I have spent time on this, and I am just spinning my wheels here. Most of the time a problem at least makes sense, as to why it is happening, and I'll tell you guys, in some way or another, that I am screwing up. But, this problem has me totally stymied. I don't even know where to go next. I think it may be time to look at alternative ways of completing the task of compiling monthly totals...but I just know I am so close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! Thanks >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> Not silly at all...I don't think anyhow. It didn't seem to work though. However, it did produce results that made me think of another thing to try. as I have explained, I am using a form that gathers the needed info, and the data comes through on a subform. I think that I may be requerying the wrong thing...maybe I need to requery that subform...not the subform control, but rather the actual form that I am piping in. I've tried requerying the query and the subform control, so I am going to try the actual form and see how that goes...once I figure out the syntax. I've done similar before, so I've got it here somewhere. Thanks for your input though...it is appreciated! John W Clark (The "other" John C) >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Oct 12 12:29:32 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 13:29:32 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Allrighty...If anyone is paying attention to this problem, I've got something to add. Instead of the line to requery the subform, I added the line "DoCmd.OpenQuery "qryMonthly" just to see what would happen. The query opens up with all the proper data, according to the parameters that I have entered...I tested it with different data too. I of course, really don't want to do it this way, but what exactly is it telling me? I'm not sure. Maybe there is a problem with my subform control? But, if so, why does it work sometimes? Again I say, "AHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHHH!!!!!!!!!!!!!!!!" From mikedorism at verizon.net Wed Oct 12 12:37:37 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 12 Oct 2005 13:37:37 -0400 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: <001201c5cf53$a4d7f9e0$2e01a8c0@dorismanning> Have you tried opening the subform by itself to make sure it is bringing up the right results when it isn't part of another form? Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, October 12, 2005 1:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form not refreshing--sometimes Well, no...nothing seems to be working. I have tried: 'sfMoDetail.Requery (requerying the subform control, which gave no results where there should be two items) 'sfMoDetail.SourceObject = sfrmMonthlyDetail (resetting the source object of the subform control, whic totally 'blanks out' the subform control...it turns completely white) 'Me!sfMoDetail.Form.recordsourcce = qryMonthly (Nevermind this one...it gave an error, and looking at it I see why) 'Me!sfMoDetail.Requery (*** OK...this one does show promise, but it isn't exactly right either. If I choose the drop downs first, and leave the employee number until last, it seems to work...I believe this hold true if I use the keyboard as well.) sfMoDetail.SourceObject = qryMonthly (This methond also "blanks out" the subform control. This has me puzzled in itself...why would it blank it out? I'm missing something here) This is the third day in a row that I have spent time on this, and I am just spinning my wheels here. Most of the time a problem at least makes sense, as to why it is happening, and I'll tell you guys, in some way or another, that I am screwing up. But, this problem has me totally stymied. I don't even know where to go next. I think it may be time to look at alternative ways of completing the task of compiling monthly totals...but I just know I am so close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! Thanks >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> Not silly at all...I don't think anyhow. It didn't seem to work though. However, it did produce results that made me think of another thing to try. as I have explained, I am using a form that gathers the needed info, and the data comes through on a subform. I think that I may be requerying the wrong thing...maybe I need to requery that subform...not the subform control, but rather the actual form that I am piping in. I've tried requerying the query and the subform control, so I am going to try the actual form and see how that goes...once I figure out the syntax. I've done similar before, so I've got it here somewhere. Thanks for your input though...it is appreciated! John W Clark (The "other" John C) >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From John.Clark at niagaracounty.com Wed Oct 12 13:01:22 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 14:01:22 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Yes, I am sorry, I had meant to mention this. Doesn't that make the problem weirder? This IS the same thing as on the main form. >>> mikedorism at verizon.net 10/12/2005 1:37 PM >>> Have you tried opening the subform by itself to make sure it is bringing up the right results when it isn't part of another form? Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark Sent: Wednesday, October 12, 2005 1:19 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Form not refreshing--sometimes Well, no...nothing seems to be working. I have tried: 'sfMoDetail.Requery (requerying the subform control, which gave no results where there should be two items) 'sfMoDetail.SourceObject = sfrmMonthlyDetail (resetting the source object of the subform control, whic totally 'blanks out' the subform control...it turns completely white) 'Me!sfMoDetail.Form.recordsourcce = qryMonthly (Nevermind this one...it gave an error, and looking at it I see why) 'Me!sfMoDetail.Requery (*** OK...this one does show promise, but it isn't exactly right either. If I choose the drop downs first, and leave the employee number until last, it seems to work...I believe this hold true if I use the keyboard as well.) sfMoDetail.SourceObject = qryMonthly (This methond also "blanks out" the subform control. This has me puzzled in itself...why would it blank it out? I'm missing something here) This is the third day in a row that I have spent time on this, and I am just spinning my wheels here. Most of the time a problem at least makes sense, as to why it is happening, and I'll tell you guys, in some way or another, that I am screwing up. But, this problem has me totally stymied. I don't even know where to go next. I think it may be time to look at alternative ways of completing the task of compiling monthly totals...but I just know I am so close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! Thanks >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> Not silly at all...I don't think anyhow. It didn't seem to work though. However, it did produce results that made me think of another thing to try. as I have explained, I am using a form that gathers the needed info, and the data comes through on a subform. I think that I may be requerying the wrong thing...maybe I need to requery that subform...not the subform control, but rather the actual form that I am piping in. I've tried requerying the query and the subform control, so I am going to try the actual form and see how that goes...once I figure out the syntax. I've done similar before, so I've got it here somewhere. Thanks for your input though...it is appreciated! John W Clark (The "other" John C) >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> John, I'm not sure what is causing the problem...but...I used this method for different reasons...but it should work for this...Instead of using .requery I set the .SourceObject of the subform each time I want it to requery. Hope this isn't another silly suggestion...I have been guilty of that lately. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Form not refreshing--sometimes >Date: Tue, 11 Oct 2005 14:21:08 -0400 > >I've working on an A2K form (frmMonthly) that is sends parameters to >query (qryMonthly), which in turn provides data for a subform >(sfMoDetail) on this same form. Basically you type in an employee number >and a year (both text boxes...yr defaults to current year), choose a >time off type and a month (each using combo boxes), and it fills in a >starting date and ending date, in the fields, "txtBegDate" and >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" and >"txtEndDate" to return the dates and times that an employee took off >that month. > >This works like a charm, if I type in an employee number (10080 is my >test), and pick from the combos w/the mouse...the year is untouched, >because it is already the current year and my test month is JUN, 2005. >However, if I use the keyboard only to pick everything, nothing is >returned, even if I then revert to using the mouse...once I've used the >keyboard, I must exit the form and enter it again, for it to work. > >I currently have absolutely no clue as to why this is happening. After >each of the fields (not including "txtEmpNum") the AfterUpdate event >fires and calls a sub called "SetDates." This sub, as you can probably >guess, sets the values of "txtBegDate" and "txtEndDate" and then >requeries the subform. The dates are being filled in correctly, in both >scenarios, and I have temporarily added two text boxes to verify that >the values being passed to the query are what I am expecting. As I was >writing this, it occurred to me that I hadn't tried running the query >directly in my troubleshooting process, while using the keyboard...I >just did and the query itself runs. > >The code in the sub, which probably has nothing to do with this, is: > >***************************************** BEG CODE SNIPPET >************************************** >Private Sub SetDates() > >Dim NumDays As Integer >Dim SummaryText As String > >Select Case cboMonth.Value > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, Aug, >Oct, & Dec have 31 days > NumDays = 31 > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov have >30 days > NumDays = 30 > Case 2 'February - could be leap >year > > If txtYr.Value Mod 100 = 0 Then 'If it is a century year, >it must be div. by 400. > If txtYr.Value Mod 400 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > Else 'If not century yr, test if >div by 4 for leap yr. > If txtYr.Value Mod 4 = 0 Then > NumDays = 29 > Else > NumDays = 28 > End If > End If > >End Select > >'Set Beg & End dates for given month, for use as parameters in query >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > >'Set summary text to let user know exactly what is being queried >SummaryText = "This data represents all " & cboTOType.Value & " time >taken, for employee " >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & ", >" & txtYr >lblSummary.Caption = SummaryText > >sfMoDetail.Requery > >End Sub >***************************************** END CODE SNIPPET >************************************** > >Please save my sanity and send me a clue here! > >Take care! > >John W Clark >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 touchtelindia.net Wed Oct 12 13:03:36 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Wed, 12 Oct 2005 23:33:36 +0530 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <"007b01c5c38d$9a6ff240$c71865cb"@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004><"00dd01c5c6cf$028afc0 0$6501a8c0"@HAL9004><01aa01c5c7d9$790ddef0$9d1865cb@winxp><00c001c5c82d$11c a95e0$6501a8c0@HAL9004><007201c5c913$55c9b050$bf1865cb@winxp> <00fe01c5c9c7$a0f62d10$6501a8c0@HAL9004> Message-ID: <00ad01c5cf57$59ffae00$ac1465cb@winxp> Rocky, SendKeys is not considered the preferred option, for reasons explained by Lambert. Although access 2K onwards appear to stand extended calls to SendKeys fairly well, it would still be desirable as a further safeguard, to adopt the wrapper function devised by him. The other alternative would lie in suitable modification / adaptation of function fTurnPage(), available at Stephan Leban's web site. It makes extensive use of API calls, avoiding direct SendKeys commands. My sample db named ReportTurnPages might be of interest to you. It is available at Rogers Access Library (other developers library). Link - http://www.rogersaccesslibrary.com The sample db demonstrates navigation through pages of access reports in following alternative styles (all equally effective). (a) Custom tool bar - simple code, based upon SendKeys. (b) Pop-up form - simple code, based upon SendKeys. (c) Custom tool bar - elaborate code with extensive use of API calls - This option is based upon function fTurnPage() at Stephan Leban's web site (contained in file ControlReports.zip). Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Access Developers discussion and problem solving Sent: Wednesday, October 05, 2005 21:42 Subject: Re: [AccessD] Report Navigation on Custom Toolbar A.D.: Thanks for pointing me in the right direction. I got the four buttons up there now, even edited their appearance to more mimic the standard navigation buttons and I point them to one of the four public functions: Option Compare Database Option Explicit Public Function FirstPage() SendKeys "^{UP}" End Function Public Function PreviousPage() SendKeys "{UP}" End Function Public Function NextPage() SendKeys "{DOWN}" End Function Public Function LastPage() SendKeys "^{DOWN}" End Function Somewhere I read, however, that SendKeys is not good form, there's some problem with them, but I can't remember what. You think we're safe using SendKeys in this limited way? Is there an alternative? Thanks and regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From mikedorism at verizon.net Wed Oct 12 13:09:42 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Wed, 12 Oct 2005 14:09:42 -0400 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: <001301c5cf58$1ff097a0$2e01a8c0@dorismanning> Have you checked the Master/Child links between the main form and the subform? Doris Manning mikedorism at verizon.net From John.Clark at niagaracounty.com Wed Oct 12 14:02:27 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Wed, 12 Oct 2005 15:02:27 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: I was using an unbound form and it gave me some message about not being able to set these on an unbound form. The "main form" just gathers the parameters that are used in the query, which is what the subform is based on. I think I may be onto something though. I hadn't had a user ID field on the subform. I added this and it seems somewhat better. It still isn't working and I notice that, when it does work, the user ID field, on the subform, is filled in correctly. When it doesn't work, there is nothing in this field. I've gotta fly for the night though...I've got a class on Wednesday nights. Thanks for all the help...I'm sure I'll be pluggin' away again tomorrow...and buggin' y'all in the process. Take care...good night! John W Clark >>> mikedorism at verizon.net 10/12/2005 2:09 PM >>> Have you checked the Master/Child links between the main form and the subform? Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Wed Oct 12 14:18:31 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Wed, 12 Oct 2005 19:18:31 +0000 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: John, I might not be understanding your situation...but here is a more detailed description of what I used: I have MainForm (no record source)...on this form I have my text boxes used to enter criteria(also unbound)...on the MainForm I have a subform(SubformResults) that is used to display my results. The SourceObject of SubformResults is null and the SubformResults.Visible=false.(if not at this point the subform would just be a white box)...after criteria is entered and I am ready to view the results...I push a button for the following things to happen via VBA: ********** Forms!MainForm![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** This refreshes the results of my subform...and if I change my criteria...and push the button again...the same code fires... ********** Forms!frmChooserecord![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** ...and again the results are update. I'm not doing anything else to the form or subform. Hope this Helps...and by the way...this is in A97. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Form not refreshing--sometimes >Date: Wed, 12 Oct 2005 14:01:22 -0400 > >Yes, I am sorry, I had meant to mention this. Doesn't that make the >problem weirder? This IS the same thing as on the main form. > > >>> mikedorism at verizon.net 10/12/2005 1:37 PM >>> >Have you tried opening the subform by itself to make sure it is >bringing up >the right results when it isn't part of another form? > >Doris Manning >mikedorism at verizon.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark >Sent: Wednesday, October 12, 2005 1:19 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Form not refreshing--sometimes > >Well, no...nothing seems to be working. > >I have tried: > > >'sfMoDetail.Requery >(requerying the subform control, which gave no results where there >should be two items) > >'sfMoDetail.SourceObject = sfrmMonthlyDetail >(resetting the source object of the subform control, whic totally >'blanks out' the subform control...it turns completely white) > >'Me!sfMoDetail.Form.recordsourcce = qryMonthly >(Nevermind this one...it gave an error, and looking at it I see why) > >'Me!sfMoDetail.Requery >(*** OK...this one does show promise, but it isn't exactly right >either. If I choose the drop downs first, and leave the employee >number >until last, it seems to work...I believe this hold true if I use the >keyboard as well.) > >sfMoDetail.SourceObject = qryMonthly >(This methond also "blanks out" the subform control. This has me >puzzled in itself...why would it blank it out? I'm missing something >here) > > >This is the third day in a row that I have spent time on this, and I >am >just spinning my wheels here. Most of the time a problem at least >makes >sense, as to why it is happening, and I'll tell you guys, in some way >or >another, that I am screwing up. But, this problem has me totally >stymied. I don't even know where to go next. I think it may be time to >look at alternative ways of completing the task of compiling monthly >totals...but I just know I am so >close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! > >Thanks > > > >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> >Not silly at all...I don't think anyhow. It didn't seem to work >though. > > >However, it did produce results that made me think of another thing to >try. as I have explained, I am using a form that gathers the needed >info, and the data comes through on a subform. I think that I may be >requerying the wrong thing...maybe I need to requery that >subform...not >the subform control, but rather the actual form that I am piping in. >I've tried requerying the query and the subform control, so I am going >to try the actual form and see how that goes...once I figure out the >syntax. I've done similar before, so I've got it here somewhere. > >Thanks for your input though...it is appreciated! > >John W Clark >(The "other" John C) > > >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> >John, > >I'm not sure what is causing the problem...but...I used this method >for > >different reasons...but it should work for this...Instead of using >.requery >I set the .SourceObject of the subform each time I want it to requery. > >Hope this isn't another silly suggestion...I have been guilty of that >lately. > >Thanks, > >Mark A. Matte > >From: "John Clark" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: [AccessD] Form not refreshing--sometimes > >Date: Tue, 11 Oct 2005 14:21:08 -0400 > > > >I've working on an A2K form (frmMonthly) that is sends parameters to > >query (qryMonthly), which in turn provides data for a subform > >(sfMoDetail) on this same form. Basically you type in an employee >number > >and a year (both text boxes...yr defaults to current year), choose a > >time off type and a month (each using combo boxes), and it fills in a > >starting date and ending date, in the fields, "txtBegDate" and > >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" >and > >"txtEndDate" to return the dates and times that an employee took off > >that month. > > > >This works like a charm, if I type in an employee number (10080 is my > >test), and pick from the combos w/the mouse...the year is untouched, > >because it is already the current year and my test month is JUN, >2005. > >However, if I use the keyboard only to pick everything, nothing is > >returned, even if I then revert to using the mouse...once I've used >the > >keyboard, I must exit the form and enter it again, for it to work. > > > >I currently have absolutely no clue as to why this is happening. >After > >each of the fields (not including "txtEmpNum") the AfterUpdate event > >fires and calls a sub called "SetDates." This sub, as you can >probably > >guess, sets the values of "txtBegDate" and "txtEndDate" and then > >requeries the subform. The dates are being filled in correctly, in >both > >scenarios, and I have temporarily added two text boxes to verify that > >the values being passed to the query are what I am expecting. As I >was > >writing this, it occurred to me that I hadn't tried running the query > >directly in my troubleshooting process, while using the keyboard...I > >just did and the query itself runs. > > > >The code in the sub, which probably has nothing to do with this, is: > > > >***************************************** BEG CODE SNIPPET > >************************************** > >Private Sub SetDates() > > > >Dim NumDays As Integer > >Dim SummaryText As String > > > >Select Case cboMonth.Value > > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, >Aug, > >Oct, & Dec have 31 days > > NumDays = 31 > > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov >have > >30 days > > NumDays = 30 > > Case 2 'February - could be >leap > >year > > > > If txtYr.Value Mod 100 = 0 Then 'If it is a century >year, > >it must be div. by 400. > > If txtYr.Value Mod 400 = 0 Then > > NumDays = 29 > > Else > > NumDays = 28 > > End If > > Else 'If not century yr, test >if > >div by 4 for leap yr. > > If txtYr.Value Mod 4 = 0 Then > > NumDays = 29 > > Else > > NumDays = 28 > > End If > > End If > > > >End Select > > > >'Set Beg & End dates for given month, for use as parameters in query > >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value > >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > > > >'Set summary text to let user know exactly what is being queried > >SummaryText = "This data represents all " & cboTOType.Value & " time > >taken, for employee " > >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & >", > >" & txtYr > >lblSummary.Caption = SummaryText > > > >sfMoDetail.Requery > > > >End Sub > >***************************************** END CODE SNIPPET > >************************************** > > > >Please save my sanity and send me a clue here! > > > >Take care! > > > >John W Clark > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From starkey at wanadoo.nl Wed Oct 12 16:39:31 2005 From: starkey at wanadoo.nl (StaRKeY) Date: Wed, 12 Oct 2005 23:39:31 +0200 Subject: [AccessD] CSV with no header In-Reply-To: <434CBCC5.32722.1BCDCE24@stuart.lexacorp.com.pg> Message-ID: <20051012214048.E5C1E4B94A@smtp4.wanadoo.nl> JOHN, I recall having had the same challenge and if I remember right it had something to do with the delimiter if you use the transfertext method! Try changing the ; in a , or the other way around and see if it works that way...or another delimitier but I am almost certain the solution can be found here. If the solution would be changing the csv file format though and your client does not want this I would suggest to use a simple importtemplate.... What's wrong with that? Good luck! Eric Starkenburg Sr Software Developer Dutch: www.o-solutions.nl Global: www.sogeti.nl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 11, 2005 11:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] CSV with no header On 11 Oct 2005 at 10:46, Jim Moss wrote: > If I had commas within strings, then I would select another delimiter like > a |. I think that you can set that up in a specification. > > In the Access Import/ExportText wizards you can specify any delimiter you like and also specify whether to quote strings. One problem is when strings themselves contain quotes :-( I prefer to use Tab delimited files. That way fields can contain commas,single/double quotes etc. Tabs are a widely accepted "standard"delimiter, you can specift Tab delimited as a Save format in Excel and can also select Tab as the delimiter in ImportText/ExportText specifications in Access. If you are building your own file with Print#, it's easy to throw in a Chr$(9) and not have to worry about what characters are in the strings. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com --- avast! Antivirus: Uitgaande bericht is niet besmet. Virus Gegevensbestand (VPS): 0541-1, 12-10-2005 Getest op: 12-10-2005 23:39:34 avast! auteursrecht (c) 1988-2005 ALWIL Software. http://www.avast.com From bchacc at san.rr.com Wed Oct 12 18:20:19 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 12 Oct 2005 16:20:19 -0700 Subject: [AccessD] Report Navigation on Custom Toolbar References: <06cc01c5c2c5$b249e420$6501a8c0@HAL9004> <007b01c5c38d$9a6ff240$c71865cb@winxp> <072301c5c503$0c2b8680$6501a8c0@HAL9004> <"00dd01c5c6cf$028afc0 0$6501a8c0"@HAL9004> <01aa01c5c7d9$790ddef0$9d1865cb@winxp> <"00c001c5c82d$11c a95e0$6501a8c0"@HAL9004> <007201c5c913$55c9b050$bf1865cb@winxp> <00fe01c5c9c7$a0f62d10$6501a8c0@HAL9004> <00ad01c5cf57$59ffae00$ac1465cb@winxp> Message-ID: <02e601c5cf83$83164f70$6501a8c0@HAL9004> A.D.: Thanks for the insight. I've got the page navigation in the custom toolbar now and am thinking about using Lambert's wrapper. APIs seem to have their own quirks. Would API be better in this case than SendKeys in the wrapper. BTW, this is an Access 2003 mde. And requires W2k or WXP. Do they still have the SendKeys problem? Best, Rocky ----- Original Message ----- From: "A.D.Tejpal" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 12, 2005 11:03 AM Subject: Re: [AccessD] Report Navigation on Custom Toolbar > Rocky, > > SendKeys is not considered the preferred option, for reasons explained > by Lambert. Although access 2K onwards appear to stand extended calls to > SendKeys fairly well, it would still be desirable as a further safeguard, > to adopt the wrapper function devised by him. > > The other alternative would lie in suitable modification / adaptation > of function fTurnPage(), available at Stephan Leban's web site. It makes > extensive use of API calls, avoiding direct SendKeys commands. > > My sample db named ReportTurnPages might be of interest to you. It is > available at Rogers Access Library (other developers library). Link - > http://www.rogersaccesslibrary.com > > The sample db demonstrates navigation through pages of access reports > in following alternative styles (all equally effective). > (a) Custom tool bar - simple code, based upon SendKeys. > (b) Pop-up form - simple code, based upon SendKeys. > (c) Custom tool bar - elaborate code with extensive use of API > calls - This option is based upon function fTurnPage() at Stephan Leban's > web site (contained in file ControlReports.zip). > > Best wishes, > A.D.Tejpal > -------------- > ----- Original Message ----- > From: Rocky Smolin - Beach Access Software > To: Access Developers discussion and problem solving > Sent: Wednesday, October 05, 2005 21:42 > Subject: Re: [AccessD] Report Navigation on Custom Toolbar > > > A.D.: > > Thanks for pointing me in the right direction. I got the four buttons up > there now, even edited their appearance to more mimic the standard > navigation buttons and I point them to one of the four public functions: > > Option Compare Database > Option Explicit > > Public Function FirstPage() > SendKeys "^{UP}" > End Function > > Public Function PreviousPage() > SendKeys "{UP}" > End Function > > Public Function NextPage() > SendKeys "{DOWN}" > End Function > > Public Function LastPage() > SendKeys "^{DOWN}" > End Function > > Somewhere I read, however, that SendKeys is not good form, there's some > problem with them, but I can't remember what. You think we're safe using > SendKeys in this limited way? Is there an alternative? > > Thanks and regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Thu Oct 13 07:07:19 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 08:07:19 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <000501c5ce17$c104bcd0$697aa8c0@ColbyM6805> Message-ID: <200510131207.j9DC7LT18566@databaseadvisors.com> I might as well jump into this foray. Setting up a dedicated firewall is almost brain-dead simple. Take any old box you have available, plonk Linux onto it with the firewall activation set YES, configure the firewall for special things (such as redirecting SQL requests to this box and FTP requests to that box), and you're done. You don't have to upgrade anything unless you want to. The best thing about this scenario is that you finally discover a use for that 486 you've been using as a doorstop all these years. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 10, 2005 11:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Firewall Frank, >He judged the document without having ever seen it. I tried to judge it AFTER reading it but I couldn't find it. I have offered to post it however, and the offer stands. Lighten up buddy. I am not casting aspersions on your document, or your abilities. You sound to me like you know what you are doing. And I am willing, on further consideration, to suspend my disbelief re whether a dedicated PC firewall could be as easy as you make it sound. If it is in fact that easy, I want one. I think I said that somewhere in this exchange. But it does have to just sit in the corner humming and not bother me. No OS updates and stuff. John W. Colby www.ColbyConsulting.com From artful at rogers.com Thu Oct 13 07:16:52 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 08:16:52 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: Message-ID: <200510131216.j9DCGsT22796@databaseadvisors.com> Charlotte, you dimwit, the discussions here do not get intense! You want intense? I'll give you INTENSE! (Or perhaps intents, or possibly in tents... I forget which.) And just for your information, I have twice as many opinions as topics. So there! LOL. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: October 11, 2005 10:30 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Frank, If you want to hang out in this list, don't take everything so seriously. There is a lot of banter and horsing around, as well as serious discussion and help. Nobody is judging you based on your domain, but you must admit it's an amusing one. The mods of this list stamp out flames quite efficiently but you need to give as good as you get and in the same vein. Trust me, the discussions sometimes get VERY intense, but there is no personal animosity involved. Just don't expect anyone to take your advice as received truth, since developers as a group tend to have as many opinions as they have topics. Charlotte Foust From artful at rogers.com Thu Oct 13 07:21:48 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 08:21:48 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPMET42id-00025j@mrelay.perfora.net> Message-ID: <200510131221.j9DCLnT25690@databaseadvisors.com> I prefer to judge people without any evidence of any sort. That way I can get the job done very quickly and efficiently. If I am occasionally wrong, so be it. I could be just as wrong with an abundance of evidence, so I have chosen the no-evidence path instead. And incidentally, based on your email address, I think you are brilliant! Seriously. That is IMO a GREAT address. I wish I had thought of it first. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pctech at mybellybutton.com Sent: October 11, 2005 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Firewall Judging people, and things, without having all of the facts is one of my pet peeves. From artful at rogers.com Thu Oct 13 07:26:20 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 08:26:20 -0400 Subject: [AccessD] OT: Firewall In-Reply-To: <0MKoyl-1EPNRy2tLe-0005J2@mrelay.perfora.net> Message-ID: <200510131226.j9DCQLT27648@databaseadvisors.com> Please send me a copy as well. A. --------------------- No, I didn't post a link to the document. For a couple of reasons. At the moment it is in first draft stage. I just completed it yesterday. Decond, even though I own the mybellybutton.com Internet domain name, I don't have a web site set up at the moment. I will send you a copy of the document off-list. From carbonnb at gmail.com Thu Oct 13 07:31:59 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 13 Oct 2005 08:31:59 -0400 Subject: [AccessD] ADMINISTRIVIA Re: OT: Firewall Message-ID: OK. Andy has now asked twice for this thread to die or move to DBA-TECH. It's now officially dead!! -- 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 Thu Oct 13 08:19:41 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Thu, 13 Oct 2005 08:19:41 -0500 Subject: [AccessD] Table name in query Message-ID: Is there a way to return the name of the table a field in a query in returned from? Something like SELECT tablename of tableone.field1, tableone.field1 from tableone where tableone.field2 = tabletwo.field2 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 John.Clark at niagaracounty.com Thu Oct 13 08:35:05 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 13 Oct 2005 09:35:05 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: Actually, Mark, this sounds exactly like what I am trying to do...to a tee...are we working on the same thing? ;) My subform control is not set like yours though. Mine is visible and has a SourceObject, but it is not a white box usually. I think what I am going to do now is start from scratch...maybe I goofed up something in the making. I am just getting to the program 2 hrs into my day, because I came in to find our main server down...it actually wasn't down, but its NIC was not working...and then we had a firedrill, and then I took some calls from the fallout. I really appreciate the input you've given...thanks! John W Clark >>> markamatte at hotmail.com 10/12/2005 3:18:31 PM >>> John, I might not be understanding your situation...but here is a more detailed description of what I used: I have MainForm (no record source)...on this form I have my text boxes used to enter criteria(also unbound)...on the MainForm I have a subform(SubformResults) that is used to display my results. The SourceObject of SubformResults is null and the SubformResults.Visible=false.(if not at this point the subform would just be a white box)...after criteria is entered and I am ready to view the results...I push a button for the following things to happen via VBA: ********** Forms!MainForm![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** This refreshes the results of my subform...and if I change my criteria...and push the button again...the same code fires... ********** Forms!frmChooserecord![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** ...and again the results are update. I'm not doing anything else to the form or subform. Hope this Helps...and by the way...this is in A97. Thanks, Mark A. Matte Website: http://www.databaseadvisors.com From mikedorism at verizon.net Thu Oct 13 09:30:42 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 13 Oct 2005 10:30:42 -0400 Subject: [AccessD] Outlook Tasks and Redemption Message-ID: <000701c5d002$b21a57b0$2e01a8c0@dorismanning> I'm using Redemption version 2.0.0.516 to create a SafeTaskItem. When I display the SafeTaskItem on the screen, all the fields are filled except the To line. I specifically gave the Recipients collection an item and resolved it so I don't understand why the To line is blank. This doesn't happen when I'm doing a SafeMailItem so I'm stumped. Do you have any ideas how I can resolve this issue? Here is my code. Public Sub SendSafeTask(SendTo As String, SendMsg As String, StartDate As Date, _ DueDate As Date, SendSubj As String, SendAttach As String, SendEdit As Boolean) Dim PullFile As String Dim oMail As Object Dim oSpace As Object Dim oFoldr As Object Dim oItem As Object Dim oSafe As Object Dim oDeliver As Object Dim MapiField As Object Dim bolOpen As Boolean Dim aryRecip() As String Dim intRecip As Integer Dim aryFileList() As String Dim intFilelist As Integer Dim strFileName As String Dim lcv As Integer Const olFolderTasks As Integer = 13 Set oMail = CreateObject("Outlook.Application") Set oSpace = oMail.GetNamespace("MAPI") Set oFoldr = oSpace.GetDefaultFolder(olFolderTasks) Set oItem = oFoldr.Items.Add Set oSafe = CreateObject("Redemption.SafeTaskItem") oSafe.Item = oItem 'Add or update the task information 'to the Outlook TaskItem With oSafe 'Add the TO names If SendTo <> vbNullString Then .Assign If InStr(1, SendTo, ";", vbTextCompare) > 0 Then If Right(SendTo, 1) <> ";" Then SendTo = SendTo & ";" aryRecip = Split(SendTo, ";") intRecip = UBound(aryRecip) - 1 For lcv = 0 To intRecip .Recipients.Add aryRecip(lcv) Next lcv Erase aryRecip .Recipients.ResolveAll Else .Recipients.Add SendTo .Recipients.ResolveAll End If End If .Body = SendMsg .StartDate = StartDate .DueDate = DueDate .Subject = SendSubj .ReminderSet = True 'Add Attachments If SendAttach <> vbNullString Then If InStr(1, SendAttach, ";", vbTextCompare) > 0 Then If Right(SendAttach, 1) <> ";" Then SendAttach = SendAttach & ";" End If aryFileList = Split(SendAttach, ";") intFilelist = UBound(aryFileList) - 1 For lcv = 0 To intFilelist PullFile = aryFileList(lcv) .Attachments.Add PullFile Next lcv End If End If .Save End With If SendEdit = True Then oSafe.display Exit Sub Else oSafe.Send End If Set oDeliver = CreateObject("Redemption.MAPIUtils") oDeliver.DeliverNow oDeliver.Cleanup ' 'Exit_SafeMail: ' ' If bolOpen = False Then ' oMail.Quit ' End If ' Set oDeliver = Nothing Set oSafe = Nothing Set oItem = Nothing Set oFoldr = Nothing Set oSpace = Nothing Set oMail = Nothing End Sub Doris Manning mikedorism at verizon.net From artful at rogers.com Thu Oct 13 10:34:27 2005 From: artful at rogers.com (Arthur Fuller) Date: Thu, 13 Oct 2005 11:34:27 -0400 Subject: [AccessD] Cross-posted to AccessD In-Reply-To: <14A7AB003EFD444BBB193A23128DA20E7E91D6@AL-PRI.Aldridge.local> Message-ID: <200510131534.j9DFYUJ07219@databaseadvisors.com> Here is a link to my most recent article, based in part on conversations and threads that took place on this list. http://www.simple-talk.com/. Every hit counts, as it were, and makes me look more valuable as a columnist. So feel free to contribute some of your work-avoidance moments to the cause. LOL. Arthur From bheid at appdevgrp.com Thu Oct 13 11:02:31 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 13 Oct 2005 12:02:31 -0400 Subject: [AccessD] Cross-posted to AccessD In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CB8B05@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF126@ADGSERVER> In case you all can't tell, Arthur's article is "FUD (fear, uncertainty, doubt): Where does Access fit in Microsoft's future?". His name is not on the front page, but at the end of the article when you click "more." Nice article Arthur. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, October 13, 2005 11:34 AM To: dba-sqlserver at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: [AccessD] Cross-posted to AccessD Here is a link to my most recent article, based in part on conversations and threads that took place on this list. http://www.simple-talk.com/. Every hit counts, as it were, and makes me look more valuable as a columnist. So feel free to contribute some of your work-avoidance moments to the cause. LOL. Arthur From andy at minstersystems.co.uk Thu Oct 13 10:21:32 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 13 Oct 2005 16:21:32 +0100 Subject: [AccessD] Outlook Tasks and Redemption Message-ID: <20051013152129.0564A25482E@smtp.nildram.co.uk> Don't know the answer Doris. Code looks fine to me. If you don't get an answer here I'd try asking the Redemption people at dmitry at dimastr.com . I found them helpful when I first started using it. -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From cfoust at infostatsystems.com Thu Oct 13 12:02:40 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 10:02:40 -0700 Subject: [AccessD] Cross-posted to AccessD Message-ID: Nice article, Arthur. What doesn't get addressed, though, is the investment most of us have in VBA as a programming language. Switching to C++ or Java to work with Eclipse isn't quite as easy as switching to VB.Net for those of us who haven't plumbed the depths of C/C++ or Java already. I can read the code, but I would go nuts writing it because the punctuation drives me wild! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, October 13, 2005 8:34 AM To: dba-sqlserver at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: [AccessD] Cross-posted to AccessD Here is a link to my most recent article, based in part on conversations and threads that took place on this list. http://www.simple-talk.com/. Every hit counts, as it were, and makes me look more valuable as a columnist. So feel free to contribute some of your work-avoidance moments to the cause. LOL. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 13 12:09:19 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 10:09:19 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <20051013152129.0564A25482E@smtp.nildram.co.uk> Message-ID: <001b01c5d018$d95de8d0$017ba8c0@xpserver> Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim From cfoust at infostatsystems.com Thu Oct 13 12:26:50 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 10:26:50 -0700 Subject: [AccessD] Data interface The best way Message-ID: We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Our code doesn't distinguish between back ends because right now, we're simply using the OleDb provider for everything. The SQL provider might be faster, but we would have to write separate code to implement it and our app needs to be able to work against either backend so we're husbanding our resources. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 13 13:01:36 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 11:01:36 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <002c01c5d020$273f7c10$017ba8c0@xpserver> Thank you very much for that Charlotte. Do you have a small example of the implementation...does not have to work... but something that gives substance to the concept? (I need to make a decision quickly as I am running late and it looks like (a) long night(s) ahead.) TIA Jim PS I am too old for this.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Our code doesn't distinguish between back ends because right now, we're simply using the OleDb provider for everything. The SQL provider might be faster, but we would have to write separate code to implement it and our app needs to be able to work against either backend so we're husbanding our resources. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 cfoust at infostatsystems.com Thu Oct 13 13:07:31 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 11:07:31 -0700 Subject: [AccessD] Data interface The best way Message-ID: You're too old?? I'm 61! I don't have anything offhand but I can dummy something up this evening, I think. My PC is supposed to be back in my hands tonight (I went cold turkey a week ago when my backlit display lost its backlight), so I'll see what I can do. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Thank you very much for that Charlotte. Do you have a small example of the implementation...does not have to work... but something that gives substance to the concept? (I need to make a decision quickly as I am running late and it looks like (a) long night(s) ahead.) TIA Jim PS I am too old for this.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Our code doesn't distinguish between back ends because right now, we're simply using the OleDb provider for everything. The SQL provider might be faster, but we would have to write separate code to implement it and our app needs to be able to work against either backend so we're husbanding our resources. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 dmcafee at pacbell.net Thu Oct 13 13:30:37 2005 From: dmcafee at pacbell.net (David McAfee) Date: Thu, 13 Oct 2005 11:30:37 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim From John.Clark at niagaracounty.com Thu Oct 13 13:50:15 2005 From: John.Clark at niagaracounty.com (John Clark) Date: Thu, 13 Oct 2005 14:50:15 -0400 Subject: [AccessD] Form not refreshing--sometimes Message-ID: EUREKA...AND DAMN...AT THE SAME TIME! It seems that I've got it working now, but I'll be damned if it wasn't something flippin' stupid...and something that I was very close to having done already. I had used the line: sfMoDetail.SourceObject = sfrmMonthlyDetail And today, when I tried this again...I was going back to scratch...the first thing I tried was: sfMoDetail.SourceObject = "sfrmMonthlyDetail" Notice the quotes do ya? I typed these in this time, but apparently forgot the first time. And, contrary to what I thought, I didn't get an error missing them. Oh, well, live and learn. My day was taken up with a crashed server, meeting and lunch w/a vendor that I forgot I had, and now I've gotta fly because I've got a football game (real "AMERICAN" football ;) ) that the bus leaves at 4:00, and my car broke down last night...so this is all I got done on this program today. And, I wonder why I'm always behind :( Take care, and thanks for the help! John W Clark >>> markamatte at hotmail.com 10/12/2005 3:18 PM >>> John, I might not be understanding your situation...but here is a more detailed description of what I used: I have MainForm (no record source)...on this form I have my text boxes used to enter criteria(also unbound)...on the MainForm I have a subform(SubformResults) that is used to display my results. The SourceObject of SubformResults is null and the SubformResults.Visible=false.(if not at this point the subform would just be a white box)...after criteria is entered and I am ready to view the results...I push a button for the following things to happen via VBA: ********** Forms!MainForm![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** This refreshes the results of my subform...and if I change my criteria...and push the button again...the same code fires... ********** Forms!frmChooserecord![SubformResults].Visible = True Me![SubformResults].SourceObject = "sfrmResults" ********** ...and again the results are update. I'm not doing anything else to the form or subform. Hope this Helps...and by the way...this is in A97. Thanks, Mark A. Matte >From: "John Clark" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: Re: [AccessD] Form not refreshing--sometimes >Date: Wed, 12 Oct 2005 14:01:22 -0400 > >Yes, I am sorry, I had meant to mention this. Doesn't that make the >problem weirder? This IS the same thing as on the main form. > > >>> mikedorism at verizon.net 10/12/2005 1:37 PM >>> >Have you tried opening the subform by itself to make sure it is >bringing up >the right results when it isn't part of another form? > >Doris Manning >mikedorism at verizon.net > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Clark >Sent: Wednesday, October 12, 2005 1:19 PM >To: accessd at databaseadvisors.com >Subject: Re: [AccessD] Form not refreshing--sometimes > >Well, no...nothing seems to be working. > >I have tried: > >'sfMoDetail.Requery >(requerying the subform control, which gave no results where there >should be two items) > >'sfMoDetail.SourceObject = sfrmMonthlyDetail >(resetting the source object of the subform control, whic totally >'blanks out' the subform control...it turns completely white) > >'Me!sfMoDetail.Form.recordsourcce = qryMonthly >(Nevermind this one...it gave an error, and looking at it I see why) > >'Me!sfMoDetail.Requery >(*** OK...this one does show promise, but it isn't exactly right >either. If I choose the drop downs first, and leave the employee >number >until last, it seems to work...I believe this hold true if I use the >keyboard as well.) > >sfMoDetail.SourceObject = qryMonthly >(This methond also "blanks out" the subform control. This has me >puzzled in itself...why would it blank it out? I'm missing something >here) > > >This is the third day in a row that I have spent time on this, and I >am >just spinning my wheels here. Most of the time a problem at least >makes >sense, as to why it is happening, and I'll tell you guys, in some way >or >another, that I am screwing up. But, this problem has me totally >stymied. I don't even know where to go next. I think it may be time to >look at alternative ways of completing the task of compiling monthly >totals...but I just know I am so >close...Ahhhhhhhhhhhhhhhhhhhh!!!!!!!!!!!!! > >Thanks > > > >>> John.Clark at niagaracounty.com 10/12/2005 8:11 AM >>> >Not silly at all...I don't think anyhow. It didn't seem to work >though. > > >However, it did produce results that made me think of another thing to >try. as I have explained, I am using a form that gathers the needed >info, and the data comes through on a subform. I think that I may be >requerying the wrong thing...maybe I need to requery that >subform...not >the subform control, but rather the actual form that I am piping in. >I've tried requerying the query and the subform control, so I am going >to try the actual form and see how that goes...once I figure out the >syntax. I've done similar before, so I've got it here somewhere. > >Thanks for your input though...it is appreciated! > >John W Clark >(The "other" John C) > > >>> markamatte at hotmail.com 10/11/2005 4:03 PM >>> >John, > >I'm not sure what is causing the problem...but...I used this method >for > >different reasons...but it should work for this...Instead of using >.requery >I set the .SourceObject of the subform each time I want it to requery. > >Hope this isn't another silly suggestion...I have been guilty of that >lately. > >Thanks, > >Mark A. Matte > >From: "John Clark" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: [AccessD] Form not refreshing--sometimes > >Date: Tue, 11 Oct 2005 14:21:08 -0400 > > > >I've working on an A2K form (frmMonthly) that is sends parameters to > >query (qryMonthly), which in turn provides data for a subform > >(sfMoDetail) on this same form. Basically you type in an employee >number > >and a year (both text boxes...yr defaults to current year), choose a > >time off type and a month (each using combo boxes), and it fills in a > >starting date and ending date, in the fields, "txtBegDate" and > >"txtEndDate." The query uses "txtEmpNum", "cboTOType", "txtBegDate" >and > >"txtEndDate" to return the dates and times that an employee took off > >that month. > > > >This works like a charm, if I type in an employee number (10080 is my > >test), and pick from the combos w/the mouse...the year is untouched, > >because it is already the current year and my test month is JUN, >2005. > >However, if I use the keyboard only to pick everything, nothing is > >returned, even if I then revert to using the mouse...once I've used >the > >keyboard, I must exit the form and enter it again, for it to work. > > > >I currently have absolutely no clue as to why this is happening. >After > >each of the fields (not including "txtEmpNum") the AfterUpdate event > >fires and calls a sub called "SetDates." This sub, as you can >probably > >guess, sets the values of "txtBegDate" and "txtEndDate" and then > >requeries the subform. The dates are being filled in correctly, in >both > >scenarios, and I have temporarily added two text boxes to verify that > >the values being passed to the query are what I am expecting. As I >was > >writing this, it occurred to me that I hadn't tried running the query > >directly in my troubleshooting process, while using the keyboard...I > >just did and the query itself runs. > > > >The code in the sub, which probably has nothing to do with this, is: > > > >***************************************** BEG CODE SNIPPET > >************************************** > >Private Sub SetDates() > > > >Dim NumDays As Integer > >Dim SummaryText As String > > > >Select Case cboMonth.Value > > Case 1, 3, 5, 7, 8, 10, 12 'Jan, Mar, May, Jul, >Aug, > >Oct, & Dec have 31 days > > NumDays = 31 > > Case 4, 6, 9, 11 'Apr, Jun, Sep, & Nov >have > >30 days > > NumDays = 30 > > Case 2 'February - could be >leap > >year > > > > If txtYr.Value Mod 100 = 0 Then 'If it is a century >year, > >it must be div. by 400. > > If txtYr.Value Mod 400 = 0 Then > > NumDays = 29 > > Else > > NumDays = 28 > > End If > > Else 'If not century yr, test >if > >div by 4 for leap yr. > > If txtYr.Value Mod 4 = 0 Then > > NumDays = 29 > > Else > > NumDays = 28 > > End If > > End If > > > >End Select > > > >'Set Beg & End dates for given month, for use as parameters in query > >txtBegDate.Value = cboMonth.Value & "/" & 1 & "/" & txtYr.Value > >txtEndDate.Value = cboMonth.Value & "/" & NumDays & "/" & txtYr.Value > > > >'Set summary text to let user know exactly what is being queried > >SummaryText = "This data represents all " & cboTOType.Value & " time > >taken, for employee " > >SummaryText = SummaryText & txtEmpNum & ", for " & cboMonth.Value & >", > >" & txtYr > >lblSummary.Caption = SummaryText > > > >sfMoDetail.Requery > > > >End Sub > >***************************************** END CODE SNIPPET > >************************************** > > > >Please save my sanity and send me a clue here! > > > >Take care! > > > >John W Clark > >-- > >AccessD mailing list > >AccessD at databaseadvisors.com > >http://databaseadvisors.com/mailman/listinfo/accessd > >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Oct 13 14:46:16 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 12:46:16 -0700 Subject: [AccessD] Data interface The best way Message-ID: No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 13 14:57:06 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 12:57:06 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <003001c5d030$49dc0210$017ba8c0@xpserver> Yeh, your too old too....:-) You are really at your prime of life; like me nearing official retirement age and freedom though my revised retirement time has been extended until my early eighties... >> I went cold turkey a week ago when my backlit display lost its backlight. A full week!!! My sympathies. It would be great if you could cobble something together and do not worry about sending a late email, I will be up. :-) ...and again thanks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way You're too old?? I'm 61! I don't have anything offhand but I can dummy something up this evening, I think. My PC is supposed to be back in my hands tonight (I went cold turkey a week ago when my backlit display lost its backlight), so I'll see what I can do. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 11:02 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Thank you very much for that Charlotte. Do you have a small example of the implementation...does not have to work... but something that gives substance to the concept? (I need to make a decision quickly as I am running late and it looks like (a) long night(s) ahead.) TIA Jim PS I am too old for this.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Our code doesn't distinguish between back ends because right now, we're simply using the OleDb provider for everything. The SQL provider might be faster, but we would have to write separate code to implement it and our app needs to be able to work against either backend so we're husbanding our resources. Charlotte Foust From accessd at shaw.ca Thu Oct 13 15:01:45 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 13:01:45 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <003401c5d030$f090db80$017ba8c0@xpserver> Thank you for that David... Every little bit help. :-) Being able to produce the code is one thing but actually understanding what is best and the ramifications of choices is another breed. I am still fumbling around. I will test out your example. Again, much appreciated. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Oct 13 15:08:23 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Oct 2005 13:08:23 -0700 Subject: [AccessD] CSV with no header References: <001001c5ce04$d2386730$697aa8c0@ColbyM6805> Message-ID: <434EBEB7.2020605@shaw.ca> Maybe this will help very bottom of article http://support.microsoft.com/kb/247412/EN-US/ John Colby wrote: >I am trying that but it ends up bracketing the fields with ". I suppose >that if a comma is embedded in the string then the "" is required to specify >that the , is internal to the string and not a delimiter. Is the "" part of >the csv spec? > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss >Sent: Monday, October 10, 2005 4:26 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] CSV with no header > > >If you use docmd.TransferText you can set the parameter after filename to >false. > > > > >>Does anyone know a simple way to do a CSV without the header? And >>yea, I can do the export, open the file and delete the first line. >> >>Other than that...? >> >>John W. Colby >>www.ColbyConsulting.com >> >>Contribute your unused CPU cycles to a good cause: >>http://folding.stanford.edu/ >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Thu Oct 13 15:15:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 13:15:09 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <003501c5d032$cf67dd80$017ba8c0@xpserver> At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 cfoust at infostatsystems.com Thu Oct 13 15:49:09 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 13:49:09 -0700 Subject: [AccessD] Data interface The best way Message-ID: OK, you're talking SQL Server specifically then? And what is a "raw sql request"? Umm ... I think you mean vulnerable, anyhow. A venerable system probably wouldn't run SQL Server! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 stuart at lexacorp.com.pg Thu Oct 13 16:42:18 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Oct 2005 07:42:18 +1000 Subject: [AccessD] Form not refreshing--sometimes In-Reply-To: Message-ID: <434F615A.28939.512117B@stuart.lexacorp.com.pg> On 13 Oct 2005 at 14:50, John Clark wrote: > > sfMoDetail.SourceObject = "sfrmMonthlyDetail" > > Notice the quotes do ya? I typed these in this time, but apparently > forgot the first time. And, contrary to what I thought, I didn't get an > error missing them. > Ever heard of "Option Explicit" ? -- Stuart From stuart at lexacorp.com.pg Thu Oct 13 16:42:17 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Oct 2005 07:42:17 +1000 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <434F6159.21888.5121090@stuart.lexacorp.com.pg> On 13 Oct 2005 at 11:07, Charlotte Foust wrote: > You're too old?? I'm 61! When looking at Arthurs article, another one caught my eye: http://www.simple-talk.com/2005/03/09/coding-after-40/ :-) -- Stuart From stuart at lexacorp.com.pg Thu Oct 13 16:42:17 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 14 Oct 2005 07:42:17 +1000 Subject: [AccessD] Data interface The best way In-Reply-To: References: Message-ID: <434F6159.24334.512110D@stuart.lexacorp.com.pg> On 13 Oct 2005 at 11:30, David McAfee wrote: > Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see > a lot more of that now that I am starting to use .Net more and more. > Couldn't the xml file hold a list of sproc names and you could just execute > a sproc instead? I was always instructed not to create SQL Strings in the > front end as passing them to the back end was a security risk. This is of > course, unless you are dealing with the possibility of SQL injection on the > back end and not allowing certain characters and/or reserved words. > The other article that caught my eye when looking at Arthurs "FUD": http://www.simple-talk.com/2005/04/11/to-sp-or-not-to-sp-in-sql-server/-- Stuart From cfoust at infostatsystems.com Thu Oct 13 17:03:43 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 15:03:43 -0700 Subject: [AccessD] Data interface The best way Message-ID: Yeah, that's me all over! Actually, I've never been a coder, per se. I've always been a developer, so I don't know if that leaves me better off or worse. In any case, I'm going to ignore good advice as long as possible and keep playing with my computer. I've been in management and I like computers. I HATE sales and am rotten at it, so I think I'll just keep doing what I'm doing as long as I can find someone silly enough to pay me for it. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, October 13, 2005 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way On 13 Oct 2005 at 11:07, Charlotte Foust wrote: > You're too old?? I'm 61! When looking at Arthurs article, another one caught my eye: http://www.simple-talk.com/2005/03/09/coding-after-40/ :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 13 17:08:18 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 15:08:18 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <003601c5d042$9e53fb10$017ba8c0@xpserver> Whoops; the spell-checker... There was no loss in translation. :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 1:49 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way OK, you're talking SQL Server specifically then? And what is a "raw sql request"? Umm ... I think you mean vulnerable, anyhow. A venerable system probably wouldn't run SQL Server! LOL Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 1:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Oct 13 17:19:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 13 Oct 2005 15:19:41 -0700 Subject: [AccessD] Cross-posted to AccessD References: Message-ID: <434EDD7D.6070000@shaw.ca> What I don't understand is there a lot of things you can do with Access that are rarely addressed in articles.You can easily hook web services to Access 97 using Simon Fell's Pocket Soap. Access 97 hooks easily to to WSS or Sharepoint. You can do a whole slew of things with XML and XSLT XPATH in 97. I have had no problem linking Access frontends to major SAS programs. Charlotte Foust wrote: >Nice article, Arthur. What doesn't get addressed, though, is the >investment most of us have in VBA as a programming language. Switching >to C++ or Java to work with Eclipse isn't quite as easy as switching to >VB.Net for those of us who haven't plumbed the depths of C/C++ or Java >already. I can read the code, but I would go nuts writing it because >the punctuation drives me wild! > >Charlotte Foust > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller >Sent: Thursday, October 13, 2005 8:34 AM >To: dba-sqlserver at databaseadvisors.com >Cc: 'Access Developers discussion and problem solving' >Subject: [AccessD] Cross-posted to AccessD > > >Here is a link to my most recent article, based in part on conversations >and threads that took place on this list. http://www.simple-talk.com/. >Every hit counts, as it were, and makes me look more valuable as a >columnist. So feel free to contribute some of your work-avoidance >moments to the cause. LOL. Arthur > > > -- Marty Connelly Victoria, B.C. Canada From accessd at shaw.ca Thu Oct 13 17:19:31 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 15:19:31 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <434F6159.21888.5121090@stuart.lexacorp.com.pg> Message-ID: <003801c5d044$2f4cc100$017ba8c0@xpserver> An excellent article; from my perspective. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, October 13, 2005 2:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way On 13 Oct 2005 at 11:07, Charlotte Foust wrote: > You're too old?? I'm 61! When looking at Arthurs article, another one caught my eye: http://www.simple-talk.com/2005/03/09/coding-after-40/ :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From connie.kamrowski at dpi.nsw.gov.au Thu Oct 13 18:24:12 2005 From: connie.kamrowski at dpi.nsw.gov.au (connie.kamrowski at dpi.nsw.gov.au) Date: Fri, 14 Oct 2005 09:24:12 +1000 Subject: [AccessD] Cross-posted to AccessD Message-ID: Nice article, Arthur. What doesn't get addressed, though, is the investment most of us have in VBA as a programming language. Switching to C++ or Java to work with Eclipse isn't quite as easy as switching to VB.Net for those of us who haven't plumbed the depths of C/C++ or Java already. I can read the code, but I would go nuts writing it because the punctuation drives me wild! Charlotte Foust Charlotte, It is no easier the other way, I am a Java Programmer and I was thrust into Access (hence why this list is my favourite thing LOL). Sometimes I spend time looking for a problem only to find I have written in Java syntax. Frustrating! We are it seems influenced pretty heavily by whatever we learn first. Connie Kamrowski Analyst/Programmer Information Technology NSW Department of Primary Industries Orange NSW Australia This message is intended for the addressee named and may contain confidential information. If you are not the intended recipient or received it in error, please delete the message and notify sender. Views expressed are those of the individual sender and are not necessarily the views of their organisation. From cfoust at infostatsystems.com Thu Oct 13 18:33:45 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 13 Oct 2005 16:33:45 -0700 Subject: [AccessD] Cross-posted to AccessD Message-ID: True, but Eclipse works with Java, so that wouldn't present you problems like it would me. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of connie.kamrowski at dpi.nsw.gov.au Sent: Thursday, October 13, 2005 4:24 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Cross-posted to AccessD Nice article, Arthur. What doesn't get addressed, though, is the investment most of us have in VBA as a programming language. Switching to C++ or Java to work with Eclipse isn't quite as easy as switching to VB.Net for those of us who haven't plumbed the depths of C/C++ or Java already. I can read the code, but I would go nuts writing it because the punctuation drives me wild! Charlotte Foust Charlotte, It is no easier the other way, I am a Java Programmer and I was thrust into Access (hence why this list is my favourite thing LOL). Sometimes I spend time looking for a problem only to find I have written in Java syntax. Frustrating! We are it seems influenced pretty heavily by whatever we learn first. Connie Kamrowski Analyst/Programmer Information Technology NSW Department of Primary Industries Orange NSW Australia From jengross at gte.net Thu Oct 13 22:36:49 2005 From: jengross at gte.net (Jennifer Gross) Date: Thu, 13 Oct 2005 20:36:49 -0700 Subject: [AccessD] Terminal Server - mdb locked by Administrator Message-ID: <007501c5d070$85f13820$6601a8c0@jefferson> Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer From accessd at shaw.ca Fri Oct 14 00:38:26 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 22:38:26 -0700 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <007501c5d070$85f13820$6601a8c0@jefferson> Message-ID: <004a01c5d081$8008b4e0$017ba8c0@xpserver> Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 14 01:08:28 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 13 Oct 2005 23:08:28 -0700 Subject: [AccessD] oT Friday; amused easily In-Reply-To: <434F6159.24334.512110D@stuart.lexacorp.com.pg> Message-ID: <004e01c5d085$b2496770$017ba8c0@xpserver> I had been scanning through the 'Simple Talk Blog' where Arthur's great article is and was amazed (and amused) at one particular write up. The article was called 'To SP or not to SP in SQL Server' at http://www.simple-talk.com/2005/04/11/to-sp-or-not-to-sp-in-sql-server/ The writer is debating the general consensus that says Stored Procedures are safer that passing full sequel calls to a server.... and here I quote: One of the most damaging arguments raised in defense of SPs is that they somehow magically prevent SQL injection attacks (http://www.unixwiz.net/techtips/sql-injection.html). From Rob's post: Additionally, stored procedures are a counter-measure to dangerous SQL Script injection attacks, a susceptibility that applications using embedded SQL are more vulnerable to. Sorry, but this is just not true. Using SPs make it more likely that you will pass parameters the right way, but there is no guarantee. For instance, this is some code I recently read answering a question on http://www.asp.net: ...And then the example proving that SPs are not safer... strsql = "EXECUTE findtitle '" & textboxtitle.text & "'" objCmd = New SqlCommand(strSQL, objConn) Unbelievable. Does using an ADO command method imply a SP?? After that I could take nothing seriously in the article but I had a good laugh :-) Hope this amuses someone else. (...working too long) Jim From dmcafee at pacbell.net Fri Oct 14 01:34:15 2005 From: dmcafee at pacbell.net (David McAfee) Date: Thu, 13 Oct 2005 23:34:15 -0700 Subject: [AccessD] oT Friday; amused easily In-Reply-To: <004e01c5d085$b2496770$017ba8c0@xpserver> Message-ID: First of all, by allowing the use of SPs, a developer should not allow anyone to have direct access to tables. There is no way that a system that is fully unsecured and allows any general SQL statement to execute is good practice. Whenever any text parameters are passed as input parameters, they should be checked for invalid characters and/or words (', ;, -, SELECT, DROP, TRUNCATE, DELETE, ALTER). This guy assumes that nobody implements security, even when using SPs. He is wrong. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 11:08 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] oT Friday; amused easily I had been scanning through the 'Simple Talk Blog' where Arthur's great article is and was amazed (and amused) at one particular write up. The article was called 'To SP or not to SP in SQL Server' at http://www.simple-talk.com/2005/04/11/to-sp-or-not-to-sp-in-sql-server/ The writer is debating the general consensus that says Stored Procedures are safer that passing full sequel calls to a server.... and here I quote: One of the most damaging arguments raised in defense of SPs is that they somehow magically prevent SQL injection attacks (http://www.unixwiz.net/techtips/sql-injection.html). From Rob's post: Additionally, stored procedures are a counter-measure to dangerous SQL Script injection attacks, a susceptibility that applications using embedded SQL are more vulnerable to. Sorry, but this is just not true. Using SPs make it more likely that you will pass parameters the right way, but there is no guarantee. For instance, this is some code I recently read answering a question on http://www.asp.net: ...And then the example proving that SPs are not safer... strsql = "EXECUTE findtitle '" & textboxtitle.text & "'" objCmd = New SqlCommand(strSQL, objConn) Unbelievable. Does using an ADO command method imply a SP?? After that I could take nothing seriously in the article but I had a good laugh :-) Hope this amuses someone else. (...working too long) Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Oct 14 04:34:34 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 14 Oct 2005 11:34:34 +0200 Subject: [AccessD] SOAP (was: Cross-posted to AccessD) Message-ID: Hi all Should anyone wonder where this is found, here's the link: http://www.pocketsoap.com/pocketsoap /gustav >>> martyconnelly at shaw.ca 14-10-2005 00:19:41 >>> What I don't understand is there a lot of things you can do with Access that are rarely addressed in articles.You can easily hook web services to Access 97 using Simon Fell's Pocket Soap. Access 97 hooks easily to to WSS or Sharepoint. You can do a whole slew of things with XML and XSLT XPATH in 97. I have had no problem linking Access frontends to major SAS programs. From accessd at shaw.ca Fri Oct 14 08:46:58 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2005 06:46:58 -0700 Subject: [AccessD] OT Friday RSS feed In-Reply-To: Message-ID: <005701c5d0c5$bf3eb620$017ba8c0@xpserver> Thank you for that Gustav and Marty. Subsequently bookmarked the site and wasted a few hours this morning and will be back. On a similar topic; does anyone know where and how to create a RSS feed.... At this moment my request is just a 'question of interest' and it has not been thoroughly investigated, yet but I have been seriously considering creating a BLOG. There must be a better method than hand-coding RSS for the page...??? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 14, 2005 2:35 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] SOAP (was: Cross-posted to AccessD) Hi all Should anyone wonder where this is found, here's the link: http://www.pocketsoap.com/pocketsoap /gustav >>> martyconnelly at shaw.ca 14-10-2005 00:19:41 >>> What I don't understand is there a lot of things you can do with Access that are rarely addressed in articles.You can easily hook web services to Access 97 using Simon Fell's Pocket Soap. Access 97 hooks easily to to WSS or Sharepoint. You can do a whole slew of things with XML and XSLT XPATH in 97. I have had no problem linking Access frontends to major SAS programs. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Oct 14 10:50:38 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Oct 2005 08:50:38 -0700 Subject: [AccessD] Data interface The best way Message-ID: Jim, I haven't forgotten you, but I ran into some other PC problems last night, so this weekend is the best I can do. I'll be on vacation next week, so I won't be tuning into the list. You can email me offlist at cfoust at spamcop.net and give me an address to send anything I come up with. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 12:57 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Yeh, your too old too....:-) You are really at your prime of life; like me nearing official retirement age and freedom though my revised retirement time has been extended until my early eighties... >> I went cold turkey a week ago when my backlit display lost its >> backlight. A full week!!! My sympathies. It would be great if you could cobble something together and do not worry about sending a late email, I will be up. :-) ...and again thanks. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 11:08 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way You're too old?? I'm 61! I don't have anything offhand but I can dummy something up this evening, I think. My PC is supposed to be back in my hands tonight (I went cold turkey a week ago when my backlit display lost its backlight), so I'll see what I can do. Charlotte From Jim.Hale at FleetPride.com Fri Oct 14 11:02:45 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Oct 2005 11:02:45 -0500 Subject: [AccessD] OT: Friday Humor cunning linguists Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> FYI - expanding your data dictionary! The Washington Post's Mensa Invitational once again asked readers to Take any word from the dictionary, alter it by adding, subtracting, or Changing one letter, and supply a new definition. Here are the 2005 winners: 1. Cashtration (n.): The act of buying a house, which renders the Subject financially impotent for an indefinite period. 2. Ignoranus: A person who's both stupid and an asshole. 3. Intaxication: Euphoria at getting a tax refund, which lasts until You realize it was your money to start with. 4. Reintarnation: Coming back to life as a hillbilly. 5. Bozone (n.): The substance surrounding stupid people that stops Bright ideas from penetrating. The bozone layer, unfortunately, shows little Sign of breaking down in the near future. 6. Foreploy: Any misrepresentation about yourself for the purpose of Getting laid. 7. Giraffiti: Vandalism spray-painted very, very high. 8. Sarchasm: The gulf between the author of sarcastic wit and the Person whodoesn't get it. 9. Inoculatte: To take coffee intravenously when you are running late. 10. Hipatitis: Terminal coolness. 11. Osteopornosis: A degenerate disease. (This one got extra credit.) 12. Karmageddon: It's like, when everybody is sending off all these Really bad vibes, right? And then, like, the Earth explodes and it's like, a serious bummer. 13. Decafalon (n.): The grueling event of getting through the day Consuming only things that are good for you. 14 Glibido: All talk and no action. 15. Dopeler effect: The tendency of stupid ideas to seem smarter when They come at you rapidly. 16. Arachnoleptic fit (n.): The frantic dance performed just after you've accidentally walked through a spider web. 17. Beelzebug (n.): Satan in the form of a mosquito, that gets into Your bedroom at three in the morning and cannot be cast out. 18. Caterpallor (n.): The color you turn after finding half a worm in The fruit you're eating. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From R.Griffiths at bury.gov.uk Fri Oct 14 11:12:05 2005 From: R.Griffiths at bury.gov.uk (Griffiths, Richard) Date: Fri, 14 Oct 2005 17:12:05 +0100 Subject: [AccessD] OT: Friday Humor cunning linguists Message-ID: <200510141602.j9EG2PF29428@smarthost.yourcomms.net> 19. cunning linguists: ?????????? (any suggestions!!!) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: 14 October 2005 17:03 To: 'Accessd (E-mail) Subject: [AccessD] OT: Friday Humor cunning linguists FYI - expanding your data dictionary! The Washington Post's Mensa Invitational once again asked readers to Take any word from the dictionary, alter it by adding, subtracting, or Changing one letter, and supply a new definition. Here are the 2005 winners: 1. Cashtration (n.): The act of buying a house, which renders the Subject financially impotent for an indefinite period. 2. Ignoranus: A person who's both stupid and an asshole. 3. Intaxication: Euphoria at getting a tax refund, which lasts until You realize it was your money to start with. 4. Reintarnation: Coming back to life as a hillbilly. 5. Bozone (n.): The substance surrounding stupid people that stops Bright ideas from penetrating. The bozone layer, unfortunately, shows little Sign of breaking down in the near future. 6. Foreploy: Any misrepresentation about yourself for the purpose of Getting laid. 7. Giraffiti: Vandalism spray-painted very, very high. 8. Sarchasm: The gulf between the author of sarcastic wit and the Person whodoesn't get it. 9. Inoculatte: To take coffee intravenously when you are running late. 10. Hipatitis: Terminal coolness. 11. Osteopornosis: A degenerate disease. (This one got extra credit.) 12. Karmageddon: It's like, when everybody is sending off all these Really bad vibes, right? And then, like, the Earth explodes and it's like, a serious bummer. 13. Decafalon (n.): The grueling event of getting through the day Consuming only things that are good for you. 14 Glibido: All talk and no action. 15. Dopeler effect: The tendency of stupid ideas to seem smarter when They come at you rapidly. 16. Arachnoleptic fit (n.): The frantic dance performed just after you've accidentally walked through a spider web. 17. Beelzebug (n.): Satan in the form of a mosquito, that gets into Your bedroom at three in the morning and cannot be cast out. 18. Caterpallor (n.): The color you turn after finding half a worm in The fruit you're eating. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Fri Oct 14 11:15:00 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 14 Oct 2005 09:15:00 -0700 (PDT) Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> Message-ID: <20051014161500.40691.qmail@web33111.mail.mud.yahoo.com> Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From john at winhaven.net Fri Oct 14 11:25:29 2005 From: john at winhaven.net (John Bartow) Date: Fri, 14 Oct 2005 11:25:29 -0500 Subject: [AccessD] OT: Friday Humor cunning linguists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> Message-ID: <008201c5d0db$e4bc7b60$6c01a8c0@ScuzzPaq> LOL! Good stuff Jim! From dmcafee at pacbell.net Fri Oct 14 11:26:31 2005 From: dmcafee at pacbell.net (David McAfee) Date: Fri, 14 Oct 2005 09:26:31 -0700 Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: <20051014161500.40691.qmail@web33111.mail.mud.yahoo.com> Message-ID: You can check if a record is a new record. You may also me able to use me.currentRecord and compare that to the max record ID or count. -----Original Message----- From: Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? From jengross at gte.net Fri Oct 14 11:29:15 2005 From: jengross at gte.net (Jennifer Gross) Date: Fri, 14 Oct 2005 09:29:15 -0700 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <004a01c5d081$8008b4e0$017ba8c0@xpserver> Message-ID: <001601c5d0dc$6e972970$6601a8c0@jefferson> Hi Jim, I have delete permissions to the folder and I am not able to delete the .ldb file. When I check the LDB Viewer it tells me Administrator is logged into the data file. As soon as the Administrator logs out of Terminal Server, the .ldb file is deleted - even though Administrator was not logged in to any Access databases. I will ask the admin guy to make sure I have full delete permissions to that folder. Thanks, Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Oct 14 11:48:03 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 12:48:03 -0400 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <001601c5d0dc$6e972970$6601a8c0@jefferson> Message-ID: <001f01c5d0df$0b220330$667aa8c0@ColbyM6805> In that case, the act of logging in to Terminal server is causing him to "open" the database. The LDB file is created whenever any user in any way "opens" the database that the LDB file is for. The LDB file appearing and disappearing when the Administrator logs in / out of terminal server means that JET thinks the user is "opening" the database. "Opening" the database does NOT necessarily mean opening the container itself. It can also be an active connection (ADO or DAO) to a table in the database. If you have asked JET for permission to load / alter DATA in a container, Jet creates the LDB. When the last user closes their ACTIVE connection to the BE, the LDB goes away (theoretically). Thus a FE can be open have tables linked to the BE but there may not be an LDB because they haven't actually opened a form, query or report (or a recordset in code). As soon as you do any of those things, THEN Jet creates the LDB file. Thus the Administrator may have a VB6 application (for example) that runs when he logs in to terminal server. That VB6 application opens some recordset and the LDB file gets created. Something like that. YOU cannot delete the LDB as long as ANY user has a LIVE link to the container. The only time you CAN delete an LDB file is when Jet fails to delete it (which does happen) but there is really no live link to the data container and Jet knows this. At that point the LDB is just an "orphaned" file and can be deleted. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, October 14, 2005 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jim, I have delete permissions to the folder and I am not able to delete the .ldb file. When I check the LDB Viewer it tells me Administrator is logged into the data file. As soon as the Administrator logs out of Terminal Server, the .ldb file is deleted - even though Administrator was not logged in to any Access databases. I will ask the admin guy to make sure I have full delete permissions to that folder. Thanks, Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Fri Oct 14 11:49:45 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Fri, 14 Oct 2005 12:49:45 -0400 Subject: [AccessD] OT: Friday Humor cunning linguists In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CB8CD1@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF13B@ADGSERVER> I have #16 sometimes. LOL. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, October 14, 2005 12:03 PM To: 'Accessd (E-mail) Subject: [AccessD] OT: Friday Humor cunning linguists 16. Arachnoleptic fit (n.): The frantic dance performed just after you've accidentally walked through a spider web. From drboz at pacbell.net Fri Oct 14 11:32:14 2005 From: drboz at pacbell.net (Don Bozarth) Date: Fri, 14 Oct 2005 09:32:14 -0700 Subject: [AccessD] OT: Friday Humor cunning linguists References: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> Message-ID: <001701c5d0dc$d6a139c0$6b01a8c0@don> My personal favorite: Alimonicourse: the screwin' you get for the screwin' you got. ----- Original Message ----- From: "Hale, Jim" To: "'Accessd (E-mail)" Sent: Friday, October 14, 2005 9:02 AM Subject: [AccessD] OT: Friday Humor cunning linguists > FYI - expanding your data dictionary! > > The Washington Post's Mensa Invitational once again asked readers to > Take any word from the dictionary, alter it by adding, subtracting, or > Changing one letter, and supply a new definition. > > Here are the 2005 winners: > > 1. Cashtration (n.): The act of buying a house, which renders the > Subject financially impotent for an indefinite period. > > 2. Ignoranus: A person who's both stupid and an asshole. > > 3. Intaxication: Euphoria at getting a tax refund, which lasts until > You realize it was your money to start with. > > 4. Reintarnation: Coming back to life as a hillbilly. > > 5. Bozone (n.): The substance surrounding stupid people that stops > Bright ideas from penetrating. The bozone layer, unfortunately, shows little > Sign of breaking down in the near future. > > 6. Foreploy: Any misrepresentation about yourself for the purpose of > Getting laid. > > 7. Giraffiti: Vandalism spray-painted very, very high. > > 8. Sarchasm: The gulf between the author of sarcastic wit and the > Person whodoesn't get it. > > 9. Inoculatte: To take coffee intravenously when you are running late. > > 10. Hipatitis: Terminal coolness. > > 11. Osteopornosis: A degenerate disease. (This one got extra credit.) > > 12. Karmageddon: It's like, when everybody is sending off all these > Really bad vibes, right? And then, like, the Earth explodes and it's like, a > serious bummer. > > 13. Decafalon (n.): The grueling event of getting through the day > Consuming only things that are good for you. > > 14 Glibido: All talk and no action. > > 15. Dopeler effect: The tendency of stupid ideas to seem smarter when > They come at you rapidly. > > 16. Arachnoleptic fit (n.): The frantic dance performed just after > you've accidentally walked through a spider web. > > 17. Beelzebug (n.): Satan in the form of a mosquito, that gets into > Your bedroom at three in the morning and cannot be cast out. > > 18. Caterpallor (n.): The color you turn after finding half a worm in > The fruit you're eating. > > > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From developer at ultradnt.com Fri Oct 14 12:00:24 2005 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Oct 2005 13:00:24 -0400 Subject: [AccessD] Show/Hide On Screen Keyboard via Win API In-Reply-To: <001f01c5d0df$0b220330$667aa8c0@ColbyM6805> Message-ID: <200510141700.j9EH0Vv18139@ultradnt.com> I have been unable to find how to Show/Hide the On Screen Keyboard via Win API anywhere (although a Smart Access article looked promising, its not worth 144 /year to read the article) Any code examples out there? Tia, Steve From jengross at gte.net Fri Oct 14 12:20:46 2005 From: jengross at gte.net (Jennifer Gross) Date: Fri, 14 Oct 2005 10:20:46 -0700 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <001f01c5d0df$0b220330$667aa8c0@ColbyM6805> Message-ID: <001801c5d0e3$a0d4a050$6601a8c0@jefferson> Thanks for this John. The weird thing about it is that the Administrator has no open connection to the data file whatsoever. There is nothing that he is running that is connecting to the data file at all. I don't know which user created the .ldb and seems to have left it an orphan, but I can't delete it until the Administrator is logged off. Strange. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 9:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator In that case, the act of logging in to Terminal server is causing him to "open" the database. The LDB file is created whenever any user in any way "opens" the database that the LDB file is for. The LDB file appearing and disappearing when the Administrator logs in / out of terminal server means that JET thinks the user is "opening" the database. "Opening" the database does NOT necessarily mean opening the container itself. It can also be an active connection (ADO or DAO) to a table in the database. If you have asked JET for permission to load / alter DATA in a container, Jet creates the LDB. When the last user closes their ACTIVE connection to the BE, the LDB goes away (theoretically). Thus a FE can be open have tables linked to the BE but there may not be an LDB because they haven't actually opened a form, query or report (or a recordset in code). As soon as you do any of those things, THEN Jet creates the LDB file. Thus the Administrator may have a VB6 application (for example) that runs when he logs in to terminal server. That VB6 application opens some recordset and the LDB file gets created. Something like that. YOU cannot delete the LDB as long as ANY user has a LIVE link to the container. The only time you CAN delete an LDB file is when Jet fails to delete it (which does happen) but there is really no live link to the data container and Jet knows this. At that point the LDB is just an "orphaned" file and can be deleted. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, October 14, 2005 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jim, I have delete permissions to the folder and I am not able to delete the .ldb file. When I check the LDB Viewer it tells me Administrator is logged into the data file. As soon as the Administrator logs out of Terminal Server, the .ldb file is deleted - even though Administrator was not logged in to any Access databases. I will ask the admin guy to make sure I have full delete permissions to that folder. Thanks, Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Oct 14 12:44:38 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 13:44:38 -0400 Subject: [AccessD] Terminal Server - mdb locked by Administrator In-Reply-To: <001801c5d0e3$a0d4a050$6601a8c0@jefferson> Message-ID: <002001c5d0e6$f33b6a60$667aa8c0@ColbyM6805> If no one else is in, and there is no LDB file, if the Administrator logs in, is an LDB created? If so, then the Administrator user IS opening a link to the data container somehow. Jet doesn't know anything about anything. Jet is asked to open connections to data and does so. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, October 14, 2005 1:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Thanks for this John. The weird thing about it is that the Administrator has no open connection to the data file whatsoever. There is nothing that he is running that is connecting to the data file at all. I don't know which user created the .ldb and seems to have left it an orphan, but I can't delete it until the Administrator is logged off. Strange. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 9:48 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator In that case, the act of logging in to Terminal server is causing him to "open" the database. The LDB file is created whenever any user in any way "opens" the database that the LDB file is for. The LDB file appearing and disappearing when the Administrator logs in / out of terminal server means that JET thinks the user is "opening" the database. "Opening" the database does NOT necessarily mean opening the container itself. It can also be an active connection (ADO or DAO) to a table in the database. If you have asked JET for permission to load / alter DATA in a container, Jet creates the LDB. When the last user closes their ACTIVE connection to the BE, the LDB goes away (theoretically). Thus a FE can be open have tables linked to the BE but there may not be an LDB because they haven't actually opened a form, query or report (or a recordset in code). As soon as you do any of those things, THEN Jet creates the LDB file. Thus the Administrator may have a VB6 application (for example) that runs when he logs in to terminal server. That VB6 application opens some recordset and the LDB file gets created. Something like that. YOU cannot delete the LDB as long as ANY user has a LIVE link to the container. The only time you CAN delete an LDB file is when Jet fails to delete it (which does happen) but there is really no live link to the data container and Jet knows this. At that point the LDB is just an "orphaned" file and can be deleted. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, October 14, 2005 12:29 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jim, I have delete permissions to the folder and I am not able to delete the .ldb file. When I check the LDB Viewer it tells me Administrator is logged into the data file. As soon as the Administrator logs out of Terminal Server, the .ldb file is deleted - even though Administrator was not logged in to any Access databases. I will ask the admin guy to make sure I have full delete permissions to that folder. Thanks, Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:38 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Terminal Server - mdb locked by Administrator Hi Jennifer: It is the old problem with permissions to the .ldb file. Every user must have full rights to the directory where the .ldb file is stored or problems happen. I would attempt to delete the ldb file before running anything. If you can not then you will have to get a person in the admin group to delete the file. HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Thursday, October 13, 2005 8:37 PM To: AccessD List Subject: [AccessD] Terminal Server - mdb locked by Administrator Hi All, I have an A2K FE/BE on Terminal Server. Every so often I want to go in and compact the BE. Consistently when the Administrator is logged on to Terminal Server but NOT running ANY Access applications Dev Ashish's LDB Viewer shows that the BE is locked by Administrator and I cannot get exclusive use of the BE to compact. Does anyone know what is going on here. TIA, Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From doug at starntech.com Fri Oct 14 13:07:19 2005 From: doug at starntech.com (Douglas Barnes) Date: Fri, 14 Oct 2005 14:07:19 -0400 Subject: [AccessD] OT: Friday Humor cunning linguists In-Reply-To: <200510141602.j9EG2PF29428@smarthost.yourcomms.net> Message-ID: Lap-zensation Douglas Barnes Starn Technical Services P. O. 1172 Meadville, PA 16335 814.724.1045 doug at starntech.com www.starntech.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Griffiths, Richard Sent: October 14, 2005 12:12 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Friday Humor cunning linguists 19. cunning linguists: ?????????? (any suggestions!!!) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: 14 October 2005 17:03 To: 'Accessd (E-mail) Subject: [AccessD] OT: Friday Humor cunning linguists FYI - expanding your data dictionary! The Washington Post's Mensa Invitational once again asked readers to Take any word from the dictionary, alter it by adding, subtracting, or Changing one letter, and supply a new definition. Here are the 2005 winners: 1. Cashtration (n.): The act of buying a house, which renders the Subject financially impotent for an indefinite period. 2. Ignoranus: A person who's both stupid and an asshole. 3. Intaxication: Euphoria at getting a tax refund, which lasts until You realize it was your money to start with. 4. Reintarnation: Coming back to life as a hillbilly. 5. Bozone (n.): The substance surrounding stupid people that stops Bright ideas from penetrating. The bozone layer, unfortunately, shows little Sign of breaking down in the near future. 6. Foreploy: Any misrepresentation about yourself for the purpose of Getting laid. 7. Giraffiti: Vandalism spray-painted very, very high. 8. Sarchasm: The gulf between the author of sarcastic wit and the Person whodoesn't get it. 9. Inoculatte: To take coffee intravenously when you are running late. 10. Hipatitis: Terminal coolness. 11. Osteopornosis: A degenerate disease. (This one got extra credit.) 12. Karmageddon: It's like, when everybody is sending off all these Really bad vibes, right? And then, like, the Earth explodes and it's like, a serious bummer. 13. Decafalon (n.): The grueling event of getting through the day Consuming only things that are good for you. 14 Glibido: All talk and no action. 15. Dopeler effect: The tendency of stupid ideas to seem smarter when They come at you rapidly. 16. Arachnoleptic fit (n.): The frantic dance performed just after you've accidentally walked through a spider web. 17. Beelzebug (n.): Satan in the form of a mosquito, that gets into Your bedroom at three in the morning and cannot be cast out. 18. Caterpallor (n.): The color you turn after finding half a worm in The fruit you're eating. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Oct 14 13:39:53 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 14 Oct 2005 14:39:53 -0400 Subject: [AccessD] Cross-posted to AccessD In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF126@ADGSERVER> Message-ID: <200510141840.j9EIe1J14852@databaseadvisors.com> Thanks for pointing out the article, and also for the compliment. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: October 13, 2005 12:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Cross-posted to AccessD In case you all can't tell, Arthur's article is "FUD (fear, uncertainty, doubt): Where does Access fit in Microsoft's future?". His name is not on the front page, but at the end of the article when you click "more." Nice article Arthur. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, October 13, 2005 11:34 AM To: dba-sqlserver at databaseadvisors.com Cc: 'Access Developers discussion and problem solving' Subject: [AccessD] Cross-posted to AccessD Here is a link to my most recent article, based in part on conversations and threads that took place on this list. http://www.simple-talk.com/. Every hit counts, as it were, and makes me look more valuable as a columnist. So feel free to contribute some of your work-avoidance moments to the cause. LOL. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Fri Oct 14 13:56:53 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 14 Oct 2005 11:56:53 -0700 (PDT) Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: Message-ID: <20051014185653.34437.qmail@web33114.mail.mud.yahoo.com> Thank you Sir, that is worth a star in my book. David McAfee wrote: You can check if a record is a new record. You may also me able to use me.currentRecord and compare that to the max record ID or count. -----Original Message----- From: Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From artful at rogers.com Fri Oct 14 14:04:11 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 14 Oct 2005 15:04:11 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: <003501c5d032$cf67dd80$017ba8c0@xpserver> Message-ID: <200510141904.j9EJ49J02362@databaseadvisors.com> Not to say I told you so, but I have been harping on this for quite a while. SQL injection is very real and very dangerous and to the extent that you rely on dynamic SQL you put your arms down and dare the opponent to punch you. Sprocs and UDFs are way better protection because their params are handled differently. That is not to argue that there is something inherently wrong with coding an ADO approach into the DB, but it is to say that where possible, use a sproc or a UDF rather than dynamic SQL. There are (fortunately, relatively few) occasions when dynamic (i.e. constructed in the front end) SQL is required, but in 9 out 10 cases this turns out to be unnecessary. I will supply a very simple example, trusting that you all can extrapolate. You have a form which can be opened in two ways: a) supply a CustomerID and b) supply no CustomerID. In either case, the form should display a series of Sales (for one Customer or all Customers). The sproc to handle this resembles this improvised code: SELECT * FROM Sales WHERE CustomerID = @CustomerID OR @CustomerID IS NULL So there are only two possible outcomes. 1. The user supplies a valid or invalid CustomerID, or none at all. A valid CustomerID may show zero+ orders. An invalid CustomerID shows nothing. 2. No CustomerID shows all Sales. Given such a sproc (improvised on the fly), SQL injection techniques will mostly if not all be blocked. I could go into detail about why this is so, but I have already done so. The basic point is, if a sproc is expecting say an integer and instead receives a string (a SQL injection attempt) then no problem. The attempt will get busted at the border of the sproc. When several params are passed, the logic escalates arithmetically but not geometrically. I.e. if you are expecting 5 params, it`s not that big a problem... and who in the sane world writes a sproc expecting 50 params... LOL. One of the greatest features of sprocs is their ability to test incoming data. If it fails to meet expectations (God, I am sounding like my ex-wife LOL), then the data is cast aside and the sproc terminates. OTOH, if you build dynamic SQL statements then fling them at the engine, who knows how much s**t will stick to the wall? As I said above, it is not always possible to avoid dynamic SQL. But to the extent that you CAN avoid it, you SHOULD avoid it. Unless of course you are working for a company doomed to failure anyway... in which case your contribution to the failure is unlikely to be noticed. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: October 13, 2005 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 artful at rogers.com Fri Oct 14 14:11:45 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 14 Oct 2005 15:11:45 -0400 Subject: [AccessD] oT Friday; amused easily In-Reply-To: <004e01c5d085$b2496770$017ba8c0@xpserver> Message-ID: <200510141911.j9EJBgJ06088@databaseadvisors.com> I just posted a reply, not directly to this article but to the general notion that sprocs are safer than dynamic SQL. That is my story and I am sticking to it! And thanks to you for your kind words, and to all others on this list who took the time to read it. You boost my hit-count and that makes me look good to the publisher! Thanks! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: October 14, 2005 2:08 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] oT Friday; amused easily I had been scanning through the 'Simple Talk Blog' where Arthur's great article is and was amazed (and amused) at one particular write up. The article was called 'To SP or not to SP in SQL Server' at http://www.simple-talk.com/2005/04/11/to-sp-or-not-to-sp-in-sql-server/ The writer is debating the general consensus that says Stored Procedures are safer that passing full sequel calls to a server.... and here I quote: One of the most damaging arguments raised in defense of SPs is that they somehow magically prevent SQL injection attacks (http://www.unixwiz.net/techtips/sql-injection.html). From Rob's post: Additionally, stored procedures are a counter-measure to dangerous SQL Script injection attacks, a susceptibility that applications using embedded SQL are more vulnerable to. Sorry, but this is just not true. Using SPs make it more likely that you will pass parameters the right way, but there is no guarantee. For instance, this is some code I recently read answering a question on http://www.asp.net: ...And then the example proving that SPs are not safer... strsql = "EXECUTE findtitle '" & textboxtitle.text & "'" objCmd = New SqlCommand(strSQL, objConn) Unbelievable. Does using an ADO command method imply a SP?? After that I could take nothing seriously in the article but I had a good laugh :-) Hope this amuses someone else. (...working too long) Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Oct 14 14:13:39 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 14 Oct 2005 15:13:39 -0400 Subject: [AccessD] oT Friday; amused easily In-Reply-To: Message-ID: <200510141914.j9EJE6J06782@databaseadvisors.com> Right on, brother! That is EXACTLY the ticket. NOBODY (but me) gets direct access to the tables. You do not talk to God, you put some money in the collection plate and talk to me, then I talk to God on your behalf. LOL. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: October 14, 2005 2:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] oT Friday; amused easily First of all, by allowing the use of SPs, a developer should not allow anyone to have direct access to tables. There is no way that a system that is fully unsecured and allows any general SQL statement to execute is good practice. Whenever any text parameters are passed as input parameters, they should be checked for invalid characters and/or words (', ;, -, SELECT, DROP, TRUNCATE, DELETE, ALTER). This guy assumes that nobody implements security, even when using SPs. He is wrong. From cfoust at infostatsystems.com Fri Oct 14 14:45:08 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Oct 2005 12:45:08 -0700 Subject: [AccessD] Last Record of a Continuous Form Message-ID: Define "last" record: last in the recordset, last on the page, latest entered, the one above the add row ....? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Fri Oct 14 14:53:54 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Fri, 14 Oct 2005 12:53:54 -0700 (PDT) Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: Message-ID: <20051014195354.1061.qmail@web33111.mail.mud.yahoo.com> Last on the page. The recordsource is in date order. It is the history of activity for patients. I do not want the last record (which is the patient's current record) to be altered from this page. I used the... If Me.CurrentRecord = Me.RecordsetClone.RecordCount Then ...lock it down Else ...let me do it End If Charlotte Foust wrote: Define "last" record: last in the recordset, last on the page, latest entered, the one above the add row ....? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From cfoust at infostatsystems.com Fri Oct 14 14:55:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Oct 2005 12:55:42 -0700 Subject: [AccessD] Data interface The best way Message-ID: Swell, define dynamic SQL. When it is compiled into a dll, is it still dynamic? When your permissions to the back end are highly restricted and all the SQL is created in the dll, is it still dynamic? I understand the capabilites of sprocs. However, in an N-tier architecture, you can build some of that same capability into the middle tier and validate the data before it ever gets passed to the backend for handling. So what special purpose is then served by the sproc? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, October 14, 2005 12:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Not to say I told you so, but I have been harping on this for quite a while. SQL injection is very real and very dangerous and to the extent that you rely on dynamic SQL you put your arms down and dare the opponent to punch you. Sprocs and UDFs are way better protection because their params are handled differently. That is not to argue that there is something inherently wrong with coding an ADO approach into the DB, but it is to say that where possible, use a sproc or a UDF rather than dynamic SQL. There are (fortunately, relatively few) occasions when dynamic (i.e. constructed in the front end) SQL is required, but in 9 out 10 cases this turns out to be unnecessary. I will supply a very simple example, trusting that you all can extrapolate. You have a form which can be opened in two ways: a) supply a CustomerID and b) supply no CustomerID. In either case, the form should display a series of Sales (for one Customer or all Customers). The sproc to handle this resembles this improvised code: SELECT * FROM Sales WHERE CustomerID = @CustomerID OR @CustomerID IS NULL So there are only two possible outcomes. 1. The user supplies a valid or invalid CustomerID, or none at all. A valid CustomerID may show zero+ orders. An invalid CustomerID shows nothing. 2. No CustomerID shows all Sales. Given such a sproc (improvised on the fly), SQL injection techniques will mostly if not all be blocked. I could go into detail about why this is so, but I have already done so. The basic point is, if a sproc is expecting say an integer and instead receives a string (a SQL injection attempt) then no problem. The attempt will get busted at the border of the sproc. When several params are passed, the logic escalates arithmetically but not geometrically. I.e. if you are expecting 5 params, it`s not that big a problem... and who in the sane world writes a sproc expecting 50 params... LOL. One of the greatest features of sprocs is their ability to test incoming data. If it fails to meet expectations (God, I am sounding like my ex-wife LOL), then the data is cast aside and the sproc terminates. OTOH, if you build dynamic SQL statements then fling them at the engine, who knows how much s**t will stick to the wall? As I said above, it is not always possible to avoid dynamic SQL. But to the extent that you CAN avoid it, you SHOULD avoid it. Unless of course you are working for a company doomed to failure anyway... in which case your contribution to the failure is unlikely to be noticed. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: October 13, 2005 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 14 15:00:23 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 14 Oct 2005 15:00:23 -0500 Subject: [AccessD] Last Record of a Continuous Form Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337923@corp-es01.fleetpride.com> 19. "indentify" To recognize a vehicle by its distintive dents. Jim Hale -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Friday, October 14, 2005 1:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Record of a Continuous Form Thank you Sir, that is worth a star in my book. David McAfee wrote: You can check if a record is a new record. You may also me able to use me.currentRecord and compare that to the max record ID or count. -----Original Message----- From: Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Fri Oct 14 15:25:16 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 14 Oct 2005 13:25:16 -0700 Subject: [AccessD] Last Record of a Continuous Form Message-ID: Now I'm thoroughly confused. You asked if there was any way to identify whether the current record is the last record ... On the page? Then you say the last record is the patient's current record. Do you mean the patient's record for the current date, but not necessarily the record that has the current focus? Can't you just check to see if the date = the current date and set allowedits based on that condition? I'm not sure I understand why the user could edit a previous date's records but not the current date's records though. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 12:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Record of a Continuous Form Last on the page. The recordsource is in date order. It is the history of activity for patients. I do not want the last record (which is the patient's current record) to be altered from this page. I used the... If Me.CurrentRecord = Me.RecordsetClone.RecordCount Then ...lock it down Else ...let me do it End If Charlotte Foust wrote: Define "last" record: last in the recordset, last on the page, latest entered, the one above the add row ....? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Oct 14 16:38:55 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 15 Oct 2005 01:38:55 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <001e01c5d107$b0dd0c20$6401a8c0@fincomplex.spb.ru> > So what special purpose is then served by the sproc? IMO they are now getting obsolete for CRUD operations. You're right Charlotte, I think - in a modern N-tier architecture if one gets Data Layer objects running on a well protected server then there is no need in CRUD stored procedures. MS SQL database tables/views can be still well protected and Data Layer objects will use Application Roles to do whatever these Applications Roles are allowed to do with the database using dynamic SQL.... And SQL injection attempts can be blocked on Business/Data Layer object interfaces level... Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, October 14, 2005 11:55 PM Subject: Re: [AccessD] Data interface The best way > Swell, define dynamic SQL. When it is compiled into a dll, is it still > dynamic? When your permissions to the back end are highly restricted > and all the SQL is created in the dll, is it still dynamic? I > understand the capabilites of sprocs. However, in an N-tier > architecture, you can build some of that same capability into the middle > tier and validate the data before it ever gets passed to the backend for > handling. So what special purpose is then served by the sproc? > > Charlotte Foust > > <<< tail trimmed >>> From jwcolby at ColbyConsulting.com Fri Oct 14 18:32:07 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 19:32:07 -0400 Subject: [AccessD] Rights tab in WinXP Pro Message-ID: <000201c5d117$812f4960$667aa8c0@ColbyM6805> I am using Windows XP Pro on all of my machines, including my dev laptop. I am seeing references to "in Explorer, right click a folder, select properties, then select the security tab" I don't have a security tab. Any ideas why not? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From accessd at shaw.ca Fri Oct 14 18:42:33 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2005 16:42:33 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <007b01c5d118$f37a0e50$017ba8c0@xpserver> Charlotte, a compiled sql into a dll/executable is a good way to block some one mucking around with the code. The only concern would be if someone can create a sequel pass-through on the client station that could fool the BE. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, October 14, 2005 12:56 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Swell, define dynamic SQL. When it is compiled into a dll, is it still dynamic? When your permissions to the back end are highly restricted and all the SQL is created in the dll, is it still dynamic? I understand the capabilites of sprocs. However, in an N-tier architecture, you can build some of that same capability into the middle tier and validate the data before it ever gets passed to the backend for handling. So what special purpose is then served by the sproc? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, October 14, 2005 12:04 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Not to say I told you so, but I have been harping on this for quite a while. SQL injection is very real and very dangerous and to the extent that you rely on dynamic SQL you put your arms down and dare the opponent to punch you. Sprocs and UDFs are way better protection because their params are handled differently. That is not to argue that there is something inherently wrong with coding an ADO approach into the DB, but it is to say that where possible, use a sproc or a UDF rather than dynamic SQL. There are (fortunately, relatively few) occasions when dynamic (i.e. constructed in the front end) SQL is required, but in 9 out 10 cases this turns out to be unnecessary. I will supply a very simple example, trusting that you all can extrapolate. You have a form which can be opened in two ways: a) supply a CustomerID and b) supply no CustomerID. In either case, the form should display a series of Sales (for one Customer or all Customers). The sproc to handle this resembles this improvised code: SELECT * FROM Sales WHERE CustomerID = @CustomerID OR @CustomerID IS NULL So there are only two possible outcomes. 1. The user supplies a valid or invalid CustomerID, or none at all. A valid CustomerID may show zero+ orders. An invalid CustomerID shows nothing. 2. No CustomerID shows all Sales. Given such a sproc (improvised on the fly), SQL injection techniques will mostly if not all be blocked. I could go into detail about why this is so, but I have already done so. The basic point is, if a sproc is expecting say an integer and instead receives a string (a SQL injection attempt) then no problem. The attempt will get busted at the border of the sproc. When several params are passed, the logic escalates arithmetically but not geometrically. I.e. if you are expecting 5 params, it`s not that big a problem... and who in the sane world writes a sproc expecting 50 params... LOL. One of the greatest features of sprocs is their ability to test incoming data. If it fails to meet expectations (God, I am sounding like my ex-wife LOL), then the data is cast aside and the sproc terminates. OTOH, if you build dynamic SQL statements then fling them at the engine, who knows how much s**t will stick to the wall? As I said above, it is not always possible to avoid dynamic SQL. But to the extent that you CAN avoid it, you SHOULD avoid it. Unless of course you are working for a company doomed to failure anyway... in which case your contribution to the failure is unlikely to be noticed. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: October 13, 2005 4:15 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way At a recent MS conference the speaker discussed the whole issues around MS SQL security. It was stated that if a raw sql request can be made from the client end, regardless of its interface then your whole system is venerable. They then proceeded to show a number of ways to hack-in to a MS SQL database using various methods and security holes. The lectures were very impressive and alarming. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, October 13, 2005 12:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way No, the SQL is stored in the application, not the BE, but yes if we were going exclusively against SQL Server, the sproc names would work instead. Since our application is backend neutral at that level, we don't do it that way. I've never heard that business about SQL in the front end being a security risk before, so I can't comment on that. These are windows apps, so that might be the difference. Given that our apps, front and backend, are run on our clients's systems, I don't know what kind of security risk would be posed by the SQL being in the front end anyhow. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David McAfee Sent: Thursday, October 13, 2005 11:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Charlotte, does that mean you are using dynamic SQL in the BE? I tend to see a lot more of that now that I am starting to use .Net more and more. Couldn't the xml file hold a list of sproc names and you could just execute a sproc instead? I was always instructed not to create SQL Strings in the front end as passing them to the back end was a security risk. This is of course, unless you are dealing with the possibility of SQL injection on the back end and not allowing certain characters and/or reserved words. Jim, are you asking how to make a connection into the SQL BE via code? I had a bit of a time understanding how to do this (coming form an Access background). I created a test page with has a cascading combo box for automobile makes and models. Here is how I assign the rowsource to the "Model" combo box after selecting a "Make" (or manufacturer): Private Sub cboMake_SelectedIndexChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles cboMake.SelectedIndexChanged If Me.SqlConnection1.State <> ConnectionState.Open Then Me.SqlConnection1.Open() Dim A As System.Data.SqlClient.SqlDataReader Dim B As SqlClient.SqlCommand B = New SqlClient.SqlCommand B.Connection = Me.SqlConnection1 B.CommandText = "stpSelectModel " & Me.cboMake.SelectedItem.Value A = B.ExecuteReader() Me.cboModel.DataSource = A Me.cboModel.DataTextField = "Model" Me.cboModel.DataValueField = "ModelID" Me.cboModel.DataBind() Me.SqlConnection1.Close() End Sub HTH David -----Original Message----- From: Charlotte Foust We use typed datasets and build a data "entity" in the solution that inherits that typed dataset and handles validations, update calls, fills, etc. We build dataproviders for each typed dataset/entity/interface and let it handle creating the connections and command strings, building the data adapter and passing a filled "entity" back to the calling routine. We actually store the SQL for these commands in xml and look up the one we need, passing the parameters in through the dataprovider. It works quite well. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 13, 2005 10:09 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data interface The best way Hi All: I am current working building a .Net solution for a client. ASP.Net 2, ADO.Net and MS SQL 200x. Traditionally, when designing the system I have passed all the Selects, Inserts, Updates and Deletes requests through to the server via ADO commands using parameter lists and then to MS SQL side Stored Procedures to manage any final validation and data work. I am not sure of the best way to manage the data flow with this new architecture (i.e. Datasets etc.). Any suggestions and experiences would be very helpful. TIA 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Fri Oct 14 19:14:41 2005 From: robert at servicexp.com (Robert Gracie) Date: Fri, 14 Oct 2005 20:14:41 -0400 Subject: [AccessD] Rights tab in WinXP Pro Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F69@gbsserver.GBS.local> John, Try Under Folder Options >> View Tab >> at the very bottom uncheck "Use Simple File Sharing" Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 8:01 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Rights tab in WinXP Pro I am using Windows XP Pro on all of my machines, including my dev laptop. I am seeing references to "in Explorer, right click a folder, select properties, then select the security tab" I don't have a security tab. Any ideas why not? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 14 19:04:33 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2005 17:04:33 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <001e01c5d107$b0dd0c20$6401a8c0@fincomplex.spb.ru> Message-ID: <007d01c5d11c$05b589c0$017ba8c0@xpserver> Shamil, the other technique is to have secret passwords embedded in the compiled FE (dll/executable) code and in theory that should eliminate hostile attacks. Here is a good article on CRUD: http://www.databasejournal.com/features/mssql/article.php/3082201 Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 14, 2005 2:39 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way > So what special purpose is then served by the sproc? IMO they are now getting obsolete for CRUD operations. You're right Charlotte, I think - in a modern N-tier architecture if one gets Data Layer objects running on a well protected server then there is no need in CRUD stored procedures. MS SQL database tables/views can be still well protected and Data Layer objects will use Application Roles to do whatever these Applications Roles are allowed to do with the database using dynamic SQL.... And SQL injection attempts can be blocked on Business/Data Layer object interfaces level... Shamil ----- Original Message ----- From: "Charlotte Foust" To: "Access Developers discussion and problem solving" Sent: Friday, October 14, 2005 11:55 PM Subject: Re: [AccessD] Data interface The best way > Swell, define dynamic SQL. When it is compiled into a dll, is it still > dynamic? When your permissions to the back end are highly restricted > and all the SQL is created in the dll, is it still dynamic? I > understand the capabilites of sprocs. However, in an N-tier > architecture, you can build some of that same capability into the middle > tier and validate the data before it ever gets passed to the backend for > handling. So what special purpose is then served by the sproc? > > Charlotte Foust > > <<< tail trimmed >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Fri Oct 14 19:20:37 2005 From: robert at servicexp.com (Robert Gracie) Date: Fri, 14 Oct 2005 20:20:37 -0400 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F6A@gbsserver.GBS.local> Hello, All Does anyone have some text exporting code that I can use.. I need to come up with a system that will pull data from multiple tables, format the data, name fields and export said data out in a very specific fixed width txt file. My biggest problem is that it's across 3 separate company's with each having a different set of rules.. Anything to start with would be great...... Robert Gracie www.servicexp.com From jwcolby at ColbyConsulting.com Fri Oct 14 19:10:11 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 20:10:11 -0400 Subject: [AccessD] Rights tab in WinXP Pro In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F69@gbsserver.GBS.local> Message-ID: <000701c5d11c$cf4bada0$667aa8c0@ColbyM6805> Precisely right. Two points! Thanks, John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Friday, October 14, 2005 8:15 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Rights tab in WinXP Pro John, Try Under Folder Options >> View Tab >> at the very bottom uncheck "Use Simple File Sharing" Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 8:01 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc. Subject: [AccessD] Rights tab in WinXP Pro I am using Windows XP Pro on all of my machines, including my dev laptop. I am seeing references to "in Explorer, right click a folder, select properties, then select the security tab" I don't have a security tab. Any ideas why not? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 14 19:28:27 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 15 Oct 2005 10:28:27 +1000 Subject: [AccessD] OT: Friday Humor cunning linguists In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337922@corp-es01.fleetpride.com> Message-ID: <4350D9CB.18773.AD08D92@stuart.lexacorp.com.pg> On 14 Oct 2005 at 11:02, Hale, Jim wrote: > FYI - expanding your data dictionary! > > The Washington Post's Mensa Invitational once again asked readers to > Take any word from the dictionary, alter it by adding, subtracting, or > Changing one letter, and supply a new definition. > > Here are the 2005 winners: > 1. Not Mensa 2. Not 2005 3. Not just the winners Apart from that you got it right :-) It was actually week 278 of the The Style Invitational in July 1998. This one is no longer online, but the results published in week 281 are still there: http://www.washingtonpost.com/wp-srv/style/invitational/invit980802.htm It lists the actual winner, runners up and the honorable mentions. Some good ones there which are not on your list. -- Stuart From stuart at lexacorp.com.pg Fri Oct 14 19:54:57 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 15 Oct 2005 10:54:57 +1000 Subject: [AccessD] Show/Hide On Screen Keyboard via Win API In-Reply-To: <200510141700.j9EH0Vv18139@ultradnt.com> References: <001f01c5d0df$0b220330$667aa8c0@ColbyM6805> Message-ID: <4350E001.140.AE8CEBD@stuart.lexacorp.com.pg> On 14 Oct 2005 at 13:00, Steve Conklin wrote: > > I have been unable to find how to Show/Hide the On Screen Keyboard via Win > API anywhere (although a Smart Access article looked promising, its not > worth 144 /year to read the article) > It is an executable OSK.Exe. No need for an API call to open it, just Shell the application. To close it, you will need do something like FIndWIndow(), GwtWIndow() followed by TerminateProcess. If I get time later, I may try to knock something together. -- Stuart From jwcolby at ColbyConsulting.com Fri Oct 14 20:04:54 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 14 Oct 2005 21:04:54 -0400 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall Message-ID: <000a01c5d124$77249080$667aa8c0@ColbyM6805> Frank Tanner has graciously allowed me to post his "How-To" build a Linux Firewall, which can now be found on my web site: Go to www.colbyconsulting.com Register Login Click Useful Files tab It is the first item in the list Thanks Frank! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From developer at ultradnt.com Fri Oct 14 21:17:28 2005 From: developer at ultradnt.com (Steve Conklin) Date: Fri, 14 Oct 2005 22:17:28 -0400 Subject: [AccessD] Show/Hide On Screen Keyboard via Win API In-Reply-To: <4350E001.140.AE8CEBD@stuart.lexacorp.com.pg> Message-ID: <200510150217.j9F2HXv96112@ultradnt.com> Thanks, I didn't realize it was a separate executable. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, October 14, 2005 8:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Show/Hide On Screen Keyboard via Win API On 14 Oct 2005 at 13:00, Steve Conklin wrote: > > I have been unable to find how to Show/Hide the On Screen Keyboard via > Win API anywhere (although a Smart Access article looked promising, > its not worth 144 /year to read the article) > It is an executable OSK.Exe. No need for an API call to open it, just Shell the application. To close it, you will need do something like FIndWIndow(), GwtWIndow() followed by TerminateProcess. If I get time later, I may try to knock something together. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Fri Oct 14 22:14:17 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 14 Oct 2005 20:14:17 -0700 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <000a01c5d124$77249080$667aa8c0@ColbyM6805> Message-ID: <008c01c5d136$877247e0$017ba8c0@xpserver> John: I have taken the liberty to download and review Frank's firewall document. It is very well done though a novice user may have some issues when the IP addresses and subnets are briefly mentioned and not described. (Then again why would a novice be trying to setup a Linux box.:-)) It is a great way to make an excellent firewall from a old beater that you were planning on giving to your brother kids...or simply chuck out. Thanks Frank... (...and you too for hosting it.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 6:05 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc.; dba-vb at databaseadvisors.com Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall Frank Tanner has graciously allowed me to post his "How-To" build a Linux Firewall, which can now be found on my web site: Go to www.colbyconsulting.com Register Login Click Useful Files tab It is the first item in the list Thanks Frank! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sat Oct 15 02:26:35 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 15 Oct 2005 11:26:35 +0400 Subject: [AccessD] Data interface The best way References: <007d01c5d11c$05b589c0$017ba8c0@xpserver> Message-ID: <002301c5d159$d462b3a0$6401a8c0@fincomplex.spb.ru> Jim, Thanks for the link. I still think the following arguments of this article are getting obsolete: <<< - The best possible performance - Removes the SQL code from the other layers of the application - Prevents SQL injection attacks - Prevents casual table browsing and modifications >>> Or I'd better say they are getting less important because with Application Roles and modern technlogies like ADO.NET and N-tier solutions all that problems above(as well as related) have effective and secure solutions. Having secret passwords technique is quite different from Application Roles. Secret passwords have to have superuser(s) defined. Application Roles don't. I wouldn't want to start a "religious debate" here on "SP vs. Dynamic SQL" subject. Here is an interesting link on such debate - http://www.theserverside.net/news/thread.tss?thread_id=31953 - it's good enough to close the subject I guess? :) BTW, here is a good and free CRUD generator - http://www.microsoft.com/france/msdn/olymars/default.mspx for the developers who prefer CRUD SP to dynamic SQL or parameterized queries or other dynamic SQL techniques.... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 15, 2005 4:04 AM Subject: Re: [AccessD] Data interface The best way > Shamil, the other technique is to have secret passwords embedded in the > compiled FE (dll/executable) code and in theory that should eliminate > hostile attacks. > > Here is a good article on CRUD: > http://www.databasejournal.com/features/mssql/article.php/3082201 > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, October 14, 2005 2:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data interface The best way > > > So what special purpose is then served by the sproc? > IMO they are now getting obsolete for CRUD operations. > > You're right Charlotte, I think - in a modern N-tier architecture if one > gets Data Layer objects running on a well protected server then there is no > need in CRUD stored procedures. MS SQL database tables/views can be still > well protected and Data Layer objects will use Application Roles to do > whatever these Applications Roles are allowed to do with the database using > dynamic SQL.... > > And SQL injection attempts can be blocked on Business/Data Layer object > interfaces level... > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 14, 2005 11:55 PM > Subject: Re: [AccessD] Data interface The best way > > > > Swell, define dynamic SQL. When it is compiled into a dll, is it still > > dynamic? When your permissions to the back end are highly restricted > > and all the SQL is created in the dll, is it still dynamic? I > > understand the capabilites of sprocs. However, in an N-tier > > architecture, you can build some of that same capability into the middle > > tier and validate the data before it ever gets passed to the backend for > > handling. So what special purpose is then served by the sproc? > > > > Charlotte Foust > > > > > <<< tail trimmed >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Oct 15 05:03:01 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 15 Oct 2005 12:03:01 +0200 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: Hi Robert Go to Seth's site: http://www-personal.ksu.edu/~sgsax/download/file_io.txt /gustav >>> robert at servicexp.com 15-10-2005 02:20 >>> Hello, All Does anyone have some text exporting code that I can use.. I need to come up with a system that will pull data from multiple tables, format the data, name fields and export said data out in a very specific fixed width txt file. My biggest problem is that it's across 3 separate company's with each having a different set of rules.. Anything to start with would be great...... Robert Gracie www.servicexp.com From Gustav at cactus.dk Sat Oct 15 05:46:47 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 15 Oct 2005 12:46:47 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Shamil Thanks for these links, though I have to admit that my patience is not to read all the comments carefully. I still believe it can be a nightmare to maintain SPs - because you easily end up with incompatible versions of frontend(s) and database - thus these should be kept to basic features of the database and not for sophisticated business rules. But as always, it depends ... However, I noticed this link: http://www.mygenerationsoftware.com and its interesting dOOdads: http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx "an elegant .NET architecture available in C# and VB.NET and capable of supporting any .NET managed data provider." "Currently dOOdads are available for Microsoft SQL, Oracle, Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." And for the DNN (DotNetNuke) fans: http://scottschecter.net/Projects/dOOdadsOnDNN/tabid/84/Default.aspx /gustav >>> shamil at users.mns.ru 15-10-2005 09:26 >>> Jim, Thanks for the link. I still think the following arguments of this article are getting obsolete: <<< - The best possible performance - Removes the SQL code from the other layers of the application - Prevents SQL injection attacks - Prevents casual table browsing and modifications >>> Or I'd better say they are getting less important because with Application Roles and modern technlogies like ADO.NET and N-tier solutions all that problems above(as well as related) have effective and secure solutions. Having secret passwords technique is quite different from Application Roles. Secret passwords have to have superuser(s) defined. Application Roles don't. I wouldn't want to start a "religious debate" here on "SP vs. Dynamic SQL" subject. Here is an interesting link on such debate - http://www.theserverside.net/news/thread.tss?thread_id=31953 - it's good enough to close the subject I guess? :) BTW, here is a good and free CRUD generator - http://www.microsoft.com/france/msdn/olymars/default.mspx for the developers who prefer CRUD SP to dynamic SQL or parameterized queries or other dynamic SQL techniques.... Shamil From stuart at lexacorp.com.pg Sat Oct 15 05:52:32 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 15 Oct 2005 20:52:32 +1000 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: Message-ID: <43516C10.29453.D0BDA71@stuart.lexacorp.com.pg> On 15 Oct 2005 at 12:03, Gustav Brock wrote: > Go to Seth's site: > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > Hello, All > Does anyone have some text exporting code that I can use.. I need to > come up with a system that will pull data from multiple tables, format > the data, name fields and export said data out in a very specific fixed > width txt file. > The only thing to change in Seth's code is how to build the output string since you need fixed width. The way I build fixed width strings for output is something like this: Function Pad(TextString,StringLength) a String 'outputs a fixed length string 'pads short strings with spaces and truncates long strings Pad = Left$(TextString & Space$(StringLength),StringLength) End Function ....... strOutput = Space$(intTotalStringLength) 'Insert a Text field Mid$(strOutput,1) = Pad(!Field1,10) 'Insert a Numeric field Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) .... -- Stuart From accessd at shaw.ca Sat Oct 15 08:09:00 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 15 Oct 2005 06:09:00 -0700 Subject: [AccessD] OT: An important Windows nonupdate advisory In-Reply-To: <43516C10.29453.D0BDA71@stuart.lexacorp.com.pg> Message-ID: <00dd01c5d189$9c18e890$017ba8c0@xpserver> I am not sure whether this NEWS message is general knowledge but it is new to me so I am passing it along; http://news.com.com/Critical+Windows+patch+may+wreak+PC+havoc/2100-1002_3-58 96041.html?part=rss&tag=5896041&subj=news It points out a problem with a current Windows patch release and as many have their patch updates 'automated' it will be of immediate concern. This patch only adversely affects those who may have changed security permissions, on their computers, from the initial installation defaults. HTH Jim From jwcolby at ColbyConsulting.com Sat Oct 15 08:28:29 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 15 Oct 2005 09:28:29 -0400 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <008c01c5d136$877247e0$017ba8c0@xpserver> Message-ID: <006901c5d18c$54de2b40$667aa8c0@ColbyM6805> Jim, Perhaps you could send a little more detailed email to Frank offline with your specific concerns. It appears that Frank wants it to be as accessible as possible so constructive critics would probably be well received. Thanks, John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Friday, October 14, 2005 11:14 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall John: I have taken the liberty to download and review Frank's firewall document. It is very well done though a novice user may have some issues when the IP addresses and subnets are briefly mentioned and not described. (Then again why would a novice be trying to setup a Linux box.:-)) It is a great way to make an excellent firewall from a old beater that you were planning on giving to your brother kids...or simply chuck out. Thanks Frank... (...and you too for hosting it.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 14, 2005 6:05 PM To: 'Access Developers discussion and problem solving'; Tech - Database Advisors Inc.; dba-vb at databaseadvisors.com Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall Frank Tanner has graciously allowed me to post his "How-To" build a Linux Firewall, which can now be found on my web site: Go to www.colbyconsulting.com Register Login Click Useful Files tab It is the first item in the list Thanks Frank! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Sat Oct 15 08:35:58 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sat, 15 Oct 2005 06:35:58 -0700 (PDT) Subject: [AccessD] Last Record of a Continuous Form In-Reply-To: Message-ID: <20051015133559.47694.qmail@web33114.mail.mud.yahoo.com> The patients are actually children being placed in different foster homes. Each time a child is moved from one home to another or goes awol or goes to the hospital, a "placement record" is appended to table. Some kids move so much that errors occur in data entry. We have a special form that shows this history. This form shows the history in chronological order. The last record listed on the page in the continuous form indicates the most recent movement or the current placement of the child. That cannot be edited. It is changable at the master record level. This is one of those cases where the "business practice" of the company dictates the development of the object. At any rate, David McAfee seemed to know what I needed and with that I was able to do exactly what the requestor wanted. Charlotte Foust wrote: Now I'm thoroughly confused. You asked if there was any way to identify whether the current record is the last record ... On the page? Then you say the last record is the patient's current record. Do you mean the patient's record for the current date, but not necessarily the record that has the current focus? Can't you just check to see if the date = the current date and set allowedits based on that condition? I'm not sure I understand why the user could edit a previous date's records but not the current date's records though. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 12:54 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Last Record of a Continuous Form Last on the page. The recordsource is in date order. It is the history of activity for patients. I do not want the last record (which is the patient's current record) to be altered from this page. I used the... If Me.CurrentRecord = Me.RecordsetClone.RecordCount Then ...lock it down Else ...let me do it End If Charlotte Foust wrote: Define "last" record: last in the recordset, last on the page, latest entered, the one above the add row ....? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Friday, October 14, 2005 9:15 AM To: Access Developers discussion and problem solving Subject: [AccessD] Last Record of a Continuous Form Is there anyway to indentify if the current record is the last record in a continuos form? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From jwcolby at ColbyConsulting.com Sat Oct 15 08:40:19 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 15 Oct 2005 09:40:19 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <006a01c5d18d$fef76ff0$667aa8c0@ColbyM6805> Gustav, Thanks for this link. Though I am just starting to study it, the doodads looks like a well thought out architecture for handling business objects. http://www.mygenerationsoftware.com/portal/dOOdads/ObjectModel/tabid/80/Defa ult.aspx John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 15, 2005 6:47 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Shamil Thanks for these links, though I have to admit that my patience is not to read all the comments carefully. I still believe it can be a nightmare to maintain SPs - because you easily end up with incompatible versions of frontend(s) and database - thus these should be kept to basic features of the database and not for sophisticated business rules. But as always, it depends ... However, I noticed this link: http://www.mygenerationsoftware.com and its interesting dOOdads: http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default .aspx "an elegant .NET architecture available in C# and VB.NET and capable of supporting any .NET managed data provider." "Currently dOOdads are available for Microsoft SQL, Oracle, Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." And for the DNN (DotNetNuke) fans: http://scottschecter.net/Projects/dOOdadsOnDNN/tabid/84/Default.aspx /gustav From accessd at shaw.ca Sat Oct 15 08:51:32 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 15 Oct 2005 06:51:32 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <002301c5d159$d462b3a0$6401a8c0@fincomplex.spb.ru> Message-ID: <00de01c5d18f$8d436560$017ba8c0@xpserver> Thanks Shamil for all the information. I had been blissfully unawares of the controversy swirling around the subject. One point though and it seems to be the main argument used by the 'Parameterized' group in opposition to the 'Stored Procedure' security defense and that is that Stored procedures are just as prone to 'injection' attacks. That comment is supported by listing a SP or process that defeats the whole purpose of a SP. The following is a very tradition response: ... Actually, your argument is false. I can have a stored procedure which concatenates strings together and therefore open itself up to sql injection attacks... All projects that I have previously worked on have been within offices and were only used by the staff members. Roles, Windows authentication and user groups have always been enough. For the first time I am working of a large web distributive project and realize that security will be more of an issue than ever. So every piece of 'real' information I can gather on the subject is important. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, October 15, 2005 12:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Jim, Thanks for the link. I still think the following arguments of this article are getting obsolete: <<< - The best possible performance - Removes the SQL code from the other layers of the application - Prevents SQL injection attacks - Prevents casual table browsing and modifications >>> Or I'd better say they are getting less important because with Application Roles and modern technlogies like ADO.NET and N-tier solutions all that problems above(as well as related) have effective and secure solutions. Having secret passwords technique is quite different from Application Roles. Secret passwords have to have superuser(s) defined. Application Roles don't. I wouldn't want to start a "religious debate" here on "SP vs. Dynamic SQL" subject. Here is an interesting link on such debate - http://www.theserverside.net/news/thread.tss?thread_id=31953 - it's good enough to close the subject I guess? :) BTW, here is a good and free CRUD generator - http://www.microsoft.com/france/msdn/olymars/default.mspx for the developers who prefer CRUD SP to dynamic SQL or parameterized queries or other dynamic SQL techniques.... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 15, 2005 4:04 AM Subject: Re: [AccessD] Data interface The best way > Shamil, the other technique is to have secret passwords embedded in the > compiled FE (dll/executable) code and in theory that should eliminate > hostile attacks. > > Here is a good article on CRUD: > http://www.databasejournal.com/features/mssql/article.php/3082201 > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Friday, October 14, 2005 2:39 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data interface The best way > > > So what special purpose is then served by the sproc? > IMO they are now getting obsolete for CRUD operations. > > You're right Charlotte, I think - in a modern N-tier architecture if one > gets Data Layer objects running on a well protected server then there is no > need in CRUD stored procedures. MS SQL database tables/views can be still > well protected and Data Layer objects will use Application Roles to do > whatever these Applications Roles are allowed to do with the database using > dynamic SQL.... > > And SQL injection attempts can be blocked on Business/Data Layer object > interfaces level... > > Shamil > > ----- Original Message ----- > From: "Charlotte Foust" > To: "Access Developers discussion and problem solving" > > Sent: Friday, October 14, 2005 11:55 PM > Subject: Re: [AccessD] Data interface The best way > > > > Swell, define dynamic SQL. When it is compiled into a dll, is it still > > dynamic? When your permissions to the back end are highly restricted > > and all the SQL is created in the dll, is it still dynamic? I > > understand the capabilites of sprocs. However, in an N-tier > > architecture, you can build some of that same capability into the middle > > tier and validate the data before it ever gets passed to the backend for > > handling. So what special purpose is then served by the sproc? > > > > Charlotte Foust > > > > > <<< tail trimmed >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Sat Oct 15 12:28:45 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 15 Oct 2005 13:28:45 -0400 Subject: [AccessD] determine the system's default printer Message-ID: <20051015172845.MNAU12154.ibm62aec.bellsouth.net@SUSANONE> Anyone know how to return the name of the system's default printer? I have no problem getting the connected printers, just can't determine, via code, which one is the system's default. Susan H. From john at winhaven.net Sat Oct 15 12:34:26 2005 From: john at winhaven.net (John Bartow) Date: Sat, 15 Oct 2005 12:34:26 -0500 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <006901c5d18c$54de2b40$667aa8c0@ColbyM6805> Message-ID: <00a501c5d1ae$b0eb4310$6e01a8c0@ScuzzPaq> What do you guys think of helping Frank put together a newsletter article on this for our newsletter? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby From developer at ultradnt.com Sat Oct 15 12:59:07 2005 From: developer at ultradnt.com (Steve Conklin) Date: Sat, 15 Oct 2005 13:59:07 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <20051015172845.MNAU12154.ibm62aec.bellsouth.net@SUSANONE> Message-ID: <200510151759.j9FHxBv65273@ultradnt.com> Application.Printer.DeviceName always Returns the default. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, October 15, 2005 1:29 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] determine the system's default printer Anyone know how to return the name of the system's default printer? I have no problem getting the connected printers, just can't determine, via code, which one is the system's default. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Sat Oct 15 12:59:37 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 15 Oct 2005 13:59:37 -0400 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <00a501c5d1ae$b0eb4310$6e01a8c0@ScuzzPaq> Message-ID: <006f01c5d1b2$384902e0$667aa8c0@ColbyM6805> I think that's a wonderful idea. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Saturday, October 15, 2005 1:34 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall What do you guys think of helping Frank put together a newsletter article on this for our newsletter? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Sat Oct 15 13:38:54 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 15 Oct 2005 14:38:54 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <200510151759.j9FHxBv65273@ultradnt.com> Message-ID: <20051015183854.NDKB12154.ibm62aec.bellsouth.net@SUSANONE> Oh -- well, that's certainly easy enough -- are you sure that's the default and not the current printer? Susan H. Application.Printer.DeviceName always Returns the default. Anyone know how to return the name of the system's default printer? I have no problem getting the connected printers, just can't determine, via code, which one is the system's default. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- No virus found in this incoming message. Checked by AVG Anti-Virus. Version: 7.0.344 / Virus Database: 267.11.13/126 - Release Date: 10/9/2005 From harkinsss at bellsouth.net Sat Oct 15 14:18:13 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 15 Oct 2005 15:18:13 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <20051015183854.NDKB12154.ibm62aec.bellsouth.net@SUSANONE> Message-ID: <20051015191817.NMHD12154.ibm62aec.bellsouth.net@SUSANONE> Steve, never mind my question -- ran a quick test and you're absolutely right -- thank you very much! Susan H. Oh -- well, that's certainly easy enough -- are you sure that's the default and not the current printer? From developer at ultradnt.com Sat Oct 15 14:37:37 2005 From: developer at ultradnt.com (Steve Conklin) Date: Sat, 15 Oct 2005 15:37:37 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <20051015191817.NMHD12154.ibm62aec.bellsouth.net@SUSANONE> Message-ID: <200510151937.j9FJbgv72284@ultradnt.com> Well, it's read/write - so you can capture the default at application startup, change it, then set it back as application closes. S. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, October 15, 2005 3:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] determine the system's default printer Steve, never mind my question -- ran a quick test and you're absolutely right -- thank you very much! Susan H. Oh -- well, that's certainly easy enough -- are you sure that's the default and not the current printer? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sat Oct 15 15:28:48 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 15 Oct 2005 13:28:48 -0700 Subject: [AccessD] Dump Access Query question Message-ID: I forgot how to do this... i want to run a query whose parameter is a lookup ie, startdate enddate and a dropdownlist for the customer... how can i do this? -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From shamil at users.mns.ru Sat Oct 15 15:01:53 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 00:01:53 +0400 Subject: [AccessD] Data interface The best way References: <00de01c5d18f$8d436560$017ba8c0@xpserver> Message-ID: <004b01c5d1c7$e40cfa40$6401a8c0@fincomplex.spb.ru> > > ... Actually, your argument is false. I can have a stored procedure which > concatenates strings together and therefore open itself up to sql injection > attacks... > Jim, IMO this is a bad contr-argument of "Parameterized" group. I'd not buy on it if I'd have been from 'CRUD SPs" group. If CRUD SPs approach is used then of course there should not be any stored procedures, which build SQL expressions on the fly - they just do not make sense. The argument is wrong and it shows that the one who uses it doesn't understand well MS SQL security features: - in CRUD SP design approach access to all the tables and views etc. is usually REVOKED for MS SQL ordinary users and roles - they are only allowed to run certain SPs. And if there is an SP, where there is a dynamic SQL against tables/views, which a user/role isn't allowed to access then such SP fails of course... Shamil ----- Original Message ----- From: "Jim Lawrence" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 15, 2005 5:51 PM Subject: Re: [AccessD] Data interface The best way > Thanks Shamil for all the information. I had been blissfully unawares of the > controversy swirling around the subject. > > One point though and it seems to be the main argument used by the > 'Parameterized' group in opposition to the 'Stored Procedure' security > defense and that is that Stored procedures are just as prone to 'injection' > attacks. That comment is supported by listing a SP or process that defeats > the whole purpose of a SP. The following is a very tradition response: > > > ... Actually, your argument is false. I can have a stored procedure which > concatenates strings together and therefore open itself up to sql injection > attacks... > > > All projects that I have previously worked on have been within offices and > were only used by the staff members. Roles, Windows authentication and user > groups have always been enough. For the first time I am working of a large > web distributive project and realize that security will be more of an issue > than ever. So every piece of 'real' information I can gather on the subject > is important. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, October 15, 2005 12:27 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data interface The best way > > Jim, > > Thanks for the link. > I still think the following arguments of this article are getting obsolete: > > <<< > - The best possible performance > - Removes the SQL code from the other layers of the application > - Prevents SQL injection attacks > - Prevents casual table browsing and modifications > >>> > > Or I'd better say they are getting less important because with Application > Roles and modern technlogies like ADO.NET and N-tier solutions all that > problems above(as well as related) have effective and secure solutions. > > Having secret passwords technique is quite different from Application Roles. > Secret passwords have to have superuser(s) defined. Application Roles don't. > > I wouldn't want to start a "religious debate" here on "SP vs. Dynamic SQL" > subject. > Here is an interesting link on such debate - > http://www.theserverside.net/news/thread.tss?thread_id=31953 - it's good > enough to close the subject I guess? :) > > BTW, here is a good and free CRUD generator - > http://www.microsoft.com/france/msdn/olymars/default.mspx for the developers > who prefer CRUD SP to dynamic SQL or parameterized queries or other dynamic > SQL techniques.... > > Shamil > > ----- Original Message ----- > From: "Jim Lawrence" > To: "'Access Developers discussion and problem solving'" > > Sent: Saturday, October 15, 2005 4:04 AM > Subject: Re: [AccessD] Data interface The best way > > > > Shamil, the other technique is to have secret passwords embedded in the > > compiled FE (dll/executable) code and in theory that should eliminate > > hostile attacks. > > > > Here is a good article on CRUD: > > http://www.databasejournal.com/features/mssql/article.php/3082201 > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > > Salakhetdinov > > Sent: Friday, October 14, 2005 2:39 PM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] Data interface The best way > > > > > So what special purpose is then served by the sproc? > > IMO they are now getting obsolete for CRUD operations. > > > > You're right Charlotte, I think - in a modern N-tier architecture if one > > gets Data Layer objects running on a well protected server then there is > no > > need in CRUD stored procedures. MS SQL database tables/views can be still > > well protected and Data Layer objects will use Application Roles to do > > whatever these Applications Roles are allowed to do with the database > using > > dynamic SQL.... > > > > And SQL injection attempts can be blocked on Business/Data Layer object > > interfaces level... > > > > Shamil > > > > ----- Original Message ----- > > From: "Charlotte Foust" > > To: "Access Developers discussion and problem solving" > > > > Sent: Friday, October 14, 2005 11:55 PM > > Subject: Re: [AccessD] Data interface The best way > > > > > > > Swell, define dynamic SQL. When it is compiled into a dll, is it still > > > dynamic? When your permissions to the back end are highly restricted > > > and all the SQL is created in the dll, is it still dynamic? I > > > understand the capabilites of sprocs. However, in an N-tier > > > architecture, you can build some of that same capability into the middle > > > tier and validate the data before it ever gets passed to the backend for > > > handling. So what special purpose is then served by the sproc? > > > > > > Charlotte Foust > > > > > > > > <<< tail trimmed >>> > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Sat Oct 15 16:43:59 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 15 Oct 2005 14:43:59 -0700 Subject: [AccessD] Dump Access Query question References: Message-ID: <4351781F.7060709@shaw.ca> There a lot of little access mdb samples for forgotten methods here http://www.rogersaccesslibrary.com/TableOfContents3.asp Maybe this one CreateMultiSelectQuery.mdb ( intermediate ) Francisco Tapia wrote: >I forgot how to do this... > >i want to run a query whose parameter is a lookup ie, > >startdate >enddate >and a dropdownlist for the customer... how can i do this? > >-- >-Francisco >http://pcthis.blogspot.com |PC news with out the jargon! >http://sqlthis.blogspot.com | Tsql and More... > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Sat Oct 15 17:07:33 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 16 Oct 2005 08:07:33 +1000 Subject: [AccessD] determine the system's default printer In-Reply-To: <20051015183854.NDKB12154.ibm62aec.bellsouth.net@SUSANONE> References: <200510151759.j9FHxBv65273@ultradnt.com> Message-ID: <43520A45.19.F75D794@stuart.lexacorp.com.pg> On 15 Oct 2005 at 14:38, Susan Harkins wrote: > Oh -- well, that's certainly easy enough -- are you sure that's the default > and not the current printer? > > Susan H. > > > Application.Printer.DeviceName > > always Returns the default. > That isn't available in A2K or below. The surest way is to read a registry key: For NT, Win2K and above, It's "Device" under HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows In W95/98/XP It's "Default" under HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers -- Stuart From harkinsss at bellsouth.net Sat Oct 15 18:38:36 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sat, 15 Oct 2005 19:38:36 -0400 Subject: [AccessD] determine the system's default printer In-Reply-To: <43520A45.19.F75D794@stuart.lexacorp.com.pg> Message-ID: <20051015233836.PVVA2401.ibm57aec.bellsouth.net@SUSANONE> Thanks! Susan H. On 15 Oct 2005 at 14:38, Susan Harkins wrote: > Oh -- well, that's certainly easy enough -- are you sure that's the > default and not the current printer? > > Susan H. > > > Application.Printer.DeviceName > > always Returns the default. > That isn't available in A2K or below. The surest way is to read a registry key: For NT, Win2K and above, It's "Device" under HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows In W95/98/XP It's "Default" under HKEY_CURRENT_CONFIG\System\CurrentControlSet\Control\Print\Printers -- From pctech at mybellybutton.com Sat Oct 15 21:34:00 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sat, 15 Oct 2005 19:34:00 -0700 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <006f01c5d1b2$384902e0$667aa8c0@ColbyM6805> References: <006f01c5d1b2$384902e0$667aa8c0@ColbyM6805> Message-ID: <1129430040.9774.0.camel@localhost.localdomain> On Sat, 2005-10-15 at 13:59 -0400, John Colby wrote: > I think that's a wonderful idea. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Saturday, October 15, 2005 1:34 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall > > > What do you guys think of helping Frank put together a newsletter article on > this for our newsletter? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > Sounds good to me. From jmhecht at earthlink.net Sat Oct 15 23:46:59 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 15 Oct 2005 21:46:59 -0700 Subject: [AccessD] Laptop Crashed again Help Message-ID: <000301c5d20c$a5529360$0a01a8c0@desktop> I got the infamous Blue Screen this morning. Dell Inspiron 8200. 512 megs 40 gigs Tried to reboot. It said" No, I do not want to" It continued "Windows could not start because the following file is missing or corrupt. \windows\system32\config\system. I got to a dos start up screen. Tried last known good. It said no( Lippy little laptop.} Ran repair console chkdsk /r /f at fifty percent, it gave up and said multiple non repairable errors. Thoughts on hardware or software issues to look at. This was a new hard drive about a year or two ago. Just spent $158 for a new battery. Any system test to see if this good money going into a bad machine? Thanks Joe From pctech at mybellybutton.com Sun Oct 16 00:08:35 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Sat, 15 Oct 2005 22:08:35 -0700 Subject: [AccessD] Laptop Crashed again Help In-Reply-To: <000301c5d20c$a5529360$0a01a8c0@desktop> References: <000301c5d20c$a5529360$0a01a8c0@desktop> Message-ID: <1129439315.9774.6.camel@localhost.localdomain> On Sat, 2005-10-15 at 21:46 -0700, Joe Hecht wrote: > I got the infamous Blue Screen this morning. Dell > Inspiron 8200. 512 megs 40 gigs > > Tried to reboot. It said" No, I do not want to" > > It continued "Windows could not start because the > following file is missing or corrupt. > \windows\system32\config\system. > > I got to a dos start up screen. Tried last known > good. > > It said no( Lippy little laptop.} > > Ran repair console chkdsk /r /f at fifty percent, it > gave up and said multiple non repairable errors. > > Thoughts on hardware or software issues to look at. > This was a new hard drive about a year or two ago. > > Just spent $158 for a new battery. Any system test to > see if this good money going into a bad machine? > > Thanks > > Joe > Before you carry the laptop around, do you completely shut it down, put it into standby, or just shut the lid? The reason I ask is if you put it into standby or just shut the lid, which puts the system into standby, the hard drive may, and sometimes does, still spin up. The shock of carrying it around like this can cause hard drive problems. From jmhecht at earthlink.net Sun Oct 16 00:18:06 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Sat, 15 Oct 2005 22:18:06 -0700 Subject: [AccessD] Laptop Crashed again Help In-Reply-To: <1129439315.9774.6.camel@localhost.localdomain> Message-ID: <000001c5d210$fe7c5d00$0a01a8c0@desktop> It had been still and happy for about a week. I am usually good about getting it off -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Frank Tanner III Sent: Saturday, October 15, 2005 10:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Laptop Crashed again Help On Sat, 2005-10-15 at 21:46 -0700, Joe Hecht wrote: > I got the infamous Blue Screen this morning. Dell > Inspiron 8200. 512 megs 40 gigs > > Tried to reboot. It said" No, I do not want to" > > It continued "Windows could not start because the > following file is missing or corrupt. > \windows\system32\config\system. > > I got to a dos start up screen. Tried last known > good. > > It said no( Lippy little laptop.} > > Ran repair console chkdsk /r /f at fifty percent, it > gave up and said multiple non repairable errors. > > Thoughts on hardware or software issues to look at. > This was a new hard drive about a year or two ago. > > Just spent $158 for a new battery. Any system test to > see if this good money going into a bad machine? > > Thanks > > Joe > Before you carry the laptop around, do you completely shut it down, put it into standby, or just shut the lid? The reason I ask is if you put it into standby or just shut the lid, which puts the system into standby, the hard drive may, and sometimes does, still spin up. The shock of carrying it around like this can cause hard drive problems. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Sun Oct 16 01:36:32 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Sat, 15 Oct 2005 23:36:32 -0700 Subject: [AccessD] Dump Access Query question In-Reply-To: <4351781F.7060709@shaw.ca> References: <4351781F.7060709@shaw.ca> Message-ID: :-$, i ended up just cheating and doing a form who passes the parameters to the query that feeds the report.. man I can't beleive I forgot this :-P On 10/15/05, MartyConnelly wrote: > > There a lot of little access mdb samples for forgotten methods here > http://www.rogersaccesslibrary.com/TableOfContents3.asp > > Maybe this one > > CreateMultiSelectQuery.mdb ( intermediate ) > > Francisco Tapia wrote: > > >I forgot how to do this... > > > >i want to run a query whose parameter is a lookup ie, > > > >startdate > >enddate > >and a dropdownlist for the customer... how can i do this? > > > >-- > >-Francisco > >http://pcthis.blogspot.com |PC news with out the jargon! > >http://sqlthis.blogspot.com | Tsql and More... > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From accessd at shaw.ca Sun Oct 16 02:20:21 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 16 Oct 2005 00:20:21 -0700 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall In-Reply-To: <00a501c5d1ae$b0eb4310$6e01a8c0@ScuzzPaq> Message-ID: <000801c5d222$1215b260$017ba8c0@xpserver> Excellent idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Saturday, October 15, 2005 10:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall What do you guys think of helping Frank put together a newsletter article on this for our newsletter? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Oct 16 02:28:46 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 16 Oct 2005 00:28:46 -0700 Subject: [AccessD] Laptop Crashed again Help In-Reply-To: <000301c5d20c$a5529360$0a01a8c0@desktop> Message-ID: <000901c5d223$3ed63080$017ba8c0@xpserver> It sounds like a hard drive failure to me but I could be wrong. There are system CD boot disks that will let you see enough of the drive so you can export your important data. You can download XP boot disks from http://www.bootdisk.com/bootdisk.htm HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 15, 2005 9:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Laptop Crashed again Help I got the infamous Blue Screen this morning. Dell Inspiron 8200. 512 megs 40 gigs Tried to reboot. It said" No, I do not want to" It continued "Windows could not start because the following file is missing or corrupt. \windows\system32\config\system. I got to a dos start up screen. Tried last known good. It said no( Lippy little laptop.} Ran repair console chkdsk /r /f at fifty percent, it gave up and said multiple non repairable errors. Thoughts on hardware or software issues to look at. This was a new hard drive about a year or two ago. Just spent $158 for a new battery. Any system test to see if this good money going into a bad machine? Thanks Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From tortise at paradise.net.nz Sun Oct 16 02:48:24 2005 From: tortise at paradise.net.nz (Tortise) Date: Sun, 16 Oct 2005 20:48:24 +1300 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall - m0n0wall? References: <000801c5d222$1215b260$017ba8c0@xpserver> Message-ID: <015201c5d225$fc85d7a0$1e00a8c0@cheqsoft.local> Hi Anyone wanting to do this might also like to consider http://m0n0.ch/wall/index.php where software based on FreeBSD is already customised and dedicated to this task. Kind regards David Hingston Director Chequers Software Ltd Wellington, New Zealand. http://www.cheqsoft.com => MathsOwn - World Class => Break Reminder - Strategic Accuracy Software => Clipboard Express Pro - Time Creation => TimesOwn - World's Best Clock ____________________________________________________________ The information in this email and in any attachment (s) is confidential and may be legally privileged. If you are not the named addressee's) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify the sender immediately by return email and then delete the message from your computer. Thank you for your assistance. ____________________________________________________________ ----- Original Message ----- From: Jim Lawrence To: 'Access Developers discussion and problem solving' Sent: Sunday, October 16, 2005 8:20 PM Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall Excellent idea. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Saturday, October 15, 2005 10:34 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall What do you guys think of helping Frank put together a newsletter article on this for our newsletter? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sun Oct 16 04:53:51 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 13:53:51 +0400 Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group Program Managers Message-ID: <002b01c5d237$a60755e0$6401a8c0@fincomplex.spb.ru> "Hello! I'm Erik Rucker, and I'm the Group Program Manager for Microsoft Access." http://blogs.msdn.com/access/ "Greetings. My name is David Gainer, and I am the Group Program Manager for Microsoft Excel. " http://blogs.msdn.com/excel/ Shamil From shamil at users.mns.ru Sun Oct 16 06:47:14 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 15:47:14 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <005001c5d247$6244e380$6401a8c0@fincomplex.spb.ru> <<< > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx >>> Thank you, Gustav. I did look through it but I didn't yet decide will I give it a try ot not - MS DLINQ looks like a "killer" of most of O-R mapping tools and frameworks (I can be wrong). Here is a discussion on this topic: http://www.theserverside.net/news/thread.tss?thread_id=36866 with this exerpt about LINQ approach, which I think is correct: <<< This prudent, bottom-up approach contrasts sharply with coming up with a top-down approach where one attempts to design a universal framework that pretend to do everything : 1) Abstact any operations on every database in the world 2) Deal intelligently with data caching 3) Perform real-time optimizations on database access 4) integrates nicely with existing data stores 5) implements anti-gravitation 6) brings peace on earth 7) solves the global warming problem, etc. It is very hard, maybe impossible to come up with an universal framework that attempts to solve every DB problem on earth. Proof is that, in the past, whenever someone attempted to come up with such universal frameworks, either they either got burned badly, or the resulting framework was too slow compared with native database access, or they had to focus only specific products. The trouble usually starts when you want to implement efficient DB applications. I believe in an evolutionary approach on all these concepts. LINQ offers a nice framework for queries (you can add updates too on top of that - but my personal take is that's not the innovative part). >>> <<< ...though I have to admit that my patience is not to read all the comments carefully. >>> And I did find time to read them all today :) I think now these comments have almost everything to make the right design decision for a certain development task. A kind of the only resource a developer may need :) Here are some interesting IMO excertps: <<< "I'll define two kinds of stored procedures: a) (long-running) data-processing procedures and b) CRUD procedures." [snip] "Category a) is the category of which I think it has a reason to exist" [snip] "The other category, b), is IMHO the category of procedures which should be avoided." >>> <<< Does my vested interest have merits in this discussion? Ok, I'll tell you something. I funded the development of LLBLGen Pro myself, during 2003. It was suppose to be a stored procedure oriented toolkit, just as its predecessor is (did you know Peter, I did write a stored procedure generator which is used by tens of thousands of .NET developers worldwide?). During development it turned out this was not going to work, as tests with O/R mapper code showed it was far more productive and could live up the speed or was even faster. I had to throw away 3 months of self-funded work out the window. Because of that I almost didn't have enough funding to make the whole track. Do you really think I'm against procs just because I have vested interest? No, I learned the hard way it isn't the way to go in a lot of situations, or better formulated: today there are other ways for doing data-access than solely CRUD procs. And there are a lot of O/R mapper tools today, if people want to try one, or use one, they can pick a free one today and get busy and see for themselves. The funny thing is that this discussion is non-existing in the Java-world. I can give you 1 reason why: MS doesn't like O/R mapping. Don Box called it "the vietnam of Computer Science". Windows developers look at MS what to do in general. MS sells SqlServer, they want to keep DBA's happy, procs are a cornerstone of their marketing policy for SqlServer. An O/R mapper doesn't sell SqlServer, as most of the time you can flip a switch and your app works on Oracle. You quoted an Objectspaces marketing snippet to proof your point. When I read that quote I really knew you don't get it: MS marketing around Objectspaces has been flaky at best, because it was a technology which wasn't supporting the core business policy, and their positioning (which you quoted) is marketing blabla. Is marketing goo today's standard developers should do check with to see if they do their job OK? >>> <<< So, what if MS comes rumbling one day with ObjectSpaces that does not generate SPs to do its stuff? Will we forget about SPs? I bet we will, easy as peanuts! >>> <<< Entirely untrue; have you looked at how easy MS made automating CRUD operations via ADO.NET datasets, compared to the previous technologies (ODBC/OLE DB/ADO) that were available? MS, it appears, wants to let developers code CRUD in the DAL using their language of choice. >>> <<< I don't think you can make an exclusive decision, but you have to pick what best fits your needs, which isn't as easy as it sounds. I wish there was a clear cut right/wrong answer as it would make things a little easier. I really like the idea of the OR/M and PQs, but I am afraid of opening up complete table access to users. While most users wouldn't even know how to connect to a database from a 3rd party application, it would only take one to mess things up. If you are lucky enought to be able to lock down your app with an application role password, then I don't think it would be as bad. >>> Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, October 15, 2005 2:46 PM Subject: Re: [AccessD] Data interface The best way > Hi Shamil > > Thanks for these links, though I have to admit that my patience is not to read all the comments carefully. > > I still believe it can be a nightmare to maintain SPs - because you easily end up with incompatible versions of frontend(s) and database - thus these should be kept to basic features of the database and not for sophisticated business rules. But as always, it depends ... > > However, I noticed this link: > > http://www.mygenerationsoftware.com > > and its interesting dOOdads: > > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx > > "an elegant .NET architecture available in C# and VB.NET and capable of supporting any .NET managed data provider." > "Currently dOOdads are available for Microsoft SQL, Oracle, Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." > > And for the DNN (DotNetNuke) fans: > > http://scottschecter.net/Projects/dOOdadsOnDNN/tabid/84/Default.aspx > > /gustav <<< tail trimmed> From shamil at users.mns.ru Sun Oct 16 07:37:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 16:37:30 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <000f01c5d24e$86dfe7b0$6401a8c0@fincomplex.spb.ru> <<<<<<<<<< > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx > "an elegant .NET architecture available in C# and VB.NET and capable of > supporting any .NET managed data provider." > "Currently dOOdads are available for Microsoft SQL, Oracle, > Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." >>>>>>>>>> Gustav, Here is Ted Neward's a very strong statement on the subject "Object-relational technologies are the Vietnam of the Computer Science industry": http://www.netacademia.net/blogspace/petert/archives/001665.html <<< Obviously some people do have success with O-R layers; similarly, some governments have had success with fighting against insurgents and wars of independence. But far more often than not, it requires an investment of time, capital and energy that just doesn't pay out in the long run. Wars of insurgency are notoriously difficult things to finally put to rest, and object-relational technologies are similarly difficult. Preserving the "Objects and only Objects" Theory in your development methodologies is about as difficult as preserving the Domino Theory was in 1960. >>> So, I think I'd better stay away/be very careful with software like dOOdads - I'd use such software very limted way just to automate the things, which I anyway plan to develop manually but I'd not rely on them as the key development tools - the IT industry experience shows this very probably be a "dead end" race (and my own experience shows the same - I worked with a wise guy who developed advanced O-R mapping tool, yes, he made it not bad but at what cost! - I can't afford such high costs with such low end result Work on O-R mapping isn't complicated but it needs enormous resources to develop a valuable "semi-universal" end-result - maybe MS with LINQ will make it at last - but as you can find many people doubt it)... Shamil From accessd at shaw.ca Sun Oct 16 09:29:47 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 16 Oct 2005 07:29:47 -0700 Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group ProgramManagers In-Reply-To: <002b01c5d237$a60755e0$6401a8c0@fincomplex.spb.ru> Message-ID: <007901c5d25e$100355e0$017ba8c0@xpserver> Shamil; thanks for the info. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 16, 2005 2:54 AM To: !DBA-MAIN Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group ProgramManagers "Hello! I'm Erik Rucker, and I'm the Group Program Manager for Microsoft Access." http://blogs.msdn.com/access/ "Greetings. My name is David Gainer, and I am the Group Program Manager for Microsoft Excel. " http://blogs.msdn.com/excel/ Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 16 09:57:40 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 09:57:40 -0500 Subject: [AccessD] Call txt_AfterUpdate From a Standard Module Message-ID: <000001c5d261$f4ae2000$0200a8c0@danwaters> I'm going to add a calendar button adjacent to each date field throughout many forms. The code, a public function procedure, will be in a standard module (in a library). Each calendar button will call the function procedure using a call from the OnClick event procedure of the button. The call in the event procedure is this: =CalendarButton("frmName","txtName",True) The function is this: Public Function CalendarButton(stgForm As String, stgDate As String, blnAfterUpdate as Boolean) Dim frm As Form Dim txtDate As TextBox Set frm = Forms(stgForm) Set txtDate = frm.Controls(stgDate) If txtDate.Enabled = False or txtDate.Locked = True Then Set frm = Nothing Set txtDate = Nothing Exit Function End If txtDate = PopupCalendar(txtDate) '--- Call back to the control's AfterUpdate event for validation If blnAfterUpdate = True Then Call frm.txtDate_AfterUpdate <------------ This line doesn't work. Call frm.txtCustomerDueDate_AfterUpdate <-- Works, but doesn't help. End If If Not IsNull(txtDate) Then SendKeys Chr(9) '-- Tab Key End If End Function I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan From papparuff at comcast.net Sun Oct 16 10:08:13 2005 From: papparuff at comcast.net (John Ruff) Date: Sun, 16 Oct 2005 08:08:13 -0700 Subject: [AccessD] Laptop Crashed again Help In-Reply-To: <000301c5d20c$a5529360$0a01a8c0@desktop> Message-ID: <002601c5d263$6e542250$6501a8c0@DDMJWX41> Your motherboard may be going bad or the harddrive may be going bad. There's a couple of thing that you can try. 1. Try to start in Safe Mode. (I'm sure you have already done this.) 2. Unscrew the hard-drive from the case, remove it, reinstall it, and try to reboot. If you get it up and running, make backups of your important data as soon as possible. (The motherboard may be going out - DELL wants to charge me $483.00 for a new Inspiron 8000 motherboard - actually this is the price for a complete overhaul). 3. If your OS is WinXP, you may be able to perform an OS repair. See the following article "How to perform an in-place upgrade (reinstallation) of Windows XP" at http://support.microsoft.com/default.aspx?scid=kb;en-us;315341 4. If you don't have the DELL recovery disks and you can get the system up and running if one of the above steps works, go to Dell's URL at http://support.dell.com/support/topics/global.aspx/support/kb/en/document?c= us&cs=19&DN=1092188&l=en&s=dhs and follow the instructions for the "Dell OS Recovery CD Creation and Manual Operating System Reinstall". Good luck. John V. Ruff - The Eternal Optimist J "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe Hecht Sent: Saturday, October 15, 2005 8:47 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Laptop Crashed again Help I got the infamous Blue Screen this morning. Dell Inspiron 8200. 512 megs 40 gigs Tried to reboot. It said" No, I do not want to" It continued "Windows could not start because the following file is missing or corrupt. \windows\system32\config\system. I got to a dos start up screen. Tried last known good. It said no( Lippy little laptop.} Ran repair console chkdsk /r /f at fifty percent, it gave up and said multiple non repairable errors. Thoughts on hardware or software issues to look at. This was a new hard drive about a year or two ago. Just spent $158 for a new battery. Any system test to see if this good money going into a bad machine? Thanks Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Sun Oct 16 10:36:10 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Sun, 16 Oct 2005 11:36:10 -0400 Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group ProgramManagers References: <002b01c5d237$a60755e0$6401a8c0@fincomplex.spb.ru> Message-ID: <003001c5d267$5533a6c0$6101a8c0@JISREGISTRATION.local> ...thanks for the link Shamil ...would be sweet if real tranaction processing made it into the new version. William ----- Original Message ----- From: "Shamil Salakhetdinov" To: "!DBA-MAIN" Sent: Sunday, October 16, 2005 5:53 AM Subject: [AccessD] FYI: Access 12 & Excel 12 blogs from MS Group ProgramManagers > "Hello! I'm Erik Rucker, and I'm the Group Program Manager for Microsoft > Access." > http://blogs.msdn.com/access/ > > "Greetings. My name is David Gainer, and I am the Group Program Manager > for > Microsoft Excel. " > http://blogs.msdn.com/excel/ > > Shamil > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Sun Oct 16 11:18:05 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 11:18:05 -0500 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO 3.60 Message-ID: <000001c5d26d$30ae6190$0200a8c0@danwaters> I was reading the comments in the Access 12 blog, and came across this information. Does anyone have experience with this issue? Under what situations does it need to be dealt with? My system uses AXP in a split FE/BE configuration. http://support.microsoft.com/?id=306435 Thanks, Dan From jwcolby at ColbyConsulting.com Sun Oct 16 12:21:02 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sun, 16 Oct 2005 13:21:02 -0400 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 In-Reply-To: <000001c5d26d$30ae6190$0200a8c0@danwaters> Message-ID: <000601c5d275$fef17210$667aa8c0@ColbyM6805> Boy is THAT just confusing as hell. Does that mean that even if some users have DAO03.6 if SOMEONE (the first user?) opens it with row level locking all people, whether they have DAO3.6, will use row level locking? Does it mean that even if you have 4.0, if the first user does NOT specifically opens it using row level locking, then it opens without and no one will be able to use row level locking? It DOES appear to say that if the first user in the DB does NOT use row level locking then nobody can use it. Is it just me, or is that article less than helpful? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, October 16, 2005 12:18 PM To: AccessD Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 I was reading the comments in the Access 12 blog, and came across this information. Does anyone have experience with this issue? Under what situations does it need to be dealt with? My system uses AXP in a split FE/BE configuration. http://support.microsoft.com/?id=306435 Thanks, Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 16 12:38:43 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 12:38:43 -0500 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 In-Reply-To: <8198933.1129482494295.JavaMail.root@sniper21> Message-ID: <000001c5d278$7464aab0$0200a8c0@danwaters> LESS Than!! The only thing I can think of is to go to a client to do a test to see what happens. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Sunday, October 16, 2005 12:21 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 Boy is THAT just confusing as hell. Does that mean that even if some users have DAO03.6 if SOMEONE (the first user?) opens it with row level locking all people, whether they have DAO3.6, will use row level locking? Does it mean that even if you have 4.0, if the first user does NOT specifically opens it using row level locking, then it opens without and no one will be able to use row level locking? It DOES appear to say that if the first user in the DB does NOT use row level locking then nobody can use it. Is it just me, or is that article less than helpful? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Sunday, October 16, 2005 12:18 PM To: AccessD Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 I was reading the comments in the Access 12 blog, and came across this information. Does anyone have experience with this issue? Under what situations does it need to be dealt with? My system uses AXP in a split FE/BE configuration. http://support.microsoft.com/?id=306435 Thanks, Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sun Oct 16 14:36:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sun, 16 Oct 2005 23:36:30 +0400 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 References: <000601c5d275$fef17210$667aa8c0@ColbyM6805> Message-ID: <003a01c5d288$f70b5f30$6401a8c0@fincomplex.spb.ru> John, It's a feature by design as stated here "Page-Level Locking vs. Record-Level Locking": http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odeopg/html/deovrpagelevellockingvsrecordlevellocking.asp Using DAO you cannot set database locking mode at row level - and article shows a workaround - you can use ADO to create ADO connection and set locking mode at row level. Then all the DAO code will work with row level mode until database is closed. Additionaly if you work with ADO only you can use "Jet OLEDB:Locking Granularity" property to have some tables opened with page-level locking and others with row-level mode locking. This property is ignored unless the Jet OLEDB:Database Locking Mode property is set to 1 (row-level locking). There is no way to open a table/recordset with page level locking from DAO if database was first opened via ADO connection with row level locking. Looks clear how it should work from their description and sample code. But I must say I have never used it that way. Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 16, 2005 9:21 PM Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 > Boy is THAT just confusing as hell. > > Does that mean that even if some users have DAO03.6 if SOMEONE (the first > user?) opens it with row level locking all people, whether they have DAO3.6, > will use row level locking? > > Does it mean that even if you have 4.0, if the first user does NOT > specifically opens it using row level locking, then it opens without and no > one will be able to use row level locking? > > It DOES appear to say that if the first user in the DB does NOT use row > level locking then nobody can use it. > > Is it just me, or is that article less than helpful? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, October 16, 2005 12:18 PM > To: AccessD > Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with > DAO3.60 > > > I was reading the comments in the Access 12 blog, and came across this > information. Does anyone have experience with this issue? Under what > situations does it need to be dealt with? > > My system uses AXP in a split FE/BE configuration. > > http://support.microsoft.com/?id=306435 > > Thanks, > Dan > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 16 15:11:53 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 15:11:53 -0500 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available withDAO3.60 In-Reply-To: <17778114.1129491513853.JavaMail.root@sniper19> Message-ID: <000001c5d28d$da0b9120$0200a8c0@danwaters> Shamil, My system is a straightforward FE/BE configuration where several FE's have links to the tables in the BE file. I've already set the FE & BE to record-level locking in Tools | Options | Advanced and the option 'Open Databases Using Record-Level Locking' is checked. Is checking this option actually ineffective? Thanks, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 16, 2005 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available withDAO3.60 John, It's a feature by design as stated here "Page-Level Locking vs. Record-Level Locking": http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odeopg/html /deovrpagelevellockingvsrecordlevellocking.asp Using DAO you cannot set database locking mode at row level - and article shows a workaround - you can use ADO to create ADO connection and set locking mode at row level. Then all the DAO code will work with row level mode until database is closed. Additionaly if you work with ADO only you can use "Jet OLEDB:Locking Granularity" property to have some tables opened with page-level locking and others with row-level mode locking. This property is ignored unless the Jet OLEDB:Database Locking Mode property is set to 1 (row-level locking). There is no way to open a table/recordset with page level locking from DAO if database was first opened via ADO connection with row level locking. Looks clear how it should work from their description and sample code. But I must say I have never used it that way. Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 16, 2005 9:21 PM Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with DAO3.60 > Boy is THAT just confusing as hell. > > Does that mean that even if some users have DAO03.6 if SOMEONE (the first > user?) opens it with row level locking all people, whether they have DAO3.6, > will use row level locking? > > Does it mean that even if you have 4.0, if the first user does NOT > specifically opens it using row level locking, then it opens without and no > one will be able to use row level locking? > > It DOES appear to say that if the first user in the DB does NOT use row > level locking then nobody can use it. > > Is it just me, or is that article less than helpful? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Sunday, October 16, 2005 12:18 PM > To: AccessD > Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with > DAO3.60 > > > I was reading the comments in the Access 12 blog, and came across this > information. Does anyone have experience with this issue? Under what > situations does it need to be dealt with? > > My system uses AXP in a split FE/BE configuration. > > http://support.microsoft.com/?id=306435 > > Thanks, > Dan > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Oct 16 15:19:14 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 16 Oct 2005 22:19:14 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Shamil Thanks for your snippets and thoughts. I think these fellows hit the point. I would like to believe in the value of full O/R mapping - and maybe LINQ will make this come true. But when I study my latest task (with an Jet backend, not SQL Server) with some quite complicated statistical calculations using dozens of highly optimized queries - which I probably would not have been able to construct without the query designer of Access - I have a hard time imagining how this should have been accomplished in pure OO code without running at a crawl ... unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. But I would like to be positively surprised ... /gustav >>> shamil at users.mns.ru 16-10-2005 14:37 >>> <<<<<<<<<< > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx > "an elegant .NET architecture available in C# and VB.NET and capable of > supporting any .NET managed data provider." > "Currently dOOdads are available for Microsoft SQL, Oracle, > Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." >>>>>>>>>> Gustav, Here is Ted Neward's a very strong statement on the subject "Object-relational technologies are the Vietnam of the Computer Science industry": http://www.netacademia.net/blogspace/petert/archives/001665.html <<< Obviously some people do have success with O-R layers; similarly, some governments have had success with fighting against insurgents and wars of independence. But far more often than not, it requires an investment of time, capital and energy that just doesn't pay out in the long run. Wars of insurgency are notoriously difficult things to finally put to rest, and object-relational technologies are similarly difficult. Preserving the "Objects and only Objects" Theory in your development methodologies is about as difficult as preserving the Domino Theory was in 1960. >>> So, I think I'd better stay away/be very careful with software like dOOdads - I'd use such software very limted way just to automate the things, which I anyway plan to develop manually but I'd not rely on them as the key development tools - the IT industry experience shows this very probably be a "dead end" race (and my own experience shows the same - I worked with a wise guy who developed advanced O-R mapping tool, yes, he made it not bad but at what cost! - I can't afford such high costs with such low end result Work on O-R mapping isn't complicated but it needs enormous resources to develop a valuable "semi-universal" end-result - maybe MS with LINQ will make it at last - but as you can find many people doubt it)... Shamil From Gustav at cactus.dk Sun Oct 16 15:45:34 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 16 Oct 2005 22:45:34 +0200 Subject: [AccessD] Alternative to Access (sort of) Message-ID: Hi all Just noticed that Rekall from TheKompany.com - which was left as open-source for Linux only: http://www.rekallrevealed.org with no Win32 binaries, also exist as a commercial "sister" product: http://www.totalrekall.co.uk where versions for both Win32, Linux, and MacXOS are available. Even if this is quite cheap, the old version 2.2 is for download for free if you register at the site (no charge). Rekall is not at all Access, but for some tiny app which should be cross-platform it might fill in. But no VB(A), it's Python ... /gustav From pieter.janssens.lists at chello.be Sun Oct 16 18:07:51 2005 From: pieter.janssens.lists at chello.be (Pieter Janssens) Date: Mon, 17 Oct 2005 01:07:51 +0200 Subject: [AccessD] OT Question that will be simple for those that know In-Reply-To: <0INR00A1PCYIYP@l-daemon> Message-ID: <20051016230606.VSQH1323.amsfep20-int.chello.nl@darwin> looks like base64. the block can be anything from a windows executable to sql injection code. you could use the online conversion tool at http://www.hcidata.co.uk/base64.htm to check my hypothesis. greetings, pieter. -----Original Message----- From: Jim Lawrence Subject: OT Question that will be simple for those that know Within many web pages there is starting to appear a piece of code which is curious. It looks like encrypted imbedded coding created by some obfuscating tool. The block starts like 'value="dDwtNjIxMjI0NzQwO3Q8O2w8aTwwPjtpP.... and so on for, sometime 1000 plus characters. I would look it up on the internet but do not know even how to describe it. Is this the result of an obfuscating process for ASPX pages? Yes, I am designing in ASP.Net and no, I have never run across this before. (The disadvantages of being self-taught.) TIA Jim From shamil at users.mns.ru Sun Oct 16 18:13:27 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 17 Oct 2005 03:13:27 +0400 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not AvailablewithDAO3.60 References: <000001c5d28d$da0b9120$0200a8c0@danwaters> Message-ID: <003e01c5d2a8$7c334280$6401a8c0@fincomplex.spb.ru> <<< Is checking this option actually ineffective? >>> Dan, It's effective as far as I can understand. KB article talks about DAO 3.6 being unable to "switch on/off" this feature. But DAO 3.6 uses Jet Engine 4.0 when it's installed (as in your case). So the option is effective IMO. But I have no/can't find reliable tests. Shamil ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 17, 2005 12:11 AM Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not AvailablewithDAO3.60 > Shamil, > > My system is a straightforward FE/BE configuration where several FE's have > links to the tables in the BE file. > > I've already set the FE & BE to record-level locking in Tools | Options | > Advanced and the option 'Open Databases Using Record-Level Locking' is > checked. Is checking this option actually ineffective? > > Thanks, > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Sunday, October 16, 2005 2:37 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available > withDAO3.60 > > John, > > It's a feature by design as stated here "Page-Level Locking vs. Record-Level > Locking": > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/odeopg/html > /deovrpagelevellockingvsrecordlevellocking.asp > > Using DAO you cannot set database locking mode at row level - and article > shows a workaround - you can use ADO to create ADO connection and set > locking mode at row level. Then all the DAO code will work with row level > mode until database is closed. > > Additionaly if you work with ADO only you can use "Jet OLEDB:Locking > Granularity" property to have some tables opened with page-level locking and > others with row-level mode locking. This property is ignored unless the Jet > OLEDB:Database Locking Mode property is set to 1 (row-level locking). There > is no way to open a table/recordset with page level locking from DAO if > database was first opened via ADO connection with row level locking. > > Looks clear how it should work from their description and sample code. > But I must say I have never used it that way. > > Shamil > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 16, 2005 9:21 PM > Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with > DAO3.60 > > > > Boy is THAT just confusing as hell. > > > > Does that mean that even if some users have DAO03.6 if SOMEONE (the first > > user?) opens it with row level locking all people, whether they have > DAO3.6, > > will use row level locking? > > > > Does it mean that even if you have 4.0, if the first user does NOT > > specifically opens it using row level locking, then it opens without and > no > > one will be able to use row level locking? > > > > It DOES appear to say that if the first user in the DB does NOT use row > > level locking then nobody can use it. > > > > Is it just me, or is that article less than helpful? > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > > Sent: Sunday, October 16, 2005 12:18 PM > > To: AccessD > > Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is Not Available with > > DAO3.60 > > > > > > I was reading the comments in the Access 12 blog, and came across this > > information. Does anyone have experience with this issue? Under what > > situations does it need to be dealt with? > > > > My system uses AXP in a split FE/BE configuration. > > > > http://support.microsoft.com/?id=306435 > > > > Thanks, > > Dan > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sun Oct 16 18:22:26 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 17 Oct 2005 03:22:26 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <003f01c5d2a8$7c606d00$6401a8c0@fincomplex.spb.ru> Gustav, But as far as I understand well thought through and properly applied O/R mapping doesn't reject "dozens of highly optimized queries" - not at all. With active O/R mapping (including LINQ) Queries/SPs will continue to do their "dirty&heavy duty" optimized and effective work and the results of this work will be mapped on object level by O/R mapping and if needed these results will be polished on this level and then transmitted to the presentation/visual level/layer/tier... <<< unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. >>> Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that nowadays "pure object DBDMs/engines" can't be as effective as relational databases are for real commercial hundred gygabytes/terabytes size databases. I mean they can be as effective or more for some special, well tuned cases or for the cases when the whole object database is loaded in memory. But the latter effect is a "deja vue" from "good old" Hierarchical data model and Network(CODASYL) data model based DBMSs times. But even in memory processing for ad-hoc "chaotic" queries for object DBMSs is expected (here) to be considerably slower that similar querying of in memory relational DBMS's database because nowadays relational databases use so advanced database query processing optimization. Yes, as far as I may guess there are many tasks and real applications in many business areas where pure object DBMSs will be OK and effective used for development even these days but this still will be a limited(/niche) use comparing with modern relational DBMSs broad and effective applicability.... There is no miracles in this World (or I'm missing them?) - the only way for effective data processing/querying this (IT) industry and computer science found for the last 40+ years is by: - 1. (fine) tuning physical location/placement of the data to be queried to make it located as effective/close as possible for the set of queries executed more often; - 2. introducing as much as possible parallelism in query execution; - 3. creating auxiliary indexing data structures; - 4. putting/(pre-)loading as much as possible data to be processed into speedy RAM. That's all? And the numbering above is made according to how these query optimization techniques/mainstream ideas were emering/evoloving: 1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer memory was limited, both external and RAM, CPUs were rather slow, to build multi-processor units was a very expensive idea - so the only commercially approved optimization was #1. 2nd: First supercomputers/multi-CPU computers appeared, more speedy memory become reality - commercially approved idea of parallel query execution (#2) arrived but got limited implementation because of not enough experience and still expensive hardware; 3rd: Relational model investigation resulted in commercially approved RDBMs - the only (/the main way) to optimize query execution in RDBMS is by using indexes - #3 (together with #2 - still limited by hardware) and #1 are in use in RDBMS; 4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream together with ideas #3 and #2(multi-core processors) and #1 is still here and even getting more use in such advanced modern DBMS like MS SQL 2005... I think that the times of the broad and effective use of pure object DBMSs are not yet arrived. They should come of course sooner or later - and it may happen that MS evolutional approach will bring the best results sooner than the other "revolutionary" approaches. I can be wrong... I did make a project several years ago(MS Access/mdb), which have had a lot of complicated queries, with many indexes on the base tables optimized for these queries etc. - we found it slow (not speedy enough for the target audience). Then most of the queries were dropped and code was rewritten to (pre)load most of data in memory - it started to work a matter of magnitude or more faster. The database had not that much tables - around 15 but the total quantity of test records was about half a million. This real life story above shows how far superior is in memory data processing over modern relational DBMSs query processing(I think MS Access is a good representative case of relational DBMS here in this story because database wasn't big). But as I noted above unordered "chaotic" in memory processing for ad-hoc queries for a general case promise to be (much) slower than similar ad-hoc querying of an advanced modern relational DBMSs provided most of the data to query is cached in memory by RDBMS engine and modern query optimization techniques are used by this engine.... And I think that nowadays "true object oriented DBMSs" use these "tricks": - they in their tests do not use commercail size (terabytes) databases and/or - they are used in a very specialized business areas/use case scenarios where physical data structures are optimized to have most of the data preloaded(cached) during query processing and/or processed in parallel.... Am I totally wrong? Where can I find real pure ODBMSs tests results as the ones existing for relational DBMSs - http://www.tpc.org/? No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts are enough to make decision to use OODBMS or RDBMS for a certain business area/task - I'd use the one best suited to solve/develop certain tasks/projects as effective and as quickly as possible... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 12:19 AM Subject: Re: [AccessD] Data interface The best way Hi Shamil Thanks for your snippets and thoughts. I think these fellows hit the point. I would like to believe in the value of full O/R mapping - and maybe LINQ will make this come true. But when I study my latest task (with an Jet backend, not SQL Server) with some quite complicated statistical calculations using dozens of highly optimized queries - which I probably would not have been able to construct without the query designer of Access - I have a hard time imagining how this should have been accomplished in pure OO code without running at a crawl ... unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. But I would like to be positively surprised ... /gustav >>> shamil at users.mns.ru 16-10-2005 14:37 >>> <<<<<<<<<< > http://www.mygenerationsoftware.com/portal/dOOdads/Overview/tabid/63/Default.aspx > "an elegant .NET architecture available in C# and VB.NET and capable of > supporting any .NET managed data provider." > "Currently dOOdads are available for Microsoft SQL, Oracle, > Firebird, Access, PostgreSQL, VistaDB, SQLite, and MySQL." >>>>>>>>>> Gustav, Here is Ted Neward's a very strong statement on the subject "Object-relational technologies are the Vietnam of the Computer Science industry": http://www.netacademia.net/blogspace/petert/archives/001665.html <<< Obviously some people do have success with O-R layers; similarly, some governments have had success with fighting against insurgents and wars of independence. But far more often than not, it requires an investment of time, capital and energy that just doesn't pay out in the long run. Wars of insurgency are notoriously difficult things to finally put to rest, and object-relational technologies are similarly difficult. Preserving the "Objects and only Objects" Theory in your development methodologies is about as difficult as preserving the Domino Theory was in 1960. >>> So, I think I'd better stay away/be very careful with software like dOOdads - I'd use such software very limted way just to automate the things, which I anyway plan to develop manually but I'd not rely on them as the key development tools - the IT industry experience shows this very probably be a "dead end" race (and my own experience shows the same - I worked with a wise guy who developed advanced O-R mapping tool, yes, he made it not bad but at what cost! - I can't afford such high costs with such low end result Work on O-R mapping isn't complicated but it needs enormous resources to develop a valuable "semi-universal" end-result - maybe MS with LINQ will make it at last - but as you can find many people doubt it)... Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 16 22:29:06 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 16 Oct 2005 22:29:06 -0500 Subject: [AccessD] PRB: Jet 4.0 Row-Level Locking Is NotAvailablewithDAO3.60 In-Reply-To: <22604439.1129503947963.JavaMail.root@sniper21> Message-ID: <000001c5d2ca$efbfd340$0200a8c0@danwaters> Thanks Shamil, That helps! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Sunday, October 16, 2005 6:13 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] PRB: Jet 4.0 Row-Level Locking Is NotAvailablewithDAO3.60 <<< Is checking this option actually ineffective? >>> Dan, It's effective as far as I can understand. KB article talks about DAO 3.6 being unable to "switch on/off" this feature. But DAO 3.6 uses Jet Engine 4.0 when it's installed (as in your case). So the option is effective IMO. But I have no/can't find reliable tests. Shamil From jwcolby at ColbyConsulting.com Sun Oct 16 22:42:24 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sun, 16 Oct 2005 23:42:24 -0400 Subject: [AccessD] SQL Server - User not associated with a trusted connection Message-ID: <006101c5d2cc$ccd723e0$667aa8c0@ColbyM6805> What does this mean? I am struggling to get a DotNetNuke web site running on some system at my home office. I have IIS set up and running, SQL Server set up and running, SV 2003 Installed and running. I followed the directions in the DotNetNuke book which has me set up a SQL Server database, a DotNetNukeUser user, using SQL Server logon (which MAY be the issue). I created the database, the user, the password and told the DotNetNuke web.Config all this info but when the ASP install script runs and tries to access SQL Server I get this "not associated with a trusted connection" error from SQL Server for this user. I believe that when I set up SQL Server I told it to use Windows Login. Is it possible to use either one independent of the other. IOW, can I use a specified SQL Server user / password even though I told the install to use Windows login authentication? If not, what do I do? Set up a DotNetNukeUser user in Windows and then pass in that Windows user and it's password in the connection string? I am sooooo close I can taste it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Sun Oct 16 22:55:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sun, 16 Oct 2005 23:55:06 -0400 Subject: [AccessD] SQL Server - User not associated with a trusted connection In-Reply-To: <006101c5d2cc$ccd723e0$667aa8c0@ColbyM6805> Message-ID: <006e01c5d2ce$926e8660$667aa8c0@ColbyM6805> Never mind, I got it. Wooohooo, I have DNN running on one of my machines now, with VS 2003 as well. Not my Laptop Dev machine but at least I can go to work now. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Sunday, October 16, 2005 11:42 PM To: dba-sqlserver at databaseadvisors.com Cc: dba-vb at databaseadvisors.com; 'Access Developers discussion and problemsolving' Subject: [AccessD] SQL Server - User not associated with a trusted connection What does this mean? I am struggling to get a DotNetNuke web site running on some system at my home office. I have IIS set up and running, SQL Server set up and running, SV 2003 Installed and running. I followed the directions in the DotNetNuke book which has me set up a SQL Server database, a DotNetNukeUser user, using SQL Server logon (which MAY be the issue). I created the database, the user, the password and told the DotNetNuke web.Config all this info but when the ASP install script runs and tries to access SQL Server I get this "not associated with a trusted connection" error from SQL Server for this user. I believe that when I set up SQL Server I told it to use Windows Login. Is it possible to use either one independent of the other. IOW, can I use a specified SQL Server user / password even though I told the install to use Windows login authentication? If not, what do I do? Set up a DotNetNukeUser user in Windows and then pass in that Windows user and it's password in the connection string? I am sooooo close I can taste it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From reuben at gfconsultants.com Mon Oct 17 09:27:17 2005 From: reuben at gfconsultants.com (Reuben Cummings) Date: Mon, 17 Oct 2005 09:27:17 -0500 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <43516C10.29453.D0BDA71@stuart.lexacorp.com.pg> Message-ID: I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need to > > come up with a system that will pull data from multiple tables, format > > the data, name fields and export said data out in a very specific fixed > > width txt file. > > > > The only thing to change in Seth's code is how to build the output string > since you need fixed width. > > The way I build fixed width strings for output is something like this: > > Function Pad(TextString,StringLength) a String > 'outputs a fixed length string > 'pads short strings with spaces and truncates long strings > Pad = Left$(TextString & Space$(StringLength),StringLength) > End Function > > ....... > strOutput = Space$(intTotalStringLength) > 'Insert a Text field > Mid$(strOutput,1) = Pad(!Field1,10) > 'Insert a Numeric field > Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) > .... > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at ColbyConsulting.com Mon Oct 17 09:49:54 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 10:49:54 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: Message-ID: <000701c5d32a$0c14e3f0$667aa8c0@ColbyM6805> I do the same thing, only I have a class pair that does it. I have a parent/child table pair - the name of the query or table that the data is coming from, then a table of the fields for that query/table. The field table has fields for the ID of the parent query/table record, name of the field being formatted and the formatting string. I use the formatting string to just coerce the data into a formatted string using format$(data, format$). The controller class is passed the name of the query so that it opens the query as a recordset. It then opens the appropriate data set in the child Fields table, and reads out the fields into field classes. Each field class "knows" how to format the data since each field class instance is fed all of the data from one of the field records that you mention - the field name and the format string. Then the controller class just steps through the recordset, calling the appropriate field class instance and telling it to format the data and return the string. The controller class appends the strings returned from the field classes and writes the finished string out to the text file. As you can probably guess, mine is tied to my framework and therefore isn't easily extractable, however the class pair concept is dead easy to implement. If AccessD would like to get together a development team to work on this we could build a little library that implements the package and put it up on AccessD's (and my) site for download. I can put up a forum on my site to use for the dev team. If anyone wants to do this raise your hand. If we have sufficient interest I would be willing to lead the team (if you want). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt file. > > From pcs at azizaz.com Mon Oct 17 09:55:00 2005 From: pcs at azizaz.com (Borge Hansen) Date: Tue, 18 Oct 2005 00:55:00 +1000 Subject: [AccessD] Application.CurrentProject misbehaving References: <006101c5d2cc$ccd723e0$667aa8c0@ColbyM6805> Message-ID: <001001c5d32a$bf634b90$fa10a8c0@Albatross> Running Windows XP SP1 Access (OfficeXP SP3) (Coexists with Access97) Jet4 SP8 Cannot establish any ADO connection ..... Access (or whatever is in control here) does not recognize the CurrentProject..... The following codebit from Getz' Access2002 CH3.MDB keeps crashing on the line starting rst.Open "Select.... ******************* Public Function Load() As Boolean Dim rst As ADODB.Recordset On Error GoTo HandleErrors Set rst = New ADODB.Recordset 'Crashes on the following line rst.Open "Select * from tblCats WHERE ID = " & Me.ID, Application.CurrentProject.Connection With rst If Not .EOF Then mstrName = !Name mdatBirthdate = !Birthdate mstrSex = !Sex mstrBreed = !Breed mstrColor = !Color mfNeutered = !Neutered mlngID = !ID End If End With Load = True ExitHere: If Not rst Is Nothing Then rst.Close Set rst = Nothing Exit Function HandleErrors: Load = False MsgBox "Error Here: " & Err.Number & ": " & Err.Description Resume ExitHere End Function Note: The code as is crashes Access because of the poor error handling, **************** I have repaired, re-installed, removed and installed from scratch OfficeXP Professional - no improvement... Runnig the same code on another machine with Access2003 installed (and no other Office version) with no problem.... What does it take to run it on the other machine with AccessXP installed??? As I said, I've repaired, re-installed, then removed all of OfficeXP and installed from scratch.... Funny enough, after that it still says SP3 on the About Screen...... All references when loading CH3.mdb are ticked.... I am at the end of the rope.... HELP! /borge From cyx5 at cdc.gov Mon Oct 17 11:55:03 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 17 Oct 2005 12:55:03 -0400 Subject: [AccessD] Pass, Fail or Null Message-ID: I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From pcs at azizaz.com Mon Oct 17 12:17:51 2005 From: pcs at azizaz.com (Borge Hansen) Date: Tue, 18 Oct 2005 03:17:51 +1000 Subject: [AccessD] Application.CurrentProject misbehaving References: <006101c5d2cc$ccd723e0$667aa8c0@ColbyM6805> <001001c5d32a$bf634b90$fa10a8c0@Albatross> Message-ID: <000901c5d33e$b48f9930$fa10a8c0@Albatross> ----- Original Message ----- > Cannot establish any ADO connection ..... Access (or whatever is in control > here) does not recognize the CurrentProject..... Problem SOLVED The cause was one or more corrupt or damaged files of the Microsoft Data Access Components..... And you can re-install Access over and over again and it will not help you one bit.... Only persistence, persistence; some googling and too many hours later: When highlighting CurrentProject in the VBA code and clicking F1 for help I would get the following message: "msohelp.exe - Entry Point Not Found - The procedure entry point GetIUMS could not be located in the dynamic link library MSDART.DLL" googling helped me find that perhaps I was dealing with some corrupt files forming part of the MDAC package (Microsoft Data Access Components).... At least two Microsoft KB articles deals with this message about the procedure entry point.... For example KB842014 : ---------------- ..... The procedure entry point_GetIUMS at 4 could not be located in the dynamic link library MSDART.DLL CAUSE This behavior may occur when all the following conditions are true: This behavior may occur when all of the following conditions are true: .Microsoft Windows XP has been reinstalled back to its original (released) version. .The Microsoft Data Access Components (MDAC) components are damaged. .The Msdart.dll file is damaged. RESOLUTION To resolve this behavior, download and install Microsoft Data Access Components (MDAC) 2.8 or later. ---------------- I had by then downloaded the MDAC Component Checker to see what kind of beast was installed on the system (I had MDAC 2.7 SP1 with two mismatched files) - Link for the download for the Component Checker: http://www.microsoft.com/downloads/details.aspx?FamilyID=8F0A8DF6-4A21-4B43-BF53-14332EF092C9&displayLang=en Decided to download and install the MDAC 2.8 RTM Problem solved! /borge From jwcolby at ColbyConsulting.com Mon Oct 17 12:20:19 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 13:20:19 -0400 Subject: [AccessD] Pass, Fail or Null In-Reply-To: Message-ID: <002a01c5d33f$0fa6d7c0$667aa8c0@ColbyM6805> Hmmm... Assuming Pass is true (-1) Fail is false (0) And null is null If you multiplied all the results, true/false and null... Any null would cause a null for the whole result set At the point where there are no more nulls, any fail would cause a fail (0 times anything = 0) All passes would cause a true (either a -1 or a +1, depending on the number of tests) I know that MATH operations cause the null to win. Logical AND also causes the Null to win 1 AND 1 AND 1 = 1 ( or TRUE AND TRUE AND TRUE) 1 AND 1 AND 0 = 0 1 AND 1 AND Null = Null If you don't care that you have to wait for the entire set to be graded before a FAIL can be seen, then this kind of thing works. If you need to know that a FAIL occurred even when there are still Nulls out there you will need to do more processing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 17, 2005 12:55 PM To: Access Developers discussion and problem solving Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Oct 17 12:21:39 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 17 Oct 2005 12:21:39 -0500 Subject: [AccessD] Pass, Fail or Null In-Reply-To: <23636229.1129568956012.JavaMail.root@sniper17> Message-ID: <000001c5d33f$3ce1ab70$0200a8c0@danwaters> Karen, In your case, null has a distinct meaning --> not tested. Could you use an option group? It's default value (not tested) can be set to zero, True can be = 1, and False can be = 2. Does this help? Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nicholson, Karen Sent: Monday, October 17, 2005 11:55 AM To: Access Developers discussion and problem solving Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 17 12:35:51 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 13:35:51 -0400 Subject: [AccessD] Application.CurrentProject misbehaving In-Reply-To: <000901c5d33e$b48f9930$fa10a8c0@Albatross> Message-ID: <002b01c5d341$37e13c10$667aa8c0@ColbyM6805> LOL, persistence wins again. What a PITA though! Good job finding it! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 17, 2005 1:18 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Application.CurrentProject misbehaving ----- Original Message ----- > Cannot establish any ADO connection ..... Access (or whatever is in control > here) does not recognize the CurrentProject..... Problem SOLVED The cause was one or more corrupt or damaged files of the Microsoft Data Access Components..... And you can re-install Access over and over again and it will not help you one bit.... Only persistence, persistence; some googling and too many hours later: When highlighting CurrentProject in the VBA code and clicking F1 for help I would get the following message: "msohelp.exe - Entry Point Not Found - The procedure entry point GetIUMS could not be located in the dynamic link library MSDART.DLL" googling helped me find that perhaps I was dealing with some corrupt files forming part of the MDAC package (Microsoft Data Access Components).... At least two Microsoft KB articles deals with this message about the procedure entry point.... For example KB842014 : ---------------- ..... The procedure entry point_GetIUMS at 4 could not be located in the dynamic link library MSDART.DLL CAUSE This behavior may occur when all the following conditions are true: This behavior may occur when all of the following conditions are true: .Microsoft Windows XP has been reinstalled back to its original (released) version. .The Microsoft Data Access Components (MDAC) components are damaged. .The Msdart.dll file is damaged. RESOLUTION To resolve this behavior, download and install Microsoft Data Access Components (MDAC) 2.8 or later. ---------------- I had by then downloaded the MDAC Component Checker to see what kind of beast was installed on the system (I had MDAC 2.7 SP1 with two mismatched files) - Link for the download for the Component Checker: http://www.microsoft.com/downloads/details.aspx?FamilyID=8F0A8DF6-4A21-4B43- BF53-14332EF092C9&displayLang=en Decided to download and install the MDAC 2.8 RTM Problem solved! /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Mon Oct 17 13:01:00 2005 From: john at winhaven.net (John Bartow) Date: Mon, 17 Oct 2005 13:01:00 -0500 Subject: [AccessD] Paging Roz Clarke Message-ID: <001a01c5d344$bbbb5360$6e01a8c0@ScuzzPaq> Paging Roz Clarke. Are you still around? John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 17 13:06:22 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 14:06:22 -0400 Subject: [AccessD] Paging Roz Clarke In-Reply-To: <001a01c5d344$bbbb5360$6e01a8c0@ScuzzPaq> Message-ID: <002e01c5d345$7ee8fe50$667aa8c0@ColbyM6805> She is still around. She left that company and I think they want the emails to her old account stopped. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, October 17, 2005 2:01 PM To: _DBA-Access Subject: [AccessD] Paging Roz Clarke Paging Roz Clarke. Are you still around? John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com 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 touchtelindia.net Mon Oct 17 13:47:26 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Tue, 18 Oct 2005 00:17:26 +0530 Subject: [AccessD] Pass, Fail or Null References: Message-ID: <007c01c5d34b$5423afc0$cb0365cb@winxp> Karen, Apparently, you are seeking the following display in a calculated text box on the main form, depending upon the status of records in subform. (a) Failed - If even one of the records has zero as result. (In addition, there may be many other records where result is Null or other than zero). (b) Passed - If no record has zero result, but at least one or more records carry a definite value for the result, other than zero. (In addition, there may be many other records where result is Null). (c) No Result Posted - If all the records carry Null as result. The expression given below, in a text box on the main form, should be able to get you the desired outcome. "Result" is the name of field holding the result (0 for failed, other than 0 for passed and Null for no posting). "T_Test" is the assumed name of table. = IIf(DCount("Result","T_Test","Result = 0") > 0, "Failed", IIf(DCount("Result","T_Test","Not IsNull(Result)") > 0, "Passed", "No Result Posted")) Note - (a) If it is a linked subform, criteria string in the expression given above should be suitably modified so as to include the linked child field as well. (b) In form's AfterUpdate event for the subform, put the following statement Me.Parent.Recalc Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Nicholson, Karen To: Access Developers discussion and problem solving Sent: Monday, October 17, 2005 22:25 Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From john at winhaven.net Mon Oct 17 14:23:50 2005 From: john at winhaven.net (John Bartow) Date: Mon, 17 Oct 2005 14:23:50 -0500 Subject: [AccessD] Paging Roz Clarke In-Reply-To: <002e01c5d345$7ee8fe50$667aa8c0@ColbyM6805> Message-ID: <002901c5d350$4df148b0$6e01a8c0@ScuzzPaq> If anyone hears from her let her know that we put a hold on email delivery to that address via a request from the company. She can log in using that account and globally change her address and delivery options. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 17, 2005 1:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Paging Roz Clarke She is still around. She left that company and I think they want the emails to her old account stopped. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Monday, October 17, 2005 2:01 PM To: _DBA-Access Subject: [AccessD] Paging Roz Clarke Paging Roz Clarke. Are you still around? John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Mon Oct 17 14:26:44 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 17 Oct 2005 21:26:44 +0200 Subject: [AccessD] datatype mismatch in query Message-ID: <001a01c5d350$bae659b0$4001a8c0@laptop> Hello All, i am using the following append-query to update a table (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is linked to this database: SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf FROM DEBSTM IN 'C:\ThisDatabase.mdb' WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM tblDebiteurAlgemeen); When using this query, i get an error. Datatype mismatch. This is because field DebID is Number and field Nummer is text. Although field Nummer is text, the values are al numbers. Because this field is in a commercial database, i can't change the field type. Is there another way?? Pedro Janssen From Gustav at cactus.dk Mon Oct 17 14:33:34 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 17 Oct 2005 21:33:34 +0200 Subject: [AccessD] datatype mismatch in query Message-ID: Hi Pedro Try comparing numbers too: WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM tblDebiteurAlgemeen); You can use SQL-native VAL() for CLng(). /gustav >>> pedro at plex.nl 17-10-2005 21:26 >>> Hello All, i am using the following append-query to update a table (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is linked to this database: SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf FROM DEBSTM IN 'C:\ThisDatabase.mdb' WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM tblDebiteurAlgemeen); When using this query, i get an error. Datatype mismatch. This is because field DebID is Number and field Nummer is text. Although field Nummer is text, the values are al numbers. Because this field is in a commercial database, i can't change the field type. Is there another way?? Pedro Janssen From accessd at shaw.ca Mon Oct 17 14:59:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 17 Oct 2005 12:59:25 -0700 Subject: [AccessD] Application.CurrentProject misbehaving In-Reply-To: <000901c5d33e$b48f9930$fa10a8c0@Albatross> Message-ID: <00ad01c5d355$463dbfe0$017ba8c0@xpserver> Excellent work Borge. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 17, 2005 10:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Application.CurrentProject misbehaving ----- Original Message ----- > Cannot establish any ADO connection ..... Access (or whatever is in control > here) does not recognize the CurrentProject..... Problem SOLVED The cause was one or more corrupt or damaged files of the Microsoft Data Access Components..... And you can re-install Access over and over again and it will not help you one bit.... Only persistence, persistence; some googling and too many hours later: When highlighting CurrentProject in the VBA code and clicking F1 for help I would get the following message: "msohelp.exe - Entry Point Not Found - The procedure entry point GetIUMS could not be located in the dynamic link library MSDART.DLL" googling helped me find that perhaps I was dealing with some corrupt files forming part of the MDAC package (Microsoft Data Access Components).... At least two Microsoft KB articles deals with this message about the procedure entry point.... For example KB842014 : ---------------- ..... The procedure entry point_GetIUMS at 4 could not be located in the dynamic link library MSDART.DLL CAUSE This behavior may occur when all the following conditions are true: This behavior may occur when all of the following conditions are true: .Microsoft Windows XP has been reinstalled back to its original (released) version. .The Microsoft Data Access Components (MDAC) components are damaged. .The Msdart.dll file is damaged. RESOLUTION To resolve this behavior, download and install Microsoft Data Access Components (MDAC) 2.8 or later. ---------------- I had by then downloaded the MDAC Component Checker to see what kind of beast was installed on the system (I had MDAC 2.7 SP1 with two mismatched files) - Link for the download for the Component Checker: http://www.microsoft.com/downloads/details.aspx?FamilyID=8F0A8DF6-4A21-4B43- BF53-14332EF092C9&displayLang=en Decided to download and install the MDAC 2.8 RTM Problem solved! /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 17 15:36:09 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 17 Oct 2005 13:36:09 -0700 Subject: [AccessD] Pass, Fail or Null References: Message-ID: <43540B39.20801@shaw.ca> Here are the truth tables for True, False and NULL http://blogs.msdn.com/sharon_bjeletich_-_sql_performance/archive/2005/10/17/481923.aspx Nicholson, Karen wrote: >I have a subform that can have an infinite number of records. On each >line is a result of that record. If the test has not been performed, >the result is null. If it has been performed, it can either be a pass >or fail. If the record has 20 passes and one fail, then the entire >record is a fail. However, the tests instances are entered in, awaiting >the test to be run, so the test result is null until the values are >filled in. I am trying to pull an overall result in the main form. If >all test results are null, or some are null and some are pass, then the >main form value would be null until all tests are run. My brain is not >wrapping around this one - the nulls are throwing me. Ideas? > >Karen S. Nicholson >Programmer Analyst >EG&G Technical Services, Inc. >Pittsburgh, PA >Phone: 412-386-6649 >Email: cyx5 at cdc.gov > > > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Mon Oct 17 15:37:52 2005 From: pedro at plex.nl (Pedro Janssen) Date: Mon, 17 Oct 2005 22:37:52 +0200 Subject: [AccessD] datatype mismatch in query References: Message-ID: <003e01c5d35a$a5aad1c0$4001a8c0@laptop> Hi Gustav, thanks, i will try this. Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 9:33 PM Subject: Re: [AccessD] datatype mismatch in query > Hi Pedro > > Try comparing numbers too: > > WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > You can use SQL-native VAL() for CLng(). > > /gustav > >>>> pedro at plex.nl 17-10-2005 21:26 >>> > Hello All, > > i am using the following append-query to update a table > (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is > linked to this database: > > SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) > SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf > FROM DEBSTM IN 'C:\ThisDatabase.mdb' > WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > When using this query, i get an error. Datatype mismatch. > This is because field DebID is Number and field Nummer is text. > Although field Nummer is text, the values are al numbers. Because this > field is in a commercial database, i can't change the field type. Is there > another way?? > > Pedro Janssen > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jmhecht at earthlink.net Mon Oct 17 15:42:16 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 17 Oct 2005 13:42:16 -0700 (GMT-07:00) Subject: [AccessD] Pass, Fail or Null Message-ID: <6824673.1129581736893.JavaMail.root@elwamui-little.atl.sa.earthlink.net> Hi Karen How about No test value= NA if dcount "N/A" >0 then value = incomplete else if dcount "Fail" >0 then record failed else record pased end if endif Joe -----Original Message----- From: "Nicholson, Karen" Sent: Oct 17, 2005 9:55 AM To: access at joe2.endjunk.com, Access Developers discussion and problem solving Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Oct 17 17:08:21 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 17 Oct 2005 18:08:21 -0400 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F6B@gbsserver.GBS.local> I worked on my little project/problem over the weekend, attempting to use a class based solution and of course having some problems. So needless to say My hand is raised up high!!! It really would be cool to have a set objects that could handle most text exporting needs one may have.... Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 17, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-Invent The Wheel?? I do the same thing, only I have a class pair that does it. I have a parent/child table pair - the name of the query or table that the data is coming from, then a table of the fields for that query/table. The field table has fields for the ID of the parent query/table record, name of the field being formatted and the formatting string. I use the formatting string to just coerce the data into a formatted string using format$(data, format$). The controller class is passed the name of the query so that it opens the query as a recordset. It then opens the appropriate data set in the child Fields table, and reads out the fields into field classes. Each field class "knows" how to format the data since each field class instance is fed all of the data from one of the field records that you mention - the field name and the format string. Then the controller class just steps through the recordset, calling the appropriate field class instance and telling it to format the data and return the string. The controller class appends the strings returned from the field classes and writes the finished string out to the text file. As you can probably guess, mine is tied to my framework and therefore isn't easily extractable, however the class pair concept is dead easy to implement. If AccessD would like to get together a development team to work on this we could build a little library that implements the package and put it up on AccessD's (and my) site for download. I can put up a forum on my site to use for the dev team. If anyone wants to do this raise your hand. If we have sufficient interest I would be willing to lead the team (if you want). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt file. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Mon Oct 17 17:14:10 2005 From: robert at servicexp.com (Robert Gracie) Date: Mon, 17 Oct 2005 18:14:10 -0400 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F6C@gbsserver.GBS.local> Not to be so forward but, "care to share?" :-) Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt file. > > > > The only thing to change in Seth's code is how to build the output > string since you need fixed width. > > The way I build fixed width strings for output is something like this: > > Function Pad(TextString,StringLength) a String 'outputs a fixed length > string 'pads short strings with spaces and truncates long strings Pad > = Left$(TextString & Space$(StringLength),StringLength) > End Function > > ....... > strOutput = Space$(intTotalStringLength) 'Insert a Text field > Mid$(strOutput,1) = Pad(!Field1,10) > 'Insert a Numeric field > Mid$(strOuput,11) = Pad(Trim$(Str(!Field2)),10) .... > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Oct 17 17:39:59 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 17 Oct 2005 17:39:59 -0500 Subject: [AccessD] Call AfterUpdate Event From Module Message-ID: <000001c5d36b$b5143910$0200a8c0@danwaters> I'm going to add a calendar button adjacent to each date field throughout many forms. The code, a public function procedure, will be in a standard module (in a library). Each calendar button will call the function procedure using a call from the OnClick event procedure of the button. The call in the event procedure is this: =CalendarButton("frmName","txtName",True) The function is this: Public Function CalendarButton(stgForm As String, stgDate As String, blnAfterUpdate as Boolean) Dim frm As Form Dim txtDate As TextBox Set frm = Forms(stgForm) Set txtDate = frm.Controls(stgDate) If txtDate.Enabled = False or txtDate.Locked = True Then Set frm = Nothing Set txtDate = Nothing Exit Function End If txtDate = PopupCalendar(txtDate) '--- Call back to the control's AfterUpdate event for validation If blnAfterUpdate = True Then Call frm.txtDate_AfterUpdate <------------ This line doesn't work. Call frm.txtCustomerDueDate_AfterUpdate <-- Works, but doesn't help. End If If Not IsNull(txtDate) Then SendKeys Chr(9) '-- Tab Key End If End Function I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan Waters From jwcolby at ColbyConsulting.com Mon Oct 17 21:01:11 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 22:01:11 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F6B@gbsserver.GBS.local> Message-ID: <001401c5d387$d35eac90$667aa8c0@ColbyM6805> I have created a forum for discussing this project out on my web site. I have also started two threads, an Overview and a Specification thread. Anyone interested in participating, please register and login to my site, click on the Forums tab and the Access forums. You are welcome to chime in. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Monday, October 17, 2005 6:08 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I worked on my little project/problem over the weekend, attempting to use a class based solution and of course having some problems. So needless to say My hand is raised up high!!! It really would be cool to have a set objects that could handle most text exporting needs one may have.... Robert Gracie -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 17, 2005 11:15 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-Invent The Wheel?? I do the same thing, only I have a class pair that does it. I have a parent/child table pair - the name of the query or table that the data is coming from, then a table of the fields for that query/table. The field table has fields for the ID of the parent query/table record, name of the field being formatted and the formatting string. I use the formatting string to just coerce the data into a formatted string using format$(data, format$). The controller class is passed the name of the query so that it opens the query as a recordset. It then opens the appropriate data set in the child Fields table, and reads out the fields into field classes. Each field class "knows" how to format the data since each field class instance is fed all of the data from one of the field records that you mention - the field name and the format string. Then the controller class just steps through the recordset, calling the appropriate field class instance and telling it to format the data and return the string. The controller class appends the strings returned from the field classes and writes the finished string out to the text file. As you can probably guess, mine is tied to my framework and therefore isn't easily extractable, however the class pair concept is dead easy to implement. If AccessD would like to get together a development team to work on this we could build a little library that implements the package and put it up on AccessD's (and my) site for download. I can put up a forum on my site to use for the dev team. If anyone wants to do this raise your hand. If we have sufficient interest I would be willing to lead the team (if you want). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt 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 From pctech at mybellybutton.com Mon Oct 17 20:40:30 2005 From: pctech at mybellybutton.com (Frank Tanner III) Date: Mon, 17 Oct 2005 18:40:30 -0700 Subject: [AccessD] Frank Tanner's "How-To" build a Linux Firewall - m0n0wall? In-Reply-To: <015201c5d225$fc85d7a0$1e00a8c0@cheqsoft.local> References: <000801c5d222$1215b260$017ba8c0@xpserver> <015201c5d225$fc85d7a0$1e00a8c0@cheqsoft.local> Message-ID: <1129599630.2927.1.camel@localhost.localdomain> On Sun, 2005-10-16 at 20:48 +1300, Tortise wrote: > Hi > > Anyone wanting to do this might also like to consider http://m0n0.ch/wall/index.php where software based on FreeBSD is already customised and dedicated to this task. > > Kind regards > David Hingston > Director > Chequers Software Ltd > Wellington, New Zealand. > http://www.cheqsoft.com > > => MathsOwn - World Class > => Break Reminder - Strategic Accuracy Software > => Clipboard Express Pro - Time Creation > => TimesOwn - World's Best Clock > ____________________________________________________________ > > The information in this email and in any attachment (s) is confidential and may be legally privileged. If you are not the named addressee's) or if you receive this email in error then any distribution, copying or use of this communication or the information in it is strictly prohibited. Please notify the sender immediately by return email and then delete the message from your computer. Thank you for your assistance. > ____________________________________________________________ > > > > ----- Original Message ----- > From: Jim Lawrence > To: 'Access Developers discussion and problem solving' > Sent: Sunday, October 16, 2005 8:20 PM > Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall > > > Excellent idea. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow > Sent: Saturday, October 15, 2005 10:34 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Frank Tanner's "How-To" build a Linux Firewall > > What do you guys think of helping Frank put together a newsletter article on > this for our newsletter? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com Yes, MonoWall is very good. FreeBSD is very good as well, as an OS. The only issue is that Linux is compatible with a wider variety of hardware than FreeBSD is. Two of my home machines are running FreeBSD. From fhtapia at gmail.com Mon Oct 17 21:37:54 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 17 Oct 2005 19:37:54 -0700 Subject: [AccessD] How to turn off auto-correct off? Message-ID: i ran into a problem because of the default behaviour in access 2000. We have company id codes and one of these companies codes is "HSA", but when users key this information in, the auto correct fixes the word to HAS. That's all fine and dandy for notes fields but in this case it's really not acceptable. How can I programatically turn this option off in access? I know I can run through the option and remove the entry in the auto-correct menu but that's not a really feasable option since I have 90+ users -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From stuart at lexacorp.com.pg Mon Oct 17 22:22:56 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Tue, 18 Oct 2005 13:22:56 +1000 Subject: [AccessD] How to turn off auto-correct off? In-Reply-To: Message-ID: <4354F730.24735.AB18CB@localhost> On 17 Oct 2005 at 19:37, Francisco Tapia wrote: > i ran into a problem because of the default behaviour in access 2000. We > have company id codes and one of these companies codes is "HSA", but when > users key this information in, the auto correct fixes the word to HAS. > That's all fine and dandy for notes fields but in this case it's really not > acceptable. How can I programatically turn this option off in access? I know > I can run through the option and remove the entry in the auto-correct menu > but that's not a really feasable option since I have 90+ users > Turn it off for the controls that you don't want it on: In the Properties sheet for textboxes, comboboxes etc, under the "Other" tab is a setting "AllowAutocorrect" To turn it off for all controls in the application: Run a loop through every control on form and if it's a textbox or combobox set the control's AllowAutoCorrect property to false From jwcolby at ColbyConsulting.com Mon Oct 17 22:33:25 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 17 Oct 2005 23:33:25 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <001401c5d387$d35eac90$667aa8c0@ColbyM6805> Message-ID: <001b01c5d394$b6057a40$667aa8c0@ColbyM6805> I have created a system similar to that which we are about to create. That system was the first time I attempted to create a table driven method for doing this and was dedicated to a specific export for a specific client. I think it would be useful to pull the concepts out, hash them over in public, and write up a specification of how this can be done in a generic manner so that it can be applied to a wide range of "delimited export" applications. I propose a system of two tables: usystblDataSource DS_ID Autonumber PK DS_Source Memo Data source - can be a sql statement, a query name or a table name DS_Type Text Source of the data (table, query or SQL statement DS_FixedWidth Yes/No This data is a fixed width export - If true, then the format string in each field is responsible for getting the width right DS_Delimiter Text The delimiter between fields (if any) usystblFld FLD_ID AutoNumber Field ID FLD_IDDS Number Data Source ID FLD_Order Number The order that the field appears in the output string FLD_FldName Text Name of the field in the data source FLD_Format Text Format string to use on the data FLD_BeginPos Number beginning position in the string Thus usystblDataSource represents the source of the data and whether this export specification is going to be fixed width, delimited, or both. usystblFld represents the fields within a given export, where each field will appear in the string, how to format the data etc. In the system I designed previously the data was fixed width, but I wanted to also do a comma delimited for sending to in-house users. I quickly discovered that the exact same data might very well be sent fixed width to one user or set of users, and delimited to another, even delimited in various ways. This left me with a quandry about how to specify the formatting for various recipients of the data, and this is something that we will need to discuss. In any event, what I then do is design two classes: clsFld A field class which holds all of the data in a single record of usystblFld. The field class has properties for holding each data item in usystblFld and then it has methods for accepting data and formatting the data, returning a string of formatted data. clsDataSrc A supervisor class that has properties for holding each data item in a single record in usystblDataSource, a method for instantiating all of the clsFld instances for that data source record and storing the clsFld instances in a collection, and a method for loading the data represented by the DS_Source and then "exporting" the data by iterating the clsFld collection calling each field class and getting the data back formatted, and appending them into a string for writing to a file. Obviously if you are going to export the same data twice (or more), perhaps to a fixed, then to a delimited format, you need a means of specifying the file spec for each export. There are many "opportunities" here, but that is the basic concept. I am going to post this and let anyone interested chime in with their thoughts and perspectives. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From stuart at lexacorp.com.pg Mon Oct 17 23:28:40 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Tue, 18 Oct 2005 14:28:40 +1000 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <001b01c5d394$b6057a40$667aa8c0@ColbyM6805> References: <001401c5d387$d35eac90$667aa8c0@ColbyM6805> Message-ID: <43550698.9355.E7495B@localhost> On 17 Oct 2005 at 23:33, John Colby wrote: > I propose a system of two tables: > > usystblDataSource > DS_ID Autonumber PK > DS_Source Memo Data source - can be a sql statement, a > query name or a table name > DS_Type Text Source of the data (table, query or > SQL statement > DS_FixedWidth Yes/No This data is a fixed width export - If > true, then the format string in each field is responsible for getting the > width right Even in delimited fields you will still often need a format string > DS_Delimiter Text The delimiter between fields (if any) > Also: DS_QuoteText Yes/No Whether text fields are quoted Possibly: DS_TotalChars Number Record length for fixed width files (easier than trying to calculate it from summing the fields Format definitions ) > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the > output string > FLD_FldName Text Name of the field in the data source FLD_OutputFieldName Text Name of the field in the output file Default Null = same as in data source > Thus usystblDataSource represents the source of the data and whether this > export specification is going to be fixed width, delimited, or both. Is there any such thing as delimited and fixed width? Surely that is an either/or From jmhecht at earthlink.net Mon Oct 17 23:45:30 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Mon, 17 Oct 2005 21:45:30 -0700 Subject: [AccessD] Re-Invent The Wheel?? (4x) In-Reply-To: <43550698.9355.E7495B@localhost> Message-ID: <001201c5d39e$c4f34d20$0a01a8c0@desktop> I have been getting three and 4 copies of e mails lately. Anyone else as lucky as me? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of stuart at lexacorp.com.pg Sent: Monday, October 17, 2005 9:29 PM To: access at joe2.endjunk.com; Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? On 17 Oct 2005 at 23:33, John Colby wrote: > I propose a system of two tables: > From accessd at shaw.ca Tue Oct 18 01:07:56 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 17 Oct 2005 23:07:56 -0700 Subject: [AccessD] OT RSS editor In-Reply-To: <43540B39.20801@shaw.ca> Message-ID: <00c901c5d3aa$48e97e50$017ba8c0@xpserver> OT: Hi All: This is off topic but I have been looking for a reasonably priced RSS editor and content creator. There is so many out there that it is difficult to know which product is worth pursuing. If anyone has some good information or personal experience I would appreciate a comment... maybe off-line as this topic is not directly related to this list. (...but again many others might be interested.) TIA Jim PS One product that I have been reviewing: http://www.rss-info.com/en_rsseditor.html From accessd at shaw.ca Tue Oct 18 01:32:38 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 17 Oct 2005 23:32:38 -0700 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <000701c5d32a$0c14e3f0$667aa8c0@ColbyM6805> Message-ID: <00d001c5d3ad$bbc99380$017ba8c0@xpserver> Hi John: It sounds like a very interesting project. I must admit to not being totally up on all the details and not sure how much I can help but you can 'toss my in' as I am always up for a challenge. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Monday, October 17, 2005 7:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-Invent The Wheel?? I do the same thing, only I have a class pair that does it. I have a parent/child table pair - the name of the query or table that the data is coming from, then a table of the fields for that query/table. The field table has fields for the ID of the parent query/table record, name of the field being formatted and the formatting string. I use the formatting string to just coerce the data into a formatted string using format$(data, format$). The controller class is passed the name of the query so that it opens the query as a recordset. It then opens the appropriate data set in the child Fields table, and reads out the fields into field classes. Each field class "knows" how to format the data since each field class instance is fed all of the data from one of the field records that you mention - the field name and the format string. Then the controller class just steps through the recordset, calling the appropriate field class instance and telling it to format the data and return the string. The controller class appends the strings returned from the field classes and writes the finished string out to the text file. As you can probably guess, mine is tied to my framework and therefore isn't easily extractable, however the class pair concept is dead easy to implement. If AccessD would like to get together a development team to work on this we could build a little library that implements the package and put it up on AccessD's (and my) site for download. I can put up a forum on my site to use for the dev team. If anyone wants to do this raise your hand. If we have sufficient interest I would be willing to lead the team (if you want). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Reuben Cummings Sent: Monday, October 17, 2005 10:27 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? I just did this and my system uses a table that holds the field name, how long the field should be when text, and if there should be leading zeros or trailing blanks. This way I can create a text file for any database I have just by typing in the field names I need extracted and the data type and length required for output. In this case, I had some data that was numbers and the state required that they have leading zeros - that's why I mention data type. Then it uses code similar to Seth's or Stuart's to create the actual string. Reuben Cummings GFC, LLC 812.523.1017 > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart > McLachlan > Sent: Saturday, October 15, 2005 5:53 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Re-Invent The Wheel?? > > > On 15 Oct 2005 at 12:03, Gustav Brock wrote: > > Go to Seth's site: > > > > http://www-personal.ksu.edu/~sgsax/download/file_io.txt > > > >>> robert at servicexp.com 15-10-2005 02:20 >>> > > > > Hello, All > > Does anyone have some text exporting code that I can use.. I need > > to come up with a system that will pull data from multiple tables, > > format the data, name fields and export said data out in a very > > specific fixed width txt file. > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 18 02:15:10 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 09:15:10 +0200 Subject: [AccessD] Call AfterUpdate Event From Module Message-ID: Hi Dan Not really, as you would have to pass the name of the function as a variable which you can't (well, sometimes, using Eval() but that can quickly become a mess). One method is to move all the AfterUpdate subfunctions to a single AfterUpdate sub function: Public Sub ControlAfterUpdate(ByVal strControlName As String) Select Case strControlName Case "txtDate1" Call txtDate1_AfterUpdate Case "txtDate2" Call txtDate2_AfterUpdate '... etc. End Select End Sub This sub you can call from the outside. Not fancy but it works. The fancy method is to implement WithEvents. Highly recommended. Articles on this can be found on our own site, at Shamil's site, and - if you don't fall that much in love with JC that you just can't move beyond his title page - at John Colby's site. /gustav >>> dwaters at usinternet.com 18-10-2005 00:39 >>> I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan Waters From Gustav at cactus.dk Tue Oct 18 02:32:04 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 09:32:04 +0200 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: Hi Stuart Well, yes, a delimited string of fixed length ... /gustav >>> stuart at lexacorp.com.pg 18-10-2005 06:28 >>> On 17 Oct 2005 at 23:33, John Colby wrote: > Thus usystblDataSource represents the source of the data and whether this > export specification is going to be fixed width, delimited, or both. Is there any such thing as delimited and fixed width? Surely that is an either/or From paul.hartland at isharp.co.uk Tue Oct 18 03:38:43 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Tue, 18 Oct 2005 09:38:43 +0100 Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. In-Reply-To: Message-ID: To all, I am writing a particularly small application using Visual Basic 6.0 and SQL Server to keep track of our client costs (what we charge per man day etc etc)....and have to keep an audit trail of anything that gets changed, I thought I would try a recordset clone approach based on the following: 1. User finds the client, and recordset stored in an ADODB data control. 2. Before user does anything get a clone of the recordset (read only). 3. When the user finds another record, or selects another menu option. Loop through the fields to look for the differences... This is where I am a bit confused the recordset clone seems to also be updating even though I have told it to be read only..... Am I going about this the totally wrong way ?, is there a better way ?....Can someone offer me advice and/or sample code to how they would go about checking each individual field to see if it's been changed.... The code below just uses a msgbox to display on screen (after the ADODB.Recordset.Update has processed) (rsCheck is the clone) For intFld = 0 To rsCheck.Fields.Count - 2 MsgBox rsCheck.Fields(intFld).Name & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld).Name & vbCrLf & _ rsCheck.Fields(intFld) & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld) Next intFld Thanks in advance for any help on this Paul Hartland From Gustav at cactus.dk Tue Oct 18 04:06:06 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 11:06:06 +0200 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: Hi John et all I prefer to hardcode such routines. Most of them have been for creating files for transfer of data to banks and these specs change very rarely and if they do, often both the old and the new format can used for a while. As the fields of such files are formatted in all sorts of ways, I've found it convenient to use a Select Case structure for looping through the fields of a record - an example is appended below - building a line field by field. Routines of this sort need careful debugging but it's easy this way if you include in-line documentation. Also, lines can have different formats dependant of the "type" of record (transaction) or the contents of another field - and may even have different count of fields. And to complicate it further, a transfer may have "attached" one or more lines with text lines from long notes (not used in this example), and a batch of transfers may need special start and stop records/lines, not to say (say, for transfer of salaries) a special "Totals" line (not used here). It will take some efforts to bring this to a class but, of course, for many other purposes a class for text export can be nice. /gustav Example (Access 2.0 code with Danish comments, but you'll get the idea): Function BetalingTilBank_System_Bankdata (ByVal strKontoID As String, ByVal strEgenKonto As String, ByVal strFilExp As String) As Integer ' RecordSource der udtr?kker valgte betalinger. Const cstrRecordSource = "qdxBetalingsfil" Const cstrMsgTitle = "Betalingsfil til Bankdata" ' Transaktionstyper (delm?ngde) if. specifikation 2002-01-10. Const cstrTranstypeImport = "IB" Const cstrTranstypeStart = "000000000000" Const cstrTranstypeSlut = "999999999999" Const cstrTranstypeIndenlandskOvf = "030202000005" Const cstrTranstypeBetalingskort = "030207000002" ' Fast antal felter (ekskl. CR + LF) for de transaktionstyper, vi benytter. Const cintFilFelterStart = 6 Const cintFilFelterSlut = 8 Const cintFilFelterIndenlandskOvf = 29 Const cintFilFelterBetalingskort = 27 Dim dbs As Database Dim qdf As QueryDef Dim rst As Recordset Dim intFile As Integer ' Nummer p? fil. Bruges af OS. Dim strFileFelt As String ' Felt, der skal f?jes til linien. Dim strFileLine As String ' Linie, der skal skrives til filen. Dim varSum As Variant Dim curSum As Currency ' Totalbel?b til overf?rsel. Dim intBetalinger As Integer ' Antal betalinger. Dim strValuta As String ' ISO valutakode. Dim intFilFelter As Integer ' Antal felter i fil til Bankdata. Dim strBankdata As String ' F?rste felt i fil til Bankdata. Dim intFelt As Integer ' T?ller til feltoprettelse. Dim datDatoOvf As Variant ' Dato for overf?rsel. Dim intKortart As Integer ' 0 for bankoverf?rsel, ellers type af IK/FIK. Dim strMsgTitle As String Dim strMsgPrompt As String Dim lngMsgStyle As Long Dim intOK As Integer ' Resultat. Dim nl As String ' Ny linie. On Error GoTo Err_BetalingTilBank_System_Bankdata strValuta = "DKK" ' Kan ogs? v?re "EUR". nl = Chr(13) & Chr(10) ' Opret ny betalingsfil, hvis filen ikke findes, eller ' brug den betalingsfil, der findes. If CreateFile(strFilExp) = True Then ' Tilf?j til betalingsfilen. intFile = FreeFile Open GetShortFileName(strFilExp) For Append As #intFile Set dbs = DBEngine(0)(0) Set qdf = dbs.Querydefs(cstrRecordSource) qdf.Parameters("FirmaNr") = Forms!Main!FirmaID qdf.Parameters("OvfTid") = pdatBank Set rst = qdf.OpenRecordset() qdf.Close If rst.RecordCount > 0 Then ' Skriv startrecord. strBankdata = cstrTranstypeImport & cstrTranstypeStart intFilFelter = cintFilFelterStart For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Dato for dannelse. strFileFelt = Format(Date, "yyyymmdd") Case 3 ' Fyld. strFileFelt = Space(90) Case 4, 5, 6 ' Fyld. strFileFelt = Space(255) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & strFileFelt strFileFelt = "" Next intFelt Print #intFile, strFileLine strFileLine = "" ' Skriv betalingsrecords. While Not rst.EOF intKortart = rst!Kortart If intKortart = 0 Then ' Bankoverf?rsel. Fast l?ngde records. strBankdata = cstrTranstypeImport & cstrTranstypeIndenlandskOvf intFilFelter = cintFilFelterIndenlandskOvf For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Index. strFileFelt = "0001" Case 3 ' Dato. ?nsket overf?rselsdato. datDatoOvf = rst!Bankdato If datDatoOvf < Date Then ' Selv om Bankdata vil rette datoen til dags dato, g?r vi det alligevel. datDatoOvf = Date End If strFileFelt = Format(datDatoOvf, "yyyymmdd") Case 4 ' Bel?b. SKAL v?re uden decimalkomma. strFileFelt = Format(rst!BankOvf * 100, String(13, "0")) & "+" Case 5 ' Valuta strFileFelt = strValuta Case 6 ' Fra-konto, finans eller bank. Bank: 2. strFileFelt = "2" Case 7 ' Fra konto med fast l?ngde p? 14 tegn og med foranstillet "0". strFileFelt = "0" & FormatBankkonto410(strEgenKonto) Case 8 ' Overf?rselstype, check eller bank. Bank: 2. strFileFelt = "2" Case 9 ' Til registreringsnummer. strFileFelt = Left(TrimNumStr("" & rst!Bankkonto), 4) Case 10 ' Til konto. Altid 10 cifre med foranstillede nuller, uden registreringsnr. strFileFelt = Format(Mid(TrimNumStr("" & rst!Bankkonto), 4 + 1), String(10, "0")) Case 11 ' Adviseringstype. P? kontoudtog: 0. strFileFelt = "0" Case 12 ' Tekst p? modtagers kontoudskrift. 35 tegn. strFileFelt = Left(rst!Betalingsident & Space(35), 35) Case 13 ' Modtager (firmanavn). 32 tegn. ' Beh?ves ikke, men vises i bankprogrammet. strFileFelt = Left(rst!Firma & Space(32), 32) Case 14, 15, 17 ' Tomme. strFileFelt = Space(32) Case 16 ' Tomt. strFileFelt = String(4, "0") Case 18 ' Tekst p? afsenders kontoudskrift. Maks. 35 tegn. strFileFelt = Left((rst!Faktura + " ") & rst!Firma & Space(35), 35) Case 19 To 27 ' Tomme. strFileFelt = Space(35) Case 28 ' Fyld. strFileFelt = Space(1) Case 29 ' Tomt. strFileFelt = Space(215) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & StrAnsiToOem(strFileFelt) strFileFelt = "" Next intFelt Else ' Betalingskort. strBankdata = cstrTranstypeImport & cstrTranstypeBetalingskort intFilFelter = cintFilFelterBetalingskort For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Index. strFileFelt = "0001" Case 3 ' Dato. ?nsket overf?rselsdato. datDatoOvf = rst!Bankdato If datDatoOvf < Date Then ' Selv om Bankdata vil rette datoen til dags dato, g?r vi det alligevel. datDatoOvf = Date End If strFileFelt = Format(datDatoOvf, "yyyymmdd") Case 4 ' Bel?b. SKAL v?re uden decimalkomma. strFileFelt = Format(rst!BankOvf * 100, String(13, "0")) & "+" Case 5 ' Fra-konto, finans eller bank. Bank: 2. strFileFelt = "2" Case 6 ' Fra konto med fast l?ngde p? 14 tegn og med foranstillet "0". strFileFelt = "0" & FormatBankkonto410(strEgenKonto) Case 7 ' Kortart. strFileFelt = Format(intKortart, "00") Case 8 ' Betalingsident p? IK/FIK. 19 tegn. NB: Streng, ikke tal. Select Case intKortart Case 4, 15, 71, 75 strFileFelt = "" & rst!Betalingsident If IsNumeric(strFileFelt) Then strFileFelt = Left(strFileFelt & Space(19), 19) Else ' Vil v?re en fejl. strFileFelt = Space(19) End If Case Else strFileFelt = Space(19) End Select Case 9 ' Tomt. strFileFelt = String(4, "0") Case 10 ' "Girokonto" for IK, kortart 01, 04 og 15, ellers tomt. Select Case intKortart Case 1, 4, 15 strFileFelt = Format(TrimNumStr("" & rst!ModtagerID), String(10, "0")) Case Else strFileFelt = String(10, "0") End Select Case 11 ' ModtagerID for FIK. Tomt for kortart 01, 04 og 15. Select Case intKortart Case 1, 4, 15 strFileFelt = String(8, "0") Case Else strFileFelt = Format(TrimNumStr("" & rst!ModtagerID), String(8, "0")) End Select Case 12 ' Modtager (firmanavn). 32 tegn. ' Beh?ves ikke, men vises i bankprogrammet. strFileFelt = Left(rst!Firma & Space(32), 32) Case 13 ' Tomt. strFileFelt = Space(32) Case 14 ' Eget bilagsnummer. 35 tegn. strFileFelt = Left((rst!Faktura + " ") & rst!Firma & Space(35), 35) Case 15 To 19 ' Tomme. strFileFelt = Space(35) Case 20 ' Adviseringstekst. Maks. 35 tegn. Select Case intKortart Case 1, 73 strFileFelt = Left(rst!Betalingsident & Space(35), 35) Case Else strFileFelt = Space(35) End Select Case 21 To 25 ' Tomme. strFileFelt = Space(35) Case 26 ' Fyld. strFileFelt = Space(16) Case 27 ' Tomt. strFileFelt = Space(215) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & StrAnsiToOem(strFileFelt) strFileFelt = "" Next intFelt End If Print #intFile, strFileLine strFileLine = "" varSum = rst!BankOvf If Not IsNull(varSum) Then curSum = curSum + varSum End If rst.MoveNext Wend intBetalinger = rst.RecordCount rst.Close ' Skriv slutrecord. strBankdata = cstrTranstypeImport & cstrTranstypeSlut intFilFelter = cintFilFelterSlut For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Dato for dannelse. strFileFelt = Format(Date, "yyyymmdd") Case 3 ' Antal transaktionslinier. strFileFelt = Format(intBetalinger, String(6, "0")) Case 4 ' Sum af betalinger. strFileFelt = Format(curSum * 100, String(13, "0")) & "+" Case 5 ' Fyld. strFileFelt = Space(64) Case 6, 7, 8 ' Fyld. strFileFelt = Space(255) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & strFileFelt strFileFelt = "" Next intFelt Print #intFile, strFileLine Close #intFile intOK = IsFileLong(strFilExp) End If End If strMsgTitle = cstrMsgTitle If intOK = True Then strMsgPrompt = strMsgPrompt & intBetalinger & " betaling" & IIf(intBetalinger = 1, "", "er") & " blev oprettet i filen" & nl strMsgPrompt = strMsgPrompt & strFilExp & "." & nl & nl strMsgPrompt = strMsgPrompt & "Samlet bel?b: " & strValuta & " " & Format(curSum, "Standard") & "." lngMsgStyle = 0 + 64 Else strMsgPrompt = strMsgPrompt & "Betalingsfilen" & nl strMsgPrompt = strMsgPrompt & strFilExp & nl & nl strMsgPrompt = strMsgPrompt & "kunne ikke oprettes." lngMsgStyle = 0 + 48 End If MsgBox strMsgPrompt, lngMsgStyle, strMsgTitle Set rst = Nothing Set qdf = Nothing Set dbs = Nothing BetalingTilBank_System_Bankdata = intOK Exit_BetalingTilBank_System_Bankdata: Exit Function Err_BetalingTilBank_System_Bankdata: MsgBox "Fejlkode " & Err & ". " & Error Resume Exit_BetalingTilBank_System_Bankdata End Function --- >>> jwcolby at ColbyConsulting.com 18-10-2005 05:33:25 >>> I have created a system similar to that which we are about to create. That system was the first time I attempted to create a table driven method for doing this and was dedicated to a specific export for a specific client. I think it would be useful to pull the concepts out, hash them over in public, and write up a specification of how this can be done in a generic manner so that it can be applied to a wide range of "delimited export" applications. From zora_db at yahoo.com Tue Oct 18 04:15:05 2005 From: zora_db at yahoo.com (Roz Clarke) Date: Tue, 18 Oct 2005 10:15:05 +0100 (BST) Subject: [AccessD] Paging Roz Clarke In-Reply-To: <001a01c5d344$bbbb5360$6e01a8c0@ScuzzPaq> Message-ID: <20051018091505.10053.qmail@web50107.mail.yahoo.com> Hi John. Sorry about that. I had unsubbed from accessd at my work address but forgotten to unsub from dba_sqlserver and dba_tech. Odd of work not to contact me and ask me to sort it out. Oh well. Roz --- John Bartow wrote: > Paging Roz Clarke. > > Are you still around? > > John Bartow, President > Database Advisors, Inc. > Email: mailto:president at databaseadvisors.com > Website: http://www.databaseadvisors.com > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > ___________________________________________________________ To help you stay safe and secure online, we've developed the all new Yahoo! Security Centre. http://uk.security.yahoo.com From cyx5 at cdc.gov Tue Oct 18 05:53:32 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Tue, 18 Oct 2005 06:53:32 -0400 Subject: [AccessD] Pass, Fail or Null Message-ID: I never thought of a dcount. Daaah! Thank you so much. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of A.D.Tejpal Sent: Monday, October 17, 2005 2:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pass, Fail or Null Karen, Apparently, you are seeking the following display in a calculated text box on the main form, depending upon the status of records in subform. (a) Failed - If even one of the records has zero as result. (In addition, there may be many other records where result is Null or other than zero). (b) Passed - If no record has zero result, but at least one or more records carry a definite value for the result, other than zero. (In addition, there may be many other records where result is Null). (c) No Result Posted - If all the records carry Null as result. The expression given below, in a text box on the main form, should be able to get you the desired outcome. "Result" is the name of field holding the result (0 for failed, other than 0 for passed and Null for no posting). "T_Test" is the assumed name of table. = IIf(DCount("Result","T_Test","Result = 0") > 0, "Failed", IIf(DCount("Result","T_Test","Not IsNull(Result)") > 0, "Passed", "No Result Posted")) Note - (a) If it is a linked subform, criteria string in the expression given above should be suitably modified so as to include the linked child field as well. (b) In form's AfterUpdate event for the subform, put the following statement Me.Parent.Recalc Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Nicholson, Karen To: Access Developers discussion and problem solving Sent: Monday, October 17, 2005 22:25 Subject: [AccessD] Pass, Fail or Null I have a subform that can have an infinite number of records. On each line is a result of that record. If the test has not been performed, the result is null. If it has been performed, it can either be a pass or fail. If the record has 20 passes and one fail, then the entire record is a fail. However, the tests instances are entered in, awaiting the test to be run, so the test result is null until the values are filled in. I am trying to pull an overall result in the main form. If all test results are null, or some are null and some are pass, then the main form value would be null until all tests are run. My brain is not wrapping around this one - the nulls are throwing me. Ideas? Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 18 07:11:16 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 08:11:16 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <43550698.9355.E7495B@localhost> Message-ID: <002401c5d3dd$0a6d8530$667aa8c0@ColbyM6805> Stuart, Thanks for taking the time to read ad comment. >Even in delimited fields you will still often need a format string Yes you do. This is one of those areas that gets deep quickly. For example, if it is fixed width, what do you pad with? Do you pad left or right (align to the left or the right?). In the system I designed previously, I placed into the fld record the starting position inside the "big string" (as I called it) and the total width. As for placing the DS_FixedWidth in the field in the data set table - I think we need a third table above the usystblDataSet, which is usystblExport. This table holds the information about whether the export of a given data set is going to be fixed width or delimited, and the tablespec of where to place the exported file. Perhaps also information such as whether this will be attached to an email (and if so an email address), or FTPed (an FTP address/Username/password), faxed etc. Thus usystblExport would have a m-m between it and usystblDataSet so that you define exports to destinations, and what data set(s) get exported to that destination. The concept has a basic problem that all too often different sets of people want the same data, with the fields formatted the same way, but the "big string" formatted differently. >Also: DS_QuoteText Yes/No Whether text fields are quoted >Possibly: DS_TotalChars Number Record length for fixed width files (easier than trying to calculate it from summing the fields Format definitions ) So all of these would go in the usystblExport >FLD_OutputFieldName Text Name of the field in the output file Default Null = same as in data source Yes, probably necessary. In my original system I was given a big table with the "expected format" which included their field name, start AND end positions, field length and format, though the format was just a code such as str or num. It was from this that I expanded that table, added MY source data field name, and an actual format string to use with the format() function on each data field. >Is there any such thing as delimited and fixed width? Surely that is an either/or Yes, there is such a thing. Where there are idiots, there will be every combination under the sun. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of stuart at lexacorp.com.pg Sent: Tuesday, October 18, 2005 12:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? On 17 Oct 2005 at 23:33, John Colby wrote: > I propose a system of two tables: > > usystblDataSource > DS_ID Autonumber PK > DS_Source Memo Data source - can be a sql statement, a > query name or a table name > DS_Type Text Source of the data (table, query or > SQL statement > DS_FixedWidth Yes/No This data is a fixed width export - If > true, then the format string in each field is responsible for getting > the width right Even in delimited fields you will still often need a format string > DS_Delimiter Text The delimiter between fields (if any) > Also: DS_QuoteText Yes/No Whether text fields are quoted Possibly: DS_TotalChars Number Record length for fixed width files (easier than trying to calculate it from summing the fields Format definitions ) > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the > output string > FLD_FldName Text Name of the field in the data source FLD_OutputFieldName Text Name of the field in the output file Default Null = same as in data source > Thus usystblDataSource represents the source of the data and whether > this export specification is going to be fixed width, delimited, or > both. Is there any such thing as delimited and fixed width? Surely that is an either/or -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 18 07:13:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 08:13:15 -0400 Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. In-Reply-To: Message-ID: <002501c5d3dd$51996e10$667aa8c0@ColbyM6805> IIRC a clone is just a pointer to the same data set. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland (ISHARP) Sent: Tuesday, October 18, 2005 4:39 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. To all, I am writing a particularly small application using Visual Basic 6.0 and SQL Server to keep track of our client costs (what we charge per man day etc etc)....and have to keep an audit trail of anything that gets changed, I thought I would try a recordset clone approach based on the following: 1. User finds the client, and recordset stored in an ADODB data control. 2. Before user does anything get a clone of the recordset (read only). 3. When the user finds another record, or selects another menu option. Loop through the fields to look for the differences... This is where I am a bit confused the recordset clone seems to also be updating even though I have told it to be read only..... Am I going about this the totally wrong way ?, is there a better way ?....Can someone offer me advice and/or sample code to how they would go about checking each individual field to see if it's been changed.... The code below just uses a msgbox to display on screen (after the ADODB.Recordset.Update has processed) (rsCheck is the clone) For intFld = 0 To rsCheck.Fields.Count - 2 MsgBox rsCheck.Fields(intFld).Name & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld).Name & vbCrLf & _ rsCheck.Fields(intFld) & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld) Next intFld Thanks in advance for any help on this Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 18 08:38:32 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 09:38:32 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: Message-ID: <002601c5d3e9$3b7c4dd0$667aa8c0@ColbyM6805> Gustav, I certainly appreciate the "hard code" approach, I have doe that myself. OTOH, I have had a handful now that were fixed formats but needed "adjustments" to get it just right. For example: I am working on an export (and later an import) to the US government for what is called PlanD, having something to do with medicare re-imbursements to the city government. The upload specification is VERY loosely defined, basically they say "fixed width (with field widths specified), comma delimited, with no header (field name) line, then they specify the format inside of date fields to be YYYYMMDD. And THEN they say "if there is no data then you don't need anything in that field, but the commas must exist. So much for FIXED WIDTH!!! The issue here is that there is no upload test site. How this is going to work I don't know, but we will submit a batch to them "hoping" that it is in the format they want, and they will either accept it, or they will respond "change this thing over here". Seems pretty stupid to me, but that is what I am dealing with. Another example: The first system I built was for an insurance company. This insurance company is in the middle of changing their software to a package they purchased. It is mainframe stuff, and so they dumped an export spec into a spreadsheet of a series of records consisting of their field name, start / end position, data type (string, numeric, date etc) and format CODES such as date, fixed, str etc. I did the "hard code" routine, then they promptly came back with "yea but this field has to be fixed with 4 decimal places, this one has to have two decimal places, this date has to have ddmmyy, this one has to ... This is STUPID. So I built a table from the spec they sent, added my own fields to add a format string, and a code for left / right align etc. This really does work. They are apparently adjusting something out in their system because they have come back with "ok, add these fields IN THE MIDDLE of the string... At which point I added a "field position" field (numbering the field's position in the BigString). Voila, I just change the field position and shove the fields around as I need. Of course if you are dealing with a format cast in cement, where they actually know what they want, and provide a CLEAR specification, then just "hard coding" the solution works fine. OTOH, if you can design a table driven system that works, then you can just open the table and modify the necessary parameter as the client waffles. This does work, I am using it with my waffling insurance company. I haven't changed my code at all since I moved to the table driven design. After doing this a few times, it becomes obvious that there are field objects, there is a data set object, and there is an export object. Design a system to fit that and it will probably work just fine for many, and perhaps most such exports. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 18, 2005 5:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Re-Invent The Wheel?? Hi John et all I prefer to hardcode such routines. Most of them have been for creating files for transfer of data to banks and these specs change very rarely and if they do, often both the old and the new format can used for a while. As the fields of such files are formatted in all sorts of ways, I've found it convenient to use a Select Case structure for looping through the fields of a record - an example is appended below - building a line field by field. Routines of this sort need careful debugging but it's easy this way if you include in-line documentation. Also, lines can have different formats dependant of the "type" of record (transaction) or the contents of another field - and may even have different count of fields. And to complicate it further, a transfer may have "attached" one or more lines with text lines from long notes (not used in this example), and a batch of transfers may need special start and stop records/lines, not to say (say, for transfer of salaries) a special "Totals" line (not used here). It will take some efforts to bring this to a class but, of course, for many other purposes a class for text export can be nice. /gustav Example (Access 2.0 code with Danish comments, but you'll get the idea): Function BetalingTilBank_System_Bankdata (ByVal strKontoID As String, ByVal strEgenKonto As String, ByVal strFilExp As String) As Integer ' RecordSource der udtr?kker valgte betalinger. Const cstrRecordSource = "qdxBetalingsfil" Const cstrMsgTitle = "Betalingsfil til Bankdata" ' Transaktionstyper (delm?ngde) if. specifikation 2002-01-10. Const cstrTranstypeImport = "IB" Const cstrTranstypeStart = "000000000000" Const cstrTranstypeSlut = "999999999999" Const cstrTranstypeIndenlandskOvf = "030202000005" Const cstrTranstypeBetalingskort = "030207000002" ' Fast antal felter (ekskl. CR + LF) for de transaktionstyper, vi benytter. Const cintFilFelterStart = 6 Const cintFilFelterSlut = 8 Const cintFilFelterIndenlandskOvf = 29 Const cintFilFelterBetalingskort = 27 Dim dbs As Database Dim qdf As QueryDef Dim rst As Recordset Dim intFile As Integer ' Nummer p? fil. Bruges af OS. Dim strFileFelt As String ' Felt, der skal f?jes til linien. Dim strFileLine As String ' Linie, der skal skrives til filen. Dim varSum As Variant Dim curSum As Currency ' Totalbel?b til overf?rsel. Dim intBetalinger As Integer ' Antal betalinger. Dim strValuta As String ' ISO valutakode. Dim intFilFelter As Integer ' Antal felter i fil til Bankdata. Dim strBankdata As String ' F?rste felt i fil til Bankdata. Dim intFelt As Integer ' T?ller til feltoprettelse. Dim datDatoOvf As Variant ' Dato for overf?rsel. Dim intKortart As Integer ' 0 for bankoverf?rsel, ellers type af IK/FIK. Dim strMsgTitle As String Dim strMsgPrompt As String Dim lngMsgStyle As Long Dim intOK As Integer ' Resultat. Dim nl As String ' Ny linie. On Error GoTo Err_BetalingTilBank_System_Bankdata strValuta = "DKK" ' Kan ogs? v?re "EUR". nl = Chr(13) & Chr(10) ' Opret ny betalingsfil, hvis filen ikke findes, eller ' brug den betalingsfil, der findes. If CreateFile(strFilExp) = True Then ' Tilf?j til betalingsfilen. intFile = FreeFile Open GetShortFileName(strFilExp) For Append As #intFile Set dbs = DBEngine(0)(0) Set qdf = dbs.Querydefs(cstrRecordSource) qdf.Parameters("FirmaNr") = Forms!Main!FirmaID qdf.Parameters("OvfTid") = pdatBank Set rst = qdf.OpenRecordset() qdf.Close If rst.RecordCount > 0 Then ' Skriv startrecord. strBankdata = cstrTranstypeImport & cstrTranstypeStart intFilFelter = cintFilFelterStart For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Dato for dannelse. strFileFelt = Format(Date, "yyyymmdd") Case 3 ' Fyld. strFileFelt = Space(90) Case 4, 5, 6 ' Fyld. strFileFelt = Space(255) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & strFileFelt strFileFelt = "" Next intFelt Print #intFile, strFileLine strFileLine = "" ' Skriv betalingsrecords. While Not rst.EOF intKortart = rst!Kortart If intKortart = 0 Then ' Bankoverf?rsel. Fast l?ngde records. strBankdata = cstrTranstypeImport & cstrTranstypeIndenlandskOvf intFilFelter = cintFilFelterIndenlandskOvf For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Index. strFileFelt = "0001" Case 3 ' Dato. ?nsket overf?rselsdato. datDatoOvf = rst!Bankdato If datDatoOvf < Date Then ' Selv om Bankdata vil rette datoen til dags dato, g?r vi det alligevel. datDatoOvf = Date End If strFileFelt = Format(datDatoOvf, "yyyymmdd") Case 4 ' Bel?b. SKAL v?re uden decimalkomma. strFileFelt = Format(rst!BankOvf * 100, String(13, "0")) & "+" Case 5 ' Valuta strFileFelt = strValuta Case 6 ' Fra-konto, finans eller bank. Bank: 2. strFileFelt = "2" Case 7 ' Fra konto med fast l?ngde p? 14 tegn og med foranstillet "0". strFileFelt = "0" & FormatBankkonto410(strEgenKonto) Case 8 ' Overf?rselstype, check eller bank. Bank: 2. strFileFelt = "2" Case 9 ' Til registreringsnummer. strFileFelt = Left(TrimNumStr("" & rst!Bankkonto), 4) Case 10 ' Til konto. Altid 10 cifre med foranstillede nuller, uden registreringsnr. strFileFelt = Format(Mid(TrimNumStr("" & rst!Bankkonto), 4 + 1), String(10, "0")) Case 11 ' Adviseringstype. P? kontoudtog: 0. strFileFelt = "0" Case 12 ' Tekst p? modtagers kontoudskrift. 35 tegn. strFileFelt = Left(rst!Betalingsident & Space(35), 35) Case 13 ' Modtager (firmanavn). 32 tegn. ' Beh?ves ikke, men vises i bankprogrammet. strFileFelt = Left(rst!Firma & Space(32), 32) Case 14, 15, 17 ' Tomme. strFileFelt = Space(32) Case 16 ' Tomt. strFileFelt = String(4, "0") Case 18 ' Tekst p? afsenders kontoudskrift. Maks. 35 tegn. strFileFelt = Left((rst!Faktura + " ") & rst!Firma & Space(35), 35) Case 19 To 27 ' Tomme. strFileFelt = Space(35) Case 28 ' Fyld. strFileFelt = Space(1) Case 29 ' Tomt. strFileFelt = Space(215) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & StrAnsiToOem(strFileFelt) strFileFelt = "" Next intFelt Else ' Betalingskort. strBankdata = cstrTranstypeImport & cstrTranstypeBetalingskort intFilFelter = cintFilFelterBetalingskort For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Index. strFileFelt = "0001" Case 3 ' Dato. ?nsket overf?rselsdato. datDatoOvf = rst!Bankdato If datDatoOvf < Date Then ' Selv om Bankdata vil rette datoen til dags dato, g?r vi det alligevel. datDatoOvf = Date End If strFileFelt = Format(datDatoOvf, "yyyymmdd") Case 4 ' Bel?b. SKAL v?re uden decimalkomma. strFileFelt = Format(rst!BankOvf * 100, String(13, "0")) & "+" Case 5 ' Fra-konto, finans eller bank. Bank: 2. strFileFelt = "2" Case 6 ' Fra konto med fast l?ngde p? 14 tegn og med foranstillet "0". strFileFelt = "0" & FormatBankkonto410(strEgenKonto) Case 7 ' Kortart. strFileFelt = Format(intKortart, "00") Case 8 ' Betalingsident p? IK/FIK. 19 tegn. NB: Streng, ikke tal. Select Case intKortart Case 4, 15, 71, 75 strFileFelt = "" & rst!Betalingsident If IsNumeric(strFileFelt) Then strFileFelt = Left(strFileFelt & Space(19), 19) Else ' Vil v?re en fejl. strFileFelt = Space(19) End If Case Else strFileFelt = Space(19) End Select Case 9 ' Tomt. strFileFelt = String(4, "0") Case 10 ' "Girokonto" for IK, kortart 01, 04 og 15, ellers tomt. Select Case intKortart Case 1, 4, 15 strFileFelt = Format(TrimNumStr("" & rst!ModtagerID), String(10, "0")) Case Else strFileFelt = String(10, "0") End Select Case 11 ' ModtagerID for FIK. Tomt for kortart 01, 04 og 15. Select Case intKortart Case 1, 4, 15 strFileFelt = String(8, "0") Case Else strFileFelt = Format(TrimNumStr("" & rst!ModtagerID), String(8, "0")) End Select Case 12 ' Modtager (firmanavn). 32 tegn. ' Beh?ves ikke, men vises i bankprogrammet. strFileFelt = Left(rst!Firma & Space(32), 32) Case 13 ' Tomt. strFileFelt = Space(32) Case 14 ' Eget bilagsnummer. 35 tegn. strFileFelt = Left((rst!Faktura + " ") & rst!Firma & Space(35), 35) Case 15 To 19 ' Tomme. strFileFelt = Space(35) Case 20 ' Adviseringstekst. Maks. 35 tegn. Select Case intKortart Case 1, 73 strFileFelt = Left(rst!Betalingsident & Space(35), 35) Case Else strFileFelt = Space(35) End Select Case 21 To 25 ' Tomme. strFileFelt = Space(35) Case 26 ' Fyld. strFileFelt = Space(16) Case 27 ' Tomt. strFileFelt = Space(215) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & StrAnsiToOem(strFileFelt) strFileFelt = "" Next intFelt End If Print #intFile, strFileLine strFileLine = "" varSum = rst!BankOvf If Not IsNull(varSum) Then curSum = curSum + varSum End If rst.MoveNext Wend intBetalinger = rst.RecordCount rst.Close ' Skriv slutrecord. strBankdata = cstrTranstypeImport & cstrTranstypeSlut intFilFelter = cintFilFelterSlut For intFelt = 1 To intFilFelter Select Case intFelt Case 1 ' Transaktionstype. strFileFelt = strBankdata Case 2 ' Dato for dannelse. strFileFelt = Format(Date, "yyyymmdd") Case 3 ' Antal transaktionslinier. strFileFelt = Format(intBetalinger, String(6, "0")) Case 4 ' Sum af betalinger. strFileFelt = Format(curSum * 100, String(13, "0")) & "+" Case 5 ' Fyld. strFileFelt = Space(64) Case 6, 7, 8 ' Fyld. strFileFelt = Space(255) End Select Call BetalingTilBank_System_Bankdata_Felt(strFileFelt, intFelt = intFilFelter) strFileLine = strFileLine & strFileFelt strFileFelt = "" Next intFelt Print #intFile, strFileLine Close #intFile intOK = IsFileLong(strFilExp) End If End If strMsgTitle = cstrMsgTitle If intOK = True Then strMsgPrompt = strMsgPrompt & intBetalinger & " betaling" & IIf(intBetalinger = 1, "", "er") & " blev oprettet i filen" & nl strMsgPrompt = strMsgPrompt & strFilExp & "." & nl & nl strMsgPrompt = strMsgPrompt & "Samlet bel?b: " & strValuta & " " & Format(curSum, "Standard") & "." lngMsgStyle = 0 + 64 Else strMsgPrompt = strMsgPrompt & "Betalingsfilen" & nl strMsgPrompt = strMsgPrompt & strFilExp & nl & nl strMsgPrompt = strMsgPrompt & "kunne ikke oprettes." lngMsgStyle = 0 + 48 End If MsgBox strMsgPrompt, lngMsgStyle, strMsgTitle Set rst = Nothing Set qdf = Nothing Set dbs = Nothing BetalingTilBank_System_Bankdata = intOK Exit_BetalingTilBank_System_Bankdata: Exit Function Err_BetalingTilBank_System_Bankdata: MsgBox "Fejlkode " & Err & ". " & Error Resume Exit_BetalingTilBank_System_Bankdata End Function --- >>> jwcolby at ColbyConsulting.com 18-10-2005 05:33:25 >>> I have created a system similar to that which we are about to create. That system was the first time I attempted to create a table driven method for doing this and was dedicated to a specific export for a specific client. I think it would be useful to pull the concepts out, hash them over in public, and write up a specification of how this can be done in a generic manner so that it can be applied to a wide range of "delimited export" applications. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 18 09:05:48 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 16:05:48 +0200 Subject: [AccessD] Re-Invent The Wheel?? Message-ID: Hi John Well, that's the difference. Specifications for these formats go from 30 to 70 pages. As all sorts of ERP apps use these specs it causes a lot of trouble if they are changed. If you have control of both ends, life is much easier. But in that case you would today probably choose XML for the format as that eliminates many of the problems here. "Anything" in a fixed width field would for me be spaces. You'll notice my heavy use of Space(n) cause even in monospaced coding it's hard to see if you have 18 or 20 spaces in some code string - it takes forever to debug such things. /gustav >>> jwcolby at ColbyConsulting.com 18-10-2005 15:38:32 >>> Gustav, I certainly appreciate the "hard code" approach, I have doe that myself. OTOH, I have had a handful now that were fixed formats but needed "adjustments" to get it just right. For example: I am working on an export (and later an import) to the US government for what is called PlanD, having something to do with medicare re-imbursements to the city government. The upload specification is VERY loosely defined, basically they say "fixed width (with field widths specified), comma delimited, with no header (field name) line, then they specify the format inside of date fields to be YYYYMMDD. And THEN they say "if there is no data then you don't need anything in that field, but the commas must exist. So much for FIXED WIDTH!!! The issue here is that there is no upload test site. How this is going to work I don't know, but we will submit a batch to them "hoping" that it is in the format they want, and they will either accept it, or they will respond "change this thing over here". Seems pretty stupid to me, but that is what I am dealing with. Another example: The first system I built was for an insurance company. This insurance company is in the middle of changing their software to a package they purchased. It is mainframe stuff, and so they dumped an export spec into a spreadsheet of a series of records consisting of their field name, start / end position, data type (string, numeric, date etc) and format CODES such as date, fixed, str etc. I did the "hard code" routine, then they promptly came back with "yea but this field has to be fixed with 4 decimal places, this one has to have two decimal places, this date has to have ddmmyy, this one has to ... This is STUPID. So I built a table from the spec they sent, added my own fields to add a format string, and a code for left / right align etc. This really does work. They are apparently adjusting something out in their system because they have come back with "ok, add these fields IN THE MIDDLE of the string... At which point I added a "field position" field (numbering the field's position in the BigString). Voila, I just change the field position and shove the fields around as I need. Of course if you are dealing with a format cast in cement, where they actually know what they want, and provide a CLEAR specification, then just "hard coding" the solution works fine. OTOH, if you can design a table driven system that works, then you can just open the table and modify the necessary parameter as the client waffles. This does work, I am using it with my waffling insurance company. I haven't changed my code at all since I moved to the table driven design. After doing this a few times, it becomes obvious that there are field objects, there is a data set object, and there is an export object. Design a system to fit that and it will probably work just fine for many, and perhaps most such exports. John W. Colby www.ColbyConsulting.com From stuart at lexacorp.com.pg Tue Oct 18 09:31:10 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 19 Oct 2005 00:31:10 +1000 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <002601c5d3e9$3b7c4dd0$667aa8c0@ColbyM6805> References: Message-ID: <435593CE.3845.19F5A23@stuart.lexacorp.com.pg> On 18 Oct 2005 at 9:38, John Colby wrote: > Gustav, > > I certainly appreciate the "hard code" approach, I have doe that myself. > OTOH, I have had a handful now that were fixed formats but needed > "adjustments" to get it just right. For example: > > I am working on an export (and later an import) to the US government for > what is called PlanD, having something to do with medicare re-imbursements > to the city government. The upload specification is VERY loosely defined, > basically they say "fixed width (with field widths specified), comma > delimited, with no header (field name) line, then they specify the format > inside of date fields to be YYYYMMDD. And THEN they say "if there is no > data then you don't need anything in that field, but the commas must exist. Yep, that certainly answers my question about whether there is such a thing as a fixed width, delimited file :-) -- Stuart From jwcolby at ColbyConsulting.com Tue Oct 18 09:50:55 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 10:50:55 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <435593CE.3845.19F5A23@stuart.lexacorp.com.pg> Message-ID: <002b01c5d3f3$5b697a00$667aa8c0@ColbyM6805> LOL, yep. And that is exactly why a table driven method is my goal. You want delimited? NO PROBLEM. You want Fixed width? NO PROBLEM. You want fixed width delimited? NO PROBLEM. You want fries with that? Some idiot is going to ask for it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 18, 2005 10:31 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Re-Invent The Wheel?? On 18 Oct 2005 at 9:38, John Colby wrote: > Gustav, > > I certainly appreciate the "hard code" approach, I have doe that > myself. OTOH, I have had a handful now that were fixed formats but > needed "adjustments" to get it just right. For example: > > I am working on an export (and later an import) to the US government > for what is called PlanD, having something to do with medicare > re-imbursements to the city government. The upload specification is > VERY loosely defined, basically they say "fixed width (with field > widths specified), comma delimited, with no header (field name) line, > then they specify the format inside of date fields to be YYYYMMDD. > And THEN they say "if there is no data then you don't need anything in > that field, but the commas must exist. Yep, that certainly answers my question about whether there is such a thing as a fixed width, delimited file :-) -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Oct 18 10:53:13 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 18 Oct 2005 08:53:13 -0700 Subject: [AccessD] How to turn off auto-correct off? In-Reply-To: <4354F730.24735.AB18CB@localhost> References: <4354F730.24735.AB18CB@localhost> Message-ID: Sturat, Thanks for the update, I've never used that field :), man you do learn something new all the time especially on a product like 'good ol access' :P On 10/17/05, stuart at lexacorp.com.pg wrote: > > On 17 Oct 2005 at 19:37, Francisco Tapia wrote: > > > i ran into a problem because of the default behaviour in access 2000. We > > have company id codes and one of these companies codes is "HSA", but > when > > users key this information in, the auto correct fixes the word to HAS. > > That's all fine and dandy for notes fields but in this case it's really > not > > acceptable. How can I programatically turn this option off in access? I > know > > I can run through the option and remove the entry in the auto-correct > menu > > but that's not a really feasable option since I have 90+ users > > > > Turn it off for the controls that you don't want it on: > In the Properties sheet for textboxes, comboboxes etc, under the "Other" > tab is a > setting "AllowAutocorrect" > > To turn it off for all controls in the application: > Run a loop through every control on form and if it's a textbox or combobox > set the > control's AllowAutoCorrect property to false > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From Gustav at cactus.dk Tue Oct 18 11:20:25 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 18 Oct 2005 18:20:25 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav >>> shamil at users.mns.ru 17-10-2005 01:22 >>> Gustav, But as far as I understand well thought through and properly applied O/R mapping doesn't reject "dozens of highly optimized queries" - not at all. With active O/R mapping (including LINQ) Queries/SPs will continue to do their "dirty&heavy duty" optimized and effective work and the results of this work will be mapped on object level by O/R mapping and if needed these results will be polished on this level and then transmitted to the presentation/visual level/layer/tier... <<< unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. >>> Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that nowadays "pure object DBDMs/engines" can't be as effective as relational databases are for real commercial hundred gygabytes/terabytes size databases. I mean they can be as effective or more for some special, well tuned cases or for the cases when the whole object database is loaded in memory. But the latter effect is a "deja vue" from "good old" Hierarchical data model and Network(CODASYL) data model based DBMSs times. But even in memory processing for ad-hoc "chaotic" queries for object DBMSs is expected (here) to be considerably slower that similar querying of in memory relational DBMS's database because nowadays relational databases use so advanced database query processing optimization. Yes, as far as I may guess there are many tasks and real applications in many business areas where pure object DBMSs will be OK and effective used for development even these days but this still will be a limited(/niche) use comparing with modern relational DBMSs broad and effective applicability.... There is no miracles in this World (or I'm missing them?) - the only way for effective data processing/querying this (IT) industry and computer science found for the last 40+ years is by: - 1. (fine) tuning physical location/placement of the data to be queried to make it located as effective/close as possible for the set of queries executed more often; - 2. introducing as much as possible parallelism in query execution; - 3. creating auxiliary indexing data structures; - 4. putting/(pre-)loading as much as possible data to be processed into speedy RAM. That's all? And the numbering above is made according to how these query optimization techniques/mainstream ideas were emering/evoloving: 1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer memory was limited, both external and RAM, CPUs were rather slow, to build multi-processor units was a very expensive idea - so the only commercially approved optimization was #1. 2nd: First supercomputers/multi-CPU computers appeared, more speedy memory become reality - commercially approved idea of parallel query execution (#2) arrived but got limited implementation because of not enough experience and still expensive hardware; 3rd: Relational model investigation resulted in commercially approved RDBMs - the only (/the main way) to optimize query execution in RDBMS is by using indexes - #3 (together with #2 - still limited by hardware) and #1 are in use in RDBMS; 4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream together with ideas #3 and #2(multi-core processors) and #1 is still here and even getting more use in such advanced modern DBMS like MS SQL 2005... I think that the times of the broad and effective use of pure object DBMSs are not yet arrived. They should come of course sooner or later - and it may happen that MS evolutional approach will bring the best results sooner than the other "revolutionary" approaches. I can be wrong... I did make a project several years ago(MS Access/mdb), which have had a lot of complicated queries, with many indexes on the base tables optimized for these queries etc. - we found it slow (not speedy enough for the target audience). Then most of the queries were dropped and code was rewritten to (pre)load most of data in memory - it started to work a matter of magnitude or more faster. The database had not that much tables - around 15 but the total quantity of test records was about half a million. This real life story above shows how far superior is in memory data processing over modern relational DBMSs query processing(I think MS Access is a good representative case of relational DBMS here in this story because database wasn't big). But as I noted above unordered "chaotic" in memory processing for ad-hoc queries for a general case promise to be (much) slower than similar ad-hoc querying of an advanced modern relational DBMSs provided most of the data to query is cached in memory by RDBMS engine and modern query optimization techniques are used by this engine.... And I think that nowadays "true object oriented DBMSs" use these "tricks": - they in their tests do not use commercail size (terabytes) databases and/or - they are used in a very specialized business areas/use case scenarios where physical data structures are optimized to have most of the data preloaded(cached) during query processing and/or processed in parallel.... Am I totally wrong? Where can I find real pure ODBMSs tests results as the ones existing for relational DBMSs - http://www.tpc.org/? No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts are enough to make decision to use OODBMS or RDBMS for a certain business area/task - I'd use the one best suited to solve/develop certain tasks/projects as effective and as quickly as possible... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 12:19 AM Subject: Re: [AccessD] Data interface The best way Hi Shamil Thanks for your snippets and thoughts. I think these fellows hit the point. I would like to believe in the value of full O/R mapping - and maybe LINQ will make this come true. But when I study my latest task (with an Jet backend, not SQL Server) with some quite complicated statistical calculations using dozens of highly optimized queries - which I probably would not have been able to construct without the query designer of Access - I have a hard time imagining how this should have been accomplished in pure OO code without running at a crawl ... unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. But I would like to be positively surprised ... /gustav From prodevmg at yahoo.com Tue Oct 18 12:01:18 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 18 Oct 2005 10:01:18 -0700 (PDT) Subject: [AccessD] Why 255? Message-ID: <20051018170118.16679.qmail@web33108.mail.mud.yahoo.com> I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? Just curious. May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From garykjos at gmail.com Tue Oct 18 12:14:55 2005 From: garykjos at gmail.com (Gary Kjos) Date: Tue, 18 Oct 2005 12:14:55 -0500 Subject: [AccessD] Why 255? In-Reply-To: <20051018170118.16679.qmail@web33108.mail.mud.yahoo.com> References: <20051018170118.16679.qmail@web33108.mail.mud.yahoo.com> Message-ID: Hi Lonnie, Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the largest number you can express in a single byte GK On 10/18/05, Lonnie Johnson wrote: > I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? > > Just curious. > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > 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 prodevmg at yahoo.com Tue Oct 18 12:43:51 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 18 Oct 2005 10:43:51 -0700 (PDT) Subject: [AccessD] Why 255? In-Reply-To: Message-ID: <20051018174351.15168.qmail@web33102.mail.mud.yahoo.com> I knew that was some cool geek explanation. I love this stuff. Gary Kjos wrote:Hi Lonnie, Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the largest number you can express in a single byte GK On 10/18/05, Lonnie Johnson wrote: > I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? > > Just curious. > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From martyconnelly at shaw.ca Tue Oct 18 15:16:27 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Oct 2005 13:16:27 -0700 Subject: [AccessD] Data interface The best way References: Message-ID: <4355581B.3080102@shaw.ca> Here is one DB I have used on and off since DOS 3.2 CodeBase from Sequitur Software http://www.codebase.com/products/ Runs on Macs, Linux, Unix, Windows, PDA's, Win CE Really small foot print and price, expands to Terabytes. Lots of ODBC drivers. Very Fast. Oh yes, it is an Excel VBA interface so I guess it goes to Access too I think it is still ISAM based. Gustav Brock wrote: >Hi Shamil > >You are right - there is no single answer to all needs and that counts for db engines as well. >I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. > >You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. > >As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. > >/gustav > > > >>>>shamil at users.mns.ru 17-10-2005 01:22 >>> >>>> >>>> >Gustav, > >But as far as I understand well thought through and properly applied O/R mapping doesn't reject "dozens of highly optimized queries" - not at all. >With active O/R mapping (including LINQ) Queries/SPs will continue to do their "dirty&heavy duty" optimized and effective work and the results of this work >will be mapped on object level by O/R mapping and if needed these results will be polished on this level and then transmitted to the presentation/visual level/layer/tier... > ><<< >unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. > > >Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that nowadays "pure object DBDMs/engines" can't be as effective as relational >databases are for real commercial hundred gygabytes/terabytes size databases. I mean they can be as effective or more for some special, well tuned cases or for the cases when the whole object database is loaded in memory. But the latter effect is a "deja vue" from "good old" Hierarchical data model and Network(CODASYL) data model based DBMSs times. But even in memory processing for ad-hoc "chaotic" queries for object DBMSs is expected (here) to be considerably slower that similar querying of in memory relational DBMS's database because nowadays relational databases use so advanced database query processing optimization. > >Yes, as far as I may guess there are many tasks and real applications in many business areas where pure object DBMSs will be OK and effective used for development even these days but this still will be a limited(/niche) use comparing with modern relational DBMSs broad and effective applicability.... > >There is no miracles in this World (or I'm missing them?) - the only way for effective data processing/querying this (IT) industry and computer science found for the last 40+ years is by: > >- 1. (fine) tuning physical location/placement of the data to be queried to >make it located as effective/close as possible for the set of queries >executed more often; >- 2. introducing as much as possible parallelism in query execution; >- 3. creating auxiliary indexing data structures; >- 4. putting/(pre-)loading as much as possible data to be processed into >speedy RAM. > >That's all? >And the numbering above is made according to how these query optimization >techniques/mainstream ideas were emering/evoloving: > >1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer >memory was limited, both external and RAM, CPUs were rather slow, to build >multi-processor units was a very expensive idea - so the only commercially >approved optimization was #1. >2nd: First supercomputers/multi-CPU computers appeared, more speedy memory >become reality - commercially approved idea of parallel query execution (#2) >arrived but got limited implementation because of not enough experience and >still expensive hardware; >3rd: Relational model investigation resulted in commercially approved >RDBMs - the only (/the main way) to optimize query execution in RDBMS is by >using indexes - #3 (together with #2 - still limited by hardware) and #1 are >in use in RDBMS; >4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream >together with ideas #3 and #2(multi-core processors) and #1 is still here >and even getting more use in such advanced modern DBMS like MS SQL 2005... > >I think that the times of the broad and effective use of pure object DBMSs >are not yet arrived. >They should come of course sooner or later - and it may happen that MS >evolutional approach will bring the best results sooner than the other >"revolutionary" approaches. I can be wrong... > >I did make a project several years ago(MS Access/mdb), which have had a lot >of complicated queries, with many indexes on the base tables optimized for >these queries etc. - we found it slow (not speedy enough for the target >audience). Then most of the queries were dropped and code was rewritten to >(pre)load most of data in memory - it started to work a matter of magnitude >or more faster. The database had not that much tables - around 15 but the >total quantity of test records was about half a million. > >This real life story above shows how far superior is in memory data >processing over modern relational DBMSs query processing(I think MS Access >is a good representative case of relational DBMS here in this story because >database wasn't big). But as I noted above unordered "chaotic" in memory >processing for ad-hoc queries for a general case promise to be (much) slower >than similar ad-hoc querying of an advanced modern relational DBMSs provided >most of the data to query is cached in memory by RDBMS engine and modern >query optimization techniques are used by this engine.... > >And I think that nowadays "true object oriented DBMSs" use these "tricks": > >- they in their tests do not use commercail size (terabytes) databases >and/or >- they are used in a very specialized business areas/use case scenarios >where physical data structures are optimized to have most of the data >preloaded(cached) during query processing and/or processed in parallel.... > >Am I totally wrong? Where can I find real pure ODBMSs tests results as the >ones existing for relational DBMSs - http://www.tpc.org/? > >No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts >are enough to make decision to use OODBMS or RDBMS for a certain business >area/task - I'd use the one best suited to solve/develop certain >tasks/projects as effective and as quickly as possible... > >Shamil > >----- Original Message ----- >From: "Gustav Brock" >To: >Sent: Monday, October 17, 2005 12:19 AM >Subject: Re: [AccessD] Data interface The best way > > >Hi Shamil > >Thanks for your snippets and thoughts. > >I think these fellows hit the point. I would like to believe in the >value of full O/R mapping - and maybe LINQ will make this come true. >But when I study my latest task (with an Jet backend, not SQL Server) >with some quite complicated statistical calculations using dozens of >highly optimized queries - which I probably would not have been able to >construct without the query designer of Access - I have a hard time >imagining how this should have been accomplished in pure OO code without >running at a crawl ... unless, of course, if the objects operate >directly in the engine as the case is for Intersystems' Cach? engine. > >But I would like to be positively surprised ... > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada From pedro at plex.nl Tue Oct 18 15:46:20 2005 From: pedro at plex.nl (Pedro Janssen) Date: Tue, 18 Oct 2005 22:46:20 +0200 Subject: [AccessD] datatype mismatch in query References: Message-ID: <005101c5d425$060c1220$4001a8c0@laptop> Hello Gustav and others, when using Val() or CLng(), i get a message, that says: Not all records in the append query can be added: ...... records as a result of conflict in validationrules. How can this be solved? Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 9:33 PM Subject: Re: [AccessD] datatype mismatch in query > Hi Pedro > > Try comparing numbers too: > > WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > You can use SQL-native VAL() for CLng(). > > /gustav > >>>> pedro at plex.nl 17-10-2005 21:26 >>> > Hello All, > > i am using the following append-query to update a table > (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is > linked to this database: > > SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) > SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf > FROM DEBSTM IN 'C:\ThisDatabase.mdb' > WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > When using this query, i get an error. Datatype mismatch. > This is because field DebID is Number and field Nummer is text. > Although field Nummer is text, the values are al numbers. Because this > field is in a commercial database, i can't change the field type. Is there > another way?? > > Pedro Janssen > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Tue Oct 18 16:38:10 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 19 Oct 2005 01:38:10 +0400 Subject: [AccessD] Data interface The best way References: <4355581B.3080102@shaw.ca> Message-ID: <001401c5d42d$24c56420$6401a8c0@fincomplex.spb.ru> <<< Runs on Macs, Linux, Unix, Windows, PDA's, Win CE >>> :) Well, and I used this one since DOS 2.x(?) IBM PC XT 8MHz 640KB RAM/10GB HDD, Turbo C 1.0 - it was called first dbVista then Raima Data Manager and now RDM Embedded: http://www.raimabenelux.com/Products/RDM_embedded/default.htm The fastest on Earth probably embedded DBMS :) Has server vesion too. Has ODBC. Has query language a la SQL. Has advanced object mapping since year 1990 or earlier (C++). Runs on all OSes you listed + QNX etc. - in fact it runs on any OS, which can compile C - it is delivered as binary executables and libraries for certain OS + full C source code i.e. it's written completely on C. etc.etc. It uses ISAM-like/VSAM-like indexed files and double-linked lists. But it can't compete with MS SQL and even with MS Access these days and so it occupies rather narrow niche of embedded DBMSs.... ...my colleague uses it for many years for an advanced lightning fast payroll system, which was first programmed on MS DOS and now runs under MS Windows (any version) and under IIS - one example how C/C++ programminng saves one's code assets forever.... Shamil ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 12:16 AM Subject: Re: [AccessD] Data interface The best way Here is one DB I have used on and off since DOS 3.2 CodeBase from Sequitur Software http://www.codebase.com/products/ Runs on Macs, Linux, Unix, Windows, PDA's, Win CE Really small foot print and price, expands to Terabytes. Lots of ODBC drivers. Very Fast. Oh yes, it is an Excel VBA interface so I guess it goes to Access too I think it is still ISAM based. Gustav Brock wrote: >Hi Shamil > >You are right - there is no single answer to all needs and that counts for db engines as well. >I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. > >You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. > >As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. > >/gustav > > > >>>>shamil at users.mns.ru 17-10-2005 01:22 >>> >>>> >>>> >Gustav, > >But as far as I understand well thought through and properly applied O/R mapping doesn't reject "dozens of highly optimized queries" - not at all. >With active O/R mapping (including LINQ) Queries/SPs will continue to do their "dirty&heavy duty" optimized and effective work and the results of this work >will be mapped on object level by O/R mapping and if needed these results will be polished on this level and then transmitted to the presentation/visual level/layer/tier... > ><<< >unless, of course, if the objects operate directly in the engine as the case is for Intersystems' Cach? engine. > > >Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that nowadays "pure object DBDMs/engines" can't be as effective as relational >databases are for real commercial hundred gygabytes/terabytes size databases. I mean they can be as effective or more for some special, well tuned cases or for the cases when the whole object database is loaded in memory. But the latter effect is a "deja vue" from "good old" Hierarchical data model and Network(CODASYL) data model based DBMSs times. But even in memory processing for ad-hoc "chaotic" queries for object DBMSs is expected (here) to be considerably slower that similar querying of in memory relational DBMS's database because nowadays relational databases use so advanced database query processing optimization. > >Yes, as far as I may guess there are many tasks and real applications in many business areas where pure object DBMSs will be OK and effective used for development even these days but this still will be a limited(/niche) use comparing with modern relational DBMSs broad and effective applicability.... > >There is no miracles in this World (or I'm missing them?) - the only way for effective data processing/querying this (IT) industry and computer science found for the last 40+ years is by: > >- 1. (fine) tuning physical location/placement of the data to be queried to >make it located as effective/close as possible for the set of queries >executed more often; >- 2. introducing as much as possible parallelism in query execution; >- 3. creating auxiliary indexing data structures; >- 4. putting/(pre-)loading as much as possible data to be processed into >speedy RAM. > >That's all? >And the numbering above is made according to how these query optimization >techniques/mainstream ideas were emering/evoloving: > >1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer >memory was limited, both external and RAM, CPUs were rather slow, to build >multi-processor units was a very expensive idea - so the only commercially >approved optimization was #1. >2nd: First supercomputers/multi-CPU computers appeared, more speedy memory >become reality - commercially approved idea of parallel query execution (#2) >arrived but got limited implementation because of not enough experience and >still expensive hardware; >3rd: Relational model investigation resulted in commercially approved >RDBMs - the only (/the main way) to optimize query execution in RDBMS is by >using indexes - #3 (together with #2 - still limited by hardware) and #1 are >in use in RDBMS; >4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream >together with ideas #3 and #2(multi-core processors) and #1 is still here >and even getting more use in such advanced modern DBMS like MS SQL 2005... > >I think that the times of the broad and effective use of pure object DBMSs >are not yet arrived. >They should come of course sooner or later - and it may happen that MS >evolutional approach will bring the best results sooner than the other >"revolutionary" approaches. I can be wrong... > >I did make a project several years ago(MS Access/mdb), which have had a lot >of complicated queries, with many indexes on the base tables optimized for >these queries etc. - we found it slow (not speedy enough for the target >audience). Then most of the queries were dropped and code was rewritten to >(pre)load most of data in memory - it started to work a matter of magnitude >or more faster. The database had not that much tables - around 15 but the >total quantity of test records was about half a million. > >This real life story above shows how far superior is in memory data >processing over modern relational DBMSs query processing(I think MS Access >is a good representative case of relational DBMS here in this story because >database wasn't big). But as I noted above unordered "chaotic" in memory >processing for ad-hoc queries for a general case promise to be (much) slower >than similar ad-hoc querying of an advanced modern relational DBMSs provided >most of the data to query is cached in memory by RDBMS engine and modern >query optimization techniques are used by this engine.... > >And I think that nowadays "true object oriented DBMSs" use these "tricks": > >- they in their tests do not use commercail size (terabytes) databases >and/or >- they are used in a very specialized business areas/use case scenarios >where physical data structures are optimized to have most of the data >preloaded(cached) during query processing and/or processed in parallel.... > >Am I totally wrong? Where can I find real pure ODBMSs tests results as the >ones existing for relational DBMSs - http://www.tpc.org/? > >No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts >are enough to make decision to use OODBMS or RDBMS for a certain business >area/task - I'd use the one best suited to solve/develop certain >tasks/projects as effective and as quickly as possible... > >Shamil > >----- Original Message ----- >From: "Gustav Brock" >To: >Sent: Monday, October 17, 2005 12:19 AM >Subject: Re: [AccessD] Data interface The best way > > >Hi Shamil > >Thanks for your snippets and thoughts. > >I think these fellows hit the point. I would like to believe in the >value of full O/R mapping - and maybe LINQ will make this come true. >But when I study my latest task (with an Jet backend, not SQL Server) >with some quite complicated statistical calculations using dozens of >highly optimized queries - which I probably would not have been able to >construct without the query designer of Access - I have a hard time >imagining how this should have been accomplished in pure OO code without >running at a crawl ... unless, of course, if the objects operate >directly in the engine as the case is for Intersystems' Cach? engine. > >But I would like to be positively surprised ... > >/gustav > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Tue Oct 18 17:41:11 2005 From: dmcafee at pacbell.net (David Mcafee) Date: Tue, 18 Oct 2005 15:41:11 -0700 (PDT) Subject: [AccessD] Does anyone know how to gets tables from an PPC using ASP.Net? Message-ID: <20051018224111.91172.qmail@web80804.mail.yahoo.com> Does anyone know how to gets tables from an iPAQ using ASP.Net? I have an existing GUI program that was developed in C# that creates a temp Access MDB then retrieves data from a Pocket PC (PPC/ iPAQ) and inserts the data into the mdb. It uses some Active Sync dlls called DEVICETODESKTOP and DESKTOPTODEVICE. THe C# program then sends new data to a SQL BE and retreives some data back to the mdb, then finally sends the data back to the PPC. This program has worked great for a couple of years and has recently been awarded to some new distributors who we do not want access out VPN. My employer want me to "webify" this program and create it in ASP.Net. I was able to import the C# classes into the ASP.Net project, but the API call class does not compile. I believe this is due to the fact that the IIS server does not see the iPAQ. My question is, does anyone know of a way to ASP.Net to read the tables from the PPC either into temp Access mdbs or into an XML file? I'm willing to work in either VB.Net or C# dialect of ASP.Net Someone told me that I would probably have to create an active X control to do this task, which I dont know how to do either :( Does anyone have any ideas? TIA, David From martyconnelly at shaw.ca Tue Oct 18 18:47:25 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Tue, 18 Oct 2005 16:47:25 -0700 Subject: [AccessD] Data interface The best way References: <4355581B.3080102@shaw.ca> <001401c5d42d$24c56420$6401a8c0@fincomplex.spb.ru> Message-ID: <4355898D.4000307@shaw.ca> I suppose CodeBase would run on QNX, but I did it the hard way, ran it on 3.1 DOS emulator which sat on top of QNX. It was sort of handy as C compilers were slow in those days. We just transfered the compiler build via a network of PC's and did it on another box. So we could continue on with something else. QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, I think a couple went over to work with Zanthe Software in Ottawa, the guys who built the Zim database. Nowadays you don't come across QNX unless you are fairly tied into the hardware Most of the machines that did film or CD or stick to prints in your local photoshop had a QNX OS. running a couple of networked pc's Shamil Salakhetdinov wrote: ><<< >Runs on Macs, Linux, Unix, Windows, PDA's, Win CE > > >:) > >Well, and I used this one since DOS 2.x(?) IBM PC XT 8MHz 640KB RAM/10GB >HDD, Turbo C 1.0 - it was called first dbVista then Raima Data Manager and >now RDM Embedded: >http://www.raimabenelux.com/Products/RDM_embedded/default.htm > >The fastest on Earth probably embedded DBMS :) >Has server vesion too. >Has ODBC. >Has query language a la SQL. >Has advanced object mapping since year 1990 or earlier (C++). >Runs on all OSes you listed + QNX etc. - in fact it runs on any OS, which >can compile C - it is delivered as binary executables and libraries for >certain OS + full C source code i.e. it's written completely on C. > >etc.etc. > >It uses ISAM-like/VSAM-like indexed files and double-linked lists. > >But it can't compete with MS SQL and even with MS Access these days and so >it occupies rather narrow niche of embedded DBMSs.... > >...my colleague uses it for many years for an advanced lightning fast >payroll system, which was first programmed on MS DOS and now runs under MS >Windows (any version) and under IIS - one example how C/C++ programminng >saves one's code assets forever.... > >Shamil > >----- Original Message ----- >From: "MartyConnelly" >To: "Access Developers discussion and problem solving" > >Sent: Wednesday, October 19, 2005 12:16 AM >Subject: Re: [AccessD] Data interface The best way > > >Here is one DB I have used on and off since DOS 3.2 >CodeBase from Sequitur Software >http://www.codebase.com/products/ >Runs on Macs, Linux, Unix, Windows, PDA's, Win CE >Really small foot print and price, expands to Terabytes. >Lots of ODBC drivers. >Very Fast. >Oh yes, it is an Excel VBA interface so I guess it goes to Access too >I think it is still ISAM based. > >Gustav Brock wrote: > > > >>Hi Shamil >> >>You are right - there is no single answer to all needs and that counts for >> >> >db engines as well. > > >>I have no idea where, say, Cach? is faster than other solutions, if any, >> >> >but I'm sure in _some_ cases it will be. It is difficult to say as >Intersystems as well as other suppliers are very reluctant to publish >comparable benchmarks which reflect real scenarios. > > >>You can also turn it upside down; in some cases speed is not that important >> >> >and for such scenarios it an object design down to the lowest level could be >preferable. > > >>As for sheer speed using code, some years ago I posted to the list a >> >> >routine for recursive lookup (self referencing a table) using DAO only - and >it ran at a speed that surprised me. > > >>/gustav >> >> >> >> >> >>>>>shamil at users.mns.ru 17-10-2005 01:22 >>> >>>>> >>>>> >>>>> >>>>> >>Gustav, >> >>But as far as I understand well thought through and properly applied O/R >> >> >mapping doesn't reject "dozens of highly optimized queries" - not at all. > > >>With active O/R mapping (including LINQ) Queries/SPs will continue to do >> >> >their "dirty&heavy duty" optimized and effective work and the results of >this work > > >>will be mapped on object level by O/R mapping and if needed these results >> >> >will be polished on this level and then transmitted to the >presentation/visual level/layer/tier... > > >><<< >>unless, of course, if the objects operate directly in the engine as the >> >> >case is for Intersystems' Cach? engine. > > >>Gustav, I didn't see/try Cach? - so I can be wrong but I think/guess that >> >> >nowadays "pure object DBDMs/engines" can't be as effective as relational > > >>databases are for real commercial hundred gygabytes/terabytes size >> >> >databases. I mean they can be as effective or more for some special, well >tuned cases or for the cases when the whole object database is loaded in >memory. But the latter effect is a "deja vue" from "good old" Hierarchical >data model and Network(CODASYL) data model based DBMSs times. But even in >memory processing for ad-hoc "chaotic" queries for object DBMSs is expected >(here) to be considerably slower that similar querying of in memory >relational DBMS's database because nowadays relational databases use so >advanced database query processing optimization. > > >>Yes, as far as I may guess there are many tasks and real applications in >> >> >many business areas where pure object DBMSs will be OK and effective used >for development even these days but this still will be a limited(/niche) use >comparing with modern relational DBMSs broad and effective applicability.... > > >>There is no miracles in this World (or I'm missing them?) - the only way >> >> >for effective data processing/querying this (IT) industry and computer >science found for the last 40+ years is by: > > >>- 1. (fine) tuning physical location/placement of the data to be queried to >>make it located as effective/close as possible for the set of queries >>executed more often; >>- 2. introducing as much as possible parallelism in query execution; >>- 3. creating auxiliary indexing data structures; >>- 4. putting/(pre-)loading as much as possible data to be processed into >>speedy RAM. >> >>That's all? >>And the numbering above is made according to how these query optimization >>techniques/mainstream ideas were emering/evoloving: >> >>1st: Hierarchical and then Network(CODASYL) datamodel DBMS - the computer >>memory was limited, both external and RAM, CPUs were rather slow, to build >>multi-processor units was a very expensive idea - so the only commercially >>approved optimization was #1. >>2nd: First supercomputers/multi-CPU computers appeared, more speedy memory >>become reality - commercially approved idea of parallel query execution >> >> >(#2) > > >>arrived but got limited implementation because of not enough experience and >>still expensive hardware; >>3rd: Relational model investigation resulted in commercially approved >>RDBMs - the only (/the main way) to optimize query execution in RDBMS is by >>using indexes - #3 (together with #2 - still limited by hardware) and #1 >> >> >are > > >>in use in RDBMS; >>4th: Cheap RAM memory becomes reality - idea #4 is getting into mainstream >>together with ideas #3 and #2(multi-core processors) and #1 is still here >>and even getting more use in such advanced modern DBMS like MS SQL 2005... >> >>I think that the times of the broad and effective use of pure object DBMSs >>are not yet arrived. >>They should come of course sooner or later - and it may happen that MS >>evolutional approach will bring the best results sooner than the other >>"revolutionary" approaches. I can be wrong... >> >>I did make a project several years ago(MS Access/mdb), which have had a lot >>of complicated queries, with many indexes on the base tables optimized for >>these queries etc. - we found it slow (not speedy enough for the target >>audience). Then most of the queries were dropped and code was rewritten to >>(pre)load most of data in memory - it started to work a matter of magnitude >>or more faster. The database had not that much tables - around 15 but the >>total quantity of test records was about half a million. >> >>This real life story above shows how far superior is in memory data >>processing over modern relational DBMSs query processing(I think MS Access >>is a good representative case of relational DBMS here in this story because >>database wasn't big). But as I noted above unordered "chaotic" in memory >>processing for ad-hoc queries for a general case promise to be (much) >> >> >slower > > >>than similar ad-hoc querying of an advanced modern relational DBMSs >> >> >provided > > >>most of the data to query is cached in memory by RDBMS engine and modern >>query optimization techniques are used by this engine.... >> >>And I think that nowadays "true object oriented DBMSs" use these "tricks": >> >>- they in their tests do not use commercail size (terabytes) databases >>and/or >>- they are used in a very specialized business areas/use case scenarios >>where physical data structures are optimized to have most of the data >>preloaded(cached) during query processing and/or processed in parallel.... >> >>Am I totally wrong? Where can I find real pure ODBMSs tests results as the >>ones existing for relational DBMSs - http://www.tpc.org/? >> >>No, my intention is not to start "OODBMS vs. RDMS flame" here - pure facts >>are enough to make decision to use OODBMS or RDBMS for a certain business >>area/task - I'd use the one best suited to solve/develop certain >>tasks/projects as effective and as quickly as possible... >> >>Shamil >> >>----- Original Message ----- >>From: "Gustav Brock" >>To: >>Sent: Monday, October 17, 2005 12:19 AM >>Subject: Re: [AccessD] Data interface The best way >> >> >>Hi Shamil >> >>Thanks for your snippets and thoughts. >> >>I think these fellows hit the point. I would like to believe in the >>value of full O/R mapping - and maybe LINQ will make this come true. >>But when I study my latest task (with an Jet backend, not SQL Server) >>with some quite complicated statistical calculations using dozens of >>highly optimized queries - which I probably would not have been able to >>construct without the query designer of Access - I have a hard time >>imagining how this should have been accomplished in pure OO code without >>running at a crawl ... unless, of course, if the objects operate >>directly in the engine as the case is for Intersystems' Cach? engine. >> >>But I would like to be positively surprised ... >> >>/gustav >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From dwaters at usinternet.com Tue Oct 18 18:50:01 2005 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 18 Oct 2005 18:50:01 -0500 Subject: [AccessD] Call AfterUpdate Event From Module In-Reply-To: <8846582.1129620203813.JavaMail.root@sniper23> Message-ID: <000301c5d43e$a82f9a40$0200a8c0@danwaters> Thanks Gustav! You may not believe this, but I only like JC a lot. After I read his writings on WithEvents, I decided I just couldn't go any further with the relationship I thought we had. Dan ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 18, 2005 2:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Call AfterUpdate Event From Module Hi Dan Not really, as you would have to pass the name of the function as a variable which you can't (well, sometimes, using Eval() but that can quickly become a mess). One method is to move all the AfterUpdate subfunctions to a single AfterUpdate sub function: Public Sub ControlAfterUpdate(ByVal strControlName As String) Select Case strControlName Case "txtDate1" Call txtDate1_AfterUpdate Case "txtDate2" Call txtDate2_AfterUpdate '... etc. End Select End Sub This sub you can call from the outside. Not fancy but it works. The fancy method is to implement WithEvents. Highly recommended. Articles on this can be found on our own site, at Shamil's site, and - if you don't fall that much in love with JC that you just can't move beyond his title page - at John Colby's site. /gustav >>> dwaters at usinternet.com 18-10-2005 00:39 >>> I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 18 19:42:56 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 18 Oct 2005 20:42:56 -0400 Subject: [AccessD] Call AfterUpdate Event From Module In-Reply-To: <000301c5d43e$a82f9a40$0200a8c0@danwaters> Message-ID: <00c101c5d446$0c4f25c0$667aa8c0@ColbyM6805> ROTFLMAO. You guys are stinkers. I have NO IDEA who that handsome guy is in the picture, I just borrowed his picture to spice up my site. You know like the picture frames you buy in a store. Cute girl, you just leave her picture in there and put it on the mantle. I was going to put a cute girl on my site but my wife objected. I was going to put my wife on the site, but the cute girl objected. That guy doesn't even know his picture is up there so no objections so far. And yea, I was going to suggest Withevents but didn't want to get into it. There is lots of existing info on my site for those who can manage to move beyond the title page. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Tuesday, October 18, 2005 7:50 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Call AfterUpdate Event From Module Thanks Gustav! You may not believe this, but I only like JC a lot. After I read his writings on WithEvents, I decided I just couldn't go any further with the relationship I thought we had. Dan ;-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 18, 2005 2:15 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Call AfterUpdate Event From Module Hi Dan Not really, as you would have to pass the name of the function as a variable which you can't (well, sometimes, using Eval() but that can quickly become a mess). One method is to move all the AfterUpdate subfunctions to a single AfterUpdate sub function: Public Sub ControlAfterUpdate(ByVal strControlName As String) Select Case strControlName Case "txtDate1" Call txtDate1_AfterUpdate Case "txtDate2" Call txtDate2_AfterUpdate '... etc. End Select End Sub This sub you can call from the outside. Not fancy but it works. The fancy method is to implement WithEvents. Highly recommended. Articles on this can be found on our own site, at Shamil's site, and - if you don't fall that much in love with JC that you just can't move beyond his title page - at John Colby's site. /gustav >>> dwaters at usinternet.com 18-10-2005 00:39 >>> I need to call the field's AfterUpdate procedure (which is now Public) to perform validation, which is different for different date fields. Is there a way to do this? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Tue Oct 18 21:27:45 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Tue, 18 Oct 2005 19:27:45 -0700 Subject: [AccessD] Null Values Message-ID: <000001c5d454$b16980b0$0a01a8c0@desktop> Is there a tool or trick to locate and count null fields in a table. I am doing data quality checks on a new project and have an hour into about half the table building and running manual queries Thanks Joe From wdhindman at bellsouth.net Tue Oct 18 22:15:38 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Tue, 18 Oct 2005 23:15:38 -0400 Subject: [AccessD] Null Values References: <000001c5d454$b16980b0$0a01a8c0@desktop> Message-ID: <00fb01c5d45b$614bfed0$6101a8c0@JISREGISTRATION.local> http://www.cleandatasystems.com/ William ----- Original Message ----- From: "Joe Hecht" To: "'Access Developers discussion and problem solving'" Sent: Tuesday, October 18, 2005 10:27 PM Subject: [AccessD] Null Values > Is there a tool or trick to locate and count null fields in a table. > > > > I am doing data quality checks on a new project and have an hour into > about > half the table building and running manual queries > > > > > > Thanks > > > > Joe > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From artful at rogers.com Tue Oct 18 23:24:00 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 19 Oct 2005 00:24:00 -0400 Subject: [AccessD] Wizard Generator for Access In-Reply-To: Message-ID: <200510190423.j9J4NnJ25813@databaseadvisors.com> Years ago I grabbed an Access wizard generator that was MS produced, I believe. I cannot find it on any of my backup CDs. Does anyone know the tool I am talking about... it had strengths but decided weaknesses, most specifically that you could not gen two wizards within a single app. Does anyone have a link to a wiz-generator... I have need to gen about five wizards in my current app. The aforementioned tool will not suffice, even if I could find it, but somebody somewhere must have written a better tool since then. Pointers appreciated! Thx, Arthur From artful at rogers.com Tue Oct 18 23:26:57 2005 From: artful at rogers.com (Arthur Fuller) Date: Wed, 19 Oct 2005 00:26:57 -0400 Subject: [AccessD] Re-Invent The Wheel?? In-Reply-To: <002b01c5d3f3$5b697a00$667aa8c0@ColbyM6805> Message-ID: <200510190426.j9J4QcJ26457@databaseadvisors.com> The only thing that I would add is that everything should be driven from named queries not tables, so as to make the port to SQL Server easier. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 18, 2005 10:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Re-Invent The Wheel?? LOL, yep. And that is exactly why a table driven method is my goal. You want delimited? NO PROBLEM. You want Fixed width? NO PROBLEM. You want fixed width delimited? NO PROBLEM. You want fries with that? Some idiot is going to ask for it. John W. Colby www.ColbyConsulting.com From Gustav at cactus.dk Wed Oct 19 06:12:36 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Oct 2005 13:12:36 +0200 Subject: [AccessD] datatype mismatch in query Message-ID: Hi Pedro It sounds like a validation rule for DebID is kicking in. Obtain a specification for this. If that is not possible, change the query to a normal select query and study the records. Or add a filter to the append query to select only a subset of the records. Then make this smaller and smaller until you haved focused some of the records that breaks the validation. /gustav >>> pedro at plex.nl 18-10-2005 22:46 >>> Hello Gustav and others, when using Val() or CLng(), i get a message, that says: Not all records in the append query can be added: ...... records as a result of conflict in validationrules. How can this be solved? Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 17, 2005 9:33 PM Subject: Re: [AccessD] datatype mismatch in query > Hi Pedro > > Try comparing numbers too: > > WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > You can use SQL-native VAL() for CLng(). > > /gustav > >>>> pedro at plex.nl 17-10-2005 21:26 >>> > Hello All, > > i am using the following append-query to update a table > (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is > linked to this database: > > SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) > SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf > FROM DEBSTM IN 'C:\ThisDatabase.mdb' > WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM > tblDebiteurAlgemeen); > > When using this query, i get an error. Datatype mismatch. > This is because field DebID is Number and field Nummer is text. > Although field Nummer is text, the values are al numbers. Because this > field is in a commercial database, i can't change the field type. Is there > another way?? > > Pedro Janssen From shamil at users.mns.ru Wed Oct 19 06:47:38 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 19 Oct 2005 15:47:38 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <005301c5d4a5$7ba7bd10$6401a8c0@fincomplex.spb.ru> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav <<< tail trimmed>>> From shamil at users.mns.ru Wed Oct 19 06:10:17 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 19 Oct 2005 15:10:17 +0400 Subject: [AccessD] Data interface The best way References: <4355581B.3080102@shaw.ca><001401c5d42d$24c56420$6401a8c0@fincomplex.spb.ru> <4355898D.4000307@shaw.ca> Message-ID: <005201c5d4a5$7b819770$6401a8c0@fincomplex.spb.ru> <<< QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, >>> I didn't work with it - I did olny plan to work with it - that was a beauty OS - one 1.44MB floppy AFAIKR installation diskette for an OS with advanced graphical interface! It was written on assembler as far as I understood. Shamil ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 3:47 AM Subject: Re: [AccessD] Data interface The best way I suppose CodeBase would run on QNX, but I did it the hard way, ran it on 3.1 DOS emulator which sat on top of QNX. It was sort of handy as C compilers were slow in those days. We just transfered the compiler build via a network of PC's and did it on another box. So we could continue on with something else. QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, I think a couple went over to work with Zanthe Software in Ottawa, the guys who built the Zim database. Nowadays you don't come across QNX unless you are fairly tied into the hardware Most of the machines that did film or CD or stick to prints in your local photoshop had a QNX OS. running a couple of networked pc's Shamil Salakhetdinov wrote: ><<< >Runs on Macs, Linux, Unix, Windows, PDA's, Win CE > > >:) > >Well, and I used this one since DOS 2.x(?) IBM PC XT 8MHz 640KB RAM/10GB >HDD, Turbo C 1.0 - it was called first dbVista then Raima Data Manager and >now RDM Embedded: >http://www.raimabenelux.com/Products/RDM_embedded/default.htm > >The fastest on Earth probably embedded DBMS :) >Has server vesion too. >Has ODBC. >Has query language a la SQL. >Has advanced object mapping since year 1990 or earlier (C++). >Runs on all OSes you listed + QNX etc. - in fact it runs on any OS, which >can compile C - it is delivered as binary executables and libraries for >certain OS + full C source code i.e. it's written completely on C. > >etc.etc. > >It uses ISAM-like/VSAM-like indexed files and double-linked lists. > >But it can't compete with MS SQL and even with MS Access these days and so >it occupies rather narrow niche of embedded DBMSs.... > >...my colleague uses it for many years for an advanced lightning fast >payroll system, which was first programmed on MS DOS and now runs under MS >Windows (any version) and under IIS - one example how C/C++ programminng >saves one's code assets forever.... > >Shamil <<< tail trimmed>>> From jeffrey.demulling at usbank.com Wed Oct 19 07:53:46 2005 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 19 Oct 2005 07:53:46 -0500 Subject: [AccessD] Wizard Generator for Access In-Reply-To: <200510190423.j9J4NnJ25813@databaseadvisors.com> Message-ID: Found the following article. You will want to look near the bottom in the section titled "Side Bar - The Microsoft Wizard Builder Wizard" to find a link to what you are actually looking for. http://vb123.com/Toolshed/00_Docs/buildwizards.htm Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com ------------------------------------------------------------------------------ Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================== From jeffrey.demulling at usbank.com Wed Oct 19 07:55:58 2005 From: jeffrey.demulling at usbank.com (jeffrey.demulling at usbank.com) Date: Wed, 19 Oct 2005 07:55:58 -0500 Subject: [AccessD] Wizard Generator for Access In-Reply-To: <200510190423.j9J4NnJ25813@databaseadvisors.com> Message-ID: The link in the article did not work so here is one that does. http://support.microsoft.com/kb/q172184/ Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com ------------------------------------------------------------------------------ Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================== From bchacc at san.rr.com Wed Oct 19 09:59:05 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 19 Oct 2005 07:59:05 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Message-ID: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From Gustav at cactus.dk Wed Oct 19 10:08:20 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 19 Oct 2005 17:08:20 +0200 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Message-ID: Hi Rocky You forgot the link: http://www.eff.org/news/archives/2005_10.php#004063 /gustav From Jim.Hale at FleetPride.com Wed Oct 19 10:24:02 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 19 Oct 2005 10:24:02 -0500 Subject: [AccessD] OT: Group cracks code hidden in printers to ID coun terfeiters Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337931@corp-es01.fleetpride.com> The report on NPR I heard yesterday says that similar identification capabilities exist for digital cameras and scanners. Not necessarily a hidden code but characteristics that make each photo unique much like marks on a bullet or the old typewriter forensics. Jim Hale -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 19, 2005 9:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From john at winhaven.net Wed Oct 19 10:36:04 2005 From: john at winhaven.net (John Bartow) Date: Wed, 19 Oct 2005 10:36:04 -0500 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters In-Reply-To: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Message-ID: <005701c5d4c2$d1947ac0$7501a8c0@ScuzzPaq> So, we should all print solid yellow backgrounds on our top secret documents? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. From harkinsss at bellsouth.net Wed Oct 19 10:37:24 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 19 Oct 2005 11:37:24 -0400 Subject: [AccessD] OT: Group cracks code hidden in printers toIDcounterfeiters In-Reply-To: <005701c5d4c2$d1947ac0$7501a8c0@ScuzzPaq> Message-ID: <20051019153723.EJZZ24528.ibm56aec.bellsouth.net@SUSANONE> No, on your money silly! ;) Susan H. So, we should all print solid yellow backgrounds on our top secret documents? ;o) From bchacc at san.rr.com Wed Oct 19 10:48:27 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 19 Oct 2005 08:48:27 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers toIDcounterfeiters References: <005701c5d4c2$d1947ac0$7501a8c0@ScuzzPaq> Message-ID: <01fb01c5d4c4$8c6a1c50$6501a8c0@HAL9004> Someday I hope to have a top secret document. Rocky ----- Original Message ----- From: "John Bartow" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 19, 2005 8:36 AM Subject: Re: [AccessD] OT: Group cracks code hidden in printers toIDcounterfeiters > So, we should all print solid yellow backgrounds on our top secret > documents? > ;o) > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > > Last year, an article in PC World magazine pointed out that printouts from > many color laser printers contained yellow dots scattered across the page, > viewable only with a special kind of flashlight. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jimdettman at earthlink.net Wed Oct 19 10:55:01 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Wed, 19 Oct 2005 11:55:01 -0400 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters In-Reply-To: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Message-ID: Rocky, That's been around for a while. Also back doors into most products that offer to encrypt your data from prying eyes. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 19, 2005 10:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Oct 19 10:55:35 2005 From: john at winhaven.net (John Bartow) Date: Wed, 19 Oct 2005 10:55:35 -0500 Subject: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters In-Reply-To: <01fb01c5d4c4$8c6a1c50$6501a8c0@HAL9004> Message-ID: <005901c5d4c5$8af90ab0$7501a8c0@ScuzzPaq> I just sent you one. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 19, 2005 10:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters Someday I hope to have a top secret document. Rocky From DElam at jenkens.com Wed Oct 19 11:03:26 2005 From: DElam at jenkens.com (Elam, Debbie) Date: Wed, 19 Oct 2005 11:03:26 -0500 Subject: [AccessD] OT: Group cracks code hidden in printers to ID coun terfeiters Message-ID: <7B1961ED924D1A459E378C9B1BB22B4C0492CF2D@natexch.jenkens.com> Definitely not conspiracy. Hunter had to fill out lots of documents to get a particularly good printer for Progrssive. The quality was high enough to do good counterfeits and he learned that in addition to the paperwork to buy this thing, there was also the microscopic encoding. It was meant as a warning so they were not careless about unauthorized people using the printer because they would take the heat. Debbie -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 19, 2005 9:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com - JENKENS & GILCHRIST E-MAIL NOTICE - This transmission may be: (1) subject to the Attorney-Client Privilege, (2) an attorney work product, or (3) strictly confidential. If you are not the intended recipient of this message, you may not disclose, print, copy or disseminate this information. If you have received this in error, please reply and notify the sender (only) and delete the message. Unauthorized interception of this e-mail is a violation of federal criminal law. This communication does not reflect an intention by the sender or the sender's client or principal to conduct a transaction or make any agreement by electronic means. Nothing contained in this message or in any attachment shall satisfy the requirements for a writing, and nothing contained herein shall constitute a contract or electronic signature under the Electronic Signatures in Global and National Commerce Act, any version of the Uniform Electronic Transactions Act or any other statute governing electronic transactions. From prodevmg at yahoo.com Wed Oct 19 11:00:19 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 09:00:19 -0700 (PDT) Subject: [AccessD] Automatically Sending Mail on Office XP ives message Message-ID: <20051019160019.95954.qmail@web33105.mail.mud.yahoo.com> Ok, I am visiting this age old problem again. We have Office XP on a machine that automatically sends out emails from windows May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From prodevmg at yahoo.com Wed Oct 19 11:04:20 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 09:04:20 -0700 (PDT) Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ives message Message-ID: <20051019160421.81874.qmail@web33104.mail.mud.yahoo.com> Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From Robin at rolledgold.net Wed Oct 19 11:11:29 2005 From: Robin at rolledgold.net (Robin ) Date: Wed, 19 Oct 2005 17:11:29 +0100 Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Message-ID: <560E2B80EC8F624B93A87B943B7A9CD52E2C04@rgiserv.rg.local> Lonnie, Have a look at this http://www.outlookcode.com/d/sec.htm Unforunately it's far from simple to implement in any real world scenario - the temptation is just to disable all automation security - even then some calls will still fire the security prompt unless you got to digital signing (Outlook 2002/3 only) Alternative is to recode using CDOSYS as mentioned in this article or redemptiom which you know about..... Rgds Robin Lawrence -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 19 October 2005 17:04 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Wed Oct 19 11:29:51 2005 From: developer at ultradnt.com (Steve Conklin) Date: Wed, 19 Oct 2005 12:29:51 -0400 Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage In-Reply-To: <20051019160421.81874.qmail@web33104.mail.mud.yahoo.com> Message-ID: <200510191629.j9JGTnT37731@ultradnt.com> I had the same req. a few months ago ... eventually found it; the trick was to search on 'Outlook' instead of 'Exchange': Outlook E-mail Security Administrative Package site: http://www.microsoft.com/downloads/details.aspx?FamilyID=15673dc4-2406-4946- aa02-8a8b0e0165b0&DisplayLang=en#instructions Hth Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Wednesday, October 19, 2005 12:04 PM To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Oct 19 11:30:52 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 09:30:52 -0700 (PDT) Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage In-Reply-To: <560E2B80EC8F624B93A87B943B7A9CD52E2C04@rgiserv.rg.local> Message-ID: <20051019163052.36020.qmail@web33101.mail.mud.yahoo.com> Thanks Robin. We had an IT Manager that had some very unorthadox ways of doing things. He was able to disable it on one of our computers. He no longer works here and is kind of disgruntled. I did email him and got a short reply... It was settings that where inside the Public Folders that where read by Microsoft Office on what to do and not to do with security concerns Do you or anyone else have a clue what he did? I looked in my public folders properties in outlook and did not see such a setting. Is it at the Exhange Server level? Thanks again for a prompt response. Robin wrote: Lonnie, Have a look at this http://www.outlookcode.com/d/sec.htm Unforunately it's far from simple to implement in any real world scenario - the temptation is just to disable all automation security - even then some calls will still fire the security prompt unless you got to digital signing (Outlook 2002/3 only) Alternative is to recode using CDOSYS as mentioned in this article or redemptiom which you know about..... Rgds Robin Lawrence -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 19 October 2005 17:04 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From DWUTKA at marlow.com Wed Oct 19 12:15:05 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Oct 2005 12:15:05 -0500 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcount erfeiters Message-ID: <123701F54509D9119A4F00D0B7473490EA5E86@main2.marlow.com> No, we should all file a class action lawsuit, for using COLOR INK when we print black and white documents!!! Those catridges ain't cheap! Drew -----Original Message----- From: John Bartow [mailto:john at winhaven.net] Sent: Wednesday, October 19, 2005 10:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters So, we should all print solid yellow backgrounds on our top secret documents? ;o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 19 12:17:20 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Oct 2005 12:17:20 -0500 Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. Message-ID: <123701F54509D9119A4F00D0B7473490EA5E87@main2.marlow.com> Just a thought, instead of using the interface for the audit, use triggers instead, to create your audit trail. Triggers on the SQL Server would be a much more 'bullet proof' approach for an actual audit trail. Drew -----Original Message----- From: Paul Hartland (ISHARP) [mailto:paul.hartland at isharp.co.uk] Sent: Tuesday, October 18, 2005 3:39 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] OT - Visual Basic Recordset & Recordset Clone. To all, I am writing a particularly small application using Visual Basic 6.0 and SQL Server to keep track of our client costs (what we charge per man day etc etc)....and have to keep an audit trail of anything that gets changed, I thought I would try a recordset clone approach based on the following: 1. User finds the client, and recordset stored in an ADODB data control. 2. Before user does anything get a clone of the recordset (read only). 3. When the user finds another record, or selects another menu option. Loop through the fields to look for the differences... This is where I am a bit confused the recordset clone seems to also be updating even though I have told it to be read only..... Am I going about this the totally wrong way ?, is there a better way ?....Can someone offer me advice and/or sample code to how they would go about checking each individual field to see if it's been changed.... The code below just uses a msgbox to display on screen (after the ADODB.Recordset.Update has processed) (rsCheck is the clone) For intFld = 0 To rsCheck.Fields.Count - 2 MsgBox rsCheck.Fields(intFld).Name & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld).Name & vbCrLf & _ rsCheck.Fields(intFld) & vbCrLf & _ frmCBClient.ADO_Client.Recordset.Fields(intFld) Next intFld Thanks in advance for any help on this Paul Hartland -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 12:26:08 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 10:26:08 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <005301c5d4a5$7ba7bd10$6401a8c0@fincomplex.spb.ru> Message-ID: <012a01c5d4d2$3143e140$017ba8c0@xpserver> I have been playing with Cach? recently and found the database creation a very interesting and refreshing. Totally OOPS (Still getting my head around that one.) I have just been following the tutorials but tried some data importing the other night and it seems to run very fast... 370,000 records and the data searches are basically instantaneous. Nothing unusual for a major DB but the interesting thing is that I did not have to specify a database or table or field. Now the next big hurdle is how this can be attached to Access. (A friend likened it to towing a battle-ship with a VW.) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, October 19, 2005 4:48 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav <<< tail trimmed>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Wed Oct 19 12:22:55 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Oct 2005 12:22:55 -0500 Subject: [AccessD] Why 255? Message-ID: <123701F54509D9119A4F00D0B7473490EA5E88@main2.marlow.com> And just for an example Lonnie, the size limit of a text field. It's 255. When Jet actually writes the data for a text field, it writes the first byte to represent the size of that field. For example, if you had a table like this: Field1: Happy Smiles A Howdy, how are you? Inside the .mdb file itself, you would have this information: (I will use Asc(*) to represent a byte with the value represented by the asterick) Asc(5)HappyAsc(6)SmilesAsc(1)AAsc(0)Asc(19)Howdy, how are you? That way, when Jet is reading the table, it reads the first byte, then it reads that number of following bytes to retrieve the data for that particular field. Thus the limit of 255 characters in a text field. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, October 18, 2005 12:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Why 255? I knew that was some cool geek explanation. I love this stuff. Gary Kjos wrote:Hi Lonnie, Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the largest number you can express in a single byte GK On 10/18/05, Lonnie Johnson wrote: > I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? > > Just curious. > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 12:31:10 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 10:31:10 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <005201c5d4a5$7b819770$6401a8c0@fincomplex.spb.ru> Message-ID: <012b01c5d4d2$e5bf0910$017ba8c0@xpserver> A good friend taught with QNX up at the local college, last year, in a course on designing 'Embedded Systems'. He described it as the ' the antithesis of Windows'. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, October 19, 2005 4:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way <<< QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, >>> I didn't work with it - I did olny plan to work with it - that was a beauty OS - one 1.44MB floppy AFAIKR installation diskette for an OS with advanced graphical interface! It was written on assembler as far as I understood. Shamil ----- Original Message ----- From: "MartyConnelly" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 3:47 AM Subject: Re: [AccessD] Data interface The best way I suppose CodeBase would run on QNX, but I did it the hard way, ran it on 3.1 DOS emulator which sat on top of QNX. It was sort of handy as C compilers were slow in those days. We just transfered the compiler build via a network of PC's and did it on another box. So we could continue on with something else. QNX was built in Ottawa by some guys who left Bell Northern Labs. I probably knew some of the original designers, I think a couple went over to work with Zanthe Software in Ottawa, the guys who built the Zim database. Nowadays you don't come across QNX unless you are fairly tied into the hardware Most of the machines that did film or CD or stick to prints in your local photoshop had a QNX OS. running a couple of networked pc's Shamil Salakhetdinov wrote: ><<< >Runs on Macs, Linux, Unix, Windows, PDA's, Win CE > > >:) > >Well, and I used this one since DOS 2.x(?) IBM PC XT 8MHz 640KB RAM/10GB >HDD, Turbo C 1.0 - it was called first dbVista then Raima Data Manager and >now RDM Embedded: >http://www.raimabenelux.com/Products/RDM_embedded/default.htm > >The fastest on Earth probably embedded DBMS :) >Has server vesion too. >Has ODBC. >Has query language a la SQL. >Has advanced object mapping since year 1990 or earlier (C++). >Runs on all OSes you listed + QNX etc. - in fact it runs on any OS, which >can compile C - it is delivered as binary executables and libraries for >certain OS + full C source code i.e. it's written completely on C. > >etc.etc. > >It uses ISAM-like/VSAM-like indexed files and double-linked lists. > >But it can't compete with MS SQL and even with MS Access these days and so >it occupies rather narrow niche of embedded DBMSs.... > >...my colleague uses it for many years for an advanced lightning fast >payroll system, which was first programmed on MS DOS and now runs under MS >Windows (any version) and under IIS - one example how C/C++ programminng >saves one's code assets forever.... > >Shamil <<< tail trimmed>>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 12:33:02 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 10:33:02 -0700 Subject: [AccessD] Wizard Generator for Access In-Reply-To: Message-ID: <012c01c5d4d3$27fb5d60$017ba8c0@xpserver> Jeffery, A very interesting article. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of jeffrey.demulling at usbank.com Sent: Wednesday, October 19, 2005 5:54 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wizard Generator for Access Found the following article. You will want to look near the bottom in the section titled "Side Bar - The Microsoft Wizard Builder Wizard" to find a link to what you are actually looking for. http://vb123.com/Toolshed/00_Docs/buildwizards.htm Jeffrey F. Demulling Project Manager U.S. Bank Corporate Trust Services 60 Livingston Avenue EP-MN-WS3C St. Paul, MN 55107-2292 Ph: 651-495-3925 Fax: 651-495-8103 email: jeffrey.demulling at usbank.com ---------------------------------------------------------------------------- -- Electronic Privacy Notice. This e-mail, and any attachments, contains information that is, or may be, covered by electronic communications privacy laws, and is also confidential and proprietary in nature. If you are not the intended recipient, please be advised that you are legally prohibited from retaining, using, copying, distributing, or otherwise disclosing this information in any manner. Instead, please reply to the sender that you have received this communication in error, and then immediately delete it. Thank you in advance for your cooperation. ============================================================================ == -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 12:39:58 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 10:39:58 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters In-Reply-To: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Message-ID: <012e01c5d4d4$26c86630$017ba8c0@xpserver> I knew it, I knew it. At breakfast this morning my corn flakes were crackling in a Morris code...:-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 19, 2005 7:59 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters Who knew? WASHINGTON - It sounds like a conspiracy theory, but it isn't. The pages coming out of your color printer might contain hidden information that could be used to track you down if you ever cross the U.S. government. Last year, an article in PC World magazine pointed out that printouts from many color laser printers contained yellow dots scattered across the page, viewable only with a special kind of flashlight. The article quoted a senior researcher at Xerox Corp. saying that the dots contain information useful to law-enforcement authorities, a secret digital "license tag" for tracking down criminals. The content of the coded information was supposed to be a secret, available only to agencies looking for counterfeiters who use color printers. Now, the secret is out. Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invisible bar code of sorts that contains the serial number of the printer as well as the date and time a document was printed. With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. The EFF said it has identified similar coding on pages printed from nearly every major printer manufacturer, including Hewlett-Packard Co., though its team has so far cracked the codes for one type of Xerox printer. The U.S. Secret Service acknowledged yesterday that the markings, which are not visible to the human eye, are there, but it played down the use for invading privacy. "It's strictly a countermeasure to prevent illegal activity specific to counterfeiting," agency spokesman Eric Zahren said. "It's to protect our currency and to protect people's hard-earned money." It's unclear whether the yellow-dot codes have ever been used to make an arrest. And no one would say how long the codes have been in use. But Seth Schoen, the EFF technologist who led the organization's research, said he had seen the coding on documents produced by printers that were at least 10 years old. "It seems like someone in the government has managed to have a lot of influence in printing technology," Schoen said. Xerox spokesman Bill McKee confirmed the existence of the hidden codes, but he said the company was simply assisting an agency that asked for help. McKee said the program was part of a cooperation with government agencies, competing manufacturers and a "consortium of banks," but would not provide further details. HP said in a statement that it is involved in anti-counterfeiting measures and supports the cooperation between the printer industry and those who are working to reduce counterfeiting. Schoen said the existence of the encoded information could be a threat to people who live under repressive governments or those who have a legitimate need for privacy. It reminds him, he said, of a program the former Soviet Union once had in place to record sample typewriter printouts in hopes of tracking the origins of underground, self-published literature. "It's disturbing that something on this scale, with so many privacy implications, happened with such a tiny amount of publicity," Schoen said. And it's not as though the information is encrypted in a highly secure fashion, Schoen said. The EFF spent months collecting samples from printers around the world and then handed them off to an intern, who came back with the results in about a week. "We were able to break this code very rapidly," Schoen said. Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Wed Oct 19 13:31:47 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 11:31:47 -0700 (PDT) Subject: [AccessD] (RESND): Automatically Sending Mail...( In-Reply-To: <20051019163052.36020.qmail@web33101.mail.mud.yahoo.com> Message-ID: <20051019183147.23223.qmail@web33111.mail.mud.yahoo.com> Got it. It is in the Exchange Server under Public Folders, then under Outlook Security Settings. Lonnie Johnson wrote: Thanks Robin. We had an IT Manager that had some very unorthadox ways of doing things. He was able to disable it on one of our computers. He no longer works here and is kind of disgruntled. I did email him and got a short reply... It was settings that where inside the Public Folders that where read by Microsoft Office on what to do and not to do with security concerns Do you or anyone else have a clue what he did? I looked in my public folders properties in outlook and did not see such a setting. Is it at the Exhange Server level? Thanks again for a prompt response. Robin wrote: Lonnie, Have a look at this http://www.outlookcode.com/d/sec.htm Unforunately it's far from simple to implement in any real world scenario - the temptation is just to disable all automation security - even then some calls will still fire the security prompt unless you got to digital signing (Outlook 2002/3 only) Alternative is to recode using CDOSYS as mentioned in this article or redemptiom which you know about..... Rgds Robin Lawrence -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: 19 October 2005 17:04 To: 'MS-ACCESS-L at lists.missouri.edu'; AccessDevelopers; ms_access; Access Professionals; AccessD solving' Subject: [AccessD] (RESND): Automatically Sending Mail on Office XP ivesmessage Sorry, I hit the send button to soon on my prior email. Anyway, we installed OfficeXP and Windows XP on a machine that automatically sends emails via Windows Scheduler. We get the message that ...a program is trying to automatically send a mail... I know about redemption, clickyes, vbsendmail and push-the-freakin-button softwares. I thought I saw once where you could do something in the Exchange server to stop this from occuring on a machine. Does anyone have such a solution? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From prodevmg at yahoo.com Wed Oct 19 13:29:48 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Wed, 19 Oct 2005 11:29:48 -0700 (PDT) Subject: [AccessD] Why 255? In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5E88@main2.marlow.com> Message-ID: <20051019182948.73776.qmail@web33115.mail.mud.yahoo.com> Thanks Drew for that breakdown. DWUTKA at marlow.com wrote: And just for an example Lonnie, the size limit of a text field. It's 255. When Jet actually writes the data for a text field, it writes the first byte to represent the size of that field. For example, if you had a table like this: Field1: Happy Smiles A Howdy, how are you? Inside the .mdb file itself, you would have this information: (I will use Asc(*) to represent a byte with the value represented by the asterick) Asc(5)HappyAsc(6)SmilesAsc(1)Astuff>Asc(0)Asc(19)Howdy, how are you? That way, when Jet is reading the table, it reads the first byte, then it reads that number of following bytes to retrieve the data for that particular field. Thus the limit of 255 characters in a text field. Drew -----Original Message----- From: Lonnie Johnson [mailto:prodevmg at yahoo.com] Sent: Tuesday, October 18, 2005 12:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Why 255? I knew that was some cool geek explanation. I love this stuff. Gary Kjos wrote:Hi Lonnie, Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the largest number you can express in a single byte GK On 10/18/05, Lonnie Johnson wrote: > I know this is going to be an easy one for most of you? I am a developer but I don't know this. Why does Access have some limits of 255 for a lot of things such as number of fields in a table, number of concurrent users and so forth? > > Just curious. > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From KIsmert at texassystems.com Wed Oct 19 14:26:08 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Wed, 19 Oct 2005 14:26:08 -0500 Subject: [AccessD] Data interface The best way Message-ID: Shamil, >As for "an object design down to the lowest level" - >this is still questionable here how it should be done - >and it's getting the more questionable what this design >should be the more I'm getting into the modern methods >of OOP&D... Theoretical questions aside, the notable object-data systems doing useful things now are the open-source web frameworks using the Model-View-Controller model. Ruby on Rails is the prime example. Since I have far from a deep understanding of MVC, I will just point out that the data objects are modeled in code, and changes in the data objects are reflected to the table structure of the underlying database. One challenge that future OO DBMS projects will have is equalling or bettering the ease-of-use of these MVC frameworks. One thing is certain: they'll never beat the price. Ruby on Rails http://www.rubyonrails.org/ Django http://www.djangoproject.com/ TurboGears http://www.turbogears.org/ Ruby on Rails Model-View-Controller Article http://en.wikipedia.org/wiki/Ruby_On_Rails -Ken From martyconnelly at shaw.ca Wed Oct 19 14:28:21 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Oct 2005 12:28:21 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers toIDcounterfeiters References: <20051019153723.EJZZ24528.ibm56aec.bellsouth.net@SUSANONE> Message-ID: <43569E55.2020704@shaw.ca> Nope print all your documents on black paper with red lettering, can't be photocopied on black and white copiers. By the way I heard about this a year ago about the yellow dots. But from what I heard it was only on specific makes of copiers at the time. For really Secret documents put "Burn before Reading" on top line. Susan Harkins wrote: >No, on your money silly! ;) > >Susan H. > >So, we should all print solid yellow backgrounds on our top secret >documents? >;o) > > > > -- Marty Connelly Victoria, B.C. Canada From bchacc at san.rr.com Wed Oct 19 14:36:06 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 19 Oct 2005 12:36:06 -0700 Subject: [AccessD] Why 255? References: <20051019182948.73776.qmail@web33115.mail.mud.yahoo.com> Message-ID: <010c01c5d4e4$598afc80$6501a8c0@HAL9004> That's nothing. He's giving everybody breakdowns over on OT. Rocky ----- Original Message ----- From: "Lonnie Johnson" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 11:29 AM Subject: Re: [AccessD] Why 255? > Thanks Drew for that breakdown. > > DWUTKA at marlow.com wrote: > And just for an example Lonnie, the size limit of a text field. It's 255. > When Jet actually writes the data for a text field, it writes the first > byte > to represent the size of that field. For example, if you had a table like > this: > > Field1: > Happy > Smiles > A > > Howdy, how are you? > > Inside the .mdb file itself, you would have this information: (I will use > Asc(*) to represent a byte with the value represented by the asterick) > > Asc(5)HappyAsc(6)SmilesAsc(1)Astuff>Asc(0)Asc(19)Howdy, how are you? > > That way, when Jet is reading the table, it reads the first byte, then it > reads that number of following bytes to retrieve the data for that > particular field. > > Thus the limit of 255 characters in a text field. > > Drew > > > > -----Original Message----- > From: Lonnie Johnson [mailto:prodevmg at yahoo.com] > Sent: Tuesday, October 18, 2005 12:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Why 255? > > > I knew that was some cool geek explanation. I love this stuff. > > Gary Kjos wrote:Hi Lonnie, > > Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the > largest number you can express in a single byte > > GK > > On 10/18/05, Lonnie Johnson > wrote: >> I know this is going to be an easy one for most of you? I am a developer > but I don't know this. Why does Access have some limits of 255 for a lot > of > things such as number of fields in a table, number of concurrent users and > so forth? >> >> Just curious. >> >> >> >> May God bless you beyond your imagination! >> Lonnie Johnson >> ProDev, Professional Development of MS Access Databases >> Visit me at ==> http://www.prodev.us >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------- >> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. >> -- >> 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 > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From DWUTKA at marlow.com Wed Oct 19 15:10:14 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Wed, 19 Oct 2005 15:10:14 -0500 Subject: [AccessD] Why 255? Message-ID: <123701F54509D9119A4F00D0B7473490EA5E97@main2.marlow.com> Hey!!!!! If they aren't on OT, don't give em any hints!!!! What happens on OT stays on OT! Drew -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 19, 2005 2:36 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Why 255? That's nothing. He's giving everybody breakdowns over on OT. Rocky ----- Original Message ----- From: "Lonnie Johnson" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 11:29 AM Subject: Re: [AccessD] Why 255? > Thanks Drew for that breakdown. > > DWUTKA at marlow.com wrote: > And just for an example Lonnie, the size limit of a text field. It's 255. > When Jet actually writes the data for a text field, it writes the first > byte > to represent the size of that field. For example, if you had a table like > this: > > Field1: > Happy > Smiles > A > > Howdy, how are you? > > Inside the .mdb file itself, you would have this information: (I will use > Asc(*) to represent a byte with the value represented by the asterick) > > Asc(5)HappyAsc(6)SmilesAsc(1)Astuff>Asc(0)Asc(19)Howdy, how are you? > > That way, when Jet is reading the table, it reads the first byte, then it > reads that number of following bytes to retrieve the data for that > particular field. > > Thus the limit of 255 characters in a text field. > > Drew > > > > -----Original Message----- > From: Lonnie Johnson [mailto:prodevmg at yahoo.com] > Sent: Tuesday, October 18, 2005 12:44 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Why 255? > > > I knew that was some cool geek explanation. I love this stuff. > > Gary Kjos wrote:Hi Lonnie, > > Hexidecimal FF = 255. Or actually binary 11111111 = 255 it's the > largest number you can express in a single byte > > GK > > On 10/18/05, Lonnie Johnson > wrote: >> I know this is going to be an easy one for most of you? I am a developer > but I don't know this. Why does Access have some limits of 255 for a lot > of > things such as number of fields in a table, number of concurrent users and > so forth? >> >> Just curious. >> >> >> >> May God bless you beyond your imagination! >> Lonnie Johnson >> ProDev, Professional Development of MS Access Databases >> Visit me at ==> http://www.prodev.us >> >> >> >> >> >> >> >> >> >> >> >> >> --------------------------------- >> Yahoo! Music Unlimited - Access over 1 million songs. Try it free. >> -- >> 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 > > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > > May God bless you beyond your imagination! > Lonnie Johnson > ProDev, Professional Development of MS Access Databases > Visit me at ==> http://www.prodev.us > > > > > > > > > > > > > --------------------------------- > Yahoo! Music Unlimited - Access over 1 million songs. Try it free. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Wed Oct 19 15:23:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 19 Oct 2005 13:23:20 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters References: <012e01c5d4d4$26c86630$017ba8c0@xpserver> Message-ID: <4356AB38.6080403@shaw.ca> Do you mean they were doing this? ;) Morris dancing for the Olympics? http://news.bbc.co.uk/1/hi/uk_politics/4349088.stm Jim Lawrence wrote: >I knew it, I knew it. At breakfast this morning my corn flakes were >crackling in a Morris code...:-) > >Jim > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Wed Oct 19 17:02:47 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 20 Oct 2005 02:02:47 +0400 Subject: [AccessD] Data interface The best way References: Message-ID: <003701c5d4f8$dceacb00$6401a8c0@fincomplex.spb.ru> <<< Ruby on Rails is the prime example. >>> Ken, Believe or not but just yesterday I have bookmarked Ruby's main Web site: http://www.ruby-lang.org/en/ for investigations when (if ever) I will have free time. Yes, I have heard about Ruby or Rails and I also plan to give it a try. Ruby looks like being the most advanced modern OO language - it has amazing things like modifying class definition on-the-fly so it may happen a running application will have object instances of the same class with different call interfaces. I still to realize for what real-life applications such flexibility is needed... > Model-View-Controller model. Ruby on Rails is the prime example. Well, MS Avalon(Windows Presentation Foundation) has this model as one of its key concepts. And my own rather naive that times (1998) but so true as far as I see now VBA/VB6-programming concept I called "DEEP-object concept" (http://www.smsconsulting.spb.ru/shamil_s/articles/deepcnpt.htm) was partially about Model-View-Controller model partially about what is called "low coupling" and "high cohesion" OOP concepts and related stuff.(I wasn't aware about that concepts that times, stupid me) It was developed later into several proprietary commercial frameworks - so it was never published. (Well, I did give it a try to develop open source very advanced VBA framework using MS Access 2000 summer 1999 but because it was a programming on the edge and because MS Access 97/2000 have "termination bug", which didn't have stable workaround it didn't work and I deleted/lost all the code I developed that times. Stupid me again. In MS Access XP/2003 the "termination bug" was finally fixed.) Well known here in AccessD VBA framework based on these concepts is John Colby's framework of course. > Since I have far from a deep understanding of MVC IMO it would have better called Model View Dispatcher model (or Model Dispatcher View). Or I don't understand English well to feel all the nuances or certain words - for me Controller is something that controls and Dispatcher is something that dispatches - and dispatching IMO implies no strict control at all and less coupling between Model and View. And in MVC model Controller's role is just to dispatch messages (calls) from View to Model or callbacks(events) from Model to View(s) - it doesn't control anything... Thank you for the links on Django and TurboGears but it looks like I will have time for them "in my next life only"... Shamil ----- Original Message ----- From: "Ken Ismert" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 11:26 PM Subject: Re: [AccessD] Data interface The best way > > Shamil, > > >As for "an object design down to the lowest level" - > >this is still questionable here how it should be done - > >and it's getting the more questionable what this design > >should be the more I'm getting into the modern methods > >of OOP&D... > > Theoretical questions aside, the notable object-data systems doing > useful things now are the open-source web frameworks using the > Model-View-Controller model. Ruby on Rails is the prime example. > > Since I have far from a deep understanding of MVC, I will just point out > that the data objects are modeled in code, and changes in the data > objects are reflected to the table structure of the underlying database. > > > One challenge that future OO DBMS projects will have is equalling or > bettering the ease-of-use of these MVC frameworks. One thing is certain: > they'll never beat the price. > > Ruby on Rails > http://www.rubyonrails.org/ > > Django > http://www.djangoproject.com/ > > TurboGears > http://www.turbogears.org/ > > Ruby on Rails > Model-View-Controller Article > http://en.wikipedia.org/wiki/Ruby_On_Rails > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Wed Oct 19 18:17:41 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Oct 2005 09:17:41 +1000 Subject: [AccessD] OT: Group cracks code hidden in printers to ID counterfeiters In-Reply-To: <015a01c5d4bd$a6732a80$6501a8c0@HAL9004> Message-ID: <435760B5.13856.8A7B7B1@stuart.lexacorp.com.pg> On 19 Oct 2005 at 7:59, Rocky Smolin - Beach Access S wrote: > Yesterday, the Electronic Frontier Foundation, a San Francisco consumer privacy group, said it had cracked the code used in a widely used line of Xerox printers, an invis> > With the Xerox printers, the information appears as a pattern of yellow dots, each only a millimeter wide and visible only with a magnifying glass and a blue light. > Actually old news. See 22 Nov 2004 http://www.pcworld.com/news/article/0,aid,118664,00.asp -- Stuart From wdhindman at bellsouth.net Wed Oct 19 18:50:46 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 19 Oct 2005 19:50:46 -0400 Subject: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters References: <005701c5d4c2$d1947ac0$7501a8c0@ScuzzPaq> <01fb01c5d4c4$8c6a1c50$6501a8c0@HAL9004> Message-ID: <003701c5d507$ecd31130$6101a8c0@JISREGISTRATION.local> ...no you don't ...its a bother, a real bother :( William ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 11:48 AM Subject: Re: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters > Someday I hope to have a top secret document. > > Rocky > > ----- Original Message ----- > From: "John Bartow" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, October 19, 2005 8:36 AM > Subject: Re: [AccessD] OT: Group cracks code hidden in printers > toIDcounterfeiters > > >> So, we should all print solid yellow backgrounds on our top secret >> documents? >> ;o) >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - >> Beach Access Software >> >> Last year, an article in PC World magazine pointed out that printouts >> from >> many color laser printers contained yellow dots scattered across the >> page, >> viewable only with a special kind of flashlight. >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Wed Oct 19 18:56:09 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 19 Oct 2005 16:56:09 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters References: <435760B5.13856.8A7B7B1@stuart.lexacorp.com.pg> Message-ID: <006e01c5d508$addc5580$6501a8c0@HAL9004> I guess I need to get out more. Rocky ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 4:17 PM Subject: Re: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters > On 19 Oct 2005 at 7:59, Rocky Smolin - Beach Access S wrote: > >> Yesterday, the Electronic Frontier Foundation, a San Francisco consumer >> privacy group, said it had cracked the code used in a widely used line of >> Xerox printers, an invis> >> With the Xerox printers, the information appears as a pattern of yellow >> dots, each only a millimeter wide and visible only with a magnifying >> glass and a blue light. >> > > Actually old news. See > 22 Nov 2004 http://www.pcworld.com/news/article/0,aid,118664,00.asp > > -- > Stuart > > > -- > 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 Oct 19 19:03:58 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Oct 2005 10:03:58 +1000 Subject: [AccessD] OT: Group cracks code hidden in printerstoIDcounterfeiters In-Reply-To: <003701c5d507$ecd31130$6101a8c0@JISREGISTRATION.local> Message-ID: <43576B8E.15695.8D21788@stuart.lexacorp.com.pg> On 19 Oct 2005 at 19:50, William Hindman wrote: > ...no you don't ...its a bother, a real bother :( > > > Someday I hope to have a top secret document. > > Depends on whose classification it is and where you have it. If you live in the US and it is classified as Top Secret by the US Govt, it *is* a real bother for you. If I happened to get my hands on a document classifed as Top Secret by the US Govt, it wouldn't be a bother to me at all. I am not governed by their laws :-) -- Stuart From accessd at shaw.ca Wed Oct 19 19:13:10 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 17:13:10 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <014c01c5d50b$0e640680$017ba8c0@xpserver> Ken this is a very interesting subject.... and warrants further research. Though it is not immediately relatable to the current versions of Access, I will not be surprised when these model variants start to morph 'our' database. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Ken Ismert Sent: Wednesday, October 19, 2005 12:26 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data interface The best way Shamil, >As for "an object design down to the lowest level" - >this is still questionable here how it should be done - >and it's getting the more questionable what this design >should be the more I'm getting into the modern methods >of OOP&D... Theoretical questions aside, the notable object-data systems doing useful things now are the open-source web frameworks using the Model-View-Controller model. Ruby on Rails is the prime example. Since I have far from a deep understanding of MVC, I will just point out that the data objects are modeled in code, and changes in the data objects are reflected to the table structure of the underlying database. One challenge that future OO DBMS projects will have is equalling or bettering the ease-of-use of these MVC frameworks. One thing is certain: they'll never beat the price. Ruby on Rails http://www.rubyonrails.org/ Django http://www.djangoproject.com/ TurboGears http://www.turbogears.org/ Ruby on Rails Model-View-Controller Article http://en.wikipedia.org/wiki/Ruby_On_Rails -Ken -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 19 19:17:58 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 19 Oct 2005 17:17:58 -0700 Subject: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters In-Reply-To: <4356AB38.6080403@shaw.ca> Message-ID: <014d01c5d50b$ba5275d0$017ba8c0@xpserver> ROTFLMAO... You have to stop doing this as I just about fell off my chair and could barely breathe. You are trying to kill me :-) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Wednesday, October 19, 2005 1:23 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Group cracks code hidden in printers to IDcounterfeiters Do you mean they were doing this? ;) Morris dancing for the Olympics? http://news.bbc.co.uk/1/hi/uk_politics/4349088.stm Jim Lawrence wrote: >I knew it, I knew it. At breakfast this morning my corn flakes were >crackling in a Morris code...:-) > >Jim > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at bellsouth.net Wed Oct 19 21:33:47 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Wed, 19 Oct 2005 22:33:47 -0400 Subject: [AccessD] OT: Group cracks code hidden inprinterstoIDcounterfeiters References: <43576B8E.15695.8D21788@stuart.lexacorp.com.pg> Message-ID: <001501c5d51e$b2defae0$6101a8c0@JISREGISTRATION.local> ...the Official Secrets Act (sic) of both Canada and Great Britain protect the classified documents of allied nations ...which, much to some's chagrin, we remain ...its a bother. William ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 19, 2005 8:03 PM Subject: Re: [AccessD] OT: Group cracks code hidden inprinterstoIDcounterfeiters > On 19 Oct 2005 at 19:50, William Hindman wrote: > >> ...no you don't ...its a bother, a real bother :( >> >> > Someday I hope to have a top secret document. >> > > > Depends on whose classification it is and where you have it. > > If you live in the US and it is classified as Top Secret by the US Govt, > it > *is* a real bother for you. > > If I happened to get my hands on a document classifed as Top Secret by the > US Govt, it wouldn't be a bother to me at all. I am not governed by their > laws :-) > > > > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at ColbyConsulting.com Wed Oct 19 21:49:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 19 Oct 2005 22:49:10 -0400 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: <003601c5d520$dc121710$667aa8c0@ColbyM6805> OK this is the first rev to the table specification for the data export module. Everyone is welcomed to try and figure out what we are up to and comment on how you would use this and what you think would be useful in order to nail down an export specification. usystblExport holds the top level information about an export, including the name of the export specification, whether the export needs to be fixed width, whether to quote the text files, what the delimiter is for this specific export of the data, and a fully pathed file spec for where to place the data. usystblExport EX_ID AutoNumber Export ID EX_Name Text Export Name EX_FixedWidth Yes/No True when Fixed Width EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter Text The delimiter between fields EX_FileSpec Text Fully pathed file name EX_HeaderLine Yes/No True when Place the field names in the first line of the file usystblExportDataSource holds the relationship between an Export and a data source. This is a many to one, i.e. a given export specification can only use a single data source, but a single data source can be used by many different exports. usystblExportDataSource EXDS_ID AutoNumber DataSourceExport ID EXDS_IDEX Number Export ID EXDS_IDDS Number Data Source ID usystblDataSource tells us the name of the table, query or possibly a raw SQL statement. It also gives us a code telling us how to interpret the Source field. The objective is to be able to create a single recordset and export that recordset to multiple destinations, in various formats, but still ensure that the data is identical. usystblDataSource DS_ID AutoNumber Data source ID DS_Name Text Name of the data set - not required DS_Source Memo Data source - can be a sql statement, a query name or a table name DS_Type Text Source of the data - TBL, QRY or SQL usystblFld gives us information about each field - the order of the field in the Big String, the source field name in the table, query or SQL statement, the OUTPUT field in the text file, the format string used to coerce the data into the correct format, The width of the field if used in a fixed width export, and the beginning position in the string for FIXED WIDTH fields. The beginning position can be calculated from the position and the width of all the fields, and is mostly used as a cross check on the specification. Fixed width export specifications are very specific and we need to be certain that the client receiving the data tells us these numbers correctly. usystblFld FLD_ID AutoNumber Field ID FLD_IDDS Number Data Source ID FLD_Order Number The order that the field appears in the output string FLD_FldName Text Name of the field in the data source FLD_OutputFldName Text The name of the field in the output file FLD_Format Text Format string to use on the data FLD_BeginPos Number Beginning position in the Big String FLD_Width Number The width if this is to be used in a fixed width export. In my current concept of how to implement this set of tables, usystblFld would be a class (clsFld) which is responsible for formatting a piece of data from a specific field. usystblDataSource becomes a class (clsDataSource) which is the supervisor of a collection of clsFld. The first thing that clsDataSource does is to take the DS_ID and use that to pull all of the records in usystblFld with that value in FLD_IDDS. This basically gathers all of the field records that will be exported. Thus a query, table or SQL statement can have more fields than make it into the export, and the fields that make it into the export are determined solely by their presence in usystblFld. As clsDataSource reads the records out of usystblFld, it instantiates a clsFld for each field to be exported, and storing the class instances in Field Position order (FLD_Order), sort the fields coming out of usystblFlds on FLD_Order. Thus the clsFld instances are stored in the collection in their order in the output string. clsDataSource reads the dataset specified by the table name, query name, or SQL statement stored in DS_Name. This data set may have N records to be exported into the resulting text file. The data set is iterated record by record, and each record is then fed to each clsFld in consecutive order in the clsFld collection (pseudocode below): Dim rst as dao.recordset Dim db as dao.database Dim lclsFld as clsFld Dim strBigStr as string set db = currentdb set rst = db.Open(DS_Source) while not rst.eof 'the stuff above gets the data to be exported 'The stuff below formats the data using the collection of clsFld instances for each lclsFld in colClsFld str = lclsfld.Format(rst) strBigStr = strBigStr & SomeDelimiter & str next lclsFld wend As you can see, each clsFld instance gets a shot at the recordset, and uses FLD_FldName to determine which piece of the recordset it is supposed to format (pseudocode below): Function Format(rst as dao.recordset) as string Dim var as variant Dim str as string var = rst(FLD_FldName) str = format(var,FLD_Format) End function Thus as clsDataSource iterates the recordset of data to export, for each record to be exported it passes the recordset off to each clsFld instance, getting back formatted data and building up BigString. When all fields have been formatted and appended to BigString, BigString is written to EX_FileSpec. That is the big picture, starting to discuss implementation logic. I am going to cross post this to my forum out on my web site for the purpose of creating a thread where this can be read independently of AccessD chatter. All comments and suggestions welcomed. We need to nail down the table structure, since the information in the tables drives the construction of the classes that hold the data in the usys tables, and the logic of how to use this data to create an export file. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Wed Oct 19 22:06:24 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 19 Oct 2005 23:06:24 -0400 Subject: [AccessD] Web browsers hitting my site Message-ID: <003701c5d523$441a8ed0$667aa8c0@ColbyM6805> I found this interesting. I guess Firefox and the like has a much higher usage amongst technical types eh? IE 62.3% Netscape (versions) 34.7% Unknown 1.8% Opera 0.8% If course it's hard to tell how much my own browsing poisons the statistics since I use Firefox and I am out there a lot right now updating content and stuff. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From shamil at users.mns.ru Thu Oct 20 06:23:28 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 20 Oct 2005 15:23:28 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <003601c5d520$dc121710$667aa8c0@ColbyM6805> Message-ID: <001801c5d568$b6eeb720$6401a8c0@fincomplex.spb.ru> John, Question #1: You "dive into details" from the very beginning - but it is not clearly stated in your spec are your custom classes/modules to be developed planned to be used with DAO only? I mean if you consciously restrict applicability(/reusability) of the code to be developed - that's OK but it have to be clearly stated in the specs' abstract to avoid any misunderstanding/mistreatment of the goals of your project for all involved parties(/project stakeholders). As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 6:49 AM Subject: [AccessD] Data Export Spec - Rev1 > OK this is the first rev to the table specification for the data export > module. Everyone is welcomed to try and figure out what we are up to and > comment on how you would use this and what you think would be useful in > order to nail down an export specification. > > usystblExport holds the top level information about an export, including the > name of the export specification, whether the export needs to be fixed > width, whether to quote the text files, what the delimiter is for this > specific export of the data, and a fully pathed file spec for where to place > the data. > > usystblExport > EX_ID AutoNumber Export ID > EX_Name Text Export Name > EX_FixedWidth Yes/No True when Fixed Width > EX_QuoteText Yes/No True when quotes needed around text > EX_Delimiter Text The delimiter between fields > EX_FileSpec Text Fully pathed file name > EX_HeaderLine Yes/No True when Place the field names in the first line of > the file > > usystblExportDataSource holds the relationship between an Export and a data > source. This is a many to one, i.e. a given export specification can only > use a single data source, but a single data source can be used by many > different exports. > > usystblExportDataSource > EXDS_ID AutoNumber DataSourceExport ID > EXDS_IDEX Number Export ID > EXDS_IDDS Number Data Source ID > > usystblDataSource tells us the name of the table, query or possibly a raw > SQL statement. It also gives us a code telling us how to interpret the > Source field. The objective is to be able to create a single recordset and > export that recordset to multiple destinations, in various formats, but > still ensure that the data is identical. > > usystblDataSource > DS_ID AutoNumber Data source ID > DS_Name Text Name of the data set - not required > DS_Source Memo Data source - can be a sql > statement, a query name or a table name > DS_Type Text Source of the data - TBL, QRY or SQL > > usystblFld gives us information about each field - the order of the field in > the Big String, the source field name in the table, query or SQL statement, > the OUTPUT field in the text file, the format string used to coerce the data > into the correct format, The width of the field if used in a fixed width > export, and the beginning position in the string for FIXED WIDTH fields. > The beginning position can be calculated from the position and the width of > all the fields, and is mostly used as a cross check on the specification. > Fixed width export specifications are very specific and we need to be > certain that the client receiving the data tells us these numbers correctly. > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the > output string > FLD_FldName Text Name of the field in the data source > FLD_OutputFldName Text The name of the field in the output > file > FLD_Format Text Format string to use on the data > > FLD_BeginPos Number Beginning position in the Big String > FLD_Width Number The width if this is to be used in a fixed > width export. > > In my current concept of how to implement this set of tables, usystblFld > would be a class (clsFld) which is responsible for formatting a piece of > data from a specific field. > > usystblDataSource becomes a class (clsDataSource) which is the supervisor of > a collection of clsFld. The first thing that clsDataSource does is to take > the DS_ID and use that to pull all of the records in usystblFld with that > value in FLD_IDDS. This basically gathers all of the field records that > will be exported. Thus a query, table or SQL statement can have more fields > than make it into the export, and the fields that make it into the export > are determined solely by their presence in usystblFld. As clsDataSource > reads the records out of usystblFld, it instantiates a clsFld for each field > to be exported, and storing the class instances in Field Position order > (FLD_Order), sort the fields coming out of usystblFlds on FLD_Order. Thus > the clsFld instances are stored in the collection in their order in the > output string. > > clsDataSource reads the dataset specified by the table name, query name, or > SQL statement stored in DS_Name. This data set may have N records to be > exported into the resulting text file. The data set is iterated record by > record, and each record is then fed to each clsFld in consecutive order in > the clsFld collection (pseudocode below): > > Dim rst as dao.recordset > Dim db as dao.database > Dim lclsFld as clsFld > Dim strBigStr as string > set db = currentdb > set rst = db.Open(DS_Source) > while not rst.eof > > 'the stuff above gets the data to be exported > > 'The stuff below formats the data using the collection of > clsFld instances > > for each lclsFld in colClsFld > str = lclsfld.Format(rst) > strBigStr = strBigStr & SomeDelimiter & str > next lclsFld > wend > > As you can see, each clsFld instance gets a shot at the recordset, and uses > FLD_FldName to determine which piece of the recordset it is supposed to > format (pseudocode below): > > Function Format(rst as dao.recordset) as string > Dim var as variant > Dim str as string > var = rst(FLD_FldName) > str = format(var,FLD_Format) > End function > > Thus as clsDataSource iterates the recordset of data to export, for each > record to be exported it passes the recordset off to each clsFld instance, > getting back formatted data and building up BigString. When all fields have > been formatted and appended to BigString, BigString is written to > EX_FileSpec. > > That is the big picture, starting to discuss implementation logic. I am > going to cross post this to my forum out on my web site for the purpose of > creating a thread where this can be read independently of AccessD chatter. > > All comments and suggestions welcomed. We need to nail down the table > structure, since the information in the tables drives the construction of > the classes that hold the data in the usys tables, and the logic of how to > use this data to create an export file. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 20 06:44:08 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 07:44:08 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <001801c5d568$b6eeb720$6401a8c0@fincomplex.spb.ru> Message-ID: <000701c5d56b$94e61210$667aa8c0@ColbyM6805> Shamil, The modules do not have to use DAO as long as ADO provides the functionality of accessing the fields using the rst(fldname) operation. The code you see is pseudocode, intended to display the concept, not the actual execution, and I can write DAO in my sleep so it is easy for me to write the pseudocode in. In my framework I use ADO exclusively, however I am still not anywhere close to "as comfortable with it" as I am with DAO. My PREFERENCE is to use ADO throughout for widest applicability. My PREFERENCE is also to get a good SQL Server person on board to keep us running down a path that allows immediate, built-in usage with SQL Server. So far I do not have a lot of hands raised saying that they want an in-depth piece of the action. Also, I am not even sure that SQL Server does not have something similar built-in and therefore nobody using SQL Server would use this. As always happens in these projects, a lot of interest is expressed, but that doesn't necessarily translate into active participation. I have learned to be prepared to do what needs to be done, on my own, to get what -I- need done. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 20, 2005 7:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 John, Question #1: You "dive into details" from the very beginning - but it is not clearly stated in your spec are your custom classes/modules to be developed planned to be used with DAO only? I mean if you consciously restrict applicability(/reusability) of the code to be developed - that's OK but it have to be clearly stated in the specs' abstract to avoid any misunderstanding/mistreatment of the goals of your project for all involved parties(/project stakeholders). As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 6:49 AM Subject: [AccessD] Data Export Spec - Rev1 > OK this is the first rev to the table specification for the data > export module. Everyone is welcomed to try and figure out what we are > up to and comment on how you would use this and what you think would > be useful in order to nail down an export specification. > > usystblExport holds the top level information about an export, > including the > name of the export specification, whether the export needs to be fixed > width, whether to quote the text files, what the delimiter is for this > specific export of the data, and a fully pathed file spec for where to place > the data. > > usystblExport > EX_ID AutoNumber Export ID > EX_Name Text Export Name > EX_FixedWidth Yes/No True when Fixed Width > EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter > Text The delimiter between fields EX_FileSpec Text Fully pathed file > name EX_HeaderLine Yes/No True when Place the field names in the first > line of the file > > usystblExportDataSource holds the relationship between an Export and a data > source. This is a many to one, i.e. a given export specification can > only use a single data source, but a single data source can be used by > many different exports. > > usystblExportDataSource > EXDS_ID AutoNumber DataSourceExport ID > EXDS_IDEX Number Export ID > EXDS_IDDS Number Data Source ID > > usystblDataSource tells us the name of the table, query or possibly a > raw SQL statement. It also gives us a code telling us how to > interpret the Source field. The objective is to be able to create a > single recordset and > export that recordset to multiple destinations, in various formats, > but still ensure that the data is identical. > > usystblDataSource > DS_ID AutoNumber Data source ID > DS_Name Text Name of the data set - not required > DS_Source Memo Data source - can be a sql > statement, a query name or a table name > DS_Type Text Source of the data - TBL, QRY or SQL > > usystblFld gives us information about each field - the order of the > field in > the Big String, the source field name in the table, query or SQL statement, > the OUTPUT field in the text file, the format string used to coerce > the data > into the correct format, The width of the field if used in a fixed > width export, and the beginning position in the string for FIXED WIDTH > fields. The beginning position can be calculated from the position and > the width of > all the fields, and is mostly used as a cross check on the > specification. Fixed width export specifications are very specific and > we need to be certain that the client receiving the data tells us > these numbers correctly. > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the output string > FLD_FldName Text Name of the field in the data source > FLD_OutputFldName Text The name of the field in the output > file > FLD_Format Text Format string to use on the data > > FLD_BeginPos Number Beginning position in the Big String FLD_Width > Number The width if this is to be used in a fixed width export. > > In my current concept of how to implement this set of tables, > usystblFld would be a class (clsFld) which is responsible for > formatting a piece of data from a specific field. > > usystblDataSource becomes a class (clsDataSource) which is the > supervisor of > a collection of clsFld. The first thing that clsDataSource does is to take > the DS_ID and use that to pull all of the records in usystblFld with > that value in FLD_IDDS. This basically gathers all of the field > records that will be exported. Thus a query, table or SQL statement > can have more fields > than make it into the export, and the fields that make it into the > export are determined solely by their presence in usystblFld. As > clsDataSource reads the records out of usystblFld, it instantiates a > clsFld for each field > to be exported, and storing the class instances in Field Position > order (FLD_Order), sort the fields coming out of usystblFlds on > FLD_Order. Thus the clsFld instances are stored in the collection in > their order in the output string. > > clsDataSource reads the dataset specified by the table name, query > name, or > SQL statement stored in DS_Name. This data set may have N records to > be exported into the resulting text file. The data set is iterated > record by record, and each record is then fed to each clsFld in > consecutive order in the clsFld collection (pseudocode below): > > Dim rst as dao.recordset > Dim db as dao.database > Dim lclsFld as clsFld > Dim strBigStr as string > set db = currentdb > set rst = db.Open(DS_Source) > while not rst.eof > > 'the stuff above gets the data to be exported > > 'The stuff below formats the data using the collection of clsFld > instances > > for each lclsFld in colClsFld > str = lclsfld.Format(rst) > strBigStr = strBigStr & SomeDelimiter & str > next lclsFld > wend > > As you can see, each clsFld instance gets a shot at the recordset, and uses > FLD_FldName to determine which piece of the recordset it is supposed > to format (pseudocode below): > > Function Format(rst as dao.recordset) as string > Dim var as variant > Dim str as string > var = rst(FLD_FldName) > str = format(var,FLD_Format) > End function > > Thus as clsDataSource iterates the recordset of data to export, for > each record to be exported it passes the recordset off to each clsFld > instance, getting back formatted data and building up BigString. When > all fields have > been formatted and appended to BigString, BigString is written to > EX_FileSpec. > > That is the big picture, starting to discuss implementation logic. I > am going to cross post this to my forum out on my web site for the > purpose of creating a thread where this can be read independently of > AccessD chatter. > > All comments and suggestions welcomed. We need to nail down the table > structure, since the information in the tables drives the construction > of the classes that hold the data in the usys tables, and the logic of > how to use this data to create an export file. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Oct 20 06:57:03 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 13:57:03 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Ken Thanks for those links. Looks interesting. Just don't know where to find time to elaborate on these ... /gustav >>> KIsmert at texassystems.com 19-10-2005 21:26 >>> Shamil, >As for "an object design down to the lowest level" - >this is still questionable here how it should be done - >and it's getting the more questionable what this design >should be the more I'm getting into the modern methods >of OOP&D... Theoretical questions aside, the notable object-data systems doing useful things now are the open-source web frameworks using the Model-View-Controller model. Ruby on Rails is the prime example. Since I have far from a deep understanding of MVC, I will just point out that the data objects are modeled in code, and changes in the data objects are reflected to the table structure of the underlying database. One challenge that future OO DBMS projects will have is equalling or bettering the ease-of-use of these MVC frameworks. One thing is certain: they'll never beat the price. Ruby on Rails http://www.rubyonrails.org/ Django http://www.djangoproject.com/ TurboGears http://www.turbogears.org/ Ruby on Rails Model-View-Controller Article http://en.wikipedia.org/wiki/Ruby_On_Rails -Ken From Gustav at cactus.dk Thu Oct 20 07:09:44 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 14:09:44 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Jim You have two options: ODBC or OCX. ODBC works quite nicely and doesn't require further explanation. The OCX is the CacheObject where you need something like this: Dim fac As CacheObject.Factory Dim obj As CacheObject.ObjInstance Dim res As CacheObject.ResultSet I did play around with the OCX but was interrupted by real work. You somewhat loose the feeling of Access; it's more like VB where you move data back and forth but I guess you get used to it - or would write some wrapper class. Or just fall back to ODBC and use Access the normal way. /gustav >>> accessd at shaw.ca 19-10-2005 19:26 >>> I have been playing with Cach? recently and found the database creation a very interesting and refreshing. Totally OOPS (Still getting my head around that one.) I have just been following the tutorials but tried some data importing the other night and it seems to run very fast... 370,000 records and the data searches are basically instantaneous. Nothing unusual for a major DB but the interesting thing is that I did not have to specify a database or table or field. Now the next big hurdle is how this can be attached to Access. (A friend likened it to towing a battle-ship with a VW.) Jim From Gustav at cactus.dk Thu Oct 20 07:17:09 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 14:17:09 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Shamil I think you would have a nice experience with Cach?. It's quite fun - and a much different feeling - to deal with tables and related tables directly as persistent classes. And stored procedures etc. can be written in either VB syntax or Cach?Script which is more like C syntax. "Embedded" SQL can be used too. /gustav >>> shamil at users.mns.ru 19-10-2005 13:47 >>> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav From prosoft6 at hotmail.com Thu Oct 20 07:24:19 2005 From: prosoft6 at hotmail.com (Julie Reardon-Taylor) Date: Thu, 20 Oct 2005 08:24:19 -0400 Subject: [AccessD] OT: Group cracks code hidden inprinterstoIDcounterfeiters In-Reply-To: <43576B8E.15695.8D21788@stuart.lexacorp.com.pg> Message-ID: Where are you Stuart.......pg? Julie Reardon-Taylor PRO-SOFT OF NY, INC. 44 Public Square Suite #5 Watertown, NY 13601 Phone/Fax: (315) 785-0319 www.pro-soft.net From pcs at azizaz.com Thu Oct 20 07:47:50 2005 From: pcs at azizaz.com (Borge Hansen) Date: Thu, 20 Oct 2005 22:47:50 +1000 Subject: [AccessD] OT Colby's Framework References: <000701c5d56b$94e61210$667aa8c0@ColbyM6805> Message-ID: <016e01c5d574$7ae7c760$fa10a8c0@Albatross> Hi John, This probably doesn't belong here... but Is someone framing me? Case : DemoFW_FE.mdb I have problem initializing..... When executing the line mclsFramework.Init Nothing in function FWinit() it runs the init of the clsFramework: Public Sub Init(ByRef robjParent As Object) Set mobjParent = robjParent cIS.Register Me assDebugPrint "init " & mstrInstanceName, DebugPrint mclsSVFW.Init Nothing, gfwcnn, "usystblFWSysVars" cIS.EnblPtrStack = SV("EnblPtrStack") <================== crashes here cIS.EnblNameStack = SV("EnblNameStack") mclsZip.Init Nothing End Sub The function Public Function SV(strSVName As String) As Variant SV = mclsSVFW.SV(strSVName) End Function takes us to : with "EnblPtrStack" as the strSVName value Function SV(strSVName As String, Optional strSVFld As String = "SV_VarValue") As Variant On Error GoTo Err_SV Select Case strSVFld Case "SV_VarValue" SV = mcolSysVars(strSVName).Value() <========= errors here (error number 5) Case "SV_Memo" SV = mcolSysVars(strSVName).Memo() Case "SV_UserEditable" SV = mcolSysVars(strSVName).UserEditable() Case "SV_AllowOverride" SV = mcolSysVars(strSVName).AllowOverride() Case Else End Select Exit_SV: Exit Function Err_SV: Select Case Err Case 0 Resume Exit_SV Case 5 SV = Null <======== You set the SV to null, but then errors with : "Invalid Use of NULL" Resume Exit_SV Case Else MsgBox Err.Description, , "Error in Function clsSysVars.SV" Resume Exit_SV End Select Resume 0 '.FOR TROUBLESHOOTING End Function ....... Being able to run your sample code is the first step ... Persistence is getting me nowhere! Any suggestions? /borge From stuart at lexacorp.com.pg Thu Oct 20 08:08:31 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 20 Oct 2005 23:08:31 +1000 Subject: [AccessD] OT: Group cracks code hidden inprinterstoIDcounterfeiters In-Reply-To: References: <43576B8E.15695.8D21788@stuart.lexacorp.com.pg> Message-ID: <4358236F.25610.BA06045@stuart.lexacorp.com.pg> On 20 Oct 2005 at 8:24, Julie Reardon-Taylor wrote: > Where are you Stuart.......pg? > Papua New Guinea. That's just north of Australia and east of Indonesia, sticking out into the Pacific. (Not somewhere in Africa, which many people seem to think ) -- Stuart From developer at ultradnt.com Thu Oct 20 08:56:49 2005 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 20 Oct 2005 09:56:49 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <200510201356.j9KDukT14379@ultradnt.com> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 8:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Shamil I think you would have a nice experience with Cach?. It's quite fun - and a much different feeling - to deal with tables and related tables directly as persistent classes. And stored procedures etc. can be written in either VB syntax or Cach?Script which is more like C syntax. "Embedded" SQL can be used too. /gustav >>> shamil at users.mns.ru 19-10-2005 13:47 >>> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 20 09:10:46 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 10:10:46 -0400 Subject: [AccessD] OT Colby's Framework In-Reply-To: <016e01c5d574$7ae7c760$fa10a8c0@Albatross> Message-ID: <000f01c5d580$13cfe8d0$667aa8c0@ColbyM6805> LOL, Borg, I am impressed! I must admit that I haven't had anyone EVER contact me about this stuff, which is one reason that I don't spend a lot of time on the demo stuff after I write it. One quick question, did you work through all the articles or are you jumping in at the end? I don't care, if you know what you are doing and are jumping in that is cool, I'm just curious. If you worked through all the articles and the example code then I am absolutely floored at your persistence. This stuff is not necessarily easy. As for your problem, the framework is looking for a sysvar called "EnblPtrStack", which should be true or false. I use SysVars to turn on/off functionality in my framework, and this code is telling the cIS class to either use the class logging mechanism or do not use it. The class logging mechanism is a class which tracks the names of the classes as they are instantiated, so that you can get a listing in instantiation order of all the class instances currently loaded. I also have to say that "it is not failing here". I just opened the zip file, unzipped it and relinked FE to BE, and it runs perfectly, at least until you try and close the database, whereupon the module in the usysFrmFWCleanup in the framework throws a runtime error. There is a me. Code fragment in the form_Close. Sigh. I have fixed that and will upload the zip to my site. So what happens with the crash? Is SV() not returning a value (returning a null) which the cIS.EnblPtrStack cannot accept? IIRC, I return a null if the SysVar doesn't exist, which would indicate that the sysvar was not loaded from the SysVar table. Can you step into SV("EnblPtrStack"), and in the debug window ask for the count of the SysVar collection? Are there ANY sysvars in the SysVar collection? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Thursday, October 20, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT Colby's Framework Hi John, This probably doesn't belong here... but Is someone framing me? Case : DemoFW_FE.mdb I have problem initializing..... When executing the line mclsFramework.Init Nothing in function FWinit() it runs the init of the clsFramework: Public Sub Init(ByRef robjParent As Object) Set mobjParent = robjParent cIS.Register Me assDebugPrint "init " & mstrInstanceName, DebugPrint mclsSVFW.Init Nothing, gfwcnn, "usystblFWSysVars" cIS.EnblPtrStack = SV("EnblPtrStack") <================== crashes here cIS.EnblNameStack = SV("EnblNameStack") mclsZip.Init Nothing End Sub The function Public Function SV(strSVName As String) As Variant SV = mclsSVFW.SV(strSVName) End Function takes us to : with "EnblPtrStack" as the strSVName value Function SV(strSVName As String, Optional strSVFld As String = "SV_VarValue") As Variant On Error GoTo Err_SV Select Case strSVFld Case "SV_VarValue" SV = mcolSysVars(strSVName).Value() <========= errors here (error number 5) Case "SV_Memo" SV = mcolSysVars(strSVName).Memo() Case "SV_UserEditable" SV = mcolSysVars(strSVName).UserEditable() Case "SV_AllowOverride" SV = mcolSysVars(strSVName).AllowOverride() Case Else End Select Exit_SV: Exit Function Err_SV: Select Case Err Case 0 Resume Exit_SV Case 5 SV = Null <======== You set the SV to null, but then errors with : "Invalid Use of NULL" Resume Exit_SV Case Else MsgBox Err.Description, , "Error in Function clsSysVars.SV" Resume Exit_SV End Select Resume 0 '.FOR TROUBLESHOOTING End Function ....... Being able to run your sample code is the first step ... Persistence is getting me nowhere! Any suggestions? /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Thu Oct 20 09:38:09 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 20 Oct 2005 07:38:09 -0700 (PDT) Subject: [AccessD] Zipping Certain Files Message-ID: <20051020143809.53878.qmail@web33108.mail.mud.yahoo.com> Hello Great Ones, I use the following to zip files and folders. Is there code to zip "specific" files in a folder? CODE Dim strAppName As String Dim FilesToBeZipped As String Dim NameOfNewZipFile As String strAppName = "C:\Program Files\WinZip\WINZIP32.EXE" FilesToBeZipped = "H:\ACCOUNT\CORP_RELO\Databases\" Dim toLoc As String Dim newDB As String toLoc = "C:\BackUp\Databases\" NameOfNewZipFile1 = toLoc1 & newDB Call Shell(strAppName & " -A -r -P " & NameOfNewZipFile & " " & FilesToBeZipped, 1) May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From Jim.Hale at FleetPride.com Thu Oct 20 09:55:30 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 20 Oct 2005 09:55:30 -0500 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337935@corp-es01.fleetpride.com> Good stuff. A couple of thoughts. Is it possible to automatically determine DS_Type? ie if the named query/table is in the system files we can assume it is a query/table, if not it is a raw sql string. Will multiple recordsets be able to write to the same export file? The alternative I guess is to use a union query as the record source. Should there be a boolean in usystblexport that signifies it is okay to kill existing copies of the named export file without asking? Does there need to be a method for handling nulls (or for that matter any illegal characters) in the recordset so that they are not written to the export file? What would really be interesting is a front end parser wizard that could take an example file and fill in whatever it could in usystblexport and usystablefield. It would be very useful but is not trivial to do. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, October 19, 2005 9:49 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data Export Spec - Rev1 OK this is the first rev to the table specification for the data export module. Everyone is welcomed to try and figure out what we are up to and comment on how you would use this and what you think would be useful in order to nail down an export specification. usystblExport holds the top level information about an export, including the name of the export specification, whether the export needs to be fixed width, whether to quote the text files, what the delimiter is for this specific export of the data, and a fully pathed file spec for where to place the data. usystblExport EX_ID AutoNumber Export ID EX_Name Text Export Name EX_FixedWidth Yes/No True when Fixed Width EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter Text The delimiter between fields EX_FileSpec Text Fully pathed file name EX_HeaderLine Yes/No True when Place the field names in the first line of the file usystblExportDataSource holds the relationship between an Export and a data source. This is a many to one, i.e. a given export specification can only use a single data source, but a single data source can be used by many different exports. usystblExportDataSource EXDS_ID AutoNumber DataSourceExport ID EXDS_IDEX Number Export ID EXDS_IDDS Number Data Source ID usystblDataSource tells us the name of the table, query or possibly a raw SQL statement. It also gives us a code telling us how to interpret the Source field. The objective is to be able to create a single recordset and export that recordset to multiple destinations, in various formats, but still ensure that the data is identical. usystblDataSource DS_ID AutoNumber Data source ID DS_Name Text Name of the data set - not required DS_Source Memo Data source - can be a sql statement, a query name or a table name DS_Type Text Source of the data - TBL, QRY or SQL usystblFld gives us information about each field - the order of the field in the Big String, the source field name in the table, query or SQL statement, the OUTPUT field in the text file, the format string used to coerce the data into the correct format, The width of the field if used in a fixed width export, and the beginning position in the string for FIXED WIDTH fields. The beginning position can be calculated from the position and the width of all the fields, and is mostly used as a cross check on the specification. Fixed width export specifications are very specific and we need to be certain that the client receiving the data tells us these numbers correctly. usystblFld FLD_ID AutoNumber Field ID FLD_IDDS Number Data Source ID FLD_Order Number The order that the field appears in the output string FLD_FldName Text Name of the field in the data source FLD_OutputFldName Text The name of the field in the output file FLD_Format Text Format string to use on the data FLD_BeginPos Number Beginning position in the Big String FLD_Width Number The width if this is to be used in a fixed width export. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From paul.hartland at isharp.co.uk Thu Oct 20 10:05:33 2005 From: paul.hartland at isharp.co.uk (Paul Hartland (ISHARP)) Date: Thu, 20 Oct 2005 16:05:33 +0100 Subject: [AccessD] OT - ASP Lists In-Reply-To: <20051020143809.53878.qmail@web33108.mail.mud.yahoo.com> Message-ID: To all, Anyone know any good lists like ours for ASP ? Thanks in advance Paul Hartland From bheid at appdevgrp.com Thu Oct 20 10:27:38 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Thu, 20 Oct 2005 11:27:38 -0400 Subject: [AccessD] Zipping Certain Files In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CB965A@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF174@ADGSERVER> I don't have the info hand at the moment, but look at the command line version of WinZip here: http://www.winzip.com/downcl.htm There are some docs with it that show all of the details. It's easy to do what you want. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, October 20, 2005 10:38 AM To: AccessD solving' Subject: [AccessD] Zipping Certain Files Hello Great Ones, I use the following to zip files and folders. Is there code to zip "specific" files in a folder? CODE Dim strAppName As String Dim FilesToBeZipped As String Dim NameOfNewZipFile As String strAppName = "C:\Program Files\WinZip\WINZIP32.EXE" FilesToBeZipped = "H:\ACCOUNT\CORP_RELO\Databases\" Dim toLoc As String Dim newDB As String toLoc = "C:\BackUp\Databases\" NameOfNewZipFile1 = toLoc1 & newDB Call Shell(strAppName & " -A -r -P " & NameOfNewZipFile & " " & FilesToBeZipped, 1) May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us From jwcolby at ColbyConsulting.com Thu Oct 20 10:35:45 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 11:35:45 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337935@corp-es01.fleetpride.com> Message-ID: <007501c5d58b$efeec420$667aa8c0@ColbyM6805> >Is it possible to automatically determine DS_Type? ie if the named query/table is in the system files we can assume it is a query/table, if not it is a raw sql string. It isn't clear yet that this is even necessary. When opening a DAO recordset db.open("SomeThingHere") the SomeThingHere is handled correctly whether it is a table, named query or SQL Statement. >Will multiple recordsets be able to write to the same export file? This could be done with an "append" flag in the usystblExport, i.e. if the file already exists then just append to the end of it. If we do that, then we would need to treat a False in that field as "if the file already exists, then delete it". Then multiple Export records could specify the same file name but different DataSource records. Of course then you need to be VERY careful that the data fields match up, all the delimiters etc match. >Does there need to be a method for handling nulls (or for that matter any illegal characters) in the recordset so that they are not written to the export file? In general, a null is treated as "nothing in the string", but SOMETHING still has to be output. "", for a quoted comma delimited, or " " for a quoted, fixed length etc. That one is not going to happen but you get the picture. The field in the export string has to have a fixed number of spaces, or a delimited field in there or the whole export gets out of sync. >What would really be interesting is a front end parser wizard that could take an example file and fill in whatever it could in usystblexport and usystablefield. It would be very useful but is not trivial to do. This would not be trivial to do, especially getting down to the fld record level since format strings are used. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 20, 2005 10:56 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 Good stuff. A couple of thoughts. Is it possible to automatically determine DS_Type? ie if the named query/table is in the system files we can assume it is a query/table, if not it is a raw sql string. Will multiple recordsets be able to write to the same export file? The alternative I guess is to use a union query as the record source. Should there be a boolean in usystblexport that signifies it is okay to kill existing copies of the named export file without asking? Does there need to be a method for handling nulls (or for that matter any illegal characters) in the recordset so that they are not written to the export file? What would really be interesting is a front end parser wizard that could take an example file and fill in whatever it could in usystblexport and usystablefield. It would be very useful but is not trivial to do. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, October 19, 2005 9:49 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Data Export Spec - Rev1 OK this is the first rev to the table specification for the data export module. Everyone is welcomed to try and figure out what we are up to and comment on how you would use this and what you think would be useful in order to nail down an export specification. usystblExport holds the top level information about an export, including the name of the export specification, whether the export needs to be fixed width, whether to quote the text files, what the delimiter is for this specific export of the data, and a fully pathed file spec for where to place the data. usystblExport EX_ID AutoNumber Export ID EX_Name Text Export Name EX_FixedWidth Yes/No True when Fixed Width EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter Text The delimiter between fields EX_FileSpec Text Fully pathed file name EX_HeaderLine Yes/No True when Place the field names in the first line of the file usystblExportDataSource holds the relationship between an Export and a data source. This is a many to one, i.e. a given export specification can only use a single data source, but a single data source can be used by many different exports. usystblExportDataSource EXDS_ID AutoNumber DataSourceExport ID EXDS_IDEX Number Export ID EXDS_IDDS Number Data Source ID usystblDataSource tells us the name of the table, query or possibly a raw SQL statement. It also gives us a code telling us how to interpret the Source field. The objective is to be able to create a single recordset and export that recordset to multiple destinations, in various formats, but still ensure that the data is identical. usystblDataSource DS_ID AutoNumber Data source ID DS_Name Text Name of the data set - not required DS_Source Memo Data source - can be a sql statement, a query name or a table name DS_Type Text Source of the data - TBL, QRY or SQL usystblFld gives us information about each field - the order of the field in the Big String, the source field name in the table, query or SQL statement, the OUTPUT field in the text file, the format string used to coerce the data into the correct format, The width of the field if used in a fixed width export, and the beginning position in the string for FIXED WIDTH fields. The beginning position can be calculated from the position and the width of all the fields, and is mostly used as a cross check on the specification. Fixed width export specifications are very specific and we need to be certain that the client receiving the data tells us these numbers correctly. usystblFld FLD_ID AutoNumber Field ID FLD_IDDS Number Data Source ID FLD_Order Number The order that the field appears in the output string FLD_FldName Text Name of the field in the data source FLD_OutputFldName Text The name of the field in the output file FLD_Format Text Format string to use on the data FLD_BeginPos Number Beginning position in the Big String FLD_Width Number The width if this is to be used in a fixed width export. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Oct 20 10:50:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 17:50:21 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Steve Rekall can - at some level: http://www.thekompany.com/products/rekall/screenshots.php3?PHPSESSID=e89731b90ec5dd9d05c22f5ab6f86b6d /gustav >>> developer at ultradnt.com 20-10-2005 15:56 >>> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve From prodevmg at yahoo.com Thu Oct 20 11:21:12 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Thu, 20 Oct 2005 09:21:12 -0700 (PDT) Subject: [AccessD] Zipping Certain Files In-Reply-To: <916187228923D311A6FE00A0CC3FAA30ABF174@ADGSERVER> Message-ID: <20051020162112.79090.qmail@web33107.mail.mud.yahoo.com> Thanks. I will take a look-see at this and let you know. Bobby Heid wrote:I don't have the info hand at the moment, but look at the command line version of WinZip here: http://www.winzip.com/downcl.htm There are some docs with it that show all of the details. It's easy to do what you want. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Thursday, October 20, 2005 10:38 AM To: AccessD solving' Subject: [AccessD] Zipping Certain Files Hello Great Ones, I use the following to zip files and folders. Is there code to zip "specific" files in a folder? CODE Dim strAppName As String Dim FilesToBeZipped As String Dim NameOfNewZipFile As String strAppName = "C:\Program Files\WinZip\WINZIP32.EXE" FilesToBeZipped = "H:\ACCOUNT\CORP_RELO\Databases\" Dim toLoc As String Dim newDB As String toLoc = "C:\BackUp\Databases\" NameOfNewZipFile1 = toLoc1 & newDB Call Shell(strAppName & " -A -r -P " & NameOfNewZipFile & " " & FilesToBeZipped, 1) May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! Music Unlimited - Access over 1 million songs. Try it free. From martyconnelly at shaw.ca Thu Oct 20 12:33:03 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 20 Oct 2005 10:33:03 -0700 Subject: [AccessD] OT - ASP Lists References: Message-ID: <4357D4CF.4020704@shaw.ca> Charles Carroll used to run a series of really good ASP mailing lists but I don't know where they have morphed to. The ones I subscribed to seem to have petered out to less than a couple of messages a week. This maybe of use http://www.learnasp.com/learn/ http://aspalliance.com/ Paul Hartland (ISHARP) wrote: > To all, > >Anyone know any good lists like ours for ASP ? > >Thanks in advance > >Paul Hartland > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at ColbyConsulting.com Thu Oct 20 13:46:09 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 14:46:09 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <001801c5d568$b6eeb720$6401a8c0@fincomplex.spb.ru> Message-ID: <000001c5d5a6$8d17c5c0$667aa8c0@ColbyM6805> >As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? So Shamil, are you discussing porting this out of an Access container to something like VB6 or VB.Net? Or is this a "I don't like to reference DAO" kind of thing. If the code that does this is contained inside the class, what difference does the choice of DAO vs ADO make - other than having to link to the DAO library? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 20, 2005 7:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 John, Question #1: You "dive into details" from the very beginning - but it is not clearly stated in your spec are your custom classes/modules to be developed planned to be used with DAO only? I mean if you consciously restrict applicability(/reusability) of the code to be developed - that's OK but it have to be clearly stated in the specs' abstract to avoid any misunderstanding/mistreatment of the goals of your project for all involved parties(/project stakeholders). As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 6:49 AM Subject: [AccessD] Data Export Spec - Rev1 > OK this is the first rev to the table specification for the data > export module. Everyone is welcomed to try and figure out what we are > up to and comment on how you would use this and what you think would > be useful in order to nail down an export specification. > > usystblExport holds the top level information about an export, > including the > name of the export specification, whether the export needs to be fixed > width, whether to quote the text files, what the delimiter is for this > specific export of the data, and a fully pathed file spec for where to place > the data. > > usystblExport > EX_ID AutoNumber Export ID > EX_Name Text Export Name > EX_FixedWidth Yes/No True when Fixed Width > EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter > Text The delimiter between fields EX_FileSpec Text Fully pathed file > name EX_HeaderLine Yes/No True when Place the field names in the first > line of the file > > usystblExportDataSource holds the relationship between an Export and a data > source. This is a many to one, i.e. a given export specification can > only use a single data source, but a single data source can be used by > many different exports. > > usystblExportDataSource > EXDS_ID AutoNumber DataSourceExport ID > EXDS_IDEX Number Export ID > EXDS_IDDS Number Data Source ID > > usystblDataSource tells us the name of the table, query or possibly a > raw SQL statement. It also gives us a code telling us how to > interpret the Source field. The objective is to be able to create a > single recordset and > export that recordset to multiple destinations, in various formats, > but still ensure that the data is identical. > > usystblDataSource > DS_ID AutoNumber Data source ID > DS_Name Text Name of the data set - not required > DS_Source Memo Data source - can be a sql > statement, a query name or a table name > DS_Type Text Source of the data - TBL, QRY or SQL > > usystblFld gives us information about each field - the order of the > field in > the Big String, the source field name in the table, query or SQL statement, > the OUTPUT field in the text file, the format string used to coerce > the data > into the correct format, The width of the field if used in a fixed > width export, and the beginning position in the string for FIXED WIDTH > fields. The beginning position can be calculated from the position and > the width of > all the fields, and is mostly used as a cross check on the > specification. Fixed width export specifications are very specific and > we need to be certain that the client receiving the data tells us > these numbers correctly. > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the output string > FLD_FldName Text Name of the field in the data source > FLD_OutputFldName Text The name of the field in the output > file > FLD_Format Text Format string to use on the data > > FLD_BeginPos Number Beginning position in the Big String FLD_Width > Number The width if this is to be used in a fixed width export. > > In my current concept of how to implement this set of tables, > usystblFld would be a class (clsFld) which is responsible for > formatting a piece of data from a specific field. > > usystblDataSource becomes a class (clsDataSource) which is the > supervisor of > a collection of clsFld. The first thing that clsDataSource does is to take > the DS_ID and use that to pull all of the records in usystblFld with > that value in FLD_IDDS. This basically gathers all of the field > records that will be exported. Thus a query, table or SQL statement > can have more fields > than make it into the export, and the fields that make it into the > export are determined solely by their presence in usystblFld. As > clsDataSource reads the records out of usystblFld, it instantiates a > clsFld for each field > to be exported, and storing the class instances in Field Position > order (FLD_Order), sort the fields coming out of usystblFlds on > FLD_Order. Thus the clsFld instances are stored in the collection in > their order in the output string. > > clsDataSource reads the dataset specified by the table name, query > name, or > SQL statement stored in DS_Name. This data set may have N records to > be exported into the resulting text file. The data set is iterated > record by record, and each record is then fed to each clsFld in > consecutive order in the clsFld collection (pseudocode below): > > Dim rst as dao.recordset > Dim db as dao.database > Dim lclsFld as clsFld > Dim strBigStr as string > set db = currentdb > set rst = db.Open(DS_Source) > while not rst.eof > > 'the stuff above gets the data to be exported > > 'The stuff below formats the data using the collection of clsFld > instances > > for each lclsFld in colClsFld > str = lclsfld.Format(rst) > strBigStr = strBigStr & SomeDelimiter & str > next lclsFld > wend > > As you can see, each clsFld instance gets a shot at the recordset, and uses > FLD_FldName to determine which piece of the recordset it is supposed > to format (pseudocode below): > > Function Format(rst as dao.recordset) as string > Dim var as variant > Dim str as string > var = rst(FLD_FldName) > str = format(var,FLD_Format) > End function > > Thus as clsDataSource iterates the recordset of data to export, for > each record to be exported it passes the recordset off to each clsFld > instance, getting back formatted data and building up BigString. When > all fields have > been formatted and appended to BigString, BigString is written to > EX_FileSpec. > > That is the big picture, starting to discuss implementation logic. I > am going to cross post this to my forum out on my web site for the > purpose of creating a thread where this can be read independently of > AccessD chatter. > > All comments and suggestions welcomed. We need to nail down the table > structure, since the information in the tables drives the construction > of the classes that hold the data in the usys tables, and the logic of > how to use this data to create an export file. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 20 13:48:26 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 20 Oct 2005 11:48:26 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <001b01c5d5a6$db1fa9e0$017ba8c0@xpserver> Hi Gustav: Thanks for that information. Some 'real' work has now got in my way too and I will have to get but to the fun later. This info will give me a start point. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 5:10 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Jim You have two options: ODBC or OCX. ODBC works quite nicely and doesn't require further explanation. The OCX is the CacheObject where you need something like this: Dim fac As CacheObject.Factory Dim obj As CacheObject.ObjInstance Dim res As CacheObject.ResultSet I did play around with the OCX but was interrupted by real work. You somewhat loose the feeling of Access; it's more like VB where you move data back and forth but I guess you get used to it - or would write some wrapper class. Or just fall back to ODBC and use Access the normal way. /gustav >>> accessd at shaw.ca 19-10-2005 19:26 >>> I have been playing with Cach? recently and found the database creation a very interesting and refreshing. Totally OOPS (Still getting my head around that one.) I have just been following the tutorials but tried some data importing the other night and it seems to run very fast... 370,000 records and the data searches are basically instantaneous. Nothing unusual for a major DB but the interesting thing is that I did not have to specify a database or table or field. Now the next big hurdle is how this can be attached to Access. (A friend likened it to towing a battle-ship with a VW.) Jim -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Thu Oct 20 14:00:35 2005 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 20 Oct 2005 15:00:35 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <200510201900.j9KJ0WT60952@ultradnt.com> Gustav, This looks pretty cool, thanks. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 11:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Steve Rekall can - at some level: http://www.thekompany.com/products/rekall/screenshots.php3?PHPSESSID=e89731b 90ec5dd9d05c22f5ab6f86b6d /gustav >>> developer at ultradnt.com 20-10-2005 15:56 >>> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 20 14:01:14 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 20 Oct 2005 12:01:14 -0700 Subject: [AccessD] Data interface The best way In-Reply-To: <200510201356.j9KDukT14379@ultradnt.com> Message-ID: <001c01c5d5a8$a4de47e0$017ba8c0@xpserver> Steve: Some would say that you should be using an Oracle BE with their Developer tools for the FE (java). Runs in both environments as well but the price tag is quite different. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Thursday, October 20, 2005 6:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 8:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Shamil I think you would have a nice experience with Cach?. It's quite fun - and a much different feeling - to deal with tables and related tables directly as persistent classes. And stored procedures etc. can be written in either VB syntax or Cach?Script which is more like C syntax. "Embedded" SQL can be used too. /gustav >>> shamil at users.mns.ru 19-10-2005 13:47 >>> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Thu Oct 20 14:13:10 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 20 Oct 2005 21:13:10 +0200 Subject: [AccessD] Data interface The best way Message-ID: Hi Steve If you find out something how to handle this Python driven animal, please share - I don't think anyone from the list has worked with it. Also note the more recent commercial (though cheap) version: http://www.totalrekall.co.uk where versions for both Win32, Linux, and MacXOS are available. However, the old version 2.2 is for download for free if you register at the site (no charge). /gustav >>> developer at ultradnt.com 20-10-2005 21:00 >>> Gustav, This looks pretty cool, thanks. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 11:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Steve Rekall can - at some level: http://www.thekompany.com/products/rekall/screenshots.php3?PHPSESSID=e89731b 90ec5dd9d05c22f5ab6f86b6d /gustav >>> developer at ultradnt.com 20-10-2005 15:56 >>> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve From developer at ultradnt.com Thu Oct 20 14:30:25 2005 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 20 Oct 2005 15:30:25 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: <001c01c5d5a8$a4de47e0$017ba8c0@xpserver> Message-ID: <200510201930.j9KJUMT65325@ultradnt.com> Jim: Yeah, I am dealing with some samll firms that don't even want to buy Office; Oracle is out of their range. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 20, 2005 3:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Steve: Some would say that you should be using an Oracle BE with their Developer tools for the FE (java). Runs in both environments as well but the price tag is quite different. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Thursday, October 20, 2005 6:57 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data interface The best way Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 8:17 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Shamil I think you would have a nice experience with Cach?. It's quite fun - and a much different feeling - to deal with tables and related tables directly as persistent classes. And stored procedures etc. can be written in either VB syntax or Cach?Script which is more like C syntax. "Embedded" SQL can be used too. /gustav >>> shamil at users.mns.ru 19-10-2005 13:47 >>> Hi Gustav, Yes, there is no single answer to all needs. Yes, speed isn't that important sometimes. As for "an object design down to the lowest level" - this is still questionable here how it should be done - and it's getting the more questionable what this design should be the more I'm getting into the modern methods of OOP&D... ...it looks like the more popular is getting a "good old idea" of OOP founders (Grady Booch etc.) that objects are not "encapsulated data with behavior" but behavior first of all and encapsulated data are secondary... ...as far as I see this idea is getting into mainstream R&D... ...and as far as I may guess true OO DBMS of the future (5-10 years from now?) will be quite different from what we see now on the market (I could be missing something) - the query result of such OO DBMS database will be objects with behavior not just data, and object with behavior first of all... ...this is where LINQ will evolve as far as I may guess (is Cach? doing something like that there days?)... ...how this will be done technically is an open question - will they store something like .NET assemblies in OO database together with data or...? ...the effective OODBMS of the future will become reality when relatively cheap mutlicore processors with hundreds(thousands, ...?) of cores will become everyday and mass market things not "expensive technical miracles"... ...will MS be leading in this area in 10 years from now or not? They have just lost Ward Cunningham who left them to join Eclipse Foundation (http://www.microsoft-watch.com/article2/0,1995,1872348,00.asp?kc=MWRSS02129 TX1K0000535)... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, October 18, 2005 8:20 PM Subject: Re: [AccessD] Data interface The best way Hi Shamil You are right - there is no single answer to all needs and that counts for db engines as well. I have no idea where, say, Cach? is faster than other solutions, if any, but I'm sure in _some_ cases it will be. It is difficult to say as Intersystems as well as other suppliers are very reluctant to publish comparable benchmarks which reflect real scenarios. You can also turn it upside down; in some cases speed is not that important and for such scenarios it an object design down to the lowest level could be preferable. As for sheer speed using code, some years ago I posted to the list a routine for recursive lookup (self referencing a table) using DAO only - and it ran at a speed that surprised me. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From developer at ultradnt.com Thu Oct 20 14:42:51 2005 From: developer at ultradnt.com (Steve Conklin) Date: Thu, 20 Oct 2005 15:42:51 -0400 Subject: [AccessD] Data interface The best way In-Reply-To: Message-ID: <200510201942.j9KJgnT67079@ultradnt.com> Well, after I train myself on VS & SQL 2005 in my spare time, I'll give it a test drive (some time in 2008?) LOL -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 3:13 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Steve If you find out something how to handle this Python driven animal, please share - I don't think anyone from the list has worked with it. Also note the more recent commercial (though cheap) version: http://www.totalrekall.co.uk where versions for both Win32, Linux, and MacXOS are available. However, the old version 2.2 is for download for free if you register at the site (no charge). /gustav >>> developer at ultradnt.com 20-10-2005 21:00 >>> Gustav, This looks pretty cool, thanks. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, October 20, 2005 11:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data interface The best way Hi Steve Rekall can - at some level: http://www.thekompany.com/products/rekall/screenshots.php3?PHPSESSID=e89731b 90ec5dd9d05c22f5ab6f86b6d /gustav >>> developer at ultradnt.com 20-10-2005 15:56 >>> Do any of these alternatives ship with native UI and/or report building? Or am I still looking at ASP/ASP.net or Access/ODBC or VB 6/net and maybe Crystal with all of the aforementioned? In particular, is there an Access equivalent (that is,one-stop shopping, not mysql with kylix or anything like that) that runs on Linux? Tia Steve -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Thu Oct 20 15:56:04 2005 From: john at winhaven.net (John Bartow) Date: Thu, 20 Oct 2005 15:56:04 -0500 Subject: [AccessD] OT - ASP Lists In-Reply-To: <4357D4CF.4020704@shaw.ca> Message-ID: <003501c5d5b8$afef9520$7601a8c0@ScuzzPaq> If there's a need out there we could consider starting one here. You could contact all your ASP pals and invite them. What Say ye? John B. From pedro at plex.nl Thu Oct 20 16:08:47 2005 From: pedro at plex.nl (Pedro Janssen) Date: Thu, 20 Oct 2005 23:08:47 +0200 Subject: [AccessD] datatype mismatch in query References: Message-ID: <000401c5d5ba$78878d70$4001a8c0@laptop> Hello Gustav, i figured it out. I was trying to insert zero length values into a field with the "Allow zero Length property" of. Thanks for your help. Pedro Janssen ----- Original Message ----- From: "Gustav Brock" To: Sent: Wednesday, October 19, 2005 1:12 PM Subject: Re: [AccessD] datatype mismatch in query > Hi Pedro > > It sounds like a validation rule for DebID is kicking in. Obtain a > specification for this. > If that is not possible, change the query to a normal select query and > study the records. > Or add a filter to the append query to select only a subset of the > records. Then make this smaller and smaller until you haved focused some > of the records that breaks the validation. > > /gustav > >>>> pedro at plex.nl 18-10-2005 22:46 >>> > Hello Gustav and others, > > when using Val() or CLng(), i get a message, that says: > > Not all records in the append query can be added: ...... records as a > result of conflict in validationrules. > How can this be solved? > > Pedro Janssen > > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Monday, October 17, 2005 9:33 PM > Subject: Re: [AccessD] datatype mismatch in query > > >> Hi Pedro >> >> Try comparing numbers too: >> >> WHERE CLng(DEBSTM.Nummmer) NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM >> tblDebiteurAlgemeen); >> >> You can use SQL-native VAL() for CLng(). >> >> /gustav >> >>>>> pedro at plex.nl 17-10-2005 21:26 >>> >> Hello All, >> >> i am using the following append-query to update a table >> (tblDebiteurAlgemeen) with records from another table (DEBSTM), that is >> linked to this database: >> >> SELECT INTO tblDebiteurAlgemeen (DebID, Naambedrijf) >> SELECT Clng([Nummer]) AS DebID, [Naam] AS NaamBedrijf >> FROM DEBSTM IN 'C:\ThisDatabase.mdb' >> WHERE DEBSTM.Nummmer NOT IN (SELECT tblDebiteurAlgemeen.DebID FROM >> tblDebiteurAlgemeen); >> >> When using this query, i get an error. Datatype mismatch. >> This is because field DebID is Number and field Nummer is text. >> Although field Nummer is text, the values are al numbers. Because this >> field is in a commercial database, i can't change the field type. Is >> there >> another way?? >> >> Pedro Janssen > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Thu Oct 20 16:29:07 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 21 Oct 2005 01:29:07 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <000001c5d5a6$8d17c5c0$667aa8c0@ColbyM6805> Message-ID: <002301c5d5bd$91df8f90$6401a8c0@fincomplex.spb.ru> > are you discussing porting this out of an Access container to > something like VB6 or VB.Net? I just wanted to make "crystal clear" what kind of the data sources/data source objects are planned to be used for export and transformation.... > Or is this a "I don't like to reference DAO" > kind of thing. No, I like DAO :) > If the code that does this is contained inside the class, > what difference does the choice of DAO vs ADO make > - other than having to > link to the DAO library? IMO the problem is as far as I see (I can be wrong) that you plan to develop tightly coupled synchronous solution. This is a problem if you work alone but this is even a bigger problem when working in a team: - problem to share the work between team members; - problem of duplicated code, which may become "nigthmarish" to support; - problem for future extensions; - problem for scaling up.... etc. Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 10:46 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > >As far as I see from your code samples you use DAO. xxx - and from that > usage one can make assumption that DAO and nothing else is planned to be > used to work with metadata and the real data sources - is that a correct > assumption? > > So Shamil, are you discussing porting this out of an Access container to > something like VB6 or VB.Net? Or is this a "I don't like to reference DAO" > kind of thing. If the code that does this is contained inside the class, > what difference does the choice of DAO vs ADO make - other than having to > link to the DAO library? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, October 20, 2005 7:23 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Data Export Spec - Rev1 > > > John, > > Question #1: You "dive into details" from the very beginning - but it is not > clearly stated in your spec are your custom classes/modules to be developed > planned to be used with DAO only? I mean if you consciously restrict > applicability(/reusability) of the code to be developed - that's OK but it > have to be clearly stated in the specs' abstract to avoid any > misunderstanding/mistreatment of the goals of your project for all involved > parties(/project stakeholders). As far as I see from your code samples you > use DAO. xxx - and from that usage one can make assumption that DAO and > nothing else is planned to be used to work with metadata and the real data > sources - is that a correct assumption? > > Shamil > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, October 20, 2005 6:49 AM > Subject: [AccessD] Data Export Spec - Rev1 > > > > OK this is the first rev to the table specification for the data > > export module. Everyone is welcomed to try and figure out what we are > > up to and comment on how you would use this and what you think would > > be useful in order to nail down an export specification. > > > > usystblExport holds the top level information about an export, > > including > the > > name of the export specification, whether the export needs to be fixed > > width, whether to quote the text files, what the delimiter is for this > > specific export of the data, and a fully pathed file spec for where to > place > > the data. > > > > usystblExport > > EX_ID AutoNumber Export ID > > EX_Name Text Export Name > > EX_FixedWidth Yes/No True when Fixed Width > > EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter > > Text The delimiter between fields EX_FileSpec Text Fully pathed file > > name EX_HeaderLine Yes/No True when Place the field names in the first > > line of the file > > > > usystblExportDataSource holds the relationship between an Export and a > data > > source. This is a many to one, i.e. a given export specification can > > only use a single data source, but a single data source can be used by > > many different exports. > > > > usystblExportDataSource > > EXDS_ID AutoNumber DataSourceExport ID > > EXDS_IDEX Number Export ID > > EXDS_IDDS Number Data Source ID > > > > usystblDataSource tells us the name of the table, query or possibly a > > raw SQL statement. It also gives us a code telling us how to > > interpret the Source field. The objective is to be able to create a > > single recordset > and > > export that recordset to multiple destinations, in various formats, > > but still ensure that the data is identical. > > > > usystblDataSource > > DS_ID AutoNumber Data source ID > > DS_Name Text Name of the data set - not required > > DS_Source Memo Data source - can be a sql > > statement, a query name or a table name > > DS_Type Text Source of the data - TBL, QRY or SQL > > > > usystblFld gives us information about each field - the order of the > > field > in > > the Big String, the source field name in the table, query or SQL > statement, > > the OUTPUT field in the text file, the format string used to coerce > > the > data > > into the correct format, The width of the field if used in a fixed > > width export, and the beginning position in the string for FIXED WIDTH > > fields. The beginning position can be calculated from the position and > > the width > of > > all the fields, and is mostly used as a cross check on the > > specification. Fixed width export specifications are very specific and > > we need to be certain that the client receiving the data tells us > > these numbers > correctly. > > > > usystblFld > > FLD_ID AutoNumber Field ID > > FLD_IDDS Number Data Source ID > > FLD_Order Number The order that the field appears in the output string > > FLD_FldName Text Name of the field in the data source > > FLD_OutputFldName Text The name of the field in the output > > file > > FLD_Format Text Format string to use on the data > > > > FLD_BeginPos Number Beginning position in the Big String FLD_Width > > Number The width if this is to be used in a fixed width export. > > > > In my current concept of how to implement this set of tables, > > usystblFld would be a class (clsFld) which is responsible for > > formatting a piece of data from a specific field. > > > > usystblDataSource becomes a class (clsDataSource) which is the > > supervisor > of > > a collection of clsFld. The first thing that clsDataSource does is to > take > > the DS_ID and use that to pull all of the records in usystblFld with > > that value in FLD_IDDS. This basically gathers all of the field > > records that will be exported. Thus a query, table or SQL statement > > can have more > fields > > than make it into the export, and the fields that make it into the > > export are determined solely by their presence in usystblFld. As > > clsDataSource reads the records out of usystblFld, it instantiates a > > clsFld for each > field > > to be exported, and storing the class instances in Field Position > > order (FLD_Order), sort the fields coming out of usystblFlds on > > FLD_Order. Thus the clsFld instances are stored in the collection in > > their order in the output string. > > > > clsDataSource reads the dataset specified by the table name, query > > name, > or > > SQL statement stored in DS_Name. This data set may have N records to > > be exported into the resulting text file. The data set is iterated > > record by record, and each record is then fed to each clsFld in > > consecutive order in the clsFld collection (pseudocode below): > > > > Dim rst as dao.recordset > > Dim db as dao.database > > Dim lclsFld as clsFld > > Dim strBigStr as string > > set db = currentdb > > set rst = db.Open(DS_Source) > > while not rst.eof > > > > 'the stuff above gets the data to be exported > > > > 'The stuff below formats the data using the collection of clsFld > > instances > > > > for each lclsFld in colClsFld > > str = lclsfld.Format(rst) > > strBigStr = strBigStr & SomeDelimiter & str > > next lclsFld > > wend > > > > As you can see, each clsFld instance gets a shot at the recordset, and > uses > > FLD_FldName to determine which piece of the recordset it is supposed > > to format (pseudocode below): > > > > Function Format(rst as dao.recordset) as string > > Dim var as variant > > Dim str as string > > var = rst(FLD_FldName) > > str = format(var,FLD_Format) > > End function > > > > Thus as clsDataSource iterates the recordset of data to export, for > > each record to be exported it passes the recordset off to each clsFld > > instance, getting back formatted data and building up BigString. When > > all fields > have > > been formatted and appended to BigString, BigString is written to > > EX_FileSpec. > > > > That is the big picture, starting to discuss implementation logic. I > > am going to cross post this to my forum out on my web site for the > > purpose of creating a thread where this can be read independently of > > AccessD chatter. > > > > All comments and suggestions welcomed. We need to nail down the table > > structure, since the information in the tables drives the construction > > of the classes that hold the data in the usys tables, and the logic of > > how to use this data to create an export file. > > > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Thu Oct 20 17:11:00 2005 From: dmcafee at pacbell.net (David McAfee) Date: Thu, 20 Oct 2005 15:11:00 -0700 Subject: [AccessD] OT - ASP Lists In-Reply-To: <003501c5d5b8$afef9520$7601a8c0@ScuzzPaq> Message-ID: That would be cool, especially with ASP.Net topics :) D -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Bartow Sent: Thursday, October 20, 2005 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - ASP Lists If there's a need out there we could consider starting one here. You could contact all your ASP pals and invite them. What Say ye? John B. From accessd at shaw.ca Thu Oct 20 17:32:55 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 20 Oct 2005 15:32:55 -0700 Subject: [AccessD] OT - ASP Lists In-Reply-To: <003501c5d5b8$afef9520$7601a8c0@ScuzzPaq> Message-ID: <002b01c5d5c6$37ecbdb0$017ba8c0@xpserver> Hi John: Maybe all things .Net (?) and as the list grows separate it out into it's various components. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Thursday, October 20, 2005 1:56 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT - ASP Lists If there's a need out there we could consider starting one here. You could contact all your ASP pals and invite them. What Say ye? John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 20 19:22:22 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 20 Oct 2005 20:22:22 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <002301c5d5bd$91df8f90$6401a8c0@fincomplex.spb.ru> Message-ID: <000a01c5d5d5$848387d0$667aa8c0@ColbyM6805> Shamil, I guess I don't understand what you mean. This is a self contained system. Place data in the tables, call a function, out pops a text file. That is precisely the plan, to make a table driven export SYSTEM, where you place specifications for exporting data into a set of tables (well defined interface), instantiate a class, and call a method of the class. Out pops a text file. It is intentionally (or intended to be) that simple. At the same time it can be simultaneously used by 1 or a dozen (or a hundred) different users, exporting different data files, each exporting the files they choose by selecting which Export record(s) they use. I run this thing on a server, automatically, in the middle of the night, but that doesn't have to be. >- problem to share the work between team members; Work on this export wizard? There are only a handful of classes envisioned, possibly as few as two. I am not getting volunteers buy the droves you might notice, so it does not appear that splitting up the work is going to be one of the major concerns. >- problem of duplicated code, which may become "nightmarish" to support; I guess I just don't understand what you see. The entire system will likely be a pair of classes. One class holds the data and methods for a field, the other holds the data and methods for the recordset export. >- problem for future extensions; Am I missing something? If you are going to define a program, that performs a fixed functionality, then you always risk "problem for future extensions". This is not .net, there is no inheritance. The best we can do is to open the discussion up and get as much input and ideas for future expansions as possible right up front so that they can be planned for. If additions are needed later, then you do like you do in any project, you attempt to make them fit. This is not Windows however, or SQL Server, or Office, it is a pair of classes and 4 tables. >- problem for scaling up.... Well... This one will indeed be a problem. If you intend to export millions of records using this method the results will likely be unsatisfactory. That said however, this method loads the field class instances into memory and just passes a pointer to the recordset to each one. We can certainly run timing analysis per record (per field) but what you get is what you get. Again, there is no magic involved here. In fact using DAO instead of ADO will likely INCREASE the speed rather than decrease it. It just occurred to me that you might be able to scale it up using parallel processing, have 10 machines each append to it's own file, then append the 10 files together. However, if you envision something that needs to export millions of records at a shot, then a custom highly optimized solution is probably preferred. >etc. Sorry, can't really address that one until it is fleshed out a bit. ;-) I have a "similar" system actually running. It is very application specific, but the concept is virtually identical. I export 4 files with it daily. I can time it to get a feel for performance, but like anything, performance will always "depend" on a lot of different variables. Your Mileage May Vary GREATLY. My intention here is to attempt to "genericize" a common requirement - delimited or fixed width text file export. It is just plain silly to code this over and over and over (and over). BTW, I will eventually be porting this to .NET as I have a requirement for that. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 20, 2005 5:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 > are you discussing porting this out of an Access container to > something like VB6 or VB.Net? I just wanted to make "crystal clear" what kind of the data sources/data source objects are planned to be used for export and transformation.... > Or is this a "I don't like to reference DAO" > kind of thing. No, I like DAO :) > If the code that does this is contained inside the class, what > difference does the choice of DAO vs ADO make > - other than having to > link to the DAO library? IMO the problem is as far as I see (I can be wrong) that you plan to develop tightly coupled synchronous solution. This is a problem if you work alone but this is even a bigger problem when working in a team: - problem to share the work between team members; - problem of duplicated code, which may become "nigthmarish" to support; - problem for future extensions; - problem for scaling up.... etc. Shamil -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Oct 21 01:48:22 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 21 Oct 2005 07:48:22 +0100 Subject: [AccessD] OT Friday Humour In-Reply-To: <000a01c5d5d5$848387d0$667aa8c0@ColbyM6805> Message-ID: <001201c5d60b$6e30bf80$934f0c54@minster33c3r25> I loved this. Great writing. Creased me up (pun intended) http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=8335653541 Then our Independent newspaper picked it up http://news.independent.co.uk/uk/this_britain/article320432.ece Surely only a Brit would sell something by taking the p out of himself, the item and any prospective buyers. -- Andy Lacey http://www.minstersystems.co.uk From shamil at users.mns.ru Fri Oct 21 04:09:58 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 21 Oct 2005 13:09:58 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <000a01c5d5d5$848387d0$667aa8c0@ColbyM6805> Message-ID: <002c01c5d61f$41649c10$6401a8c0@fincomplex.spb.ru> <<< It is intentionally (or intended to be) that simple. >>> OK. I see now. And as far as I see the only source data transformation method is to apply specified format. This looks of rather limited applicability. I think with a few additional efforts this program can be made to use additionally runtime pluggable data formatters - then it would be more useful. I'd also add that some export files (for banks e.g here in Russia) have special header and footer sections - I'd add this feature to your spec. Of course this feature can be added later when there will be real customer's request to add it. > There are only a handful of classes envisioned, > possibly as few as two. If you add pluggable data formatters feature then you can get hundreds additional small classes written by others for their own needs. You can combine them in one library database (MS Access), ATL/COM library(VB6 or C++ ATL/COM) or class library (.NET). Or they can be used as separate pluggable units. And hey will be used by your generic core code. > The entire system will likely > be a pair of classes. OK. But it may grow as far as I see to use different data sources then you'll have duplicated code to synchronize. Classes are small but when you do changes even in small classes then they have to be tested. There should be a solution with generic core code ready for new data sources to be added. And this core code will not be needed to changes/retest when these new data sources will be added. Small change in you code design and small additional work on this project phase will results in big savings on next phases. > If additions are needed later, then you do like > you do in any project, you attempt to make > them fit. With this approach the risk is high to rewrite whole system in attempts to make the new features to fit it. Or add a lot of patch code here and there (as it usually happens) getting migrated your simple code into "spaghetti" code. Yes, I see your system is small but nowadays mainstream requirement is to design the system as easy adaptable as possible to the future changes. Yes, to "foresee" the future changes some additional work is needed but in long run this small additional work will result in considerable savings. If in your case "long run"(many changes in the future) is not planned then there is no need of course in any additional work on your small system architecture. You can go coding "blindly"... > It just occurred to > me that you might be able to scale it up using parallel processing, have 10 > machines each append to it's own file, then append the 10 files together. John, when I'm talking on scaling I'm NOT talking will your system be able to make export of huge amount of source rows as speedy as the small amount(here 10 machines "brute force" is one of the possible solutions) - I'm talking will your system be able to do that export of huge source data sources at all on ONE PC without stopping all the other work on it? The time it will spend on this export and transformation doesn't matter in this case. > However, if you envision something that needs to export millions of records > at a shot, then a custom highly optimized solution is probably preferred. When your customer will grow to have million records to export then you will write a speedy custom solution or adapt your one to run in parallel on many threads/PCs/processors (in the case you use VB.NET). But WHILE your customer is growing you will not need to adjust your solution if you make it a little bit more flexible NOW. You will sleep well, your customer will sleep well when their data will be exported night time. Yes, you will have less work for this customer for this certain project in long run(patch coding work will not be needed) but they will like you and they will deliver you more work in other areas and they will recommend you to their partners - they gain in long run, you gain in long run, everybody gains - "win-win" approach with some small additional efforts on first stages. Well, maybe the picture I'm drawing is too bright :) If your customer is not ready to pay for this additional efforts on first stage or you do not want to invest your time - then just go coding without trying to envision future changes. You ( and I and anybody else) can't foresee all the possible changes of course - if they will try they will end up in "analysis paralysis". But modern design and programming approaches allow to make right design decisions without detailed analysis of what changes may come in the future... > I can time it to get a feel for performance, but like anything, > performance will always "depend" on a lot of different variables. Your > Mileage May Vary GREATLY. I'm not talking about system performance - it depends of course. I'm talking about programming ready for many(but not all of course) future changes without many troubles... > It is just plain silly to code > this over and over and over (and over). Well, as Gustav noted for him hardcoded approach works well. I did program last year for my customer on C++ a rather flexible approach based on XML metadefinitions - it was still a semi-hardcoded because I used inherited legacy code I started with and there were no time and resources to generalize it. And this semi-hardcoded approach worked rather well. But you is keen to make it more generic as far as I see. And ready to go with that generic coding. OK. For your certain case if you foresee you will have in the near future 10 customers requests for 10 different export formats and this work will take, say one working week (5 days) but now for developing the code for two export formats your customers is ready to pay you for two working days and you will make your generic solution in these two days, which will fit all the ten formats then you of course can go with a generic solution. Then your customer will save money and you will have a generic solution applicable in other projects. If you invest one additional day or convince your customer to pay you for this additional day to work on your small system architecture(this additional day's work will be spread on three days work) then you will get even more flexible more generic solution, easily portable to VB.NET and scalable. Does it makes sense to spend this additional working day now or not? This a question to you and your customer.... (I say 5 working days, 1 additional working day etc. just as an example not as an evaluation of the amount of work needed for this certain project or for the work needed to work on this project's architecture). > BTW, I will eventually be porting this to .NET > as I have a requirement for that. Here we go! Then later they will ask you to convert it to a Web Service but they will not have enough money for that work because these money will be spend on patch coding, scaling and VBA->VB.NET conversion of your "cowboy coding" solution. And then they will find Indian, Pakistanian, Romanian, Russian,... young guys who will use your code and make it converted to Web service because these young guys can work on 5USD/hour rate or less and they are rather good(very good sometimes) programmers after all and your customer will have money to pay these young guys and maybe they will make him(your lost customer) happy maybe not... But in long run you will loose your customer. Your customer will think you're not a good developer because your code wasn't flexible enough to adapt to the changes. Young Indian,... guys will spoil your customer by "free-cheese" kind of work but the chances they will make your customer happy in long run are questionnable... Everybody unhappy, resources wasted, mutual credibility low - isn't that situation what is so often happens in IT industry? Maybe I'm generalizing too much for this small project, I know... Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 21, 2005 4:22 AM Subject: Re: [AccessD] Data Export Spec - Rev1 > Shamil, > > I guess I don't understand what you mean. This is a self contained system. > Place data in the tables, call a function, out pops a text file. That is > precisely the plan, to make a table driven export SYSTEM, where you place > specifications for exporting data into a set of tables (well defined > interface), instantiate a class, and call a method of the class. Out pops a > text file. It is intentionally (or intended to be) that simple. At the > same time it can be simultaneously used by 1 or a dozen (or a hundred) > different users, exporting different data files, each exporting the files > they choose by selecting which Export record(s) they use. I run this thing > on a server, automatically, in the middle of the night, but that doesn't > have to be. > > >- problem to share the work between team members; > > Work on this export wizard? There are only a handful of classes envisioned, > possibly as few as two. I am not getting volunteers buy the droves you > might notice, so it does not appear that splitting up the work is going to > be one of the major concerns. > > >- problem of duplicated code, which may become "nightmarish" to support; > > I guess I just don't understand what you see. The entire system will likely > be a pair of classes. One class holds the data and methods for a field, the > other holds the data and methods for the recordset export. > > >- problem for future extensions; > > Am I missing something? If you are going to define a program, that performs > a fixed functionality, then you always risk "problem for future extensions". > This is not .net, there is no inheritance. The best we can do is to open > the discussion up and get as much input and ideas for future expansions as > possible right up front so that they can be planned for. If additions are > needed later, then you do like you do in any project, you attempt to make > them fit. This is not Windows however, or SQL Server, or Office, it is a > pair of classes and 4 tables. > > >- problem for scaling up.... > > Well... This one will indeed be a problem. If you intend to export millions > of records using this method the results will likely be unsatisfactory. > That said however, this method loads the field class instances into memory > and just passes a pointer to the recordset to each one. We can certainly > run timing analysis per record (per field) but what you get is what you get. > Again, there is no magic involved here. In fact using DAO instead of ADO > will likely INCREASE the speed rather than decrease it. It just occurred to > me that you might be able to scale it up using parallel processing, have 10 > machines each append to it's own file, then append the 10 files together. > > However, if you envision something that needs to export millions of records > at a shot, then a custom highly optimized solution is probably preferred. > > >etc. > > Sorry, can't really address that one until it is fleshed out a bit. ;-) > > I have a "similar" system actually running. It is very application > specific, but the concept is virtually identical. I export 4 files with it > daily. I can time it to get a feel for performance, but like anything, > performance will always "depend" on a lot of different variables. Your > Mileage May Vary GREATLY. > > My intention here is to attempt to "genericize" a common requirement - > delimited or fixed width text file export. It is just plain silly to code > this over and over and over (and over). > > BTW, I will eventually be porting this to .NET as I have a requirement for > that. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > <<< tail trimmed>>> From Gustav at cactus.dk Fri Oct 21 05:11:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Oct 2005 12:11:35 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi John and Shamil Interesting to follow this thread. It demonstrates what happens when you move from a fixed to-the-point solution (like my example) over a generic solution as John is suggesting to a universal solution as Shamil has in mind - and all the considerations that move causes. I'm pretty much in line with Shamil on this. However, time has shown me that such thoughts most often are over the head and/or pockets of the client and you'll have to compromise. Clients are very pragmatic. But during this at least you have a nice intellectual time with yourself realizing that you are ahead of the client! /gustav >>> shamil at users.mns.ru 21-10-2005 11:09 >>> <<< It is intentionally (or intended to be) that simple. >>> OK. I see now. And as far as I see the only source data transformation method is to apply specified format. This looks of rather limited applicability. I think with a few additional efforts this program can be made to use additionally runtime pluggable data formatters - then it would be more useful. From andy at minstersystems.co.uk Fri Oct 21 06:06:34 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 21 Oct 2005 12:06:34 +0100 Subject: [AccessD] OT Friday Humour Message-ID: <20051021110631.6D50F250DD4@smtp.nildram.co.uk> Further to the earlier post I must apologise. The ebay guy is not a brit at all (I'd assumed that from the entry in the UK newspaper) he's from NY. Well, respect to him. Also the link I posted to the Independent newspaper is not worth following (only gave full article on day of publication, now just a suumary) but here's one to the guy's blog instead. A fun read. In fact the blog contains the full ebay ad (plus lots of follow-up comments) so you only need read this. http://www.banterist.com/archivefiles/000286.html -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From jwcolby at ColbyConsulting.com Fri Oct 21 08:56:20 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 09:56:20 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <002c01c5d61f$41649c10$6401a8c0@fincomplex.spb.ru> Message-ID: <002001c5d647$36ec8720$667aa8c0@ColbyM6805> Shamil, LOL, I NEVER want to be all those backwards things that you portray me to be, so join the team and show me (all of us) how we accomplish this? What I am discussing is getting data out of a row of a record, into a delimited string of text, with any format you desire (or which format$() can handle anyway). Each field can have its own format string stored right in the field definition, so you can specify the output format of the field. For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. Every fld record has a place to store a format string like this, so each field can be formatted as precisely as format strings allows you to format that field. Let's back up a minute. The objective is to create a system for creating fixed width / delimited data files for exchanging data between our puny little micro computers and those monsters of calculation mainframes. Specifically for EXPORTING data to these monsters of computing. The "typical" way that developers export data is: 1) Use the export wizard, which works well IF the format is well understood. Call up the wizard, point to a query, fill in the blanks, use the export specification with the OutputTo vba function. This is fine, except that if anything in the format needs to change, you have to step back through the wizard, selecting the field, and then find and fix the format. And of course, if you need any formatting not provided by the wizard you are stuck. The wizard is pretty cool, I use it, but I always find it a bit of a PITA. I also have one HUGE issue with this, which is that the OutputTo occasionally errors out for reasons completely unknown to me. Come back through and execute again and it works the second time. Reliability sucks. The exports that I do occur in the middle of the night because my client's client needs them on their desk in the morning. Every few weeks I come in to find it not happening. I even tried just looping back to do it again until it works and for whatever reason that doesn't work. So... Output to is a fine solution as long as you don't need reliability. 2) Write a custom output module that takes a record, pulls each field, and outputs it however it needs to be seen in the file, hard coding the quotes, if any, the delimit property, the fixed width etc. This is Gustav's solution, and if your spec is carved in stone, and you don't need to do lots of them, this method also works just fine. In either case, what often happens is that any necessary FORMATTING is often accomplished in the query that pulls the data. IOW, I pull a currency field, alias it, and right in the query use a format$() to get it in the desired format. This certainly works, but the issue is that if you want to find out (and change) how it is formatted, you have to go find the specific query that has the format$() statement in the field alias and change the format there. My intention is to: Move the formatting out of the queries entirely. Allow the query just selects data to export, nothing more. Allow the system to export data using the same query (so that IDENTICAL data is sent) into multiple files with varying DELIMITING format requirements. Place the formatting (if any) in a table. Make the formatting field specific, i.e. have a place to specify that for THIS field, I want THIS format. Place the other "delimiting information" such as "fixed width" or "comma delimited", or "Tab delimited" in a table, easy to see, easy to edit. Place the other "export name", "file name" etc. in a table, easy to see, easy to edit. Break the process into pieces - specify the data source, specify the field format, specify the delimiter format in the exported line of code. All of this allows me to build a specific kind of output, commonly known as fixed "width / delimited". This is not a report generator, it is used (typically) to exchange data between computers. The receiving computer MUST HAVE FieldX at PositionY, formatted EXACTLY Z. Getting the client to change how their program accepts the data is not an option. I have run into this a dozen times or more, and I see this same request come by the list several times a year so others are seeing it as well. Every time I have this requirement, these things are what I needed to format, never anything else, which is why I have "blinders on" I suppose. I admit to having a specific purpose in mind. You obviously have something more far ranging in mind, so please take a few minutes to expand what you have in mind, and how we can accomplish this. Everything you have said so far is so generalized that I cannot even understand what you have in mind. I understand "plug-in modules". My questions are: 1) Given what I am attempting to accomplish how do you create the module that you swap out. 2) What piece(s) of this puzzle is modified when I swap out this module for another. 3) How do the modules interface together. 4) How is this accomplished in VBA? 5) Give me a specific example of the kind of export / format that you are running into which isn't fixed/delimited/formatted and how modularizing this program would allow you to handle this kind of export. It sounds like my blinders are crippling me but we all think about handling the problems that we run into. It appears that you are running into problems that I am not seeing, and without ever seeing your problems, I can't comprehend how to respond to them. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, October 21, 2005 5:10 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 <<< It is intentionally (or intended to be) that simple. >>> OK. I see now. And as far as I see the only source data transformation method is to apply specified format. This looks of rather limited applicability. I think with a few additional efforts this program can be made to use additionally runtime pluggable data formatters - then it would be more useful. I'd also add that some export files (for banks e.g here in Russia) have special header and footer sections - I'd add this feature to your spec. Of course this feature can be added later when there will be real customer's request to add it. > There are only a handful of classes envisioned, > possibly as few as two. If you add pluggable data formatters feature then you can get hundreds additional small classes written by others for their own needs. You can combine them in one library database (MS Access), ATL/COM library(VB6 or C++ ATL/COM) or class library (.NET). Or they can be used as separate pluggable units. And hey will be used by your generic core code. > The entire system will likely > be a pair of classes. OK. But it may grow as far as I see to use different data sources then you'll have duplicated code to synchronize. Classes are small but when you do changes even in small classes then they have to be tested. There should be a solution with generic core code ready for new data sources to be added. And this core code will not be needed to changes/retest when these new data sources will be added. Small change in you code design and small additional work on this project phase will results in big savings on next phases. > If additions are needed later, then you do like > you do in any project, you attempt to make > them fit. With this approach the risk is high to rewrite whole system in attempts to make the new features to fit it. Or add a lot of patch code here and there (as it usually happens) getting migrated your simple code into "spaghetti" code. Yes, I see your system is small but nowadays mainstream requirement is to design the system as easy adaptable as possible to the future changes. Yes, to "foresee" the future changes some additional work is needed but in long run this small additional work will result in considerable savings. If in your case "long run"(many changes in the future) is not planned then there is no need of course in any additional work on your small system architecture. You can go coding "blindly"... > It just occurred to > me that you might be able to scale it up using parallel processing, > have 10 > machines each append to it's own file, then append the 10 files > together. John, when I'm talking on scaling I'm NOT talking will your system be able to make export of huge amount of source rows as speedy as the small amount(here 10 machines "brute force" is one of the possible solutions) - I'm talking will your system be able to do that export of huge source data sources at all on ONE PC without stopping all the other work on it? The time it will spend on this export and transformation doesn't matter in this case. > However, if you envision something that needs to export millions of records > at a shot, then a custom highly optimized solution is probably > preferred. When your customer will grow to have million records to export then you will write a speedy custom solution or adapt your one to run in parallel on many threads/PCs/processors (in the case you use VB.NET). But WHILE your customer is growing you will not need to adjust your solution if you make it a little bit more flexible NOW. You will sleep well, your customer will sleep well when their data will be exported night time. Yes, you will have less work for this customer for this certain project in long run(patch coding work will not be needed) but they will like you and they will deliver you more work in other areas and they will recommend you to their partners - they gain in long run, you gain in long run, everybody gains - "win-win" approach with some small additional efforts on first stages. Well, maybe the picture I'm drawing is too bright :) If your customer is not ready to pay for this additional efforts on first stage or you do not want to invest your time - then just go coding without trying to envision future changes. You ( and I and anybody else) can't foresee all the possible changes of course - if they will try they will end up in "analysis paralysis". But modern design and programming approaches allow to make right design decisions without detailed analysis of what changes may come in the future... > I can time it to get a feel for performance, but like anything, > performance will always "depend" on a lot of different variables. > Your Mileage May Vary GREATLY. I'm not talking about system performance - it depends of course. I'm talking about programming ready for many(but not all of course) future changes without many troubles... > It is just plain silly to code > this over and over and over (and over). Well, as Gustav noted for him hardcoded approach works well. I did program last year for my customer on C++ a rather flexible approach based on XML metadefinitions - it was still a semi-hardcoded because I used inherited legacy code I started with and there were no time and resources to generalize it. And this semi-hardcoded approach worked rather well. But you is keen to make it more generic as far as I see. And ready to go with that generic coding. OK. For your certain case if you foresee you will have in the near future 10 customers requests for 10 different export formats and this work will take, say one working week (5 days) but now for developing the code for two export formats your customers is ready to pay you for two working days and you will make your generic solution in these two days, which will fit all the ten formats then you of course can go with a generic solution. Then your customer will save money and you will have a generic solution applicable in other projects. If you invest one additional day or convince your customer to pay you for this additional day to work on your small system architecture(this additional day's work will be spread on three days work) then you will get even more flexible more generic solution, easily portable to VB.NET and scalable. Does it makes sense to spend this additional working day now or not? This a question to you and your customer.... (I say 5 working days, 1 additional working day etc. just as an example not as an evaluation of the amount of work needed for this certain project or for the work needed to work on this project's architecture). > BTW, I will eventually be porting this to .NET > as I have a requirement for that. Here we go! Then later they will ask you to convert it to a Web Service but they will not have enough money for that work because these money will be spend on patch coding, scaling and VBA->VB.NET conversion of your "cowboy coding" solution. And then they will find Indian, Pakistanian, Romanian, Russian,... young guys who will use your code and make it converted to Web service because these young guys can work on 5USD/hour rate or less and they are rather good(very good sometimes) programmers after all and your customer will have money to pay these young guys and maybe they will make him(your lost customer) happy maybe not... But in long run you will loose your customer. Your customer will think you're not a good developer because your code wasn't flexible enough to adapt to the changes. Young Indian,... guys will spoil your customer by "free-cheese" kind of work but the chances they will make your customer happy in long run are questionnable... Everybody unhappy, resources wasted, mutual credibility low - isn't that situation what is so often happens in IT industry? Maybe I'm generalizing too much for this small project, I know... Shamil From Gustav at cactus.dk Fri Oct 21 09:39:00 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Oct 2005 16:39:00 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. From Jdemarco at hudsonhealthplan.org Fri Oct 21 09:46:24 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 10:46:24 -0400 Subject: [AccessD] OT: Who's Who listings Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F73@TTNEXCHCL2.hshhp.com> List, Is there some scam going on on the Net regarding Who's Who listings? By coincidence (maybe) my daughter received a letter yesterday from Who's Who in Middle School saying she'd been pre-selected for a listing in this book (Who's Who in Middle School). We were certainly proud to see this but I checked my personal e-mail account this AM after being away from any PC related activity yesterday to find that I've been selected to appear in something called the Madison Who's Who which I've never heard of. Both requests ask for additional biographical information. I don't know what info. off-hand sorry (don't have the docs here with me). Does anyone else find the timing of these notifications "interesting"? Is there some funny biz going on I should be aware of? Thanks, Jim DeMarco *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From ldoering at symphonyinfo.com Fri Oct 21 10:21:56 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Fri, 21 Oct 2005 10:21:56 -0500 Subject: [AccessD] OT: Who's Who listings Message-ID: <855499653F55AD4190B242717DF132BC10BA33@dewey.Symphony.local> Jim, I don't know of any new or specific scam that is going on recently, but the old one is to collect the information to get you to buy a very expensive book. Which will be read by no one. I haven't seen it for middle-schoolers before, but several variations arrive when children are in high school. Liz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Friday, October 21, 2005 10:01 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT: Who's Who listings List, Is there some scam going on on the Net regarding Who's Who listings? By coincidence (maybe) my daughter received a letter yesterday from Who's Who in Middle School saying she'd been pre-selected for a listing in this book (Who's Who in Middle School). We were certainly proud to see this but I checked my personal e-mail account this AM after being away from any PC related activity yesterday to find that I've been selected to appear in something called the Madison Who's Who which I've never heard of. Both requests ask for additional biographical information. I don't know what info. off-hand sorry (don't have the docs here with me). Does anyone else find the timing of these notifications "interesting"? Is there some funny biz going on I should be aware of? Thanks, Jim DeMarco ************************************************************************ *********** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". ************************************************************************ *********** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Oct 21 10:25:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 11:25:13 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: Message-ID: <002501c5d653$a21d5c70$667aa8c0@ColbyM6805> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Oct 21 10:31:50 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 21 Oct 2005 11:31:50 -0400 Subject: [AccessD] OT: Who's Who listings In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3F73@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C74016C3F73@TTNEXCHCL2.hshhp.com> Message-ID: On 21/10/05, Jim DeMarco wrote: > List, > > Is there some scam going on on the Net regarding Who's Who listings? By coincidence (maybe) my daughter received a letter yesterday from Who's Who in Middle School saying she'd been pre-selected for a listing in this book (Who's Who in Middle School). We were certainly proud to see this but I checked my personal e-mail account this AM after being away from any PC related activity yesterday to find that I've been selected to appear in something called the Madison Who's Who which I've never heard of. Both requests ask for additional biographical information. I don't know what info. off-hand sorry (don't have the docs here with me). > > Does anyone else find the timing of these notifications "interesting"? Is there some funny biz going on I should be aware of? Jim, If the letter your daughter got was a paper letter, then I do believe that it's probably valid. I received one when I was in High School in FL for a year. The e-mail you received, I'd be wary of. I think that the timing of the e-mail is probably just a coincidence, but if the paper letters come out this time every year, then the timing may be more than just coincidece. It may be specifically designed to coincide with the real letters. Just my $0.02 -- 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 Jimjih at comcast.net Fri Oct 21 10:33:46 2005 From: Jimjih at comcast.net (Jimjih at comcast.net) Date: Fri, 21 Oct 2005 15:33:46 +0000 Subject: [AccessD] OT: Who's Who listings Message-ID: <102120051533.16666.43590A5A000BBF040000411A22007347480807060307B6@comcast.net> Jim, I have found the best policy: be suspicious if they ask for any personal information. There are many scams going on that look perfectly legitimate, so I would check it out before furnishing anything. Did you check the source header of the e-mail. I get tons of e-mails that show "misconfigured sender". And they aren't even addressed to me, but they get in my box anyway. Looks like the Spammers (Scammers) in Nigeria are smarter that the ISPs and have found ways around alleged security. Jim -------------- Original message -------------- > List, > > Is there some scam going on on the Net regarding Who's Who listings? By > coincidence (maybe) my daughter received a letter yesterday from Who's Who in > Middle School saying she'd been pre-selected for a listing in this book (Who's > Who in Middle School). We were certainly proud to see this but I checked my > personal e-mail account this AM after being away from any PC related activity > yesterday to find that I've been selected to appear in something called the > Madison Who's Who which I've never heard of. Both requests ask for additional > biographical information. I don't know what info. off-hand sorry (don't have > the docs here with me). > > Does anyone else find the timing of these notifications "interesting"? Is there > some funny biz going on I should be aware of? > > Thanks, > > Jim DeMarco > > > ******************************************************************************** > *** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us immediately, > either by contacting the sender at the electronic mail address noted above or > calling HHP at (914) 631-1611. If you are not the intended recipient, please do > not forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ******************************************************************************** > *** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Oct 21 10:46:41 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 11:46:41 -0400 Subject: [AccessD] OT: Who's Who listings Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F77@TTNEXCHCL2.hshhp.com> The paper letter seems to be legit by virtue of the paper for sure. I don't beleive either request is asking for really personal info but I sure took a leap when I checked my e-mail and saw another version of the same thing! Who's the real Who's Who anyway? Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan Carbonnell Sent: Friday, October 21, 2005 11:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Who's Who listings On 21/10/05, Jim DeMarco wrote: > List, > > Is there some scam going on on the Net regarding Who's Who listings? By coincidence (maybe) my daughter received a letter yesterday from Who's Who in Middle School saying she'd been pre-selected for a listing in this book (Who's Who in Middle School). We were certainly proud to see this but I checked my personal e-mail account this AM after being away from any PC related activity yesterday to find that I've been selected to appear in something called the Madison Who's Who which I've never heard of. Both requests ask for additional biographical information. I don't know what info. off-hand sorry (don't have the docs here with me). > > Does anyone else find the timing of these notifications "interesting"? Is there some funny biz going on I should be aware of? Jim, If the letter your daughter got was a paper letter, then I do believe that it's probably valid. I received one when I was in High School in FL for a year. The e-mail you received, I'd be wary of. I think that the timing of the e-mail is probably just a coincidence, but if the paper letters come out this time every year, then the timing may be more than just coincidece. It may be specifically designed to coincide with the real letters. Just my $0.02 -- 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 *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hudsonhealthplan.org Fri Oct 21 10:48:10 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 11:48:10 -0400 Subject: [AccessD] OT: Who's Who listings Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F78@TTNEXCHCL2.hshhp.com> Sucks that even someone (possibly) trying to recognize accomplishments has to be analyzed 9 ways to Sunday doesn't it? Good points thanks, Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jimjih at comcast.net Sent: Friday, October 21, 2005 11:34 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Who's Who listings Jim, I have found the best policy: be suspicious if they ask for any personal information. There are many scams going on that look perfectly legitimate, so I would check it out before furnishing anything. Did you check the source header of the e-mail. I get tons of e-mails that show "misconfigured sender". And they aren't even addressed to me, but they get in my box anyway. Looks like the Spammers (Scammers) in Nigeria are smarter that the ISPs and have found ways around alleged security. Jim -------------- Original message -------------- > List, > > Is there some scam going on on the Net regarding Who's Who listings? By > coincidence (maybe) my daughter received a letter yesterday from Who's Who in > Middle School saying she'd been pre-selected for a listing in this book (Who's > Who in Middle School). We were certainly proud to see this but I checked my > personal e-mail account this AM after being away from any PC related activity > yesterday to find that I've been selected to appear in something called the > Madison Who's Who which I've never heard of. Both requests ask for additional > biographical information. I don't know what info. off-hand sorry (don't have > the docs here with me). > > Does anyone else find the timing of these notifications "interesting"? Is there > some funny biz going on I should be aware of? > > Thanks, > > Jim DeMarco > > > ******************************************************************************** > *** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that is > confidential or privileged. If you are not the intended recipient, you are > hereby notified that any disclosure, copying, distribution or use of the > contents of this message is strictly prohibited. If you have received this > message in error or are not the named recipient, please notify us immediately, > either by contacting the sender at the electronic mail address noted above or > calling HHP at (914) 631-1611. If you are not the intended recipient, please do > not forward this email to anyone, and delete and destroy all copies of this > message. Thank You". > ******************************************************************************** > *** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From hoopesg at hotmail.com Fri Oct 21 10:55:06 2005 From: hoopesg at hotmail.com (Gina Hoopes) Date: Fri, 21 Oct 2005 10:55:06 -0500 Subject: [AccessD] Quarter hour increments Message-ID: Hi all. I've got a database that lets people enter the amount of time they spent on a particular project. To make it easier on those of us who have to work with the data after they've entered it, we'd like to restrict them to quarter hour increments. So, they could enter 1.25 or .5 or 3.75 or 5 but never 1.08 or 2.66. Can I restrict their entries in that way? Thanks! Gina From mikedorism at verizon.net Fri Oct 21 11:04:45 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Fri, 21 Oct 2005 12:04:45 -0400 Subject: [AccessD] Quarter hour increments In-Reply-To: Message-ID: <000b01c5d659$285acd40$2e01a8c0@dorismanning> I always found it easier to do tenths of hours (every 6 minutes = .1) just because of this. The only way to police this would be a BeforeUpdate event to check if there is a decimal and what is behind it. Doris Manning mikedorism at verizon.net From john at winhaven.net Fri Oct 21 11:05:34 2005 From: john at winhaven.net (John Bartow) Date: Fri, 21 Oct 2005 11:05:34 -0500 Subject: [AccessD] OT - ASP Lists In-Reply-To: <002b01c5d5c6$37ecbdb0$017ba8c0@xpserver> Message-ID: <006301c5d659$451eb180$7701a8c0@ScuzzPaq> Jim, That sounds good. Anyone else have a comment on this? If you have an interest in starting a "dba.Net" list here send me an email: mailto:president at databaseadvisors.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Hi John: Maybe all things .Net (?) and as the list grows separate it out into it's various components. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow If there's a need out there we could consider starting one here. You could contact all your ASP pals and invite them. From wdhindman at bellsouth.net Fri Oct 21 11:21:01 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Fri, 21 Oct 2005 12:21:01 -0400 Subject: [AccessD] OT: Who's Who listings References: <08F823FD83787D4BA0B99CA580AD3C74016C3F77@TTNEXCHCL2.hshhp.com> Message-ID: <00a701c5d65b$6d5bd4f0$6101a8c0@JISREGISTRATION.local> ...if you think about it for a moment Jim ...who are they going to sell these books to? William ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, October 21, 2005 11:46 AM Subject: Re: [AccessD] OT: Who's Who listings > The paper letter seems to be legit by virtue of the paper for sure. I > don't beleive either request is asking for really personal info but I sure > took a leap when I checked my e-mail and saw another version of the same > thing! Who's the real Who's Who anyway? > > Jim D. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Friday, October 21, 2005 11:32 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Who's Who listings > > > On 21/10/05, Jim DeMarco wrote: >> List, >> >> Is there some scam going on on the Net regarding Who's Who listings? By >> coincidence (maybe) my daughter received a letter yesterday from Who's >> Who in Middle School saying she'd been pre-selected for a listing in this >> book (Who's Who in Middle School). We were certainly proud to see this >> but I checked my personal e-mail account this AM after being away from >> any PC related activity yesterday to find that I've been selected to >> appear in something called the Madison Who's Who which I've never heard >> of. Both requests ask for additional biographical information. I don't >> know what info. off-hand sorry (don't have the docs here with me). >> >> Does anyone else find the timing of these notifications "interesting"? >> Is there some funny biz going on I should be aware of? > > Jim, > > If the letter your daughter got was a paper letter, then I do believe > that it's probably valid. > > I received one when I was in High School in FL for a year. > > The e-mail you received, I'd be wary of. I think that the timing of > the e-mail is probably just a coincidence, but if the paper letters > come out this time every year, then the timing may be more than just > coincidece. It may be specifically designed to coincide with the real > letters. > > Just my $0.02 > > -- > 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 > > > > > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is confidential or privileged. If you are not the intended recipient, you > are hereby notified that any disclosure, copying, distribution or use of > the contents of this message is strictly prohibited. If you have received > this message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address noted above or calling HHP at (914) 631-1611. If you are not the > intended recipient, please do not forward this email to anyone, and delete > and destroy all copies of this message. Thank You". > *********************************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dwaters at usinternet.com Fri Oct 21 11:18:04 2005 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 21 Oct 2005 11:18:04 -0500 Subject: [AccessD] Quarter hour increments In-Reply-To: <8999601.1129910901970.JavaMail.root@sniper22> Message-ID: <000001c5d65b$042e5340$0200a8c0@danwaters> Hi Gina, I also record hours by tenths. It's easy, and if I'm not exactly accurate it's OK because 1/10 is a small amount. Dan Waters www.promationsystems.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, October 21, 2005 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Quarter hour increments I always found it easier to do tenths of hours (every 6 minutes = .1) just because of this. The only way to police this would be a BeforeUpdate event to check if there is a decimal and what is behind it. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 21 12:38:36 2005 From: john at winhaven.net (John Bartow) Date: Fri, 21 Oct 2005 12:38:36 -0500 Subject: [AccessD] Multiple Currency types Message-ID: <009301c5d666$4436af90$7701a8c0@ScuzzPaq> I have a field that is used to retain the historical cost of an item and up to now is has all been in US dollars. Just got one in UK pounds. There's more coming up too. I've never dealt with multiple currency types before. How do you suggest I store different currencies in my table? Do I need one column for amount and one for type of currency or is there a way to do this with formatting, masks, etc. From Lambert.Heenan at AIG.com Fri Oct 21 12:41:29 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Fri, 21 Oct 2005 12:41:29 -0500 Subject: [AccessD] Quarter hour increments Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF1C97@xlivmbx21.aig.com> Well you could have them enter the hours in a textbox and the quarters via a combox. The combo would just have a simple value list (0;0.25;0.5;0.75) as its data source and be limited to the list. Saves a whole lot of code in validating what they entered as a decimal number. For that matter you could have the hours in a combo as well. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gina Hoopes Sent: Friday, October 21, 2005 11:55 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Quarter hour increments Hi all. I've got a database that lets people enter the amount of time they spent on a particular project. To make it easier on those of us who have to work with the data after they've entered it, we'd like to restrict them to quarter hour increments. So, they could enter 1.25 or .5 or 3.75 or 5 but never 1.08 or 2.66. Can I restrict their entries in that way? Thanks! Gina -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Fri Oct 21 12:55:03 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 21 Oct 2005 10:55:03 -0700 Subject: [AccessD] OT Friday Humour References: <001201c5d60b$6e30bf80$934f0c54@minster33c3r25> Message-ID: <02b601c5d668$90b4fb90$6501a8c0@HAL9004> The letters were a riot. Rocky ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 11:48 PM Subject: [AccessD] OT Friday Humour >I loved this. Great writing. Creased me up (pun intended) > > http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&item=8335653541 > > Then our Independent newspaper picked it up > http://news.independent.co.uk/uk/this_britain/article320432.ece > > Surely only a Brit would sell something by taking the p out of himself, > the > item and any prospective buyers. > > -- Andy Lacey > http://www.minstersystems.co.uk > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Oct 21 12:56:25 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 13:56:25 -0400 Subject: [AccessD] OT: Who's Who listings Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F79@TTNEXCHCL2.hshhp.com> Correct but... The Madison one isn't really trying to sell me anything (not at this point at least). They've got a searchable web site as well as a hard copy book (or as they call it "Leather Bound Registry). In fact I just took a look at whoswhoinmiddleschool.com and it doesn't look like they're selling anything either. The pitch probably comes later on (they'll give us time to tell the grandparents!!). At any rate I'll wait for the real Who's Who to contact me. So if I turn blue... Thanks JD -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Friday, October 21, 2005 12:21 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Who's Who listings ...if you think about it for a moment Jim ...who are they going to sell these books to? William ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, October 21, 2005 11:46 AM Subject: Re: [AccessD] OT: Who's Who listings > The paper letter seems to be legit by virtue of the paper for sure. I > don't beleive either request is asking for really personal info but I sure > took a leap when I checked my e-mail and saw another version of the same > thing! Who's the real Who's Who anyway? > > Jim D. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bryan > Carbonnell > Sent: Friday, October 21, 2005 11:32 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Who's Who listings > > > On 21/10/05, Jim DeMarco wrote: >> List, >> >> Is there some scam going on on the Net regarding Who's Who listings? By >> coincidence (maybe) my daughter received a letter yesterday from Who's >> Who in Middle School saying she'd been pre-selected for a listing in this >> book (Who's Who in Middle School). We were certainly proud to see this >> but I checked my personal e-mail account this AM after being away from >> any PC related activity yesterday to find that I've been selected to >> appear in something called the Madison Who's Who which I've never heard >> of. Both requests ask for additional biographical information. I don't >> know what info. off-hand sorry (don't have the docs here with me). >> >> Does anyone else find the timing of these notifications "interesting"? >> Is there some funny biz going on I should be aware of? > > Jim, > > If the letter your daughter got was a paper letter, then I do believe > that it's probably valid. > > I received one when I was in High School in FL for a year. > > The e-mail you received, I'd be wary of. I think that the timing of > the e-mail is probably just a coincidence, but if the paper letters > come out this time every year, then the timing may be more than just > coincidece. It may be specifically designed to coincide with the real > letters. > > Just my $0.02 > > -- > 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 > > > > > > > *********************************************************************************** > "This electronic message is intended to be for the use only of the named > recipient, and may contain information from Hudson Health Plan (HHP) that > is confidential or privileged. If you are not the intended recipient, you > are hereby notified that any disclosure, copying, distribution or use of > the contents of this message is strictly prohibited. If you have received > this message in error or are not the named recipient, please notify us > immediately, either by contacting the sender at the electronic mail > address noted above or calling HHP at (914) 631-1611. If you are not the > intended recipient, please do not forward this email to anyone, and delete > and destroy all copies of this message. Thank You". > *********************************************************************************** > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Jdemarco at hudsonhealthplan.org Fri Oct 21 12:58:20 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 21 Oct 2005 13:58:20 -0400 Subject: [AccessD] Quarter hour increments Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3F7A@TTNEXCHCL2.hshhp.com> Or couldn't you just provide a drop down with the increments you want for the fractional portion of the time? You could probably do the same for the hours to prevent any decimal entries. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Dan Waters Sent: Friday, October 21, 2005 12:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Quarter hour increments Hi Gina, I also record hours by tenths. It's easy, and if I'm not exactly accurate it's OK because 1/10 is a small amount. Dan Waters www.promationsystems.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Friday, October 21, 2005 11:05 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Quarter hour increments I always found it easier to do tenths of hours (every 6 minutes = .1) just because of this. The only way to police this would be a BeforeUpdate event to check if there is a decimal and what is behind it. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From marcus at tsstech.com Fri Oct 21 13:19:44 2005 From: marcus at tsstech.com (Scott Marcus) Date: Fri, 21 Oct 2005 14:19:44 -0400 Subject: [AccessD] Quarter hour increments Message-ID: In the table, use the Validation Rule and Validation Text like the following... Validation Rule - ([name of your field]*100) Mod 25 = 0 Validation Text - The decimal portion of the time entered must be 0, 25, 50, or 75! Hope that helps... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From KIsmert at texassystems.com Fri Oct 21 13:25:48 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Fri, 21 Oct 2005 13:25:48 -0500 Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface The best way Message-ID: >I see now VBA/VB6-programming concept I called "DEEP-object concept" >(http://www.smsconsulting.spb.ru/shamil_s/articles/deepcnpt.htm) Shamil, Colby turned me on to your site some years ago. All I can say is that you were way ahead of the curve -- it even took MS 3 years to come up with a stable platform to run your concept. I too have dabbled with my own form management frameworks for Access. I got two running, the first a modestly complex, class-based framework that relied on sinking events (developed independently), and the second a stripped down, much-simplified framework based on interfaces. The interface framework managed not only Access forms, but Excel Userforms and standalone objects, as well. The shift in thinking was from a reactive style (respond to an event from something that already happened) to an active style (tell some object to do something with this information). One aim of the interface-based framework was to produce a more loosely-coupled system by moving parameters directly to the object, eliminating the reliance on any global objects (external form controls, global variables, functions and collections...). The other goal was to move away from the flakey form event system, and instead build framework "events" (in reality interface callbacks) on the much more reliable mechanism of object termination. I have thought of building a third framework that combined the best ideas of the first two, but have run into these problems: * Access Form objects have no parameterized constructor (a true Initialize event with a user-definable parameter list). Form_Open happens way too late for my purposes. (Maybe Access 2005 will correct this) * No easy way to deliver the framework. COM-based approaches would require Active-X dlls, developed in VB6. .NET seems to provide some answers: * VB.NET, C# and similar have the object sophistication to build a technically satisfying framework. * Packaging and installation appear to be simpler and more robust (although I can't say this firsthand) Some interesting thoughts on what such a framework should and shouldn't have: * Based in .NET * Works with Access via COM Interop to an Office Add-In. * Automates other form types, including Userforms and .NET forms. * Form Roles defined by the Interfaces they support. * Extensible by defining new Form Role Interfaces, and providing the support code to implement them. * Not driven by Form events. The form communicates to other forms in the framework via interfaces. Form events are considered private to the form, in that they don't drive inter-form communication. The form can use helper objects that sink form events and perform various services, including communication via the proper channels. These would be explicitly set up in the form. Of course, the larger question is, "why do this?". Maybe Microsoft will revive enough developer interest in its next release of Access to justify investing in such a framework. -Ken From jwcolby at ColbyConsulting.com Fri Oct 21 13:34:43 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 14:34:43 -0400 Subject: [AccessD] OT Colby's Framework In-Reply-To: <016e01c5d574$7ae7c760$fa10a8c0@Albatross> Message-ID: <002a01c5d66e$1af2e600$667aa8c0@ColbyM6805> Borg, Did my response help at all. Do you want to discuss this? Here on the list is fine, or off list as well if you wish. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Thursday, October 20, 2005 8:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] OT Colby's Framework Hi John, This probably doesn't belong here... but Is someone framing me? Case : DemoFW_FE.mdb I have problem initializing..... When executing the line mclsFramework.Init Nothing in function FWinit() it runs the init of the clsFramework: Public Sub Init(ByRef robjParent As Object) Set mobjParent = robjParent cIS.Register Me assDebugPrint "init " & mstrInstanceName, DebugPrint mclsSVFW.Init Nothing, gfwcnn, "usystblFWSysVars" cIS.EnblPtrStack = SV("EnblPtrStack") <================== crashes here cIS.EnblNameStack = SV("EnblNameStack") mclsZip.Init Nothing End Sub The function Public Function SV(strSVName As String) As Variant SV = mclsSVFW.SV(strSVName) End Function takes us to : with "EnblPtrStack" as the strSVName value Function SV(strSVName As String, Optional strSVFld As String = "SV_VarValue") As Variant On Error GoTo Err_SV Select Case strSVFld Case "SV_VarValue" SV = mcolSysVars(strSVName).Value() <========= errors here (error number 5) Case "SV_Memo" SV = mcolSysVars(strSVName).Memo() Case "SV_UserEditable" SV = mcolSysVars(strSVName).UserEditable() Case "SV_AllowOverride" SV = mcolSysVars(strSVName).AllowOverride() Case Else End Select Exit_SV: Exit Function Err_SV: Select Case Err Case 0 Resume Exit_SV Case 5 SV = Null <======== You set the SV to null, but then errors with : "Invalid Use of NULL" Resume Exit_SV Case Else MsgBox Err.Description, , "Error in Function clsSysVars.SV" Resume Exit_SV End Select Resume 0 '.FOR TROUBLESHOOTING End Function ....... Being able to run your sample code is the first step ... Persistence is getting me nowhere! Any suggestions? /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Oct 21 13:57:01 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 21 Oct 2005 20:57:01 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. From hoopesg at hotmail.com Fri Oct 21 14:17:47 2005 From: hoopesg at hotmail.com (Gina Hoopes) Date: Fri, 21 Oct 2005 14:17:47 -0500 Subject: [AccessD] Quarter hour increments Message-ID: Works perfectly! Thanks, Scott! Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Friday, October 21, 2005 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Quarter hour increments In the table, use the Validation Rule and Validation Text like the following... Validation Rule - ([name of your field]*100) Mod 25 = 0 Validation Text - The decimal portion of the time entered must be 0, 25, 50, or 75! Hope that helps... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From jwcolby at ColbyConsulting.com Fri Oct 21 14:51:55 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 15:51:55 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: Message-ID: <002b01c5d678$e3eb5ec0$667aa8c0@ColbyM6805> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 21 15:04:57 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 21 Oct 2005 15:04:57 -0500 Subject: [AccessD] Quarter hour increments Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337943@corp-es01.fleetpride.com> cool. That one goes in the goody bag Jim Hale -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Friday, October 21, 2005 2:18 PM To: AccessD at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Works perfectly! Thanks, Scott! Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Friday, October 21, 2005 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Quarter hour increments In the table, use the Validation Rule and Validation Text like the following... Validation Rule - ([name of your field]*100) Mod 25 = 0 Validation Text - The decimal portion of the time entered must be 0, 25, 50, or 75! Hope that helps... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jim.moss at jlmoss.net Fri Oct 21 15:54:42 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Fri, 21 Oct 2005 15:54:42 -0500 (CDT) Subject: [AccessD] Multiple Currency types In-Reply-To: <009301c5d666$4436af90$7701a8c0@ScuzzPaq> References: <009301c5d666$4436af90$7701a8c0@ScuzzPaq> Message-ID: <25743.65.196.182.34.1129928082.squirrel@65.196.182.34> John, I do a lot of work for corporate finance of a large multinational firm and what we do is save the amount along with the functional currency type. I have a currency conversion table that gets updated from Oracle monthly; the table includes the currency code, the USD conversion rate to foreign currency rate and the foreign currency rate to USD. Jim > I have a field that is used to retain the historical cost of an item and > up > to now is has all been in US dollars. Just got one in UK pounds. There's > more coming up too. > > I've never dealt with multiple currency types before. How do you suggest I > store different currencies in my table? Do I need one column for amount > and > one for type of currency or is there a way to do this with formatting, > masks, etc. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From jwcolby at ColbyConsulting.com Fri Oct 21 16:42:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 21 Oct 2005 17:42:15 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: Message-ID: <002e01c5d688$50b32060$667aa8c0@ColbyM6805> Perhaps we need a plug-in currency converter where the currency symbol, decimal point and thousands delimiter can be specified, and which then takes the currency value and formats it in the expected manner? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Oct 21 16:42:19 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 01:42:19 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: Message-ID: <001e01c5d689$1cc67940$6401a8c0@fincomplex.spb.ru> <<< a universal solution as Shamil has in mind >>> Gustav, My solution is not not intented to be universal. What I propose is to develop a solution, which will allow to not patch the core code but use pluggable custom classes additionally to the "default formatter", which use metadata and Format$ function. Additionally I propose to take into consideration from the very beginning that data source rows' quantity can be very large in general case and that developed solution should be ready to work well in such a case too on a moderate average PC.... Additionally... a limited short list of proposals may follow - but that's all - and for the universal solutuion this list promise to be endless.... <<< Clients are very pragmatic. >>> Yes, I know. And I saw it many times and I'm continuing to see how this client's pragmatism results in bad software and then they blaim bad developers. I'm pragmatic too I think - let's try to educate clients step by step? IT industry is mature enough now for this clients educatiion work. (Yes, I know I sound too optimistic, real life isn't like that, Been there, seen that. Or I'd better say I'm still there and see that everyday troubles in my own work with "badly educated in software development" customers. It's not easy to convince clients to wait a little bit more for end results they needed "yesterday". It's even more complicated to convince them to pay today for additional work, which results in their own savings in long run. It's often necessary to invest our own time. But when customers see good final results then the next steps for the next projects are easier...) It's just silly (as John said) to see how resources are wasted when relatively small additional efforts used on project envision and solution architecture design phase result in savings in short and long runs and in a flexible ready for future changes solution, which may find application in the areas, where "quick&dirty" will never find.... Recap ====== 1. I'm not pretending to develop a universal solution. 2. I'm pragmatic 3. I believe(I see) that IT industry is mature enough for simple but flexible, ready for future changes, mature software design and development solutions. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, October 21, 2005 2:11 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Hi John and Shamil > > Interesting to follow this thread. It demonstrates what happens when you move from a fixed to-the-point solution (like my example) over a generic solution as John is suggesting to a universal solution as Shamil has in mind - and all the considerations that move causes. > > I'm pretty much in line with Shamil on this. However, time has shown me that such thoughts most often are over the head and/or pockets of the client and you'll have to compromise. Clients are very pragmatic. But during this at least you have a nice intellectual time with yourself realizing that you are ahead of the client! > > /gustav > > > >>> shamil at users.mns.ru 21-10-2005 11:09 >>> > <<< > It is intentionally (or intended to be) that simple. > >>> > OK. I see now. > And as far as I see the only source data transformation method is to apply > specified format. > This looks of rather limited applicability. > I think with a few additional efforts this program can be made to use > additionally runtime pluggable data formatters - then it would be more > useful. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Fri Oct 21 16:47:57 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 01:47:57 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <002001c5d647$36ec8720$667aa8c0@ColbyM6805> Message-ID: <001f01c5d689$1cf159d0$6401a8c0@fincomplex.spb.ru> <<< LOL, I NEVER want to be all those backwards things that you portray me to be >>> I think I should have added that in solution I envision, young Indian,Pakistnian,... guys and/or American, Canadian, West European... students will gain also because they can have some work delegated by you, e.g. the work to develop specific data formatters etc. - you can keep them busy with this simple work and as far as they get more experienced you will delegate them more and more complicated work and therefore you and your customers will be ready to pay them more... Everybody's "win" approach. Yes, I know, it sounds too optimistic... <<< so join the team and show me (all of us) how we accomplish this? >>> I think I joined it, didn't I? :) <<< Specifically for EXPORTING data > to these monsters of computing. >>> OK, let's make it clear - for EXPORTING and nothing else? And that the data source is something like DAO, ADO,.... recordsets and the target is delimited or fixed width text file. As you I did work many times on such tasks here and in the West Europe. Until last year I didn't program them more or less generic way - the customers didn't ask for that and my solutions were hardcoded. Last year it was a requirement to make it metadata based. Now it's your idea to make it even more generic. OK. Let's make it more generic and let's also get new experience and some fun while designing/coding it and supporing it in the future? > My intention is to: OK. They are clear and good enough specified for now. > so please take a few > minutes to expand what you have in mind, It will take more than a few minutes for sure. And I have problems to find free time now. > 1) Given what I am attempting to accomplish how do you create the module > that you swap out. > 2) What piece(s) of this puzzle is modified when I swap out this module for > another. > 3) How do the modules interface together. > 4) How is this accomplished in VBA? These all positions above can be accomplished using custom classes, Implements feature and several software design patterns like the ones described here - http://home.earthlink.net/~huston2/dp/patterns.html (Classical book on software design patterns is this one: http://www.amazon.com/gp/product/0201633612/102-0631645-6216162?v=glance&n=283155) The risk factor for VBA is that the more interfaces to implement you introduce/use in Implements the higher the probability it (VBA) will start breaking unexpectedly. It was so for me - when I used several interface custom classes it worked OK. When I introduced more - I was forced by VBA engine to give up.(MS Excel, MS Access) For this solution there should be a few interface custom classes - so it should work well I hope in VBA, If it will not then the solution should be to upsize to VB.NET and create COM Callable Wrapper(relatively easy task) (The problem with Implements in VBA exists in Office 2003 too - I can't give real examples because the problems is floating - and I guess MS will never convince it exists - so there is no sense to spend time to create reproducible description of this bug/feature.) > 5) Give me a specific example of the kind of export / format that you are > running into which isn't fixed/delimited/formatted and how modularizing this > program would allow you to handle this kind of export. John, where did I write that my solution pretends to be that far generic? I think I didn't write that. Yes, I did write that I did program an export data solution for the banks here, which used header (and footer) additionally to the fixed length/delimited export records. Do you mean this my note? My main points were: - use pluggable custom classes additionally to your generic formatter based on Format$ function and metadefinitions; - make solution ready to process large amounts of source data without stopping all the other work on the PC running export code; - make solution working in asynchronous mode; - make solution working with different source data sources. That's all I think. Did I promise more? (Hopefully not :) ) > and without ever seeing your problems, I > can't comprehend how to respond to them. OK, John. Let's make it this way - you develop your solution your way. Then I will try to show what (potential) problems it has - and it may happen that what you call my problems becomes yours :) It should be the best approach for this small project because my solution has a risk to not run well on VBA because of my plan to use Implements feature, which is buggy on VBA as my experience shows. If you(we) start with your solution it should be also like it's getting done in popular now eXtreme Programming approach when a quick satisfactory solution is developed, which makes customers happy and busy with using it/playing with it but then this solution is refactored to make its architecture more flexible. Your small task is also interesting to develop using Test Driven Development (http://www.objectmentor.com/writeUps/TestDrivenDevelopment), but VBA doesn't have unit testing framework and to write one is senseless for this(VBA) dying development environment. So TDD should be left for other VB.NET/C# based projects... Recap: ===== 1. My proposal is that you write your solution your planned way(as far as I see it's good traditional solution good enough specified now) to have 0% risk of fail (Risks are: a Technical problems with VBA & Implements b. My inactive participation in this project because of my need to work for my customers currently - urgent release due end of the next week "blood from nose".) 2. When your solution ready I will try to find and show its "weak points" and when we agree on them/some of them then we will refactor your solution together in several steps, with every step getting running and more and more flexible, scalable and asynchronous solution. 3. You proceed with your team with or without me because I will again have to hardwork for my customers... If I have been free from my customer's work these days we could have done it different way with more advanced architecture designed from the very beginning but my approach has relatively high risk of failure when implemented on VBA because of VBA enigine bugs... Currently I see nine major "players" of my solution: - 1. DataExportService - 2. DataFeeder - 3. DataCruncher (DataProcessor) - 4. (Export)FileDefinition - 5. (Export)FileSection - 6. (Export)Record - 7. ((Export)Record)Field - 8. (Data)Formatter - 9. (Export)FileWriter These should be loosely coupled, highly cohesive custom classes. There could be more of them and several Interfaces including events. The ones above can be changed/renamed. Some may go out probably. It will be more custom classes than in your solution. It will be more coding for sure than in your solution. But the coding should be more streamlined with less code lines in custom classes methods/properties. This more coding will make sense only if it will be shown that it brings real gains in long run. Therefore IMO this is pragmatic approach. No "air castles", no "miracles", no "universal solutions" - I base my work on my own experience and on the concepts of the books like "Object Thinking" http://www.bookpool.com/sm/0735619654 published by MS Press - who can blaim MS as being non pragmatic? (One can blaim me that I misinterpret the books like this one referred above and published by MS - feel free to say that if you think so..) Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 21, 2005 5:56 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Shamil, > > LOL, I NEVER want to be all those backwards things that you portray me to > be, so join the team and show me (all of us) how we accomplish this? > > What I am discussing is getting data out of a row of a record, into a > delimited string of text, with any format you desire (or which format$() can > handle anyway). Each field can have its own format string stored right in > the field definition, so you can specify the output format of the field. > For example, if a field needs to be currency, placing the format$ > "$###,###.00" gives an output in the text string of $23,423.00, etc etc. > Every fld record has a place to store a format string like this, so each > field can be formatted as precisely as format strings allows you to format > that field. > > Let's back up a minute. > > The objective is to create a system for creating fixed width / delimited > data files for exchanging data between our puny little micro computers and > those monsters of calculation mainframes. Specifically for EXPORTING data > to these monsters of computing. > > The "typical" way that developers export data is: > > 1) Use the export wizard, which works well IF the format is well understood. > Call up the wizard, point to a query, fill in the blanks, use the export > specification with the OutputTo vba function. This is fine, except that if > anything in the format needs to change, you have to step back through the > wizard, selecting the field, and then find and fix the format. And of > course, if you need any formatting not provided by the wizard you are stuck. > The wizard is pretty cool, I use it, but I always find it a bit of a PITA. > > I also have one HUGE issue with this, which is that the OutputTo > occasionally errors out for reasons completely unknown to me. Come back > through and execute again and it works the second time. Reliability sucks. > The exports that I do occur in the middle of the night because my client's > client needs them on their desk in the morning. Every few weeks I come in > to find it not happening. I even tried just looping back to do it again > until it works and for whatever reason that doesn't work. So... Output to > is a fine solution as long as you don't need reliability. > > 2) Write a custom output module that takes a record, pulls each field, and > outputs it however it needs to be seen in the file, hard coding the quotes, > if any, the delimit property, the fixed width etc. This is Gustav's > solution, and if your spec is carved in stone, and you don't need to do lots > of them, this method also works just fine. > > In either case, what often happens is that any necessary FORMATTING is often > accomplished in the query that pulls the data. IOW, I pull a currency > field, alias it, and right in the query use a format$() to get it in the > desired format. This certainly works, but the issue is that if you want to > find out (and change) how it is formatted, you have to go find the specific > query that has the format$() statement in the field alias and change the > format there. > > My intention is to: > > Move the formatting out of the queries entirely. > Allow the query just selects data to export, nothing more. > Allow the system to export data using the same query (so that IDENTICAL data > is sent) into multiple files with varying DELIMITING format requirements. > Place the formatting (if any) in a table. > Make the formatting field specific, i.e. have a place to specify that for > THIS field, I want THIS format. > Place the other "delimiting information" such as "fixed width" or "comma > delimited", or "Tab delimited" in a table, easy to see, easy to edit. > Place the other "export name", "file name" etc. in a table, easy to see, > easy to edit. > Break the process into pieces - specify the data source, specify the field > format, specify the delimiter format in the exported line of code. > > All of this allows me to build a specific kind of output, commonly known as > fixed "width / delimited". This is not a report generator, it is used > (typically) to exchange data between computers. The receiving computer MUST > HAVE FieldX at PositionY, formatted EXACTLY Z. Getting the client to change > how their program accepts the data is not an option. > > I have run into this a dozen times or more, and I see this same request come > by the list several times a year so others are seeing it as well. Every > time I have this requirement, these things are what I needed to format, > never anything else, which is why I have "blinders on" I suppose. I admit > to having a specific purpose in mind. > > You obviously have something more far ranging in mind, so please take a few > minutes to expand what you have in mind, and how we can accomplish this. > Everything you have said so far is so generalized that I cannot even > understand what you have in mind. I understand "plug-in modules". My > questions are: > > 1) Given what I am attempting to accomplish how do you create the module > that you swap out. > 2) What piece(s) of this puzzle is modified when I swap out this module for > another. > 3) How do the modules interface together. > 4) How is this accomplished in VBA? > 5) Give me a specific example of the kind of export / format that you are > running into which isn't fixed/delimited/formatted and how modularizing this > program would allow you to handle this kind of export. > > > > It sounds like my blinders are crippling me but we all think about handling > the problems that we run into. It appears that you are running into > problems that I am not seeing, and without ever seeing your problems, I > can't comprehend how to respond to them. > > John W. Colby > www.ColbyConsulting.com > <<< tail trimmed>>> From stuart at lexacorp.com.pg Fri Oct 21 17:51:42 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 22 Oct 2005 08:51:42 +1000 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <002e01c5d688$50b32060$667aa8c0@ColbyM6805> References: Message-ID: <4359FD9E.3654.12DC9995@stuart.lexacorp.com.pg> On 21 Oct 2005 at 17:42, John Colby wrote: > Perhaps we need a plug-in currency converter where the currency symbol, > decimal point and thousands delimiter can be specified, and the number of decimal places. Some currencies, rupiah,baht,yen etc are always whole numbers. Some have 1,000 subunits, dinar= 1,000 dirham etc. > and which then takes > the currency value and formats it in the expected manner? > -- Stuart From KIsmert at texassystems.com Fri Oct 21 18:19:06 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Fri, 21 Oct 2005 18:19:06 -0500 Subject: [AccessD] Quarter hour increments Message-ID: Gina, >>we'd like to restrict them to quarter hour increments. Just put this code in the AfterUpdate event for the form control: Private Sub txtTaskHours_AfterUpdate() Dim sgHours As Single ' Round to nearest quarter sgHours = CSng(Round(txtTaskHours.Value * 4) / 4) txtTaskHours.Value = sgHours End Sub -Ken From shamil at users.mns.ru Sat Oct 22 02:23:15 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 11:23:15 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <002001c5d647$36ec8720$667aa8c0@ColbyM6805> <001f01c5d689$1cf159d0$6401a8c0@fincomplex.spb.ru> Message-ID: <001f01c5d6d9$79007e90$6401a8c0@fincomplex.spb.ru> > Currently I see nine major "players" of my solution: Correction: Currently I see ten major "players" of my solution: - 01. DataExportService - 02. DataFeeder - 03. DataCruncher (DataProcessor) - 04. DataDictionary - 05. (Export)FileDefinition - 06. (Export)FileSection - 07. (Export)Record - 08. ((Export)Record)Field - 09. (Data)Formatter - 10. (Export)FileWriter Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Saturday, October 22, 2005 1:47 AM Subject: Re: [AccessD] Data Export Spec - Rev1 > <<< > LOL, I NEVER want to be all those backwards things > that you portray me to be > >>> > I think I should have added that in solution I envision, young > Indian,Pakistnian,... guys and/or American, Canadian, West European... > students will gain also because they can have some work delegated by you, > e.g. the work to develop specific data formatters etc. - you can keep them > busy with this simple work and as far as they get more experienced you will > delegate them more and more complicated work and therefore you and your > customers will be ready to pay them more... Everybody's "win" approach. > Yes, I know, it sounds too optimistic... > > <<< > so join the team and show me (all of us) how we accomplish this? > >>> > I think I joined it, didn't I? :) > > <<< > Specifically for EXPORTING data > > to these monsters of computing. > >>> > OK, let's make it clear - for EXPORTING and nothing else? > And that the data source is something like DAO, ADO,.... recordsets and the > target is delimited or fixed width text file. > > As you I did work many times on such tasks here and in the West Europe. > Until last year I didn't program them more or less generic way - the > customers didn't ask for that and my solutions were hardcoded. Last year it > was a requirement to make it metadata based. Now it's your idea to make it > even more generic. OK. Let's make it more generic and let's also get new > experience and some fun while designing/coding it and supporing it in the > future? > > > My intention is to: > OK. They are clear and good enough specified for now. > > > so please take a few > > minutes to expand what you have in mind, > It will take more than a few minutes for sure. > And I have problems to find free time now. > > > 1) Given what I am attempting to accomplish how do you create the module > > that you swap out. > > 2) What piece(s) of this puzzle is modified when I swap out this module > for > > another. > > 3) How do the modules interface together. > > 4) How is this accomplished in VBA? > These all positions above can be accomplished using custom classes, > Implements feature and several software design patterns like the ones > described here - http://home.earthlink.net/~huston2/dp/patterns.html > (Classical book on software design patterns is this one: > http://www.amazon.com/gp/product/0201633612/102-0631645-6216162?v=glance&n=283155) > > The risk factor for VBA is that the more interfaces to implement you > introduce/use in Implements the higher the probability it (VBA) will start > breaking unexpectedly. It was so for me - when I used several interface > custom classes it worked OK. When I introduced more - I was forced by VBA > engine to give up.(MS Excel, MS Access) For this solution there should be a > few interface custom classes - so it should work well I hope in VBA, If it > will not then the solution should be to upsize to VB.NET and create COM > Callable Wrapper(relatively easy task) (The problem with Implements in VBA > exists in Office 2003 too - I can't give real examples because the problems > is floating - and I guess MS will never convince it exists - so there is no > sense to spend time to create reproducible description of this bug/feature.) > > > 5) Give me a specific example of the kind of export / format that you are > > running into which isn't fixed/delimited/formatted and how modularizing > this > > program would allow you to handle this kind of export. > John, where did I write that my solution pretends to be that far generic? > I think I didn't write that. > Yes, I did write that I did program an export data solution for the banks > here, which used header (and footer) additionally to the fixed > length/delimited export records. Do you mean this my note? > > My main points were: > > - use pluggable custom classes additionally to your generic formatter based > on Format$ function and metadefinitions; > - make solution ready to process large amounts of source data without > stopping all the other work on the PC running export code; > - make solution working in asynchronous mode; > - make solution working with different source data sources. > > That's all I think. > Did I promise more? (Hopefully not :) ) > > > and without ever seeing your problems, I > > can't comprehend how to respond to them. > OK, John. > Let's make it this way - you develop your solution your way. > Then I will try to show what (potential) problems it has - and it may happen > that what you call my problems becomes yours :) > > It should be the best approach for this small project because my solution > has a risk to not run well on VBA because of my plan to use Implements > feature, which is buggy on VBA as my experience shows. > > If you(we) start with your solution it should be also like it's getting done > in popular now eXtreme Programming approach when a quick satisfactory > solution is developed, which makes customers happy and busy with using > it/playing with it but then this solution is refactored to make its > architecture more flexible. > > Your small task is also interesting to develop using Test Driven Development > (http://www.objectmentor.com/writeUps/TestDrivenDevelopment), but VBA > doesn't have unit testing framework and to write one is senseless for > this(VBA) dying development environment. So TDD should be left for other > VB.NET/C# based projects... > > Recap: > ===== > 1. My proposal is that you write your solution your planned way(as far as I > see it's good traditional solution good enough specified now) to have 0% > risk of fail (Risks are: a Technical problems with VBA & Implements b. My > inactive participation in this project because of my need to work for my > customers currently - urgent release due end of the next week "blood from > nose".) > > 2. When your solution ready I will try to find and show its "weak points" > and when we agree on them/some of them then we will refactor your solution > together in several steps, with every step getting running and more and more > flexible, scalable and asynchronous solution. > > 3. You proceed with your team with or without me because I will again have > to hardwork for my customers... > > If I have been free from my customer's work these days we could have done it > different way with more advanced architecture designed from the very > beginning but my approach has relatively high risk of failure when > implemented on VBA because of VBA enigine bugs... > > Currently I see nine major "players" of my solution: > > - 1. DataExportService > - 2. DataFeeder > - 3. DataCruncher (DataProcessor) > - 4. (Export)FileDefinition > - 5. (Export)FileSection > - 6. (Export)Record > - 7. ((Export)Record)Field > - 8. (Data)Formatter > - 9. (Export)FileWriter > > These should be loosely coupled, highly cohesive custom classes. > There could be more of them and several Interfaces including events. > The ones above can be changed/renamed. Some may go out probably. > It will be more custom classes than in your solution. > It will be more coding for sure than in your solution. > But the coding should be more streamlined with less code lines in custom > classes methods/properties. > This more coding will make sense only if it will be shown that it brings > real gains in long run. > Therefore IMO this is pragmatic approach. > No "air castles", no "miracles", no "universal solutions" - I base my work > on my own experience and on the concepts of the books like "Object Thinking" > http://www.bookpool.com/sm/0735619654 published by MS Press - who can blaim > MS as being non pragmatic? (One can blaim me that I misinterpret the books > like this one referred above and published by MS - feel free to say that if > you think so..) > > Shamil <<< tail skipped>>> From Gustav at cactus.dk Sat Oct 22 04:52:04 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 11:52:04 +0200 Subject: [AccessD] Quarter hour increments Message-ID: Hi Jim and Scott With all respect, in my opinion this is not the route to follow. Machines should help people (users) not bother them. Thus the rounding solution as suggested by Ken is what you should (and I do) use. Perhaps associated by a Beep when rounding occurs ... /gustav >>> Jim.Hale at FleetPride.com 21-10-2005 22:04:57 >>> cool. That one goes in the goody bag Jim Hale -----Original Message----- From: Gina Hoopes [mailto:hoopesg at hotmail.com] Sent: Friday, October 21, 2005 2:18 PM To: AccessD at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Works perfectly! Thanks, Scott! Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Scott Marcus Sent: Friday, October 21, 2005 1:20 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Quarter hour increments In the table, use the Validation Rule and Validation Text like the following... Validation Rule - ([name of your field]*100) Mod 25 = 0 Validation Text - The decimal portion of the time entered must be 0, 25, 50, or 75! Hope that helps... Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From Gustav at cactus.dk Sat Oct 22 05:07:35 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 12:07:35 +0200 Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface The best way Message-ID: Hi Ken Some interesting thoughts here. I think you should communicate them to the Access Developer Team (I don't have names or addresses). /gustav >>> KIsmert at texassystems.com 21-10-2005 20:25:48 >>> >I see now VBA/VB6-programming concept I called "DEEP-object concept" >(http://www.smsconsulting.spb.ru/shamil_s/articles/deepcnpt.htm) Shamil, Colby turned me on to your site some years ago. All I can say is that you were way ahead of the curve -- it even took MS 3 years to come up with a stable platform to run your concept. I too have dabbled with my own form management frameworks for Access. I got two running, the first a modestly complex, class-based framework that relied on sinking events (developed independently), and the second a stripped down, much-simplified framework based on interfaces. The interface framework managed not only Access forms, but Excel Userforms and standalone objects, as well. The shift in thinking was from a reactive style (respond to an event from something that already happened) to an active style (tell some object to do something with this information). One aim of the interface-based framework was to produce a more loosely-coupled system by moving parameters directly to the object, eliminating the reliance on any global objects (external form controls, global variables, functions and collections...). The other goal was to move away from the flakey form event system, and instead build framework "events" (in reality interface callbacks) on the much more reliable mechanism of object termination. I have thought of building a third framework that combined the best ideas of the first two, but have run into these problems: * Access Form objects have no parameterized constructor (a true Initialize event with a user-definable parameter list). Form_Open happens way too late for my purposes. (Maybe Access 2005 will correct this) * No easy way to deliver the framework. COM-based approaches would require Active-X dlls, developed in VB6. .NET seems to provide some answers: * VB.NET, C# and similar have the object sophistication to build a technically satisfying framework. * Packaging and installation appear to be simpler and more robust (although I can't say this firsthand) Some interesting thoughts on what such a framework should and shouldn't have: * Based in .NET * Works with Access via COM Interop to an Office Add-In. * Automates other form types, including Userforms and .NET forms. * Form Roles defined by the Interfaces they support. * Extensible by defining new Form Role Interfaces, and providing the support code to implement them. * Not driven by Form events. The form communicates to other forms in the framework via interfaces. Form events are considered private to the form, in that they don't drive inter-form communication. The form can use helper objects that sink form events and perform various services, including communication via the proper channels. These would be explicitly set up in the form. Of course, the larger question is, "why do this?". Maybe Microsoft will revive enough developer interest in its next release of Access to justify investing in such a framework. -Ken From Gustav at cactus.dk Sat Oct 22 06:18:10 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 13:18:10 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. From Gustav at cactus.dk Sat Oct 22 06:23:31 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 13:23:31 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi Shamil OK. What I meant is "a potential universal solution" ... /gustav >>> shamil at users.mns.ru 21-10-2005 23:42:19 >>> <<< a universal solution as Shamil has in mind >>> Gustav, My solution is not not intented to be universal. What I propose is to develop a solution, which will allow to not patch the core code but use pluggable custom classes additionally to the "default formatter", which use metadata and Format$ function. Additionally I propose to take into consideration from the very beginning that data source rows' quantity can be very large in general case and that developed solution should be ready to work well in such a case too on a moderate average PC.... Additionally... a limited short list of proposals may follow - but that's all - and for the universal solutuion this list promise to be endless.... From Gustav at cactus.dk Sat Oct 22 06:34:25 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 13:34:25 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi Shamil I've found that most clients don't have a clue on what and how things are programmed. They are only interested in results and working apps. Thus, programming anything "for the future" we do on our own, either for fun, for testing new techniques or for being prepared for the client's next step. Should he take this next step, we charge in full even though it can be programmed in a fraction of the time for programming the first step. /gustav >>> shamil at users.mns.ru 21-10-2005 23:42:19 >>> <<< Clients are very pragmatic. >>> Yes, I know. And I saw it many times and I'm continuing to see how this client's pragmatism results in bad software and then they blaim bad developers. I'm pragmatic too I think - let's try to educate clients step by step? IT industry is mature enough now for this clients educatiion work. (Yes, I know I sound too optimistic, real life isn't like that, Been there, seen that. Or I'd better say I'm still there and see that everyday troubles in my own work with "badly educated in software development" customers. It's not easy to convince clients to wait a little bit more for end results they needed "yesterday". It's even more complicated to convince them to pay today for additional work, which results in their own savings in long run. It's often necessary to invest our own time. But when customers see good final results then the next steps for the next projects are easier...) It's just silly (as John said) to see how resources are wasted when relatively small additional efforts used on project envision and solution architecture design phase result in savings in short and long runs and in a flexible ready for future changes solution, which may find application in the areas, where "quick&dirty" will never find.... Recap ====== 1. I'm not pretending to develop a universal solution. 2. I'm pragmatic 3. I believe(I see) that IT industry is mature enough for simple but flexible, ready for future changes, mature software design and development solutions. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Friday, October 21, 2005 2:11 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Hi John and Shamil > > Interesting to follow this thread. It demonstrates what happens when you move from a fixed to-the-point solution (like my example) over a generic solution as John is suggesting to a universal solution as Shamil has in mind - and all the considerations that move causes. > > I'm pretty much in line with Shamil on this. However, time has shown me that such thoughts most often are over the head and/or pockets of the client and you'll have to compromise. Clients are very pragmatic. But during this at least you have a nice intellectual time with yourself realizing that you are ahead of the client! From Gustav at cactus.dk Sat Oct 22 07:38:23 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 22 Oct 2005 14:38:23 +0200 Subject: [AccessD] Multiple Currency types Message-ID: Hi John The single problem is, of course, that exchange rates vary ... If all you need is the historical cost, the easiest method is to have another field with the USD equivalent of the amount at the date of the transaction. Which exchange rate to use is a question of its own; you probably have an official daily list from your (central) bank in addition to buying and selling rates. And which date to use? That of shipping, delivery, registration, or payment? Here the customs authorities publish another weekly (averaged) list for calculation of duties. You would also need a third field for registration of the currency. Use the official ISO 4217 code (USD, EUR, GBP, etc.): http://www.xe.com/iso4217.htm A source for daily rates is the xe.com Currency Update Service: http://www.xe.com/cus/ A variation of this method is to store the foreign amount, the ISO code, and the exchange rate decided for (which in your case always will be 100 for USD). Then you can always calculate the dollar equivalent. This method, however, violates the normalization rules because the exchange rates will be repeated. Thus you may choose to move the exchange rates to a separate table where you store ISO code Type of exchange rate (official, buying, selling, etc.) Date of exchange rate change Exchange rate This way you can always find any exchange rate used on a specific date by looking up the exchange rate for that currency with the newest "Date of exchange rate change" smaller than (prior to) the specific date. That will allow you to do calculations like "What if those items purchased four months ago charged in Euro were purchased today at equivalent prices?" /gustav >>> john at winhaven.net 21-10-2005 19:38:36 >>> I have a field that is used to retain the historical cost of an item and up to now is has all been in US dollars. Just got one in UK pounds. There's more coming up too. I've never dealt with multiple currency types before. How do you suggest I store different currencies in my table? Do I need one column for amount and one for type of currency or is there a way to do this with formatting, masks, etc. From jwcolby at ColbyConsulting.com Sat Oct 22 09:06:00 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 22 Oct 2005 10:06:00 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: Message-ID: <000501c5d711$bea64230$667aa8c0@ColbyM6805> >I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. Correct. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at servicexp.com Sat Oct 22 10:16:12 2005 From: robert at servicexp.com (Robert Gracie) Date: Sat, 22 Oct 2005 11:16:12 -0400 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F70@gbsserver.GBS.local> Really, I would think that it would be necessary in a technical environment, such as in mechanical engineering...???? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 22, 2005 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 >I have never seen an export specification requiring a thousand >separator - on the contrary, it must not exist. Correct. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 22 10:45:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 22 Oct 2005 11:45:06 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <3C6BD610FA11044CADFC8C13E6D5508F4F70@gbsserver.GBS.local> Message-ID: <000a01c5d71f$96575130$667aa8c0@ColbyM6805> Are you discussing a report generator or a data export facility? Generally data import programs don't want or need thousand separators, only data left of the decimal point, the decimal point, and N places behind the decimal point. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Saturday, October 22, 2005 11:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 Really, I would think that it would be necessary in a technical environment, such as in mechanical engineering...???? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 22, 2005 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 >I have never seen an export specification requiring a thousand >separator - on the contrary, it must not exist. Correct. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 22 11:35:06 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 22 Oct 2005 12:35:06 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <4359FD9E.3654.12DC9995@stuart.lexacorp.com.pg> Message-ID: <000b01c5d726$92e3f830$667aa8c0@ColbyM6805> OK, two things still need to be fleshed out: Custom field formatting - I have been looking at the formatting information created by the export wizard. They use: DateDelim DateFourDigitYear DateLeadingZeros (what is this?) DateOrder (yyyymmdd kind of thing) DecimalPoint FieldSeparator TextDelim TimeDelim I have questions about placing the delimiting characters in the field. Has anyone run into cases where the delimiter changes from field to field? The other big thing remaining is what the header / footer records look like and how to handle them. If they are just delimited data similar to any other delimited data, then I would suggest that we simply use the existing functionality, treat them like any other export spec, but figure out a means of specifying that a specific export is the header or footer of another export spec. Thoughts / comments on this? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From robert at servicexp.com Sat Oct 22 12:10:03 2005 From: robert at servicexp.com (Robert Gracie) Date: Sat, 22 Oct 2005 13:10:03 -0400 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: <3C6BD610FA11044CADFC8C13E6D5508F4F71@gbsserver.GBS.local> Hmmmm, Good question.. I would think if you are exporting data between 2 system you would need to keep the data in tacked. I would say that if you are in an engineering environment that you would indeed need to format .005 or even .00025 to keep the data integrity. I'm I miss understanding the problems ? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 22, 2005 12:16 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 Are you discussing a report generator or a data export facility? Generally data import programs don't want or need thousand separators, only data left of the decimal point, the decimal point, and N places behind the decimal point. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Robert Gracie Sent: Saturday, October 22, 2005 11:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 Really, I would think that it would be necessary in a technical environment, such as in mechanical engineering...???? Robert Gracie www.servicexp.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Saturday, October 22, 2005 10:30 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 >I have never seen an export specification requiring a thousand >separator - on the contrary, it must not exist. Correct. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:18 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You can build the string piece by piece but I mostly use Format(): strValue = Format(curValue * 100, "0\,00") This is hardcoded for comma as decimal separator and two decimals. As Stuart points out, you would probably need something more generic: Const cstrFormatEscape As String = "\" lngDecimals = 2 strDecimal = "," For lngChar = 1 to Len(strDecimal) strFormatDecimal = strFormatDecimal & cstrFormatEscape & Mid(strDecimal, lngChar, 1) Next strFormat = "0" & strFormatDecimal & String(lngDecimals, "0") strValue = Format(curValue * 10 ^ lngDecimals, strFormat) This will not give a thousand separator and Format() can not be used for that here. On the other hand, I have never seen an export specification requiring a thousand separator - on the contrary, it must not exist. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 21:51:55 >>> OK, so how do you handle this when you format a currency string? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 2:57 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John No, we can use Format() just fine. It's just that you can't rely on it for formatting decimals when exporting to a text file as the specs for this will require one specific format (say dot for the decimal point which is quite often used for mainframes) while Format() will deliver whatever is set on the user's machine. /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 17:25 >>> Gustav, I am assuming that the format$() will work just fine assuming that you are using this in Denmark, then the strings you use to format allow you to use Danish formatting constructs? Are you saying that you cannot use Format$() because it doesn't work anywhere but the US? If that is the case, then people outside of the US will need to work with the team to explain how you guys accomplish formatting. John W. Colby www.ColbyConsulting.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 21, 2005 10:39 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Data Export Spec - Rev1 Hi John You would need to address the good old internationalization task here as well. Over here, this example will output $23.423,00 ... /gustav >>> jwcolby at ColbyConsulting.com 21-10-2005 15:56 >>> For example, if a field needs to be currency, placing the format$ "$###,###.00" gives an output in the text string of $23,423.00, etc etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sat Oct 22 13:18:53 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 22:18:53 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: Message-ID: <001001c5d735$120bd110$6401a8c0@fincomplex.spb.ru> > I've found that most clients don't have a clue > on what and how things are programmed. Hi Gustav, Yes, I know, and I'm constantly trying to educate them, it works sometimes, sometimes fails. I'm trying to involve them in software development process. I'm trying to explain them that going ahead without planning and taking some additional actions to be ready for future changes is a risky and expensive "adventure" not serious modern business. Why should I do that education for free? I should be fair with my customers and explain why I do this or that and how much this or that work costs and how much it could cost them if we skip some work I think is important. And then they decide take the risk on themselves or pay me more now and put the risks of future changes for relatively low costs on my shoulders. As far as I see mainstream modern development is based on the sentence "the World of software is the World of constant change". My customers should know that and understand that these changes can be very costly if do not take preventive measures. I'm a kind of tired on constant redoing because of "silly impatient customers" or my own impatient silliness. Customers pay for that work but this kind of work is so boring - and it's like building a "Tower of Babylon"... I'm trying to change with my customers that widespread situation in software development for small- and middle- size businesses. Yes, there are situations when customers need a "quick&dirty" work done today to use it immediately - in such situations I just quickly program requested solution and let them use it. Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Saturday, October 22, 2005 3:34 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Hi Shamil > > I've found that most clients don't have a clue on what and how things are programmed. They are only interested in results and working apps. > > Thus, programming anything "for the future" we do on our own, either for fun, for testing new techniques or for being prepared for the client's next step. Should he take this next step, we charge in full even though it can be programmed in a fraction of the time for programming the first step. > > /gustav > > >>> shamil at users.mns.ru 21-10-2005 23:42:19 >>> > > <<< > Clients are very pragmatic. > >>> > Yes, I know. > And I saw it many times and I'm continuing to see how this client's > pragmatism results in bad software and then they blaim bad developers. > I'm pragmatic too I think - let's try to educate clients step by step? IT > industry is mature enough now for this clients educatiion work. (Yes, I know > I sound too optimistic, real life isn't like that, Been there, seen that. Or > I'd better say I'm still there and see that everyday troubles in my own work > with "badly educated in software development" customers. It's not easy to > convince clients to wait a little bit more for end results they needed > "yesterday". It's even more complicated to convince them to pay today for > additional work, which results in their own savings in long run. It's often > necessary to invest our own time. But when customers see good final > results then the next steps for the next projects are easier...) > > It's just silly (as John said) to see how resources are wasted when > relatively small additional efforts used on project envision and solution > architecture design phase result in savings in short and long runs and in a > flexible ready for future changes solution, which may find application in > the areas, where "quick&dirty" will never find.... > > Recap > ====== > 1. I'm not pretending to develop a universal solution. > 2. I'm pragmatic > 3. I believe(I see) that IT industry is mature enough for simple but > flexible, ready for future changes, mature software design and development > solutions. > > Shamil > > ----- Original Message ----- > From: "Gustav Brock" > To: > Sent: Friday, October 21, 2005 2:11 PM > Subject: Re: [AccessD] Data Export Spec - Rev1 > > > > Hi John and Shamil > > > > Interesting to follow this thread. It demonstrates what happens when you > move from a fixed to-the-point solution (like my example) over a generic > solution as John is suggesting to a universal solution as Shamil has in > mind - and all the considerations that move causes. > > > > I'm pretty much in line with Shamil on this. However, time has shown me > that such thoughts most often are over the head and/or pockets of the client > and you'll have to compromise. Clients are very pragmatic. But during this > at least you have a nice intellectual time with yourself realizing that you > are ahead of the client! > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Sat Oct 22 14:08:28 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Sat, 22 Oct 2005 23:08:28 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <000b01c5d726$92e3f830$667aa8c0@ColbyM6805> Message-ID: <000b01c5d73c$1741b940$6401a8c0@fincomplex.spb.ru> > I have been looking at the formatting information > created by the export wizard. John, Have a look at this download - it has VBA code to manipulate Import/Export specs - I think you can use it to not spend time on running Export/Import wizard to analyze what kind of output formats it supports: http://smsconsulting.spb.ru/shamil_s/download/imex.htm > The other big thing remaining is what the header / footer records look like > and how to handle them. These are usually checksum records and/or records having common to all detail records information. > I have questions about placing the delimiting characters in the field. Has > anyone run into cases where the delimiter changes from field to field? Yes, it may happen. E.g. for the cases when export records have repeating groups of attributes - e.g. employee with family members information in one export record - COBOL-like stuff... Export files can also have different types of body(detail) records - I did program such applications. Well, maybe you'd better leave this case out of scope now - it will make things too complicated to get first prototype version quick... Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Saturday, October 22, 2005 8:35 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > OK, two things still need to be fleshed out: > > Custom field formatting - I have been looking at the formatting information > created by the export wizard. They use: > > DateDelim > DateFourDigitYear > DateLeadingZeros (what is this?) > DateOrder (yyyymmdd kind of thing) > DecimalPoint > FieldSeparator > TextDelim > TimeDelim > > I have questions about placing the delimiting characters in the field. Has > anyone run into cases where the delimiter changes from field to field? > > The other big thing remaining is what the header / footer records look like > and how to handle them. If they are just delimited data similar to any > other delimited data, then I would suggest that we simply use the existing > functionality, treat them like any other export spec, but figure out a means > of specifying that a specific export is the header or footer of another > export spec. > > Thoughts / comments on this? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > 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 Oct 22 16:57:24 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 23 Oct 2005 07:57:24 +1000 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <000a01c5d71f$96575130$667aa8c0@ColbyM6805> References: <3C6BD610FA11044CADFC8C13E6D5508F4F70@gbsserver.GBS.local> Message-ID: <435B4264.6142.17D13D20@stuart.lexacorp.com.pg> On 22 Oct 2005 at 11:45, John Colby wrote: > Are you discussing a report generator or a data export facility? Generally > data import programs don't want or need thousand separators, only data left > of the decimal point, the decimal point, and N places behind the decimal > point. > Except for the standard bank transfers files used here where they don't want the decimal point either. In US terms, they want the amount to be expressed as cents, right justified in a 12 character field. -- Stuart From stuart at lexacorp.com.pg Sat Oct 22 17:07:20 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 23 Oct 2005 08:07:20 +1000 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <000b01c5d726$92e3f830$667aa8c0@ColbyM6805> References: <4359FD9E.3654.12DC9995@stuart.lexacorp.com.pg> Message-ID: <435B44B8.28209.17DA5502@stuart.lexacorp.com.pg> On 22 Oct 2005 at 12:35, John Colby wrote: > OK, two things still need to be fleshed out: > > Custom field formatting - I have been looking at the formatting information > created by the export wizard. They use: > > DateDelim > DateFourDigitYear > DateLeadingZeros (what is this?) Whether to pad day with leading zero - 1 Jan 2005 or 01 Jan 2005. and 1/1/2005 or 01/01/2005 > DateOrder (yyyymmdd kind of thing) > DecimalPoint > FieldSeparator > TextDelim > TimeDelim > > I have questions about placing the delimiting characters in the field. Has > anyone run into cases where the delimiter changes from field to field? > Some files require text to be delimited but not numbers so the "text delimiter: characters would only be placed around certain fields. > The other big thing remaining is what the header / footer records look like > and how to handle them. If they are just delimited data similar to any > other delimited data, then I would suggest that we simply use the existing > functionality, treat them like any other export spec, but figure out a means > of specifying that a specific export is the header or footer of another > export spec. > The only problem that I can see is that the data in footers is generally summary information which is built as you loop through the records in the body of the export. Specifying an export spec to include calculated totals on fields of another spec is likely to get messy in a hurry :-( -- Stuart From artful at rogers.com Sat Oct 22 21:24:08 2005 From: artful at rogers.com (Arthur Fuller) Date: Sat, 22 Oct 2005 22:24:08 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <000701c5d56b$94e61210$667aa8c0@ColbyM6805> Message-ID: <200510230224.j9N2O4J23030@databaseadvisors.com> That is all very nice, JC, and as a reasonably well qualified SQL person I might even be prepared to volunteer, but I must second Shamil's comment about you diving into details right away. I need an introduction to what the class is intended to do and what methods it supports and what they are intended to do -- all in language-agnostic English with not a single reference to Access, ADO, DAO or any such underpinnings. Then, and only then, IMO, can we get past our preconceptions, habits, etc. and design something both intelligent and worth using. For example, the various Patterns things have been implemented in many languages. Without referring to a single programming language, document the 10 components and give some examples of how you expect a developer to combine them into something useful. For example (not that this immediately concerns the current project)... Class 1: FormReferee Class 2: Form Class 3: FormMessage Class 3 describes a Message object which must contain attributes A, B and C, and may optionally contain D, E and F. In addition, it contains a Post (sender) attribute and a Get (receiver) collection. (A single message cannot be sent by more than one form, but may be Received by many forms.) Class 2 is the foundation for all forms used in the system, and contains a Post and a Get method, each working with a queue. The former packages the message and posts it to the FormReferee. (As stated in the foregoing paragraph, the given form may Post a message to more than one form, or even to all open forms.) The FormReferee merely collects the messages in either appropriate queue. It is up to each form to interrogate the Sent queue, looking either for its own name or for messages with no recipient (i.e. all). Messages Received by the given Form go into its MessageQueue and are processed in the order Received. A message object contains a collection of Getr-forms. If the collection is empty, the message is intended to be sent to all open forms. Otherwise the message is sent to the member-forms comprising the collection of forms. It may occur that one or more forms in the collection are not in fact open at the moment the message is sent. Class 1 is a singular class (one instance only), and referees all interactions between all forms. It uses two queues, each containing FormMessage objects. It also uses a list of all open forms. Any given message may be sent to one particular form, to N forms, or even to all forms. Messages sent to forms that are not open are ignored. ------------------- This was improvised so it may have numerous holes, but it was intended as an example of the introduction to each class that I find sorely missing in the emails presented thus far in this thread. Regardless of its shortcomings, the above a) attempts to describe the purpose of three interacting classes and the way in which they collaborate; b) avoids any specific programming language ---------------------------- A quick re-read suggests several changes: a) No need for two queues in the Referee; one will do. b) The Referee may need a collection of all open forms to make this work efficiently. The next item explains why. c) The queue should be a special-purpose stack (i.e. a message is received by all relevant open forms, the message is removed from the stack). But I hope that you get the idea. The programming language is not mentioned; that is the big idea. The code is not specified; that is the second biggest idea. All that is described is the nature of the classes and a couple of their messages, along with an indication of their intended interaction. IMO, you have to get all this down first before you even begin to describe all the details. Bottom-up class design, IMO, is doomed to fail. A. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 20, 2005 7:44 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 Shamil, The modules do not have to use DAO as long as ADO provides the functionality of accessing the fields using the rst(fldname) operation. The code you see is pseudocode, intended to display the concept, not the actual execution, and I can write DAO in my sleep so it is easy for me to write the pseudocode in. In my framework I use ADO exclusively, however I am still not anywhere close to "as comfortable with it" as I am with DAO. My PREFERENCE is to use ADO throughout for widest applicability. My PREFERENCE is also to get a good SQL Server person on board to keep us running down a path that allows immediate, built-in usage with SQL Server. So far I do not have a lot of hands raised saying that they want an in-depth piece of the action. Also, I am not even sure that SQL Server does not have something similar built-in and therefore nobody using SQL Server would use this. As always happens in these projects, a lot of interest is expressed, but that doesn't necessarily translate into active participation. I have learned to be prepared to do what needs to be done, on my own, to get what -I- need done. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 20, 2005 7:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Data Export Spec - Rev1 John, Question #1: You "dive into details" from the very beginning - but it is not clearly stated in your spec are your custom classes/modules to be developed planned to be used with DAO only? I mean if you consciously restrict applicability(/reusability) of the code to be developed - that's OK but it have to be clearly stated in the specs' abstract to avoid any misunderstanding/mistreatment of the goals of your project for all involved parties(/project stakeholders). As far as I see from your code samples you use DAO. xxx - and from that usage one can make assumption that DAO and nothing else is planned to be used to work with metadata and the real data sources - is that a correct assumption? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 6:49 AM Subject: [AccessD] Data Export Spec - Rev1 > OK this is the first rev to the table specification for the data > export module. Everyone is welcomed to try and figure out what we are > up to and comment on how you would use this and what you think would > be useful in order to nail down an export specification. > > usystblExport holds the top level information about an export, > including the > name of the export specification, whether the export needs to be fixed > width, whether to quote the text files, what the delimiter is for this > specific export of the data, and a fully pathed file spec for where to place > the data. > > usystblExport > EX_ID AutoNumber Export ID > EX_Name Text Export Name > EX_FixedWidth Yes/No True when Fixed Width > EX_QuoteText Yes/No True when quotes needed around text EX_Delimiter > Text The delimiter between fields EX_FileSpec Text Fully pathed file > name EX_HeaderLine Yes/No True when Place the field names in the first > line of the file > > usystblExportDataSource holds the relationship between an Export and a data > source. This is a many to one, i.e. a given export specification can > only use a single data source, but a single data source can be used by > many different exports. > > usystblExportDataSource > EXDS_ID AutoNumber DataSourceExport ID > EXDS_IDEX Number Export ID > EXDS_IDDS Number Data Source ID > > usystblDataSource tells us the name of the table, query or possibly a > raw SQL statement. It also gives us a code telling us how to > interpret the Source field. The objective is to be able to create a > single recordset and > export that recordset to multiple destinations, in various formats, > but still ensure that the data is identical. > > usystblDataSource > DS_ID AutoNumber Data source ID > DS_Name Text Name of the data set - not required > DS_Source Memo Data source - can be a sql > statement, a query name or a table name > DS_Type Text Source of the data - TBL, QRY or SQL > > usystblFld gives us information about each field - the order of the > field in > the Big String, the source field name in the table, query or SQL statement, > the OUTPUT field in the text file, the format string used to coerce > the data > into the correct format, The width of the field if used in a fixed > width export, and the beginning position in the string for FIXED WIDTH > fields. The beginning position can be calculated from the position and > the width of > all the fields, and is mostly used as a cross check on the > specification. Fixed width export specifications are very specific and > we need to be certain that the client receiving the data tells us > these numbers correctly. > > usystblFld > FLD_ID AutoNumber Field ID > FLD_IDDS Number Data Source ID > FLD_Order Number The order that the field appears in the output string > FLD_FldName Text Name of the field in the data source > FLD_OutputFldName Text The name of the field in the output > file > FLD_Format Text Format string to use on the data > > FLD_BeginPos Number Beginning position in the Big String FLD_Width > Number The width if this is to be used in a fixed width export. > > In my current concept of how to implement this set of tables, > usystblFld would be a class (clsFld) which is responsible for > formatting a piece of data from a specific field. > > usystblDataSource becomes a class (clsDataSource) which is the > supervisor of > a collection of clsFld. The first thing that clsDataSource does is to take > the DS_ID and use that to pull all of the records in usystblFld with > that value in FLD_IDDS. This basically gathers all of the field > records that will be exported. Thus a query, table or SQL statement > can have more fields > than make it into the export, and the fields that make it into the > export are determined solely by their presence in usystblFld. As > clsDataSource reads the records out of usystblFld, it instantiates a > clsFld for each field > to be exported, and storing the class instances in Field Position > order (FLD_Order), sort the fields coming out of usystblFlds on > FLD_Order. Thus the clsFld instances are stored in the collection in > their order in the output string. > > clsDataSource reads the dataset specified by the table name, query > name, or > SQL statement stored in DS_Name. This data set may have N records to > be exported into the resulting text file. The data set is iterated > record by record, and each record is then fed to each clsFld in > consecutive order in the clsFld collection (pseudocode below): > > Dim rst as dao.recordset > Dim db as dao.database > Dim lclsFld as clsFld > Dim strBigStr as string > set db = currentdb > set rst = db.Open(DS_Source) > while not rst.eof > > 'the stuff above gets the data to be exported > > 'The stuff below formats the data using the collection of clsFld > instances > > for each lclsFld in colClsFld > str = lclsfld.Format(rst) > strBigStr = strBigStr & SomeDelimiter & str > next lclsFld > wend > > As you can see, each clsFld instance gets a shot at the recordset, and uses > FLD_FldName to determine which piece of the recordset it is supposed > to format (pseudocode below): > > Function Format(rst as dao.recordset) as string > Dim var as variant > Dim str as string > var = rst(FLD_FldName) > str = format(var,FLD_Format) > End function > > Thus as clsDataSource iterates the recordset of data to export, for > each record to be exported it passes the recordset off to each clsFld > instance, getting back formatted data and building up BigString. When > all fields have > been formatted and appended to BigString, BigString is written to > EX_FileSpec. > > That is the big picture, starting to discuss implementation logic. I > am going to cross post this to my forum out on my web site for the > purpose of creating a thread where this can be read independently of > AccessD chatter. > > All comments and suggestions welcomed. We need to nail down the table > structure, since the information in the tables drives the construction > of the classes that hold the data in the usys tables, and the logic of > how to use this data to create an export file. > > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 22 22:24:07 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 22 Oct 2005 23:24:07 -0400 Subject: [AccessD] Data Export Spec - Rev1 In-Reply-To: <200510230224.j9N2O4J23030@databaseadvisors.com> Message-ID: <000101c5d781$3ddd3f30$667aa8c0@ColbyM6805> ROTFL. 1) I already have the whole thing working, without ever having done anything like that. 2) Whatever that was that you said, it was Greek to me. 3) I read the original pattern book (or one of the first I think) back in about 1995, but haven't referred to it since, in fact I think I gave it to a friend although now that you mention it, I should search my book boxes. It was cute, cool, but way abstract. Now that I am moving toward .net perhaps it will be of more use to me - I was actually looking at buying a design patterns book (it's in my "to buy later" list at Amazon.com). Without collecting the requirements, how can I say anything about the classes, what they will look like, or how they will interface? All I did was discuss (VERY briefly) how I had already done this. As I mentioned, I already have a solution up and running. I wrote it about a year ago. I know what I needed, I know the table structure I used, which worked for my purposes. And BTW, it was both intelligent and worth using. I wrote it precisely because I was getting revisions to the export format spec on a regular basis and got tired of trying to keep up with that so I just wrote a table driven design. It works. I have had to insert a dozen fields right in the middle of the (~2000 byte) string and it was a simple matter of adding more records in the field table, and changing the order field so that they were inserted in the right place. It took me a few minutes to modify the query that pulls the data to be exported, and about 15 minutes to add the field records, reran the export and out pops the data just as the (new) spec says it should look. I do a fixed width for the export, and a CSV for in-house use. I know the classes that I used, and how they interacted. I can describe that to you and you can write the gobbledygook if you need it. I would certainly be interested in reading the gobbledygook when you are done. I shamefully hang my head and admit I didn't write a spec before writing the solution I created last year. I work in Access, in VBA, and I have no need for an abstracted "devoid of any programming language" specification. OTOH, this thing was pretty simple, just a pair of classes. What we are about to do will be a bit more complex in order to handle the general case. BTW, I also wrote an interprocess communication class, using withevents. It is a SINGLE class, having TWO functions, a total of 14 lines of code, and works a treat. Of course it has no queue, it just broadcasts a message (raises an event, passing parameters). Anyone can broadcast, anyone can listen. You can find it on my web site in the Withevents demo. And no, I didn't write any specification before I wrote that either. How will I ever look myself in the mirror tomorrow? I do think we need a good spec writer though, if you want to volunteer for that position. And yes, we do need someone to help us get this thing working with SQL Server as well. Since you will have written the spec, I assume that you will be comfortable in knowing that it is intelligent and worth using. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, October 22, 2005 10:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Data Export Spec - Rev1 That is all very nice, JC, and as a reasonably well qualified SQL person I might even be prepared to volunteer, but I must second Shamil's comment about you diving into details right away. I need an introduction to what the class is intended to do and what methods it supports and what they are intended to do -- all in language-agnostic English with not a single reference to Access, ADO, DAO or any such underpinnings. Then, and only then, IMO, can we get past our preconceptions, habits, etc. and design something both intelligent and worth using. For example, the various Patterns things have been implemented in many languages. Without referring to a single programming language, document the 10 components and give some examples of how you expect a developer to combine them into something useful. For example (not that this immediately concerns the current project)... Class 1: FormReferee Class 2: Form Class 3: FormMessage Class 3 describes a Message object which must contain attributes A, B and C, and may optionally contain D, E and F. In addition, it contains a Post (sender) attribute and a Get (receiver) collection. (A single message cannot be sent by more than one form, but may be Received by many forms.) Class 2 is the foundation for all forms used in the system, and contains a Post and a Get method, each working with a queue. The former packages the message and posts it to the FormReferee. (As stated in the foregoing paragraph, the given form may Post a message to more than one form, or even to all open forms.) The FormReferee merely collects the messages in either appropriate queue. It is up to each form to interrogate the Sent queue, looking either for its own name or for messages with no recipient (i.e. all). Messages Received by the given Form go into its MessageQueue and are processed in the order Received. A message object contains a collection of Getr-forms. If the collection is empty, the message is intended to be sent to all open forms. Otherwise the message is sent to the member-forms comprising the collection of forms. It may occur that one or more forms in the collection are not in fact open at the moment the message is sent. Class 1 is a singular class (one instance only), and referees all interactions between all forms. It uses two queues, each containing FormMessage objects. It also uses a list of all open forms. Any given message may be sent to one particular form, to N forms, or even to all forms. Messages sent to forms that are not open are ignored. ------------------- This was improvised so it may have numerous holes, but it was intended as an example of the introduction to each class that I find sorely missing in the emails presented thus far in this thread. Regardless of its shortcomings, the above a) attempts to describe the purpose of three interacting classes and the way in which they collaborate; b) avoids any specific programming language ---------------------------- A quick re-read suggests several changes: a) No need for two queues in the Referee; one will do. b) The Referee may need a collection of all open forms to make this work efficiently. The next item explains why. c) The queue should be a special-purpose stack (i.e. a message is received by all relevant open forms, the message is removed from the stack). But I hope that you get the idea. The programming language is not mentioned; that is the big idea. The code is not specified; that is the second biggest idea. All that is described is the nature of the classes and a couple of their messages, along with an indication of their intended interaction. IMO, you have to get all this down first before you even begin to describe all the details. Bottom-up class design, IMO, is doomed to fail. A. From handyman at actcom.co.il Sun Oct 23 01:12:37 2005 From: handyman at actcom.co.il (handyman at actcom.co.il) Date: Sun, 23 Oct 2005 08:12:37 +0200 Subject: [AccessD] CallerID code Message-ID: <6.2.3.4.2.20051023080354.01f57ad0@pop5.actcom.net.il> I have been exploring the possibility of using callerid code that I can monitor my incoming phone calls. I found a very simple freeware program called Phonetray which keeps a log of incoming calls, and has an address book in Excel. I am interested in trying to write code using VBA to use my own address book from Access. Does anyone know where I can find code or information on how to capture information from a modem? By having this info, I can then automatically pop onto the screen information about the customer. Thanks Gershon Markowitz mailto:Handyman at actcom.co.il From stuart at lexacorp.com.pg Sun Oct 23 05:03:12 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sun, 23 Oct 2005 20:03:12 +1000 Subject: [AccessD] CallerID code In-Reply-To: <6.2.3.4.2.20051023080354.01f57ad0@pop5.actcom.net.il> Message-ID: <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> On 23 Oct 2005 at 8:12, handyman at actcom.co.il wrote: > I have been exploring the possibility of using callerid code that I > can monitor my incoming phone calls. I found a very simple freeware > program called Phonetray which keeps a log of incoming calls, and has > an address book in Excel. I am interested in trying to write code > using VBA to use my own address book from Access. Does anyone know > where I can find code or information on how to capture information > from a modem? By having this info, I can then automatically pop onto > the screen information about the customer. > Heres the source for a simple VB application whih you should be able to adapt. http://www.yes-tele.com/modem.html -- Stuart From d.dick at tripledee.com.au Sun Oct 23 08:39:52 2005 From: d.dick at tripledee.com.au (Darren DICK) Date: Sun, 23 Oct 2005 23:39:52 +1000 Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge Message-ID: <200510231341.j9NDfCJ23742@databaseadvisors.com> Hi Team I am trying to get the syntax right to plot a vertical line on a horizontal "fuel gauge" Fuel gauge looks something like |___|___|___|___| Fuel gauge is made up of 5 vertical lines representing (from L to R) Empty(Minimum), 1/4, 1/2, 3/4, and Full (Maximum) With a long line underneath the 5 vertical lines representing the plane User enters 3 values into controls on a form 1 = MIN 2 = MAX 3 = Desired (Is always going to fall somewhere between min and max - handled by data entry rules) The 1st and 2nd values entered indicate what the max and min are to be IE Empty and Full EG Min = 100,000 Eg Max = 300,000 EG "Desired" = 200,000 So I should see (Using the above example) the vertical line indicating "Desired" sit above the Half Full vertical line But so far I am doing something wrong - 'cause when I enter 1 as a min 3 as a max and 2 as desired the vertical line plots perfectly But when I use 100 as min 300 as max and 200 as "desired" I get a slight shift of the "Desired" vertical line to the right And it increases (I think exponetially) as I increase the Min and Max by increments of say...thousands So...Any tips on the logic I should use? Anyone wanna see the demo - lemme know Many thanks in advance Darren From bchacc at san.rr.com Sun Oct 23 11:02:15 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 23 Oct 2005 09:02:15 -0700 Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge References: <200510231341.j9NDfCJ23742@databaseadvisors.com> Message-ID: <007401c5d7eb$2390b660$6501a8c0@HAL9004> Darren: I had to make a rather complicated bar graph for an app years ago and what I decided to do, instead of drawing the lines was to start with the maximum length line and adjust the length in the Detail_Format event. You could do the same by making all the lines in the report, set them to Visible No, and visiblizing the ones you want. That's the easy way. You can also draw stuff like this using .Line: ' Draw up-pointing triangle for txt box rptBigOne.DrawWidth = 10 rptBigOne.Line (txtParticipantAverage.Left - 30, txtParticipantAverage.Top + 40)- _ (txtParticipantAverage.Left, txtParticipantAverage.Top + 100), QBColor(0) rptBigOne.Line (txtParticipantAverage.Left, txtParticipantAverage.Top + 100)- _ (txtParticipantAverage.Left + 30, txtParticipantAverage.Top + 40), QBColor(0) rptBigOne.Line (txtParticipantAverage.Left - 30, txtParticipantAverage.Top + 40)- _ (txtParticipantAverage.Left + 30, txtParticipantAverage.Top + 40), QBColor(0) rptBigOne.DrawWidth = 1 ' Draw down-pointing triangle for txt box rptBigOne.DrawWidth = 10 rptBigOne.Line (txtOrganizationAverage.Left, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 30, txtOrganizationAverage.Top + 60), QBColor(0) rptBigOne.Line (txtOrganizationAverage.Left + 60, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 30, txtOrganizationAverage.Top + 60), QBColor(0) rptBigOne.Line (txtOrganizationAverage.Left, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 60, txtOrganizationAverage.Top + 120), QBColor(0) rptBigOne.DrawWidth = 1 End If where rptBigOne is set to the name of the report. You can use CurrentX and CurrentY properties of the report which is a lot of fun and print something at the current location: rptBigOne.CurrentY = Text109.Top + (intJ - 1) * 142 rptBigOne.CurrentX = intLeft - 75 + intK * 1.5 / intPointMax * 1440 If Nz(gintGraph2(ItemNumber, intJ, intK)) <> 0 Then rptBigOne.Print Str(gintGraph2(ItemNumber, intJ, intK)) Else rptBigOne.CurrentX = rptBigOne.CurrentX + 60 rptBigOne.CurrentY = rptBigOne.CurrentY - 60 rptBigOne.Print "." ' MsgBox "X=" & rptBigOne.CurrentX & " " & "Y=" & rptBigOne.CurrentY & " " & "gintgraph2=" & gintgraph2(ItemNumber, intJ, intK) End If But I think making the lines you want to show visible in the Format event is probably the easiest way I know of. HTH Rocky ----- Original Message ----- From: "Darren DICK" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 23, 2005 6:39 AM Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge > Hi Team > I am trying to get the syntax right to plot a vertical line on a > horizontal > "fuel gauge" > Fuel gauge looks something like |___|___|___|___| > > Fuel gauge is made up of 5 vertical lines representing (from L to R) > Empty(Minimum), 1/4, 1/2, 3/4, and Full (Maximum) > With a long line underneath the 5 vertical lines representing the plane > > User enters 3 values into controls on a form > 1 = MIN > 2 = MAX > 3 = Desired (Is always going to fall somewhere between min and max - > handled > by data entry rules) > > The 1st and 2nd values entered indicate what the max and min are to be IE > Empty and Full > EG Min = 100,000 > Eg Max = 300,000 > EG "Desired" = 200,000 > > So I should see (Using the above example) the vertical line indicating > "Desired" sit above the Half Full vertical line > But so far I am doing something wrong - 'cause when I enter 1 as a min 3 > as > a max and 2 as desired the vertical line plots perfectly > > But when I use 100 as min 300 as max and 200 as "desired" I get a slight > shift of the "Desired" vertical line to the right > And it increases (I think exponetially) as I increase the Min and Max by > increments of say...thousands > > So...Any tips on the logic I should use? > > Anyone wanna see the demo - lemme know > > Many thanks in advance > > Darren > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From martyconnelly at shaw.ca Sun Oct 23 12:53:32 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 23 Oct 2005 10:53:32 -0700 Subject: [AccessD] CallerID code References: <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> Message-ID: <435BCE1C.5000800@shaw.ca> Caller ID works by transferring a couple of 80 byte records (depending on the phone company) between the first and second ring. There are about 3 or 4 standards as to what is transmitted. It does get messy, for example on my phone I live in a place where there was a recent area code split into Vancouver getting it's own area code and the rest of the province another. So you may get an incoming call indicated as 555-1212 from my local area code but to redial it has to be dialed 1-250-555-1212, you may have to sort this out as to what is local or long distance. Stuart McLachlan wrote: >On 23 Oct 2005 at 8:12, handyman at actcom.co.il wrote: > > > >>I have been exploring the possibility of using callerid code that I >>can monitor my incoming phone calls. I found a very simple freeware >>program called Phonetray which keeps a log of incoming calls, and has >>an address book in Excel. I am interested in trying to write code >>using VBA to use my own address book from Access. Does anyone know >>where I can find code or information on how to capture information >>from a modem? By having this info, I can then automatically pop onto >>the screen information about the customer. >> >> >> > >Heres the source for a simple VB application whih you should be able to >adapt. > >http://www.yes-tele.com/modem.html > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sun Oct 23 13:25:26 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 23 Oct 2005 20:25:26 +0200 Subject: [AccessD] Data Export Spec - Rev1 Message-ID: Hi Stuart That's right. This is used here as well, not by all but a few banks. My previously posted code snippet is designed to handle that too; just let strDecimal = vbNullString In fact, it will even handle decimal separators of type Space and of any length(?!) ... /gustav >>> stuart at lexacorp.com.pg 22-10-2005 23:57 >>> On 22 Oct 2005 at 11:45, John Colby wrote: > Are you discussing a report generator or a data export facility? Generally > data import programs don't want or need thousand separators, only data left > of the decimal point, the decimal point, and N places behind the decimal > point. Except for the standard bank transfers files used here where they don't want the decimal point either. In US terms, they want the amount to be expressed as cents, right justified in a 12 character field. From d.dick at tripledee.com.au Sun Oct 23 18:39:48 2005 From: d.dick at tripledee.com.au (Darren DICK) Date: Mon, 24 Oct 2005 09:39:48 +1000 Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge In-Reply-To: <007401c5d7eb$2390b660$6501a8c0@HAL9004> Message-ID: <200510232341.j9NNfnJ09080@databaseadvisors.com> Thanks heaps Rocky I'll give it a go Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Monday, 24 October 2005 2:02 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Plot a Vertical Line on a fuel gauge Darren: I had to make a rather complicated bar graph for an app years ago and what I decided to do, instead of drawing the lines was to start with the maximum length line and adjust the length in the Detail_Format event. You could do the same by making all the lines in the report, set them to Visible No, and visiblizing the ones you want. That's the easy way. You can also draw stuff like this using .Line: ' Draw up-pointing triangle for txt box rptBigOne.DrawWidth = 10 rptBigOne.Line (txtParticipantAverage.Left - 30, txtParticipantAverage.Top + 40)- _ (txtParticipantAverage.Left, txtParticipantAverage.Top + 100), QBColor(0) rptBigOne.Line (txtParticipantAverage.Left, txtParticipantAverage.Top + 100)- _ (txtParticipantAverage.Left + 30, txtParticipantAverage.Top + 40), QBColor(0) rptBigOne.Line (txtParticipantAverage.Left - 30, txtParticipantAverage.Top + 40)- _ (txtParticipantAverage.Left + 30, txtParticipantAverage.Top + 40), QBColor(0) rptBigOne.DrawWidth = 1 ' Draw down-pointing triangle for txt box rptBigOne.DrawWidth = 10 rptBigOne.Line (txtOrganizationAverage.Left, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 30, txtOrganizationAverage.Top + 60), QBColor(0) rptBigOne.Line (txtOrganizationAverage.Left + 60, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 30, txtOrganizationAverage.Top + 60), QBColor(0) rptBigOne.Line (txtOrganizationAverage.Left, txtOrganizationAverage.Top + 120)- _ (txtOrganizationAverage.Left + 60, txtOrganizationAverage.Top + 120), QBColor(0) rptBigOne.DrawWidth = 1 End If where rptBigOne is set to the name of the report. You can use CurrentX and CurrentY properties of the report which is a lot of fun and print something at the current location: rptBigOne.CurrentY = Text109.Top + (intJ - 1) * 142 rptBigOne.CurrentX = intLeft - 75 + intK * 1.5 / intPointMax * 1440 If Nz(gintGraph2(ItemNumber, intJ, intK)) <> 0 Then rptBigOne.Print Str(gintGraph2(ItemNumber, intJ, intK)) Else rptBigOne.CurrentX = rptBigOne.CurrentX + 60 rptBigOne.CurrentY = rptBigOne.CurrentY - 60 rptBigOne.Print "." ' MsgBox "X=" & rptBigOne.CurrentX & " " & "Y=" & rptBigOne.CurrentY & " " & "gintgraph2=" & gintgraph2(ItemNumber, intJ, intK) End If But I think making the lines you want to show visible in the Format event is probably the easiest way I know of. HTH Rocky ----- Original Message ----- From: "Darren DICK" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 23, 2005 6:39 AM Subject: [AccessD] A2003: Plot a Vertical Line on a fuel gauge > Hi Team > I am trying to get the syntax right to plot a vertical line on a > horizontal > "fuel gauge" > Fuel gauge looks something like |___|___|___|___| > > Fuel gauge is made up of 5 vertical lines representing (from L to R) > Empty(Minimum), 1/4, 1/2, 3/4, and Full (Maximum) > With a long line underneath the 5 vertical lines representing the plane > > User enters 3 values into controls on a form > 1 = MIN > 2 = MAX > 3 = Desired (Is always going to fall somewhere between min and max - > handled > by data entry rules) > > The 1st and 2nd values entered indicate what the max and min are to be IE > Empty and Full > EG Min = 100,000 > Eg Max = 300,000 > EG "Desired" = 200,000 > > So I should see (Using the above example) the vertical line indicating > "Desired" sit above the Half Full vertical line > But so far I am doing something wrong - 'cause when I enter 1 as a min 3 > as > a max and 2 as desired the vertical line plots perfectly > > But when I use 100 as min 300 as max and 200 as "desired" I get a slight > shift of the "Desired" vertical line to the right > And it increases (I think exponetially) as I increase the Min and Max by > increments of say...thousands > > So...Any tips on the logic I should use? > > Anyone wanna see the demo - lemme know > > Many thanks in advance > > Darren > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Sun Oct 23 19:41:30 2005 From: artful at rogers.com (Arthur Fuller) Date: Sun, 23 Oct 2005 20:41:30 -0400 Subject: [AccessD] Switchboard Question In-Reply-To: Message-ID: <200510240041.j9O0fSJ32318@databaseadvisors.com> I think that I have asked this before and been answered, but I`m getting old and infirm so forgive me please. Using the SB Manager, I create an item which is supposed to open a form in DS mode, but instead it opens it in single-row mode. In this particular case, this defeats all my intentions. How to get around this... I suppose that I could write a function that opens the form of interest, but cannot the SB manager be persuaded to do what I wish it to do.... Even if I specify that form abc be opened in DS format, the SB manager seems to ignore my instructions, opening the form instead in single-row format, which is NOT what I wish in this particular case. How can I pass params or otherwise defeat the allegedly intelligent SB manager... and make it do what I want. TIA, Arthur From KP at sdsonline.net Sun Oct 23 20:20:06 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Mon, 24 Oct 2005 11:20:06 +1000 Subject: [AccessD] OT Friday Humour References: <20051021110631.6D50F250DD4@smtp.nildram.co.uk> Message-ID: <009801c5d839$122ea730$6401a8c0@user> Don't apologise! V. funny, :) Kath ----- Original Message ----- From: Andy Lacey To: Dba Sent: Friday, October 21, 2005 9:06 PM Subject: [AccessD] OT Friday Humour Further to the earlier post I must apologise. The ebay guy is not a brit at all (I'd assumed that from the entry in the UK newspaper) he's from NY. Well, respect to him. Also the link I posted to the Independent newspaper is not worth following (only gave full article on day of publication, now just a suumary) but here's one to the guy's blog instead. A fun read. In fact the blog contains the full ebay ad (plus lots of follow-up comments) so you only need read this. http://www.banterist.com/archivefiles/000286.html -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sun Oct 23 21:02:33 2005 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 23 Oct 2005 21:02:33 -0500 Subject: [AccessD] Switchboard Question In-Reply-To: <18431895.1130114694711.JavaMail.root@sniper15> Message-ID: <000001c5d83f$02ed42d0$0200a8c0@danwaters> Dear Arthur, Yes the Switchboard Manager is allegedly intelligent, but only in a mean, nasty, 'I hate developers' kind of way. I used it for a while and traced through the code. After I recovered from that I made my own. I'd suggest simply using command buttons or colored labels that look like buttons and put a DoCmd.OpenForm behind the Click event. It's kind of a dumb switchboard, but it's a nice one! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Sunday, October 23, 2005 7:42 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Switchboard Question I think that I have asked this before and been answered, but I`m getting old and infirm so forgive me please. Using the SB Manager, I create an item which is supposed to open a form in DS mode, but instead it opens it in single-row mode. In this particular case, this defeats all my intentions. How to get around this... I suppose that I could write a function that opens the form of interest, but cannot the SB manager be persuaded to do what I wish it to do.... Even if I specify that form abc be opened in DS format, the SB manager seems to ignore my instructions, opening the form instead in single-row format, which is NOT what I wish in this particular case. How can I pass params or otherwise defeat the allegedly intelligent SB manager... and make it do what I want. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stuart at lexacorp.com.pg Sun Oct 23 23:10:03 2005 From: stuart at lexacorp.com.pg (stuart at lexacorp.com.pg) Date: Mon, 24 Oct 2005 14:10:03 +1000 Subject: [AccessD] Switchboard Question In-Reply-To: <200510240041.j9O0fSJ32318@databaseadvisors.com> References: Message-ID: <435CEB3B.19876.1156CB7@localhost> On 23 Oct 2005 at 20:41, Arthur Fuller wrote: > I think that I have asked this before and been answered, but I`m getting old > and infirm so forgive me please. > Using the SB Manager, I create an item which is supposed to open a form in > DS mode, but instead it opens it in single-row mode. In this particular > case, this defeats all my intentions. > How to get around this... I suppose that I could write a function that opens > the form of interest, but cannot the SB manager be persuaded to do what I > wish it to do.... > Even if I specify that form abc be opened in DS format, the SB manager seems > to ignore my instructions, opening the form instead in single-row format, > which is NOT what I wish in this particular case. > How can I pass params or otherwise defeat the allegedly intelligent SB > manager... and make it do what I want. > TIA, > Arthur > In the switchboards code module, edit the HandleButtonClick() function. Create a new constant: Const conCmdOpenDatasheet = 10 and include a new case Case conCmdOpenDatasheet DoCmd.OpenForm rs![Argument], acFormDS In the SwitchboardItems table, set the "Command" of the particular menu item to 10. From handyman at actcom.co.il Mon Oct 24 00:28:51 2005 From: handyman at actcom.co.il (handyman at actcom.co.il) Date: Mon, 24 Oct 2005 07:28:51 +0200 Subject: [AccessD] CallerID code In-Reply-To: <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> References: <6.2.3.4.2.20051023080354.01f57ad0@pop5.actcom.net.il> <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> Message-ID: <6.2.3.4.2.20051024072624.04b8b1f0@pop5.actcom.net.il> This looks more complicated than I originally thought. Does anyone know of any third party program or controls that I can use to extract the incoming data? gm At 08:03 PM, 10/23/2005 +1000, you wrote: >On 23 Oct 2005 at 8:12, handyman at actcom.co.il wrote: > > > I have been exploring the possibility of using callerid code that I > > can monitor my incoming phone calls. I found a very simple freeware > > program called Phonetray which keeps a log of incoming calls, and has > > an address book in Excel. I am interested in trying to write code > > using VBA to use my own address book from Access. Does anyone know > > where I can find code or information on how to capture information > > from a modem? By having this info, I can then automatically pop onto > > the screen information about the customer. > > > >Heres the source for a simple VB application whih you should be able to >adapt. > >http://www.yes-tele.com/modem.html > >-- >Stuart > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >No virus found in this incoming message. >Checked by AVG Free Edition. >Version: 7.1.361 / Virus Database: 267.12.4/146 - Release Date: 10/21/2005 Gershon Markowitz mailto:Handyman at actcom.co.il From pcs at azizaz.com Mon Oct 24 00:58:57 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 24 Oct 2005 15:58:57 +1000 Subject: [AccessD] OT Colby's Framework References: <000f01c5d580$13cfe8d0$667aa8c0@ColbyM6805> Message-ID: <007801c5d860$05c6c5a0$fa10a8c0@Albatross> John, Reply in line below... and then more ----- Original Message ----- From: "John Colby" Subject: Re: [AccessD] OT Colby's Framework > One quick question, did you work > through all the articles or are you jumping in at the end? I don't care, if > you know what you are doing and are jumping in that is cool, I'm just > curious. I am jumping in at the [deep] end! I have been stepping through your code a few times, and hopefully learnt a bit. My knowledge and experience with class modules, objects, eventsinking etc. is minimal. > As for your problem, the framework is looking for a sysvar called > "EnblPtrStack", which should be true or false. I use SysVars to turn on/off > functionality in my framework, and this code is telling the cIS class to > either use the class logging mechanism or do not use it. The class logging > mechanism is a class which tracks the names of the classes as they are > instantiated, so that you can get a listing in instantiation order of all > the class instances currently loaded. In your table "usystblFWSysVars " in the MDA code library your have the two sysvar records: 53 EnblPtrStack 54 EnblNameStack In the Init() code of the clsInstanceStack the corresponding two variables blnEnblPtrStack and blnEnblNameStack are set to True by default. So while initializing the Framework class logging is On by default. Then you can have it turned on or off > I also have to say that "it is not failing here". I just opened the zip > file, unzipped it and relinked FE to BE, and it runs perfectly, at least > until you try and close the database, whereupon the module in the > usysFrmFWCleanup in the framework throws a runtime error. There is a me. > Code fragment in the form_Close. Sigh. I have fixed that and will upload > the zip to my site. > So what happens with the crash? Is SV() not returning a value (returning a > null) which the cIS.EnblPtrStack cannot accept? IIRC, I return a null if > the SysVar doesn't exist, which would indicate that the sysvar was not > loaded from the SysVar table. Can you step into SV("EnblPtrStack"), and in > the debug window ask for the count of the SysVar collection? Are there ANY > sysvars in the SysVar collection? > > -----Original Message----- [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen > Sent: Thursday, October 20, 2005 8:48 AM > Subject: [AccessD] OT Colby's Framework > > > Hi John, > This probably doesn't belong here... but > > Is someone framing me? > > Case : DemoFW_FE.mdb > > I have problem initializing..... > > When executing the line > mclsFramework.Init Nothing in function FWinit() > > it runs the init of the clsFramework: > > Public Sub Init(ByRef robjParent As Object) > Set mobjParent = robjParent > cIS.Register Me > assDebugPrint "init " & mstrInstanceName, DebugPrint > mclsSVFW.Init Nothing, gfwcnn, "usystblFWSysVars" > cIS.EnblPtrStack = SV("EnblPtrStack") <================== crashes > here > cIS.EnblNameStack = SV("EnblNameStack") > mclsZip.Init Nothing > End Sub > > The function > Public Function SV(strSVName As String) As Variant > SV = mclsSVFW.SV(strSVName) > End Function > > takes us to : with "EnblPtrStack" as the strSVName value > > Function SV(strSVName As String, Optional strSVFld As String = > "SV_VarValue") As Variant > On Error GoTo Err_SV > Select Case strSVFld > Case "SV_VarValue" > SV = mcolSysVars(strSVName).Value() <========= errors here (error > number 5) > Case "SV_Memo" > SV = mcolSysVars(strSVName).Memo() > Case "SV_UserEditable" > SV = mcolSysVars(strSVName).UserEditable() > Case "SV_AllowOverride" > SV = mcolSysVars(strSVName).AllowOverride() > Case Else > End Select > Exit_SV: > Exit Function > Err_SV: > Select Case Err > Case 0 > Resume Exit_SV > Case 5 > SV = Null <======== You set the SV to null, but > then errors with : "Invalid Use of NULL" > Resume Exit_SV > Case Else > MsgBox Err.Description, , "Error in Function clsSysVars.SV" > Resume Exit_SV > End Select > Resume 0 '.FOR TROUBLESHOOTING > End Function > > ....... > Being able to run your sample code is the first step ... > > Persistence is getting me nowhere! > > Any suggestions? > > /borge From pcs at azizaz.com Mon Oct 24 01:01:06 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 24 Oct 2005 16:01:06 +1000 Subject: [AccessD] Fw: OT Colby's Framework Message-ID: <007e01c5d860$52f7d1c0$fa10a8c0@Albatross> @#%#%# the Control Enter button.... standby My apologies /borge > > So while initializing the Framework class logging is On by default. Then you > can have it turned on or off > From pcs at azizaz.com Mon Oct 24 02:41:23 2005 From: pcs at azizaz.com (Borge Hansen) Date: Mon, 24 Oct 2005 17:41:23 +1000 Subject: [AccessD] OT Colby's Framework References: <000f01c5d580$13cfe8d0$667aa8c0@ColbyM6805> Message-ID: <009601c5d86e$5539ca20$fa10a8c0@Albatross> John, Reply and questions inline below, /borge ----- Original Message ----- From: "John Colby" Subject: Re: [AccessD] OT Colby's Framework > One quick question, did you work > through all the articles or are you jumping in at the end? I don't care, if > you know what you are doing and are jumping in that is cool, I'm just > curious. If you worked through all the articles and the example code then I > am absolutely floored at your persistence. This stuff is not necessarily > easy. I am jumping in at the [deep] end! I have been stepping through your code a few times, and hopefully learnt a bit. My knowledge and experience with class modules, objects, eventsinking etc. is minimal. > As for your problem, the framework is looking for a sysvar called > "EnblPtrStack", which should be true or false. I use SysVars to turn on/off > functionality in my framework, and this code is telling the cIS class to > either use the class logging mechanism or do not use it. The class logging > mechanism is a class which tracks the names of the classes as they are > instantiated, so that you can get a listing in instantiation order of all > the class instances currently loaded. In your table "usystblFWSysVars " in the MDA code library your have the two sysvar records: 53 EnblPtrStack 54 EnblNameStack In the Init() code of the clsInstanceStack the corresponding two variables blnEnblPtrStack and blnEnblNameStack are set to True by default. So while initializing the Framework Class Logging is On by default. Then you can have it turned on or off. Right? Now, why would you want to turn it off? Reading your article I was under the impression that the Class Logging feature is essential to a proper managed termination procedure? > I also have to say that "it is not failing here". I just opened the zip > file, unzipped it and relinked FE to BE, and it runs perfectly, at least > until you try and close the database, whereupon the module in the > usysFrmFWCleanup in the framework throws a runtime error. There is a me. > Code fragment in the form_Close. Sigh. I have fixed that and will upload > the zip to my site. After your reply I unzipped a 'fresh' version of your demo. Runs smoothly - no problem (Yes, I deleted the Me. code fragment) Last week I had problems with the MDAC and had to install latest version of MDAC for several things to function properly. While having the corrupt MDA on my system I had changed the Set mfwcnn = CodeProject.Connection to read Set mfwcnn = CurrentProject.Connection because my Help would'nt recognize CodeProject , ...and I was just mocking around in the dark. This was the reason for my demo version falling over. I had of course forgotten about this "minor" change in the code. Questions: So, Codeproject in this instance refers to your C2DbFW3G.MDA code library. I guess this link is established when you set up the MDA in the References?? General question: Can you have more than one MDA linked to your FrontEnd? If so, what is CodeProject then referring to? The first instance of MDAs in the Reference List? For your demo purpose why do you have the usystblFWSysVars both in the MDA and in the FrontEnd? It doesn't appear that the table in the FrontEnd is used. If it was to be used, I assume it would be to demonstrate the 'over ride' facility of the SysVar values as they exist in a particular FrontEnd. If that is the case, am I correct in assuming that the usystblFWSysVars table in the FrontEnd woud be read and dealt with in the same manner as the tables usystblAppCont usystblFWSysVars by running similar code as fw.SVAPPContInit "usystblAppCont" fw.SVAPPDataInit "usystblAppData" with the necessary functions established in the clsFramework? Or am I missing something? /borge From marcus at tsstech.com Mon Oct 24 06:24:50 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 24 Oct 2005 07:24:50 -0400 Subject: [AccessD] Quarter hour increments Message-ID: Gustav, With all respect, I was just giving options. My opinion is that this belongs in a business layer, separate from the backend or front end. Hardly seems worth all that fuss (a separate layer). Choose what is appropriate for your situation. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 5:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Hi Jim and Scott With all respect, in my opinion this is not the route to follow. Machines should help people (users) not bother them. Thus the rounding solution as suggested by Ken is what you should (and I do) use. Perhaps associated by a Beep when rounding occurs ... /gustav From shamil at users.mns.ru Mon Oct 24 07:15:30 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 24 Oct 2005 16:15:30 +0400 Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface Thebest way References: Message-ID: <003901c5d894$dd54aa80$6401a8c0@fincomplex.spb.ru> <<< * Access Form objects have no parameterized constructor (a true Initialize event with a user-definable parameter list). Form_Open happens way too late for my purposes. (Maybe Access 2005 will correct this) You can trick around this limitation using: - fake recordsources; - fake subforms, which are created before mainform. <<< * No easy way to deliver the framework. COM-based approaches would require Active-X dlls, developed in VB6. >>> In fact it's relatively easy to convert VBA code into VB6 ActiveX Dlls if there is no CurrentDB, CodeDB, DbEngine(..), DoCmd... and similar code constructs chaotically distributed in VBA code... <<< .NET seems to provide some answers: >>> Yes, .NET is much better to build such frameworks. And taking into account a very sad story of Bruce McKinney(http://brucem.mystarband.net/) - the author of excellent book "HardCore Visual Basic": http://vb.mvps.org/hardcore/html/notessecondinternetedition.htm I'd not recommend now to spend any time on hardcore experiments with VBA - it is not worth the trouble... <<< Of course, the larger question is, "why do this?". >>> "Just for fun"? (But ptogramming on .NET is much more fun... C# and C++ is even more fun... Ruby (people say) - is enormous fun - maybe better start learning Ruby, especially taking into account mentioned here Ruby on Rails framework and other Ruby related stuff?) <<< Maybe Microsoft will revive enough developer interest in its next release of Access to justify investing in such a framework. >>> It looks like MS Access is becoming pure power users tool. MS SQL Server 2005 Express Edition is becoming its killer as developer's platform... Shamil ----- Original Message ----- From: "Ken Ismert" To: "Access Developers discussion and problem solving" Sent: Friday, October 21, 2005 10:25 PM Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface Thebest way > > >I see now VBA/VB6-programming concept I called "DEEP-object concept" > >(http://www.smsconsulting.spb.ru/shamil_s/articles/deepcnpt.htm) > > Shamil, > > Colby turned me on to your site some years ago. All I can say is that > you were way ahead of the curve -- it even took MS 3 years to come up > with a stable platform to run your concept. > > I too have dabbled with my own form management frameworks for Access. I > got two running, the first a modestly complex, class-based framework > that relied on sinking events (developed independently), and the second > a stripped down, much-simplified framework based on interfaces. The > interface framework managed not only Access forms, but Excel Userforms > and standalone objects, as well. > > The shift in thinking was from a reactive style (respond to an event > from something that already happened) to an active style (tell some > object to do something with this information). > > One aim of the interface-based framework was to produce a more > loosely-coupled system by moving parameters directly to the object, > eliminating the reliance on any global objects (external form controls, > global variables, functions and collections...). The other goal was to > move away from the flakey form event system, and instead build framework > "events" (in reality interface callbacks) on the much more reliable > mechanism of object termination. > > I have thought of building a third framework that combined the best > ideas of the first two, but have run into these problems: > * Access Form objects have no parameterized constructor (a true > Initialize event with a user-definable parameter list). Form_Open > happens way too late for my purposes. (Maybe Access 2005 will correct > this) > * No easy way to deliver the framework. COM-based approaches would > require Active-X dlls, developed in VB6. > > .NET seems to provide some answers: > * VB.NET, C# and similar have the object sophistication to build a > technically satisfying framework. > * Packaging and installation appear to be simpler and more robust > (although I can't say this firsthand) > > Some interesting thoughts on what such a framework should and shouldn't > have: > * Based in .NET > * Works with Access via COM Interop to an Office Add-In. > * Automates other form types, including Userforms and .NET forms. > * Form Roles defined by the Interfaces they support. > * Extensible by defining new Form Role Interfaces, and providing the > support code to implement them. > * Not driven by Form events. The form communicates to other forms in the > framework via interfaces. Form events are considered private to the > form, in that they don't drive inter-form communication. The form can > use helper objects that sink form events and perform various services, > including communication via the proper channels. These would be > explicitly set up in the form. > > Of course, the larger question is, "why do this?". Maybe Microsoft will > revive enough developer interest in its next release of Access to > justify investing in such a framework. > > -Ken > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 24 07:16:07 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Oct 2005 14:16:07 +0200 Subject: [AccessD] Quarter hour increments Message-ID: Hi Scott That's right, but you were suggesting validation at the table level. Validation in a business layer is, of course, preferable and logical as it would not be an error at the table level to store a value with a count of minutes of, say, 10 in a date/time field. However, my point is another. Wherever the "error" is caught it should not raise an error. Error messages bother users, indeed in situations where the user will think "stupid application, when I type 12 minutes, why doesn't it just round that to 15?". Thus your business rule should catch this "error" silently, and gently and/or quietly guide the user to the desired input which - according to your business rule - in this case would be to round up, down, or to closest quarter of an hour. I think it is worth the fuzz. Details like these handled in a way that has the user in focus add quite a lot to the total user satisfaction. Also - and that's important - when you care for the details, the client (the user) automatically will think that if the details are taken properly care of, so are the big tasks. /gustav >>> marcus at tsstech.com 24-10-2005 13:24 >>> Gustav, With all respect, I was just giving options. My opinion is that this belongs in a business layer, separate from the backend or front end. Hardly seems worth all that fuss (a separate layer). Choose what is appropriate for your situation. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 5:52 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Hi Jim and Scott With all respect, in my opinion this is not the route to follow. Machines should help people (users) not bother them. Thus the rounding solution as suggested by Ken is what you should (and I do) use. Perhaps associated by a Beep when rounding occurs ... /gustav From shamil at users.mns.ru Mon Oct 24 07:54:18 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 24 Oct 2005 16:54:18 +0400 Subject: [AccessD] Data Export Spec - Rev1 References: <000701c5d56b$94e61210$667aa8c0@ColbyM6805> Message-ID: <008801c5d89a$122efe40$6401a8c0@fincomplex.spb.ru> > As always happens in these projects, a lot of interest is expressed, but > that doesn't necessarily translate into active participation. John, I cannot promise active participation because of heavy workload but what I promised so far - convert your code using Implements and design patterns and a set of low coupled/highly cohesive custom classes and/or move the converted code to VB.NET/C# for scalability, real asynchronous execution etc. - this is what I plan to do sooner or later... > Also, I am not even sure that SQL Server does not have > something similar built-in and therefore nobody using SQL Server would use > this. MS SQL Server has Data Transformation Services(DTS) - one may use them to automate data export to fixed width/delimited text files. And DTS can also generate VB6 code, and transformation/formatting VB6 code can be written/edited during DTS Wizard helping to prepare DTS package.... IMO you can compete with DTS if your code will have different area of applications, which DTS doesn't cover.... Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 20, 2005 3:44 PM Subject: Re: [AccessD] Data Export Spec - Rev1 > Shamil, > > The modules do not have to use DAO as long as ADO provides the functionality > of accessing the fields using the rst(fldname) operation. The code you see > is pseudocode, intended to display the concept, not the actual execution, > and I can write DAO in my sleep so it is easy for me to write the pseudocode > in. In my framework I use ADO exclusively, however I am still not anywhere > close to "as comfortable with it" as I am with DAO. > > My PREFERENCE is to use ADO throughout for widest applicability. My > PREFERENCE is also to get a good SQL Server person on board to keep us > running down a path that allows immediate, built-in usage with SQL Server. > So far I do not have a lot of hands raised saying that they want an in-depth > piece of the action. Also, I am not even sure that SQL Server does not have > something similar built-in and therefore nobody using SQL Server would use > this. > > As always happens in these projects, a lot of interest is expressed, but > that doesn't necessarily translate into active participation. I have > learned to be prepared to do what needs to be done, on my own, to get what > -I- need done. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > <<< tail skipped>>> From marcus at tsstech.com Mon Oct 24 08:09:39 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 24 Oct 2005 09:09:39 -0400 Subject: [AccessD] Quarter hour increments Message-ID: Gustav, << Hi Scott << << That's right, but you were suggesting validation at the table level. And the other solution offers it at the application level. That's still not a middle tier. To make it a middle tier, could be a silly decision. << Thus your business rule should catch this "error" silently, << and gently and/or quietly guide the user to the desired input << which - according to your business rule - in this case << would be to round up, down, or to closest quarter of an hour. If you just round, the user gets accustom to that so that when they really 'fat finger' the entry (27 oops I meant 07), it is rounded (likely incorrectly) and probably ignored. I don't like that solution. I would rather the user put in valid data than just rely on the program to fix the time. I have learned that time tends to be very import (in my case peoples pay depends on it) I want no mistakes when entering it. To each his own... << Details like these handled in a way that has the user in << focus add quite a lot to the total user satisfaction. And the first time you get called into a meeting as to why the data is wrong and someone has to cut another check, you try explaining how you thought it would make for a better user experience, you'll understand where I'm coming from. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From jwcolby at ColbyConsulting.com Mon Oct 24 08:14:38 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 24 Oct 2005 09:14:38 -0400 Subject: [AccessD] OT Colby's Framework In-Reply-To: <009601c5d86e$5539ca20$fa10a8c0@Albatross> Message-ID: <007e01c5d89c$e34031a0$667aa8c0@ColbyM6805> >So while initializing the Framework Class Logging is On by default. Then you can have it turned on or off. Right? Now, why would you want to turn it off? Reading your article I was under the impression that the Class Logging feature is essential to a proper managed termination procedure? The stacks are a troubleshooting tool, nothing more. They allow you to discover what has loaded, in what order, and waaaay more importantly, what has NOT unloaded. In point of fact, the stacks can all by themselves PREVENT classes from unloading IF for some reason the class pointer is not unloaded from the stack when the class closes. That in fact has happened, I had a bug where a the name I used as the index (key) for the stack collection was not the name I was trying to use as the key for unloading the class. Oooops! It got put in but never taken out. What happens in Access is that ANY object (and classes are just objects) don't truly close until the last pointer to the class is deleted from all the various variables holding that pointer. Collections can, and my stack system does, hold pointers to classes. Since my stack was not correctly finding and unloading the pointer to some specific classes, they never unloaded. So no, the stacks have nothing to do with proper unloading of the classes, they are just a way for you to look at the names of (and count of) all the classes loaded, then (for example) load a form that loads 20 classes, then turn right around and close that form, and check the count of classes loaded. If a form loads 20 classes, it MUST unload 20 classes when it closes or it has somehow left a class open which may now be orphaned. A troubleshooting tool. There are obvious exceptions such as some service that the form asks the framework to load. It was not loaded previously, but the framework opens it and holds a pointer to that service. Now, as the form closes any classes associated with that service will still be loaded, and that's OK. We often leave services loaded "for the next time". ***** >Questions: So, Codeproject in this instance refers to your C2DbFW3G.MDA code library. I guess this link is established when you set up the MDA in the References?? CodeProject refers to the place that code is currently executing when the "codeproject" line of code is executed (resolved). Thus if code INSIDE the framework executes a reference to codeproject, it points to itself (the framework). If the FE executes the line referring to codeproject, it points to the itself (the FE). ***** >General question: Can you have more than one MDA linked to your FrontEnd? If so, what is CodeProject then referring to? The first instance of MDAs in the Reference List? Whatever container (MDB/A/E) that the code is executing in when the CodeProject reference is resolved. ***** > For your demo purpose why do you have the usystblFWSysVars both in the MDA and in the FrontEnd? It doesn't appear that the table in the FrontEnd is used. If it was to be used, I assume it would be to demonstrate the 'over ride' facility of the SysVar values as they exist in a particular FrontEnd. usystblFWSysVars is used to "override" the DEFAULT behaviors of the FE. What is SUPPOSED to happen is that the usystblFWSysVars in the framework container (MDA) is read out and placed into the SysVars class. IMMEDIATELY after this, the usystblFWSysVars from the FE container is supposed to be read out and placed into the SysVars class. Since the SysVar NAME is used as a key (index) into the SysVar class and collection, if the name is already in the SysVar collection, an exception occurs. I trap that exception, unload the value already in the collection, then place the "new" value in the collection. Thus the new value "overrides" the old value. Let's assume that I set up a DEFAULT where I do NOT USE just-in-time (JIT) subforms. If you do not override that in the FE, then as a form loads, it immediately loads all subforms on the form as well. Suppose that in THIS frontend you WANT JIT subforms. Find the JITSubforms variable, set it to true in the FE and voila, all forms in the FE will use JIT Subforms. It turns out that we also want a form by form control over some things (like JIT subforms), so I also have a method of overriding SysVars on a form basis. THAT occurs in the form class however, not in the loading of the SysVar collection as the framework loads. So you can NOT turn on JIT subforms and still have JIT functionality for SPECIFIC forms. ***** >If that is the case, am I correct in assuming that the usystblFWSysVars table in the FrontEnd would be read and dealt with in the same manner as the tables usystblAppCont usystblFWSysVars by running similar code as fw.SVAPPContInit "usystblAppCont" fw.SVAPPDataInit "usystblAppData" with the necessary functions established in the clsFramework? Or am I missing something? That is precisely correct. In fact you should find that I load the usystblAppCont and usystblAppData right as the framework loads, so that by the time control returns to the calling FE (from loading the framework) both of those SysVar classes are loaded and ready to go. BTW, if you are NOT particularly strong in classes ad objects, I recommend working through the whole series, as each lecture discusses some specific thing. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 24, 2005 3:41 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Colby's Framework John, Reply and questions inline below, /borge ----- Original Message ----- From: "John Colby" Subject: Re: [AccessD] OT Colby's Framework > One quick question, did you work > through all the articles or are you jumping in at the end? I don't > care, if > you know what you are doing and are jumping in that is cool, I'm just > curious. If you worked through all the articles and the example code > then I > am absolutely floored at your persistence. This stuff is not > necessarily easy. I am jumping in at the [deep] end! I have been stepping through your code a few times, and hopefully learnt a bit. My knowledge and experience with class modules, objects, eventsinking etc. is minimal. > As for your problem, the framework is looking for a sysvar called > "EnblPtrStack", which should be true or false. I use SysVars to turn on/off > functionality in my framework, and this code is telling the cIS class > to either use the class logging mechanism or do not use it. The class logging > mechanism is a class which tracks the names of the classes as they are > instantiated, so that you can get a listing in instantiation order of > all the class instances currently loaded. In your table "usystblFWSysVars " in the MDA code library your have the two sysvar records: 53 EnblPtrStack 54 EnblNameStack In the Init() code of the clsInstanceStack the corresponding two variables blnEnblPtrStack and blnEnblNameStack are set to True by default. So while initializing the Framework Class Logging is On by default. Then you can have it turned on or off. Right? Now, why would you want to turn it off? Reading your article I was under the impression that the Class Logging feature is essential to a proper managed termination procedure? > I also have to say that "it is not failing here". I just opened the > zip file, unzipped it and relinked FE to BE, and it runs perfectly, at > least until you try and close the database, whereupon the module in > the usysFrmFWCleanup in the framework throws a runtime error. There > is a me. Code fragment in the form_Close. Sigh. I have fixed that > and will upload the zip to my site. After your reply I unzipped a 'fresh' version of your demo. Runs smoothly - no problem (Yes, I deleted the Me. code fragment) Last week I had problems with the MDAC and had to install latest version of MDAC for several things to function properly. While having the corrupt MDA on my system I had changed the Set mfwcnn = CodeProject.Connection to read Set mfwcnn = CurrentProject.Connection because my Help would'nt recognize CodeProject , ...and I was just mocking around in the dark. This was the reason for my demo version falling over. I had of course forgotten about this "minor" change in the code. Questions: So, Codeproject in this instance refers to your C2DbFW3G.MDA code library. I guess this link is established when you set up the MDA in the References?? General question: Can you have more than one MDA linked to your FrontEnd? If so, what is CodeProject then referring to? The first instance of MDAs in the Reference List? For your demo purpose why do you have the usystblFWSysVars both in the MDA and in the FrontEnd? It doesn't appear that the table in the FrontEnd is used. If it was to be used, I assume it would be to demonstrate the 'over ride' facility of the SysVar values as they exist in a particular FrontEnd. If that is the case, am I correct in assuming that the usystblFWSysVars table in the FrontEnd woud be read and dealt with in the same manner as the tables usystblAppCont usystblFWSysVars by running similar code as fw.SVAPPContInit "usystblAppCont" fw.SVAPPDataInit "usystblAppData" with the necessary functions established in the clsFramework? Or am I missing something? /borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs at azizaz.com Mon Oct 24 09:37:00 2005 From: pcs at azizaz.com (Borge Hansen) Date: Tue, 25 Oct 2005 00:37:00 +1000 Subject: [AccessD] OT Colby's Framework References: <007e01c5d89c$e34031a0$667aa8c0@ColbyM6805> Message-ID: <00d501c5d8a8$64cbcb70$fa10a8c0@Albatross> I'll be reading the whole series of articles.... One more question: in usystblFWSysVars for SV : gEnblCtlBackGndColorChg your comment is : Global prefix ALLOWS controls to change background colors as they get / lose focus. Does NOT CAUSE this to happen. Setting the color codes (gCtlBackGndColor and gLblBackGndColorDblClk) to another value, does not cause the background color to change on neither labels or textcontrols when starting up the FE again. How come? /borge ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 24, 2005 11:14 PM Subject: Re: [AccessD] OT Colby's Framework > > BTW, if you are NOT particularly strong in classes ad objects, I recommend > working through the whole series, as each lecture discusses some specific > thing. > From Gustav at cactus.dk Mon Oct 24 10:05:56 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Oct 2005 17:05:56 +0200 Subject: [AccessD] Quarter hour increments Message-ID: Hi Scott First, you forget the original questioner, Gina. I don't think she has a business layer. If so, the frontend is where to put sophisticated business rules as only simple validation is possible at the table level. Still, if a business layer should be present, I agree that would be where to put it. Second, I'm not telling you what to do with your specific users in your particular scenario. My opnion is general and nothing more than that. Third, no rules can take care of allowed but incorrect input. If the user types 27 for 07 minutes that would be rounded to 30 for 0, no more no less. 27 is a valid input but if the user meant 07, it is incorrect, and so is 30 minutes. As you user probably is typing into a textbox, he/she can study the input and decide wether it is correct or not before moving on. If this is a time sheet, it probably has an Accept button, and the user has the responsibility to check the filled in data before pressing that button. Finally, if you wish to tell the user that a rounding occurred, send a Beep, or - if the rounding would be an indication of a possible incorrect user input - pop a messagebox telling the user that "The 27 minutes were rounded to 30 minutes." which leaves the user with the option to correct or accept it. In our time billing application we have put a lot of efforts in helping the users to not type in figures that may be incorrect. We don't round to 15 minutes but to one minute, you have the option of typing decimal hours as well as time duration in hours and minutes where automatic correction of time (0 to 24) and minutes (0 to 59) without typing the separator colon and eventually passing Midnight is an exercise on its own. But users appreciate it very much. /gustav >>> marcus at tsstech.com 24-10-2005 15:09 >>> Gustav, << Hi Scott << << That's right, but you were suggesting validation at the table level. And the other solution offers it at the application level. That's still not a middle tier. To make it a middle tier, could be a silly decision. << Thus your business rule should catch this "error" silently, << and gently and/or quietly guide the user to the desired input << which - according to your business rule - in this case << would be to round up, down, or to closest quarter of an hour. If you just round, the user gets accustom to that so that when they really 'fat finger' the entry (27 oops I meant 07), it is rounded (likely incorrectly) and probably ignored. I don't like that solution. I would rather the user put in valid data than just rely on the program to fix the time. I have learned that time tends to be very import (in my case peoples pay depends on it) I want no mistakes when entering it. To each his own... << Details like these handled in a way that has the user in << focus add quite a lot to the total user satisfaction. And the first time you get called into a meeting as to why the data is wrong and someone has to cut another check, you try explaining how you thought it would make for a better user experience, you'll understand where I'm coming from. Scott Marcus IT Programmer TSS Technologies Inc. www.tss.com From hoopesg at hotmail.com Mon Oct 24 10:29:52 2005 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 24 Oct 2005 10:29:52 -0500 Subject: [AccessD] Quarter hour increments Message-ID: Scott and Gustav, I've been reading your comments with interest. I agree with Gustav on the theoretical level because I'm a trainer and I do try to make things as friendly as possible for the end user. However, in this particular case, Scott's solution is still the best. The user has a maximum of 40 hours that s/he can enter. So if I allow them to prepare their own breakdown, usually in an Excel spreadsheet, when they come to the database to enter their final result in my database the rounding would change their total. In this case the user needs to know that the only acceptable increments are quarter hours and prepare their data accordingly. This is a new restriction for them so we need to re-train their process rather than "fix" the data they enter. Thanks for a good discussion with more than one good solution. Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, October 24, 2005 10:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Hi Scott First, you forget the original questioner, Gina. I don't think she has a business layer. If so, the frontend is where to put sophisticated business rules as only simple validation is possible at the table level. Still, if a business layer should be present, I agree that would be where to put it. From hoopesg at hotmail.com Mon Oct 24 10:48:50 2005 From: hoopesg at hotmail.com (Gina Hoopes) Date: Mon, 24 Oct 2005 10:48:50 -0500 Subject: [AccessD] Quarter hour increments Message-ID: By the way, I did remove the exclamation point from the validation text since I don't want to appear to be scolding them, just correcting them. Gina -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, October 24, 2005 10:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Quarter hour increments Hi Scott First, you forget the original questioner, Gina. I don't think she has a business layer. If so, the frontend is where to put sophisticated business rules as only simple validation is possible at the table level. Still, if a business layer should be present, I agree that would be where to put it. From jwcolby at ColbyConsulting.com Mon Oct 24 10:51:04 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 24 Oct 2005 11:51:04 -0400 Subject: [AccessD] OT Colby's Framework In-Reply-To: <00d501c5d8a8$64cbcb70$fa10a8c0@Albatross> Message-ID: <008c01c5d8b2$c0659bf0$667aa8c0@ColbyM6805> >One more question: in usystblFWSysVars, for SV : gEnblCtlBackGndColorChg, your comment is : Global prefix ALLOWS controls to change background colors as they get / lose focus. Does NOT CAUSE this to happen. Setting the color codes (gCtlBackGndColor and gLblBackGndColorDblClk) to another value, does not cause the background color to change on neither labels or text controls when starting up the FE again. How come? IIRC gCtlBackGndColor and gLblBackGndColorDblClk are the colors that the background changes to. The EnblXXX is generally an ENABLE for something to happen. Thus changing gCtlBackGndColor and gLblBackGndColorDblClk will only change the color that the background changes to IF it is enabled. The ENBLXXX still has to be set to TRUE to ENABLE the background color to change when it gets the focus. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Monday, October 24, 2005 10:37 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT Colby's Framework I'll be reading the whole series of articles.... One more question: in usystblFWSysVars for SV : gEnblCtlBackGndColorChg your comment is : Global prefix ALLOWS controls to change background colors as they get / lose focus. Does NOT CAUSE this to happen. Setting the color codes (gCtlBackGndColor and gLblBackGndColorDblClk) to another value, does not cause the background color to change on neither labels or textcontrols when starting up the FE again. How come? /borge ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Monday, October 24, 2005 11:14 PM Subject: Re: [AccessD] OT Colby's Framework > > BTW, if you are NOT particularly strong in classes ad objects, I > recommend working through the whole series, as each lecture discusses > some specific thing. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Mon Oct 24 10:55:27 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 24 Oct 2005 11:55:27 -0400 Subject: [AccessD] Flag Previously Deleted Recs Message-ID: Once a week, I receive a list of all open accounts from one of our DB's. If an account is no longer open, it will not appear on the list. After receiving the current week's list, I need to flag accounts in my master DB that are no longer open. For example, if Acct# 12345 appeared in last weeks file, but not in this week's file, I need to update my master file so this acct shows as deleted. When I receive the file, I import the data into an Access table, and update the [FileDate] field with today's date. All accounts from my master table that were not in this week's file need to be flagged as Deleted. This seems like a fairly simple thing to do, but I'm having trouble figuring it out. Any ideas?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From Gustav at cactus.dk Mon Oct 24 11:08:08 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Oct 2005 18:08:08 +0200 Subject: [AccessD] .NET Form Object Frameworks -- WAS: Data interface Thebest way Message-ID: Hi Shamil Not that I had planned to do anything with Visual Basic but the thoughts of this Bruce is an eye-opener: http://brucem.mystarband.net By the way, any of you using VB, note his book is available on-line at no charge. Link is in the links below. /gustav >>> shamil at users.mns.ru 24-10-2005 14:15 >>> <<< .NET seems to provide some answers: >>> Yes, .NET is much better to build such frameworks. And taking into account a very sad story of Bruce McKinney(http://brucem.mystarband.net/) - the author of excellent book "HardCore Visual Basic": http://vb.mvps.org/hardcore/html/notessecondinternetedition.htm I'd not recommend now to spend any time on hardcore experiments with VBA - it is not worth the trouble... From Gustav at cactus.dk Mon Oct 24 11:17:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 24 Oct 2005 18:17:21 +0200 Subject: [AccessD] Quarter hour increments Message-ID: Hi Gina Thanks for the clarification. You are right - rounding just doesn't make sense in this situation. Here where things have to fit, the method of choice is "polite and bruce force" ... /gustav >>> hoopesg at hotmail.com 24-10-2005 17:29 >>> Scott and Gustav, I've been reading your comments with interest. I agree with Gustav on the theoretical level because I'm a trainer and I do try to make things as friendly as possible for the end user. However, in this particular case, Scott's solution is still the best. The user has a maximum of 40 hours that s/he can enter. So if I allow them to prepare their own breakdown, usually in an Excel spreadsheet, when they come to the database to enter their final result in my database the rounding would change their total. In this case the user needs to know that the only acceptable increments are quarter hours and prepare their data accordingly. This is a new restriction for them so we need to re-train their process rather than "fix" the data they enter. Thanks for a good discussion with more than one good solution. Gina From mikedorism at verizon.net Mon Oct 24 11:19:37 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 24 Oct 2005 12:19:37 -0400 Subject: [AccessD] Flag Previously Deleted Recs In-Reply-To: Message-ID: <001801c5d8b6$bb8af220$2e01a8c0@dorismanning> After you update the FileDate for those that match, you need change (update) the DeleteFlag in all records of the AccountTable where the FileDate is less than Today's Date. Doris Manning mikedorism at verizon.net From martyconnelly at shaw.ca Mon Oct 24 11:20:30 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Oct 2005 09:20:30 -0700 Subject: [AccessD] CallerID code References: <6.2.3.4.2.20051023080354.01f57ad0@pop5.actcom.net.il> <435BEC80.29964.1A69AC67@stuart.lexacorp.com.pg> <6.2.3.4.2.20051024072624.04b8b1f0@pop5.actcom.net.il> Message-ID: <435D09CE.5030308@shaw.ca> There is some VB6 code here but you will need the MSComm dll that is licensed through VB6 Or you will have to look up the TAPI SDK through MS site. http://www.yes-tele.com/modem.html handyman at actcom.co.il wrote: >This looks more complicated than I originally thought. Does anyone >know of any third party program or controls that I can use to extract >the incoming data? > >gm > >At 08:03 PM, 10/23/2005 +1000, you wrote: > > >>On 23 Oct 2005 at 8:12, handyman at actcom.co.il wrote: >> >> >> >>>I have been exploring the possibility of using callerid code that I >>>can monitor my incoming phone calls. I found a very simple freeware >>>program called Phonetray which keeps a log of incoming calls, and has >>>an address book in Excel. I am interested in trying to write code >>>using VBA to use my own address book from Access. Does anyone know >>>where I can find code or information on how to capture information >>>from a modem? By having this info, I can then automatically pop onto >>>the screen information about the customer. >>> >>> >>> >>Heres the source for a simple VB application whih you should be able to >>adapt. >> >>http://www.yes-tele.com/modem.html >> >>-- >>Stuart >> >> >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >>-- >>No virus found in this incoming message. >>Checked by AVG Free Edition. >>Version: 7.1.361 / Virus Database: 267.12.4/146 - Release Date: 10/21/2005 >> >> > >Gershon Markowitz >mailto:Handyman at actcom.co.il > > -- Marty Connelly Victoria, B.C. Canada From mboyd at deloitte.com Mon Oct 24 11:31:08 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 24 Oct 2005 12:31:08 -0400 Subject: [AccessD] Flag Previously Deleted Recs Message-ID: The problem with this is I don't want to flag prior instances of the same Acct# as deleted. For example, if Acct# 12345 was open in the 10/6/2005 file, and also in the 10/13/2005 file, your suggestion would update the 10/6 record to Deleted. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, October 24, 2005 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Flag Previously Deleted Recs After you update the FileDate for those that match, you need change (update) the DeleteFlag in all records of the AccountTable where the FileDate is less than Today's Date. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From marcus at tsstech.com Mon Oct 24 11:41:00 2005 From: marcus at tsstech.com (Scott Marcus) Date: Mon, 24 Oct 2005 12:41:00 -0400 Subject: [AccessD] Quarter hour increments Message-ID: <<... try to make things as friendly as possible for the end user. This is a good point, and I agree with it. However, I don't sacrifice data integrity over user friendliness (rounding time seems to be one of those touchy areas where I use more caution). I agree with Gustav on most of his points. Sometimes though, less is more. From jwcolby at ColbyConsulting.com Mon Oct 24 12:19:32 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 24 Oct 2005 13:19:32 -0400 Subject: [AccessD] BE differences Message-ID: <00a301c5d8bf$1c3adce0$667aa8c0@ColbyM6805> Does anyone have any code for discovering the DIFFERENCES between the tables in two Bes? I can't remember if this is available in the BE Updater. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From tewald at comcast.net Mon Oct 24 12:50:38 2005 From: tewald at comcast.net (tewald at comcast.net) Date: Mon, 24 Oct 2005 17:50:38 +0000 Subject: [AccessD] Breaking up a text field Message-ID: <102420051750.209.435D1EEE00083F92000000D122073007930B040E990A9B@comcast.net> Say we have a text field that has the word "Stuff" in it several times. We want to break up the field everywhere that word appears, creating new fields. How can we do that? Putting the data into associated fields in a separate table would be fine. This seems to me to resemble normalization in one sense, but I can't quite put my finger on it. For example, we have: "The stuff that we have is stuff that we don't want and so you can go and stuff it." We want 4 fields (the first because there is text prior to the first "stuff"): The stuff that we have is stuff that we don't want and so you can go and stuff it. Any suggestions? TIA, Tom Ewald From carbonnb at gmail.com Mon Oct 24 13:20:27 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 24 Oct 2005 14:20:27 -0400 Subject: [AccessD] BE differences In-Reply-To: <00a301c5d8bf$1c3adce0$667aa8c0@ColbyM6805> References: <00a301c5d8bf$1c3adce0$667aa8c0@ColbyM6805> Message-ID: On 24/10/05, John Colby wrote: > Does anyone have any code for discovering the DIFFERENCES between the tables > in two Bes? I can't remember if this is available in the BE Updater. No, it's not available in the BEU. I beleive that feature is on the TODO list, but way down near the bottom. -- 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 martyconnelly at shaw.ca Mon Oct 24 13:28:08 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Oct 2005 11:28:08 -0700 Subject: [AccessD] BE differences References: <00a301c5d8bf$1c3adce0$667aa8c0@ColbyM6805> Message-ID: <435D27B8.2060400@shaw.ca> Easy way is Total Access Detective from FMS $199. http://www.fmsinc.com Here is a function that should do part of the trick (it assumes that there are the same records in each table matching on primary key ID. If not, just put in logic to move the recordsets until the keys match.) If they are out of sync the coding gets busy real fast. Function CompTables() Dim DB As DAO.Database, i As Long Dim rs1 As DAO.Recordset, rs2 As DAO.Recordset Set DB = CurrentDb() Set rs1 = DB.OpenRecordset("Vc") Set rs2 = DB.OpenRecordset("Vp") Do Until rs1.EOF For i = 0 To rs1.Fields.Count - 1 If rs1(i) <> rs2(i) Then 'do something here like write it to a log table End If Next i rs1.MoveNext rs2.MoveNext Loop rs1.Close rs2.Close Set rs1 = Nothing Set rs2 = Nothing End Function John Colby wrote: >Does anyone have any code for discovering the DIFFERENCES between the tables >in two Bes? I can't remember if this is available in the BE Updater. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Mon Oct 24 13:41:45 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 24 Oct 2005 22:41:45 +0400 Subject: [AccessD] Breaking up a text field References: <102420051750.209.435D1EEE00083F92000000D122073007930B040E990A9B@comcast.net> Message-ID: <003501c5d8ca$9df9bbb0$6401a8c0@fincomplex.spb.ru> Option Compare Text '... Dim strTest As String strTest = "The stuff that we have " & _ "is stuff that we don't want" & _ "and so you can go and stuff it." Dim i As Integer Dim avar As Variant avar = SplitStr(strTest) For i = 0 To UBound(avar) Debug.Print avar(i) Next i '... Public Function SplitStr( _ ByVal vstr As String, _ Optional ByVal vstrDlm As String = "stuff") _ As Variant Dim avar As Variant Dim i As Integer avar = Split(vstr, vstrDlm) avar(0) = avar(0) For i = 1 To UBound(avar) avar(i) = vstrDlm & avar(i) Next i SplitStr = avar End Function HTH, Shamil ----- Original Message ----- From: To: Sent: Monday, October 24, 2005 9:50 PM Subject: [AccessD] Breaking up a text field > Say we have a text field that has the word "Stuff" in it several times. We want to break up the field everywhere that word appears, creating new fields. How can we do that? Putting the data into associated fields in a separate table would be fine. This seems to me to resemble normalization in one sense, but I can't quite put my finger on it. > For example, we have: "The stuff that we have is stuff that we don't want and so you can go and stuff it." > We want 4 fields (the first because there is text prior to the first "stuff"): > The > stuff that we have is > stuff that we don't want and so you can go and > stuff it. > Any suggestions? > TIA, > Tom Ewald > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From mikedorism at verizon.net Mon Oct 24 13:41:02 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Mon, 24 Oct 2005 14:41:02 -0400 Subject: [AccessD] Flag Previously Deleted Recs In-Reply-To: Message-ID: <001d01c5d8ca$7cd16be0$2e01a8c0@dorismanning> Gotcha... so you need to do a GroupBy and do the comparison against the Max value of FileDate... Mike & Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Monday, October 24, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Flag Previously Deleted Recs The problem with this is I don't want to flag prior instances of the same Acct# as deleted. For example, if Acct# 12345 was open in the 10/6/2005 file, and also in the 10/13/2005 file, your suggestion would update the 10/6 record to Deleted. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, October 24, 2005 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Flag Previously Deleted Recs After you update the FileDate for those that match, you need change (update) the DeleteFlag in all records of the AccountTable where the FileDate is less than Today's Date. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mboyd at deloitte.com Mon Oct 24 14:01:23 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 24 Oct 2005 15:01:23 -0400 Subject: [AccessD] Flag Previously Deleted Recs Message-ID: That is exactly how I ended up doing it. I ran a query to return all Acct #'s that match the Max [FileDate], then ran an Unmatched Query against these Acct #'s to determine the records that were not included in the most recent file. These records were then flagged as deleted. Thanks for your help. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, October 24, 2005 2:41 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Flag Previously Deleted Recs Gotcha... so you need to do a GroupBy and do the comparison against the Max value of FileDate... Mike & Doris Manning mikedorism at verizon.net -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Boyd, Mark Thomas (US - Philadelphia) Sent: Monday, October 24, 2005 12:31 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Flag Previously Deleted Recs The problem with this is I don't want to flag prior instances of the same Acct# as deleted. For example, if Acct# 12345 was open in the 10/6/2005 file, and also in the 10/13/2005 file, your suggestion would update the 10/6 record to Deleted. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Monday, October 24, 2005 12:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Flag Previously Deleted Recs After you update the FileDate for those that match, you need change (update) the DeleteFlag in all records of the AccountTable where the FileDate is less than Today's Date. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ldoering at symphonyinfo.com Mon Oct 24 14:21:02 2005 From: ldoering at symphonyinfo.com (Liz Doering) Date: Mon, 24 Oct 2005 14:21:02 -0500 Subject: [AccessD] BE differences Message-ID: <855499653F55AD4190B242717DF132BC10BA60@dewey.Symphony.local> Even easier--because it's free--is MDBDiff, which I learned about on this list once upon a time. It can be found here: http://www.pb-sys.com/ under retired products. Liz Doering Symphony Information Services liz at symphonyinfo.com www.symphonyinfo.com Marty Connelly wrote: Easy way is Total Access Detective from FMS $199. http://www.fmsinc.com Here is a function that should do part of the trick (it assumes that there are the same records in each table matching on primary key ID. If not, just put in logic to move the recordsets until the keys match.) If they are out of sync the coding gets busy real fast. Function CompTables() Dim DB As DAO.Database, i As Long Dim rs1 As DAO.Recordset, rs2 As DAO.Recordset Set DB = CurrentDb() Set rs1 = DB.OpenRecordset("Vc") Set rs2 = DB.OpenRecordset("Vp") Do Until rs1.EOF For i = 0 To rs1.Fields.Count - 1 If rs1(i) <> rs2(i) Then 'do something here like write it to a log table End If Next i rs1.MoveNext rs2.MoveNext Loop rs1.Close rs2.Close Set rs1 = Nothing Set rs2 = Nothing End Function John Colby wrote: >Does anyone have any code for discovering the DIFFERENCES between the tables >in two Bes? I can't remember if this is available in the BE Updater. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Oct 24 14:28:58 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Oct 2005 12:28:58 -0700 Subject: [AccessD] Office 2003 Service pack 2 References: <102420051750.209.435D1EEE00083F92000000D122073007930B040E990A9B@comcast.net> <003501c5d8ca$9df9bbb0$6401a8c0@fincomplex.spb.ru> Message-ID: <435D35FA.7070701@shaw.ca> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-5735432.html -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Mon Oct 24 14:36:01 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 24 Oct 2005 12:36:01 -0700 Subject: [AccessD] BE differences References: <855499653F55AD4190B242717DF132BC10BA60@dewey.Symphony.local> Message-ID: <435D37A1.7010908@shaw.ca> ooohh neat! Liz Doering wrote: >Even easier--because it's free--is MDBDiff, which I learned about on >this list once upon a time. > >It can be found here: http://www.pb-sys.com/ under retired products. > > >Liz Doering >Symphony Information Services >liz at symphonyinfo.com >www.symphonyinfo.com > > > >Marty Connelly wrote: > >Easy way is Total Access Detective from FMS $199. > >http://www.fmsinc.com > >Here is a function that should do part of the trick (it assumes that >there are the >same records in each table matching on primary key ID. If not, just put >in >logic to move the recordsets until the keys match.) >If they are out of sync the coding gets busy real fast. > >Function CompTables() > >Dim DB As DAO.Database, i As Long >Dim rs1 As DAO.Recordset, rs2 As DAO.Recordset > >Set DB = CurrentDb() > >Set rs1 = DB.OpenRecordset("Vc") >Set rs2 = DB.OpenRecordset("Vp") > >Do Until rs1.EOF >For i = 0 To rs1.Fields.Count - 1 >If rs1(i) <> rs2(i) Then >'do something here like write it to a log table >End If >Next i >rs1.MoveNext >rs2.MoveNext >Loop > >rs1.Close >rs2.Close > >Set rs1 = Nothing >Set rs2 = Nothing > >End Function > > > >John Colby wrote: > > > >>Does anyone have any code for discovering the DIFFERENCES between the >> >> >tables > > >>in two Bes? I can't remember if this is available in the BE Updater. >> >>John W. Colby >>www.ColbyConsulting.com >> >>Contribute your unused CPU cycles to a good cause: >>http://folding.stanford.edu/ >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From stuart at lexacorp.com.pg Mon Oct 24 16:58:00 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 25 Oct 2005 07:58:00 +1000 Subject: [AccessD] Breaking up a text field In-Reply-To: <003501c5d8ca$9df9bbb0$6401a8c0@fincomplex.spb.ru> Message-ID: <435DE588.22186.221E7414@stuart.lexacorp.com.pg> On 24 Oct 2005 at 22:41, Shamil Salakhetdinov wrote: > Option Compare Text > '... .... > avar = SplitStr(strTest) > For i = 0 To UBound(avar) > Debug.Print avar(i) > Next i > .... > Public Function SplitStr( _ > Or for Access2K and above, use the built in Split() Function avar = Split(strTest,"stuff") -- Stuart From shamil at users.mns.ru Mon Oct 24 17:13:11 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Tue, 25 Oct 2005 02:13:11 +0400 Subject: [AccessD] Breaking up a text field References: <435DE588.22186.221E7414@stuart.lexacorp.com.pg> Message-ID: <002801c5d8e8$2d74aa80$6401a8c0@fincomplex.spb.ru> Stuart, Built-in Split function was used. But it wasn't enough because it strips out delimiter words. Therefore SplitStr(...) wrapper function was written. Shamil ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 25, 2005 1:58 AM Subject: Re: [AccessD] Breaking up a text field > On 24 Oct 2005 at 22:41, Shamil Salakhetdinov wrote: > > > Option Compare Text > > '... > .... > > avar = SplitStr(strTest) > > For i = 0 To UBound(avar) > > Debug.Print avar(i) > > Next i > > > .... > > Public Function SplitStr( _ > > > > Or for Access2K and above, use the built in Split() Function > > avar = Split(strTest,"stuff") > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 25 03:21:50 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 25 Oct 2005 10:21:50 +0200 Subject: [AccessD] Office 2003 Service pack 2 Message-ID: Hi Marty Oh my, isn't this outstanding? Those of you still in favour of software patents, please raise your hand. /gustav >>> martyconnelly at shaw.ca 24-10-2005 21:28 >>> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-5735432.html -- Marty Connelly Victoria, B.C. Canada From andy at minstersystems.co.uk Tue Oct 25 03:46:09 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Tue, 25 Oct 2005 9:46:09 +0100 Subject: [AccessD] Office 2003 Service pack 2 Message-ID: <20051025084608.0E49724F683@smtp.nildram.co.uk> Well the article's inevitably short on detail but if Amado won the case because, as he claimed, MS actually used his code, rather than develop their own link, then I'd say he's right, MS are dead wrong, and he got blazingly lucky. Office users are of course the losers, but the complaint should be directed at MS for doing such an insane thing. Why haven't they used the years that this case must have been pending for to develop a new link? Was there anything stopping them? If on the other hand he manged to patent the entire concept of the link then that's crazy. But I rather doubt that that's the case. -- Andy Lacey http://www.minstersystems.co.uk --------- Original Message -------- From: "Access Developers discussion and problem solving" To: "accessd at databaseadvisors.com" Subject: Re: [AccessD] Office 2003 Service pack 2 Date: 25/10/05 08:24 Hi Marty Oh my, isn't this outstanding? Those of you still in favour of software patents, please raise your hand. /gustav >>> martyconnelly at shaw.ca 24-10-2005 21:28 >>> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-5735432.html -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ________________________________________________ Message sent using UebiMiau 2.7.2 From stuart at lexacorp.com.pg Tue Oct 25 03:50:46 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 25 Oct 2005 18:50:46 +1000 Subject: [AccessD] Office 2003 Service pack 2 In-Reply-To: Message-ID: <435E7E86.4282.2473FE4B@stuart.lexacorp.com.pg> On 25 Oct 2005 at 10:21, Gustav Brock wrote: > Hi Marty > > Oh my, isn't this outstanding? > Those of you still in favour of software patents, please raise your hand. > I especially liked this quote in the article: "We do not believe today's verdict will have any impact on our customers," said Microsoft spokeswoman Stacy Drake. -- Stuart From mwp.reid at qub.ac.uk Tue Oct 25 03:56:09 2005 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 25 Oct 2005 09:56:09 +0100 Subject: [AccessD] Office 2003 Service pack 2 References: <435E7E86.4282.2473FE4B@stuart.lexacorp.com.pg> Message-ID: <002501c5d941$f1908890$9111758f@aine> Will cause all sorts of problems here. Martin ----- Original Message ----- From: "Stuart McLachlan" To: "Access Developers discussion and problem solving" Sent: Tuesday, October 25, 2005 9:50 AM Subject: Re: [AccessD] Office 2003 Service pack 2 > On 25 Oct 2005 at 10:21, Gustav Brock wrote: > >> Hi Marty >> >> Oh my, isn't this outstanding? >> Those of you still in favour of software patents, please raise your hand. >> > > I especially liked this quote in the article: > > "We do not believe today's verdict will have any impact on our customers," > said Microsoft spokeswoman Stacy Drake. > > -- > Stuart > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Tue Oct 25 09:40:09 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 25 Oct 2005 07:40:09 -0700 Subject: [AccessD] Office 2003 Service pack 2 In-Reply-To: <435D35FA.7070701@shaw.ca> Message-ID: <00ad01c5d972$0041f970$017ba8c0@xpserver> Marty: Is it my imagination but are the 'solutions' to the new Excel issues empty? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Monday, October 24, 2005 12:29 PM To: Access Developers discussion and problem solving Subject: [AccessD] Office 2003 Service pack 2 Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-57 35432.html -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Oct 25 09:42:56 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 25 Oct 2005 07:42:56 -0700 Subject: [AccessD] Office 2003 Service pack 2 In-Reply-To: Message-ID: <00ae01c5d972$63311f70$017ba8c0@xpserver> This is an issue looking for an open source solution. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, October 25, 2005 1:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Office 2003 Service pack 2 Hi Marty Oh my, isn't this outstanding? Those of you still in favour of software patents, please raise your hand. /gustav >>> martyconnelly at shaw.ca 24-10-2005 21:28 >>> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-57 35432.html -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Oct 25 09:59:39 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 25 Oct 2005 16:59:39 +0200 Subject: [AccessD] Office 2003 Service pack 2 Message-ID: Hi Marty et all Please note that is relevant for Access 2002/XP as well! In Microsoft Office Access 2003 or in Microsoft Access 2002, you cannot change, add, or delete data in tables that are linked to a Microsoft Excel workbook. This expected behavior occurs when either of the following conditions is true: You have installed Microsoft Office 2003 Service Pack 2 (SP2). You have installed the update for Access 2002 (KB904018) that is dated October 18, 2005. Thus it does not disable linking of Excel tables but disables update, delete, or append "only". Tables can still be read. /gustav >>> martyconnelly at shaw.ca 24-10-2005 21:28:58 >>> Just a heads up on this recent Access 2003 SP, it will disable linking to Excel files. So you may not want to apply it. http://support.microsoft.com/kb/904953/en-us It is because of this patent ruling http://news.com.com/Patent+ruling+costs+Microsoft+8.9+million/2100-1007_3-5735432.html -- Marty Connelly Victoria, B.C. Canada From Jeff at outbaktech.com Tue Oct 25 11:38:15 2005 From: Jeff at outbaktech.com (Jeff Barrows) Date: Tue, 25 Oct 2005 11:38:15 -0500 Subject: [AccessD] MySQL Help Message-ID: Hello all, I am working with a company whose previous 'programmer' (and I use that term VERY loosely in his case) decided that the best database system was MySQL. He was using Access 2003 as a front end, importing multiple text files and spreadsheets (some of them with 1 million + records) into Access and MySQL. What I am looking for is some reference materials, books, web sites, forums, anything that might help. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com From fhtapia at gmail.com Tue Oct 25 11:50:33 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 25 Oct 2005 09:50:33 -0700 Subject: [AccessD] MySQL Help In-Reply-To: References: Message-ID: mySQL is now a very robust db engine. w/ Version 5.0 they support triggers/sprocs (stored procedres) and of course transactions. I have not had a chance to load it and play with the system but you can bet I will. I'm acctually looking forward to "Base" (Open Office desktop db) it supports connecting to Access, (for data/ not code nor reports). For me the idea of such a move is to help move some sql server databases to mysql because they really do not justify begin in MSSQL. I'd rather save those licenses for our enterprise db's On 10/25/05, Jeff Barrows wrote: > > Hello all, > > I am working with a company whose previous 'programmer' (and I use that > term VERY loosely in his case) decided that the best database system was > MySQL. He was using Access 2003 as a front end, importing multiple text > files and spreadsheets (some of them with 1 million + records) into Access > and MySQL. > > What I am looking for is some reference materials, books, web sites, > forums, anything that might help. > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From developer at ultradnt.com Tue Oct 25 12:04:57 2005 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 25 Oct 2005 13:04:57 -0400 Subject: [AccessD] MySQL Help In-Reply-To: Message-ID: <200510251704.j9PH4vT83577@ultradnt.com> At the risk of starting a never-ending debate-thread, why not put the "minor" db's in MSDE, (especially since you have MSSQL in house, you can get around the lack of E-M for MSDE alone)? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, October 25, 2005 12:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MySQL Help mySQL is now a very robust db engine. w/ Version 5.0 they support triggers/sprocs (stored procedres) and of course transactions. I have not had a chance to load it and play with the system but you can bet I will. I'm acctually looking forward to "Base" (Open Office desktop db) it supports connecting to Access, (for data/ not code nor reports). For me the idea of such a move is to help move some sql server databases to mysql because they really do not justify begin in MSSQL. I'd rather save those licenses for our enterprise db's On 10/25/05, Jeff Barrows wrote: > > Hello all, > > I am working with a company whose previous 'programmer' (and I use > that term VERY loosely in his case) decided that the best database > system was MySQL. He was using Access 2003 as a front end, importing > multiple text files and spreadsheets (some of them with 1 million + > records) into Access and MySQL. > > What I am looking for is some reference materials, books, web sites, > forums, anything that might help. > > Jeff Barrows > MCP, MCAD, MCSD > > Outbak Technologies, LLC > Racine, WI > jeff at outbaktech.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Tue Oct 25 12:34:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 25 Oct 2005 10:34:13 -0700 Subject: [AccessD] MySQL Help In-Reply-To: Message-ID: <00b501c5d98a$520264d0$017ba8c0@xpserver> If MySQL is used right it can be an excellent DB connected to Access. The main problem that I had to deal with in the past (no current related contracts) was that an ODBC connection was the only option. It proved quite a bottle-neck. I believe there is now an OLE driver, somewhere, at a price but have not research it. This combination would be excellent especially with the latest version 5 I believe. There are plenty articles on the internet on translating an Access MDB to MySQL but not the other way around. Like: http://www.kitebird.com/articles/access-migrate.html And using an ODBC driver http://www.washington.edu/computing/web/publishing/mysql-access.html and there is a forum on MySQL: http://forums.mysql.com/list.php?65,page=5 HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Barrows Sent: Tuesday, October 25, 2005 9:38 AM To: AccessD Subject: [AccessD] MySQL Help Hello all, I am working with a company whose previous 'programmer' (and I use that term VERY loosely in his case) decided that the best database system was MySQL. He was using Access 2003 as a front end, importing multiple text files and spreadsheets (some of them with 1 million + records) into Access and MySQL. What I am looking for is some reference materials, books, web sites, forums, anything that might help. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fhtapia at gmail.com Tue Oct 25 12:37:19 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Tue, 25 Oct 2005 10:37:19 -0700 Subject: [AccessD] MySQL Help In-Reply-To: <200510251704.j9PH4vT83577@ultradnt.com> References: <200510251704.j9PH4vT83577@ultradnt.com> Message-ID: Because... MSDE has a governor...We plan on moving to Sql Server 2005 after the first SP, so we will be able to use Sql Server Express in lue of mySQL or MSDE. mySQL is licensing free as is MSDE (when you buy the right software). I'd like to be proficient in mySQL because for certain tasks, it may be bigger/better/faster in our environment. On 10/25/05, Steve Conklin wrote: > > At the risk of starting a never-ending debate-thread, why not put the > "minor" db's in MSDE, (especially since you have MSSQL in house, you can > get > around the lack of E-M for MSDE alone)? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia > Sent: Tuesday, October 25, 2005 12:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MySQL Help > > mySQL is now a very robust db engine. w/ Version 5.0 they support > triggers/sprocs (stored procedres) and of course transactions. I have not > had a chance to load it and play with the system but you can bet I will. > I'm > acctually looking forward to "Base" (Open Office desktop db) it supports > connecting to Access, (for data/ not code nor reports). For me the idea of > such a move is to help move some sql server databases to mysql because > they > really do not justify begin in MSSQL. I'd rather save those licenses for > our > enterprise db's > > > > On 10/25/05, Jeff Barrows wrote: > > > > Hello all, > > > > I am working with a company whose previous 'programmer' (and I use > > that term VERY loosely in his case) decided that the best database > > system was MySQL. He was using Access 2003 as a front end, importing > > multiple text files and spreadsheets (some of them with 1 million + > > records) into Access and MySQL. > > > > What I am looking for is some reference materials, books, web sites, > > forums, anything that might help. > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff at outbaktech.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From accessd at shaw.ca Tue Oct 25 12:40:26 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Tue, 25 Oct 2005 10:40:26 -0700 Subject: [AccessD] MySQL Help In-Reply-To: Message-ID: <00b601c5d98b$2f26ca40$017ba8c0@xpserver> Jeff here is something I just checked and it may provide additional help: http://dev.mysql.com/doc/refman/5.0/en/programs-known-to-work-with-myodbc.ht ml HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jeff Barrows Sent: Tuesday, October 25, 2005 9:38 AM To: AccessD Subject: [AccessD] MySQL Help Hello all, I am working with a company whose previous 'programmer' (and I use that term VERY loosely in his case) decided that the best database system was MySQL. He was using Access 2003 as a front end, importing multiple text files and spreadsheets (some of them with 1 million + records) into Access and MySQL. What I am looking for is some reference materials, books, web sites, forums, anything that might help. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.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 Oct 25 12:40:45 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 25 Oct 2005 13:40:45 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <001501c5d98b$3dcf8960$667aa8c0@ColbyM6805> When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Jdemarco at hudsonhealthplan.org Tue Oct 25 12:47:25 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 25 Oct 2005 13:47:25 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FA9@TTNEXCHCL2.hshhp.com> Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jwcolby at ColbyConsulting.com Tue Oct 25 12:55:12 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 25 Oct 2005 13:55:12 -0400 Subject: [AccessD] When is a collection not a collection? In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3FA9@TTNEXCHCL2.hshhp.com> Message-ID: <001601c5d98d$3f9a4c60$667aa8c0@ColbyM6805> You can iterate the collection just fine Dim prp as dao.property for each prp in MyObject.Properties Next prp John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Oct 25 13:01:41 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 25 Oct 2005 14:01:41 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FAC@TTNEXCHCL2.hshhp.com> Not sure what you're after then. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] When is a collection not a collection? You can iterate the collection just fine Dim prp as dao.property for each prp in MyObject.Properties Next prp John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From developer at ultradnt.com Tue Oct 25 13:02:20 2005 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 25 Oct 2005 14:02:20 -0400 Subject: [AccessD] MySQL Help In-Reply-To: Message-ID: <200510251802.j9PI2KT96420@ultradnt.com> I'm trying to get proficient in it as well, but was only thinking to introduce it where the client will not have any form of MSSQL. >anything that might help Have you looked at Toad? http://www.toadsoft.com/toadmysql/toad_mysql.htm It is indispensable for mysql. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, October 25, 2005 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MySQL Help Because... MSDE has a governor...We plan on moving to Sql Server 2005 after the first SP, so we will be able to use Sql Server Express in lue of mySQL or MSDE. mySQL is licensing free as is MSDE (when you buy the right software). I'd like to be proficient in mySQL because for certain tasks, it may be bigger/better/faster in our environment. On 10/25/05, Steve Conklin wrote: > > At the risk of starting a never-ending debate-thread, why not put the > "minor" db's in MSDE, (especially since you have MSSQL in house, you > can get around the lack of E-M for MSDE alone)? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Tuesday, October 25, 2005 12:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MySQL Help > > mySQL is now a very robust db engine. w/ Version 5.0 they support > triggers/sprocs (stored procedres) and of course transactions. I have > not had a chance to load it and play with the system but you can bet I will. > I'm > acctually looking forward to "Base" (Open Office desktop db) it > supports connecting to Access, (for data/ not code nor reports). For > me the idea of such a move is to help move some sql server databases > to mysql because they really do not justify begin in MSSQL. I'd rather > save those licenses for our enterprise db's > > > > On 10/25/05, Jeff Barrows wrote: > > > > Hello all, > > > > I am working with a company whose previous 'programmer' (and I use > > that term VERY loosely in his case) decided that the best database > > system was MySQL. He was using Access 2003 as a front end, importing > > multiple text files and spreadsheets (some of them with 1 million + > > records) into Access and MySQL. > > > > What I am looking for is some reference materials, books, web sites, > > forums, anything that might help. > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff at outbaktech.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Tue Oct 25 13:17:12 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Tue, 25 Oct 2005 14:17:12 -0400 Subject: [AccessD] When is a collection not a collection? In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C3FAC@TTNEXCHCL2.hshhp.com> Message-ID: <001901c5d990$51da5bb0$667aa8c0@ColbyM6805> >Not sure what you're after then. LOL. I was just writing a little app that needs to iterate collections of objects and examine the properties. I fleshed it out, all things equal (everything including my clsObjProperties using a collection to hold the collection of objects). It works for everything else, just not properties. Instead of just dimming a collection object into which you throw the pointer to the properties collection, you have to dim a Properties object. I just found it interesting and annoying. I'm not "after" anything really except to point out to the group that you have to treat properties differently than all the other objects in the db container. Well... I haven't gotten to EVERYTHING yet, just the tbldefs on down. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Not sure what you're after then. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] When is a collection not a collection? You can iterate the collection just fine Dim prp as dao.property for each prp in MyObject.Properties Next prp John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Oct 25 13:23:36 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 25 Oct 2005 14:23:36 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FAD@TTNEXCHCL2.hshhp.com> Ahh...experimentation on such a beautiful day in the northeast (we're sitting in the midst of a nor'easter all day today for the rest of the world!!). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 2:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] When is a collection not a collection? >Not sure what you're after then. LOL. I was just writing a little app that needs to iterate collections of objects and examine the properties. I fleshed it out, all things equal (everything including my clsObjProperties using a collection to hold the collection of objects). It works for everything else, just not properties. Instead of just dimming a collection object into which you throw the pointer to the properties collection, you have to dim a Properties object. I just found it interesting and annoying. I'm not "after" anything really except to point out to the group that you have to treat properties differently than all the other objects in the db container. Well... I haven't gotten to EVERYTHING yet, just the tbldefs on down. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 2:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Not sure what you're after then. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:55 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] When is a collection not a collection? You can iterate the collection just fine Dim prp as dao.property for each prp in MyObject.Properties Next prp John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim DeMarco Sent: Tuesday, October 25, 2005 1:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] When is a collection not a collection? Can you declare it a Variant and access the collection? Or... dim a collection then loop through the Properties collection and populate your collection manually? A custom collection class may serve you better to preserve name/value pairs though. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From DWUTKA at marlow.com Tue Oct 25 13:23:17 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Tue, 25 Oct 2005 13:23:17 -0500 Subject: [AccessD] When is a collection not a collection? Message-ID: <123701F54509D9119A4F00D0B7473490EA5F12@main2.marlow.com> A couple of thoughts on this JC. First, a property really isn't an object. Let's say you had this for a class: Public SomeValue As Long Property Get MyTextValue() As String MyTextValue = "Something" End Property Now, if I were to do this: Dim MC As MyClass Dim lCol As Collection Set lCol = New Collection Set MC = New MyClass lCol.Add MC.MyTextValue Set lCol = Nothing Set MC = Nothing I'm not really adding the MyTextValue 'Property' to the lCol collection. I'm just adding the value of that property. The property isn't an object, it's only a property of an existing object, not really 'child objects' in a collection. The collection you can use 'Properties' is just a representation of those properties, not really a collection of child objects. I wrote a project a while back, which is an add-on for VB, that would create a 'Properties' 'collection' for a Class. Because when you have a custom class, you can't say 'MyClass.Properties("SomeProperty")=1', at least not without actually coding a 'Properties' class. So I wrote a project that did just that, it built a Properties class for you. So I wonder if the Properties collection in the DAO objects is similar to that, not a real collection, but simply a 'coded' method of being able to 'refer'/'cycle through' or soft code the properties of the object? Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, October 25, 2005 12:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Tue Oct 25 13:35:15 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Tue, 25 Oct 2005 14:35:15 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FAE@TTNEXCHCL2.hshhp.com> I was thinking along the same lines because of the name/value association with properties. A collection doesn't really have a place to store the name except in the key which is not returnable by default (yes you can write your way around this shortcoming but it's not the natural nature of a collection). Storing objects in the collection would allow you store both. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of DWUTKA at marlow.com Sent: Tuesday, October 25, 2005 2:23 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] When is a collection not a collection? A couple of thoughts on this JC. First, a property really isn't an object. Let's say you had this for a class: Public SomeValue As Long Property Get MyTextValue() As String MyTextValue = "Something" End Property Now, if I were to do this: Dim MC As MyClass Dim lCol As Collection Set lCol = New Collection Set MC = New MyClass lCol.Add MC.MyTextValue Set lCol = Nothing Set MC = Nothing I'm not really adding the MyTextValue 'Property' to the lCol collection. I'm just adding the value of that property. The property isn't an object, it's only a property of an existing object, not really 'child objects' in a collection. The collection you can use 'Properties' is just a representation of those properties, not really a collection of child objects. I wrote a project a while back, which is an add-on for VB, that would create a 'Properties' 'collection' for a Class. Because when you have a custom class, you can't say 'MyClass.Properties("SomeProperty")=1', at least not without actually coding a 'Properties' class. So I wrote a project that did just that, it built a Properties class for you. So I wonder if the Properties collection in the DAO objects is similar to that, not a real collection, but simply a 'coded' method of being able to 'refer'/'cycle through' or soft code the properties of the object? Drew -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Tuesday, October 25, 2005 12:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Lambert.Heenan at aig.com Tue Oct 25 13:38:38 2005 From: Lambert.Heenan at aig.com (Heenan, Lambert) Date: Tue, 25 Oct 2005 14:38:38 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF22A7@xlivmbx21.aig.com> Isn't this just a simple case of trying to assign one object to another of an incompatible type? The DAO Properties collection is a class in the DAO library, and as you said, it has a set of member methods (Append, Delete and Refresh) as well as the Count and Item properties). The VBA library has other class "Collection" which has the methods Add, Item, Count, and Remove. These two classes are quite different from each other, and do not have any inherited relationship (even if access had inheritance), so you cannot assign one to the other. So as you said from the outset: The DAO Properties collection is not a VBA Collection, just as a Form is not a Report is not a Collection. But I don't see where you conclude that "you can dim a collection and save a pointer to these object collections in your collection". In the code below all three Set lines cause a Type Mismatch error in Access 2002. Dim db As Database Dim Col As Collection Set db = CurrentDb With db Set Col = .TableDefs Set Col = .QueryDefs Set Col = .Properties End With However code like this will work fine.... Dim db As Database Dim Col As Collection Dim Obj As Object Dim n As Long Set db = CurrentDb Set Col = New Collection With db Col.Add .TableDefs Col.Add .QueryDefs Col.Add .Properties End With For Each Obj In Col With Obj For n = 0 To .Count - 1 Debug.Print .Item(n).Name Next n End With Next Obj Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jeff at outbaktech.com Tue Oct 25 14:22:05 2005 From: Jeff at outbaktech.com (Jeff Barrows) Date: Tue, 25 Oct 2005 14:22:05 -0500 Subject: [AccessD] MySQL Help Message-ID: Thank you to everyone that responded, and so quickly too! I will take a look at the links and suggestions provided. If anyone has any additional info, please do not hesitate to send it on. Jeff Barrows MCP, MCAD, MCSD Outbak Technologies, LLC Racine, WI jeff at outbaktech.com ________________________________ From: accessd-bounces at databaseadvisors.com on behalf of Steve Conklin Sent: Tue 10/25/2005 1:02 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] MySQL Help I'm trying to get proficient in it as well, but was only thinking to introduce it where the client will not have any form of MSSQL. >anything that might help Have you looked at Toad? http://www.toadsoft.com/toadmysql/toad_mysql.htm It is indispensable for mysql. Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia Sent: Tuesday, October 25, 2005 1:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MySQL Help Because... MSDE has a governor...We plan on moving to Sql Server 2005 after the first SP, so we will be able to use Sql Server Express in lue of mySQL or MSDE. mySQL is licensing free as is MSDE (when you buy the right software). I'd like to be proficient in mySQL because for certain tasks, it may be bigger/better/faster in our environment. On 10/25/05, Steve Conklin wrote: > > At the risk of starting a never-ending debate-thread, why not put the > "minor" db's in MSDE, (especially since you have MSSQL in house, you > can get around the lack of E-M for MSDE alone)? > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco > Tapia > Sent: Tuesday, October 25, 2005 12:51 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] MySQL Help > > mySQL is now a very robust db engine. w/ Version 5.0 they support > triggers/sprocs (stored procedres) and of course transactions. I have > not had a chance to load it and play with the system but you can bet I will. > I'm > acctually looking forward to "Base" (Open Office desktop db) it > supports connecting to Access, (for data/ not code nor reports). For > me the idea of such a move is to help move some sql server databases > to mysql because they really do not justify begin in MSSQL. I'd rather > save those licenses for our enterprise db's > > > > On 10/25/05, Jeff Barrows wrote: > > > > Hello all, > > > > I am working with a company whose previous 'programmer' (and I use > > that term VERY loosely in his case) decided that the best database > > system was MySQL. He was using Access 2003 as a front end, importing > > multiple text files and spreadsheets (some of them with 1 million + > > records) into Access and MySQL. > > > > What I am looking for is some reference materials, books, web sites, > > forums, anything that might help. > > > > Jeff Barrows > > MCP, MCAD, MCSD > > > > Outbak Technologies, LLC > > Racine, WI > > jeff at outbaktech.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > -Francisco > http://pcthis.blogspot.com |PC news with out the jargon! > http://sqlthis.blogspot.com | Tsql and More... > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From prodevmg at yahoo.com Tue Oct 25 14:29:14 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 25 Oct 2005 12:29:14 -0700 (PDT) Subject: [AccessD] Access Graphs Exported to Excel Message-ID: <20051025192915.30285.qmail@web33106.mail.mud.yahoo.com> I have some queries and graphs I built for a guy in the form of Access Reports. He wants me to export the report into Excel and show the detail and the graphs. The detail moves over but the graphs don't. Is there a simple way to do this? If not, what direction do I go? May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From Lambert.Heenan at AIG.com Tue Oct 25 15:07:49 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Tue, 25 Oct 2005 16:07:49 -0400 Subject: [AccessD] When is a collection not a collection? Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF2332@xlivmbx21.aig.com> On my system, with Office XP the DAO help file is located at... C:\Program Files\Common Files\Microsoft Shared\Office10\1033\DAO360.CHM 568k file. -----Original Message----- From: John Colby [mailto:jwcolby at ColbyConsulting.com] Sent: Tuesday, October 25, 2005 2:55 PM To: 'Heenan, Lambert' Subject: RE: [AccessD] When is a collection not a collection? Yes, of course you are correct. A Properties collection can be thought of as a strongly typed collection with custom methods. It DOES contain a collection, though you can't directly access the collection that is internal to the properties class. It just took me by surprise. I guess I have never directly dealt with the properties object per se, and it kinda "looks like" a collection (and of course contains one) so I tried to treat it as one. I have already discovered that a dao.property is not a normal object, i.e. it cannot be SET or instantiated (you cannot use a NEW keyword with it). It is a variable, and yet it has properties. Which makes it an object in its own right but not treated precisely the same as other objects. BTW, where can I find the DAO help file. I seem to be missing it on my laptop and can NOT track it down on the web. For something that is the guts of the MDB container, you would think MS would have the help file right out there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: Heenan, Lambert [mailto:Lambert.Heenan at aig.com] Sent: Tuesday, October 25, 2005 2:39 PM To: 'Access Developers discussion and problem solving' Cc: 'John Colby' Subject: RE: [AccessD] When is a collection not a collection? Isn't this just a simple case of trying to assign one object to another of an incompatible type? The DAO Properties collection is a class in the DAO library, and as you said, it has a set of member methods (Append, Delete and Refresh) as well as the Count and Item properties). The VBA library has other class "Collection" which has the methods Add, Item, Count, and Remove. These two classes are quite different from each other, and do not have any inherited relationship (even if access had inheritance), so you cannot assign one to the other. So as you said from the outset: The DAO Properties collection is not a VBA Collection, just as a Form is not a Report is not a Collection. But I don't see where you conclude that "you can dim a collection and save a pointer to these object collections in your collection". In the code below all three Set lines cause a Type Mismatch error in Access 2002. Dim db As Database Dim Col As Collection Set db = CurrentDb With db Set Col = .TableDefs Set Col = .QueryDefs Set Col = .Properties End With However code like this will work fine.... Dim db As Database Dim Col As Collection Dim Obj As Object Dim n As Long Set db = CurrentDb Set Col = New Collection With db Col.Add .TableDefs Col.Add .QueryDefs Col.Add .Properties End With For Each Obj In Col With Obj For n = 0 To .Count - 1 Debug.Print .Item(n).Name Next n End With Next Obj Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Tuesday, October 25, 2005 1:41 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] When is a collection not a collection? When it is a properties collection? Try dimming a collection Dim lcol as collection Then try setting that collection to any DAO object's properties collection: set lcol = MyFld.Properties Or set lcol = MyTDF.Properties You will get a run time error: "Type Mismatch" Sigh. AFAICT, all of the other object collections in the database container - the tabledefs, fields, forms etc are all true collections, i.e. you can dim a collection and save a pointer to these object collections in your collection. Not so with the Properties collection of any object. Sigh. The properties collection has different properties and methods: Append Count Delete Refresh John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- 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 Oct 25 15:21:42 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 25 Oct 2005 15:21:42 -0500 Subject: [AccessD] Help needed with DSum Message-ID: I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 prodevmg at yahoo.com Tue Oct 25 15:39:37 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Tue, 25 Oct 2005 13:39:37 -0700 (PDT) Subject: [AccessD] Help needed with DSum In-Reply-To: Message-ID: <20051025203937.91649.qmail@web33109.mail.mud.yahoo.com> I don't think you can add two fields together inside the DSum's first parm. It only allows one field to be mentioned. Try ... SELECT Injection.RecordDate, DSum("[Theoretical CO2] ,"Injection","[RecordDate]=#" & [RecordDate] & "#") + DSum("[Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; "Kaup, Chester" wrote: I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From developer at ultradnt.com Tue Oct 25 15:42:04 2005 From: developer at ultradnt.com (Steve Conklin) Date: Tue, 25 Oct 2005 16:42:04 -0400 Subject: [AccessD] Help needed with DSum In-Reply-To: Message-ID: <200510252042.j9PKg4T18035@ultradnt.com> Try: SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & date() & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; ' changed RecordDate to date() Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, October 25, 2005 4:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Help needed with DSum I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 Chester_Kaup at kindermorgan.com Tue Oct 25 15:55:22 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 25 Oct 2005 15:55:22 -0500 Subject: [AccessD] Help needed with DSum Message-ID: Sorry to report all I get is a sum for each day not a running total. Maybe I did not make it clear. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Conklin Sent: Tuesday, October 25, 2005 3:42 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Help needed with DSum Try: SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & date() & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; ' changed RecordDate to date() Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Tuesday, October 25, 2005 4:22 PM To: Access Developers discussion and problem solving Subject: [AccessD] Help needed with DSum I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 Tue Oct 25 15:56:11 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 25 Oct 2005 15:56:11 -0500 Subject: [AccessD] Help needed with DSum Message-ID: Tried it with just one field. Sorry to report all I get is a sum for each day not a running total. Maybe I did not make it clear. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Lonnie Johnson Sent: Tuesday, October 25, 2005 3:40 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help needed with DSum I don't think you can add two fields together inside the DSum's first parm. It only allows one field to be mentioned. Try ... SELECT Injection.RecordDate, DSum("[Theoretical CO2] ,"Injection","[RecordDate]=#" & [RecordDate] & "#") + DSum("[Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; "Kaup, Chester" wrote: I have the following query to try to get a running sum with a sum each day. I am getting the same number each day. I probably have some simple syntax error but am not seeing it. Her eis the SQL. SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] FROM Injection GROUP BY Injection.RecordDate; 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 May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KIsmert at texassystems.com Tue Oct 25 16:23:03 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Tue, 25 Oct 2005 16:23:03 -0500 Subject: [AccessD] When is a collection not a collection? Message-ID: Instead of: >>Dim lcol as collection >>set lcol = MyFld.Properties Try: Dim lcol as DAO.Properties set lcol = MyFld.Properties -Ken From stuart at lexacorp.com.pg Tue Oct 25 16:46:30 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 26 Oct 2005 07:46:30 +1000 Subject: [AccessD] Help needed with DSum In-Reply-To: Message-ID: <435F3456.14100.273A3490@stuart.lexacorp.com.pg> On 25 Oct 2005 at 15:21, Kaup, Chester wrote: > I have the following query to try to get a running sum with a sum each > day. I am getting the same number each day. I probably have some simple > syntax error but am not seeing it. Her eis the SQL. > > SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical > Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] > Try SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate] <= #" & [RecordDate] & "#") AS [Cum Inj] Note the "<=" rather than "=". You are only summing the records for RecordDate. For a running sum, you need to sum all the records where the date is less than or equal to RecordDate. -- Stuart From Chester_Kaup at kindermorgan.com Tue Oct 25 16:51:55 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Tue, 25 Oct 2005 16:51:55 -0500 Subject: [AccessD] Help needed with DSum Message-ID: Thanks!! That got it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, October 25, 2005 4:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Help needed with DSum On 25 Oct 2005 at 15:21, Kaup, Chester wrote: > I have the following query to try to get a running sum with a sum each > day. I am getting the same number each day. I probably have some simple > syntax error but am not seeing it. Her eis the SQL. > > SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical > Water]","Injection","[RecordDate]=#" & [RecordDate] & "#") AS [Cum Inj] > Try SELECT Injection.RecordDate, DSum("[Theoretical CO2] + [Theoretical Water]","Injection","[RecordDate] <= #" & [RecordDate] & "#") AS [Cum Inj] Note the "<=" rather than "=". You are only summing the records for RecordDate. For a running sum, you need to sum all the records where the date is less than or equal to RecordDate. -- Stuart -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Oct 26 00:20:27 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Tue, 25 Oct 2005 22:20:27 -0700 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From andy at minstersystems.co.uk Wed Oct 26 02:05:03 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 26 Oct 2005 08:05:03 +0100 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Message-ID: <000e01c5d9fb$9689d040$934f0c54@minster33c3r25> Well done Rocky. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 26 October 2005 06:20 > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally > got a product. The Sleep Advisor most of you are aware of. > For those who might not be, it is a program, an expert system > really, that diagnoses sleep disorders and gives a > personalized program of remedies and recommendations to > address them. > > This milestone in both of our professional careers is due in > no small measure to the selfless help I have been given by > members of this list for at least ten years, guiding me > through and outright solving many tough (for me) problems in > many applications over that time. > > More specifically, I have been given help on numerous Sleep > Advisor problems by many of you and especially I am grateful > to the generous efforts of A.D. Tejpal who simply would not > give up when presented with a thorny problem that had me beat. > > I would also like to acknowledge all those who volunteered to > be beta testers. Accumulating enough beta tests to prove > that the product worked was the critical last step. Several > hundred were required. But we're finally confident in the > accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who > wants to look at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From Gustav at cactus.dk Wed Oct 26 02:58:58 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Oct 2005 09:58:58 +0200 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: Hi Rocky Wow, that's what I call determination! 11? years. Sorry not to be a customer of yours. I just need to touch the pillow ... Nice site by the way. The soft (dare I say feminine) design matches the product perfectly. /gustav >>> bchacc at san.rr.com 26-10-2005 07:20 >>> Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 From rbgajewski at adelphia.net Wed Oct 26 06:54:59 2005 From: rbgajewski at adelphia.net (Bob Gajewski) Date: Wed, 26 Oct 2005 07:54:59 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Message-ID: <019101c5da24$17af2800$bd00a8c0@DG1P2N21> Congratulations, Rocky !! When one succeeds, we all succeed, and thanks are due right back to you for all the help and guidance that you have given so many of us too! Regards, Bob Gajewski -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 26, 2005 01:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Oct 26 07:22:46 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 26 Oct 2005 05:22:46 -0700 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Message-ID: <000a01c5da27$f9545340$017ba8c0@xpserver> Congratulations Rocky! It looks like a great product. Very well done indeed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, October 25, 2005 10:20 PM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Wed Oct 26 08:10:51 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 26 Oct 2005 09:10:51 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <042a01c5d9ec$fa207eb0$6501a8c0@HAL9004> Message-ID: <000201c5da2e$b35d15a0$667aa8c0@ColbyM6805> Nice looking site! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 26, 2005 1:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Paul.Rogers at SummitMedia.co.uk Wed Oct 26 08:16:28 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 26 Oct 2005 14:16:28 +0100 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: Nice looking website, Rocky. I'm intrigued by the php code in the FAQ that lets causes the answer field to drop down - and with another click to retract. If it isn't a real trade secret, I would be most pleased to see it. Congratulations! Really nice job. Cheers paul -----Original Message----- From: Jim Lawrence [mailto:accessd at shaw.ca] Sent: 26 October 2005 13:23 To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] The Sleep Advisor is Live! Congratulations Rocky! It looks like a great product. Very well done indeed. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Tuesday, October 25, 2005 10:20 PM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 incoming message. Checked by AVG Free Edition. Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 From carbonnb at gmail.com Wed Oct 26 08:25:40 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Wed, 26 Oct 2005 09:25:40 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: References: Message-ID: On 26/10/05, Paul Rodgers wrote: > Nice looking website, Rocky. I'm intrigued by the php code in the FAQ that > lets causes the answer field to drop down - and with another click to > retract. > > If it isn't a real trade secret, I would be most pleased to see it. Just view the source of the webpage. It's some Javascript code. -- 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 bchacc at san.rr.com Wed Oct 26 08:31:05 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Oct 2005 06:31:05 -0700 Subject: [AccessD] The Sleep Advisor is Live! References: Message-ID: <00fa01c5da31$847092f0$6501a8c0@HAL9004> Paul: Thanks. Not a secret, but a secret from me. The site was done by someone who knew what they were doing. Can you see the source for the page? Rocky ----- Original Message ----- From: "Paul Rodgers" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 6:16 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Nice looking website, Rocky. I'm intrigued by the php code in the FAQ that > lets causes the answer field to drop down - and with another click to > retract. > > If it isn't a real trade secret, I would be most pleased to see it. > > Congratulations! Really nice job. > Cheers paul > > -----Original Message----- > From: Jim Lawrence [mailto:accessd at shaw.ca] > Sent: 26 October 2005 13:23 > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] The Sleep Advisor is Live! > > > Congratulations Rocky! > > It looks like a great product. Very well done indeed. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Tuesday, October 25, 2005 10:20 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally got a > product. > The Sleep Advisor most of you are aware of. For those who might not be, > it > is a program, an expert system really, that diagnoses sleep disorders and > gives a personalized program of remedies and recommendations to address > them. > > This milestone in both of our professional careers is due in no small > measure to the selfless help I have been given by members of this list for > at least ten years, guiding me through and outright solving many tough > (for > me) problems in many applications over that time. > > More specifically, I have been given help on numerous Sleep Advisor > problems > by many of you and especially I am grateful to the generous efforts of > A.D. > Tejpal who simply would not give up when presented with a thorny problem > that had me beat. > > I would also like to acknowledge all those who volunteered to be beta > testers. Accumulating enough beta tests to prove that the product worked > was the critical last step. Several hundred were required. But we're > finally confident in the accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who wants to look > at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 > > > -- > No virus found in this outgoing message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Paul.Rogers at SummitMedia.co.uk Wed Oct 26 08:38:07 2005 From: Paul.Rogers at SummitMedia.co.uk (Paul Rodgers) Date: Wed, 26 Oct 2005 14:38:07 +0100 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: Cheers, Bryan. I should have looked closer. Many thanks. -----Original Message----- From: Bryan Carbonnell [mailto:carbonnb at gmail.com] Sent: 26 October 2005 14:26 To: Access Developers discussion and problem solving Subject: Re: [AccessD] The Sleep Advisor is Live! On 26/10/05, Paul Rodgers wrote: > Nice looking website, Rocky. I'm intrigued by the php code in the FAQ that > lets causes the answer field to drop down - and with another click to > retract. > > If it isn't a real trade secret, I would be most pleased to see it. Just view the source of the webpage. It's some Javascript code. -- 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 -- No virus found in this incoming message. Checked by AVG Free Edition. Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.361 / Virus Database: 267.12.5/149 - Release Date: 25/10/2005 From dwaters at usinternet.com Wed Oct 26 08:41:30 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 26 Oct 2005 08:41:30 -0500 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <22240086.1130304807583.JavaMail.root@sniper17> Message-ID: <000101c5da32$f8c2c0a0$0200a8c0@danwaters> Hi Rocky! Great product and a nicely designed site! Right now I'm sitting here listening to Good Morning America, and they (and other talk shows) sometimes bring in people to talk about new things that many people would have an interest in - like being able to sleep! That would be some good advertising. With three years of testing behind you, I'd think your program has the credibility to get some good attention. All the best! Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Wednesday, October 26, 2005 12:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Wed Oct 26 08:36:28 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Oct 2005 08:36:28 -0500 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233794E@corp-es01.fleetpride.com> Congrats Rocky. I hope you are able to successfully put everyone to sleep! :-) Jim Hale -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 26, 2005 12:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at ColbyConsulting.com Wed Oct 26 08:51:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 26 Oct 2005 09:51:13 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233794E@corp-es01.fleetpride.com> Message-ID: <000301c5da34$541c1bd0$667aa8c0@ColbyM6805> Obviously you never attended one of the AccessD conferences at his house. Every time he got up to speak you could hear the snores. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 9:36 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] The Sleep Advisor is Live! Congrats Rocky. I hope you are able to successfully put everyone to sleep! :-) Jim Hale -----Original Message----- From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] Sent: Wednesday, October 26, 2005 12:20 AM To: AccessD at databaseadvisors.com Subject: [AccessD] The Sleep Advisor is Live! Dear List: Well, it took 11 1/2 years but my partner and I have finally got a product. The Sleep Advisor most of you are aware of. For those who might not be, it is a program, an expert system really, that diagnoses sleep disorders and gives a personalized program of remedies and recommendations to address them. This milestone in both of our professional careers is due in no small measure to the selfless help I have been given by members of this list for at least ten years, guiding me through and outright solving many tough (for me) problems in many applications over that time. More specifically, I have been given help on numerous Sleep Advisor problems by many of you and especially I am grateful to the generous efforts of A.D. Tejpal who simply would not give up when presented with a thorny problem that had me beat. I would also like to acknowledge all those who volunteered to be beta testers. Accumulating enough beta tests to prove that the product worked was the critical last step. Several hundred were required. But we're finally confident in the accuracy and effectiveness of the system. Once again, I thank you all. You can see the site: www.thesleepadvisor.com. As usual, any feedback is most welcome especially anyone who wants to look at the site source and comment on that. With very best regards, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Wed Oct 26 08:55:03 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Oct 2005 06:55:03 -0700 Subject: [AccessD] The Sleep Advisor is Live! References: <000101c5da32$f8c2c0a0$0200a8c0@danwaters> Message-ID: <018301c5da34$dd631560$6501a8c0@HAL9004> My partner's goal is to get on Oprah. They say if you can get on Oprah your fortune is made. Rocky ----- Original Message ----- From: "Dan Waters" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 6:41 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Hi Rocky! > > Great product and a nicely designed site! > > Right now I'm sitting here listening to Good Morning America, and they > (and > other talk shows) sometimes bring in people to talk about new things that > many people would have an interest in - like being able to sleep! That > would be some good advertising. With three years of testing behind you, > I'd > think your program has the credibility to get some good attention. > > All the best! > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - > Beach Access Software > Sent: Wednesday, October 26, 2005 12:20 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally got a > product. > The Sleep Advisor most of you are aware of. For those who might not be, > it > is a program, an expert system really, that diagnoses sleep disorders and > gives a personalized program of remedies and recommendations to address > them. > > This milestone in both of our professional careers is due in no small > measure to the selfless help I have been given by members of this list for > at least ten years, guiding me through and outright solving many tough > (for > me) problems in many applications over that time. > > More specifically, I have been given help on numerous Sleep Advisor > problems > by many of you and especially I am grateful to the generous efforts of > A.D. > Tejpal who simply would not give up when presented with a thorny problem > that had me beat. > > I would also like to acknowledge all those who volunteered to be beta > testers. Accumulating enough beta tests to prove that the product worked > was the critical last step. Several hundred were required. But we're > finally confident in the accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who wants to look > at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From harkinsss at bellsouth.net Wed Oct 26 09:01:51 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 26 Oct 2005 10:01:51 -0400 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <018301c5da34$dd631560$6501a8c0@HAL9004> Message-ID: <20051026140151.VGIS10162.ibm58aec.bellsouth.net@SUSANONE> Well, you know, that's been my personal goal ever since she gave a way copies of "If you give a pig a pancake" to the entire audience... ;) Susan H. My partner's goal is to get on Oprah. They say if you can get on Oprah your fortune is made. From bchacc at san.rr.com Wed Oct 26 09:09:12 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Oct 2005 07:09:12 -0700 Subject: [AccessD] The Sleep Advisor is Live! References: <000301c5da34$541c1bd0$667aa8c0@ColbyM6805> Message-ID: <01c601c5da36$d796ca80$6501a8c0@HAL9004> So maybe I've finally found my niche. Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 6:51 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Obviously you never attended one of the AccessD conferences at his house. > Every time he got up to speak you could hear the snores. > > ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 9:36 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] The Sleep Advisor is Live! > > > Congrats Rocky. I hope you are able to successfully put everyone to sleep! > :-) > Jim Hale > > -----Original Message----- > From: Rocky Smolin - Beach Access Software [mailto:bchacc at san.rr.com] > Sent: Wednesday, October 26, 2005 12:20 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally got a > product. > The Sleep Advisor most of you are aware of. For those who might not be, > it > is a program, an expert system really, that diagnoses sleep disorders and > gives a personalized program of remedies and recommendations to address > them. > > This milestone in both of our professional careers is due in no small > measure to the selfless help I have been given by members of this list for > at least ten years, guiding me through and outright solving many tough > (for > me) problems in many applications over that time. > > More specifically, I have been given help on numerous Sleep Advisor > problems > by many of you and especially I am grateful to the generous efforts of > A.D. > Tejpal who simply would not give up when presented with a thorny problem > that had me beat. > > I would also like to acknowledge all those who volunteered to be beta > testers. Accumulating enough beta tests to prove that the product worked > was the critical last step. Several hundred were required. But we're > finally confident in the accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who wants to look > at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities > other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From erbachs at gmail.com Wed Oct 26 09:48:07 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 09:48:07 -0500 Subject: [AccessD] A2003: Random order Message-ID: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> Dear Group, I'm writing a prototype Access 2003 ADP in preparation for writing a "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me out with the logic. It's a survey of 100 questions. There are 10 groups of 10 questions each. Each group of questions deals with a particular topic. Rather than have the survey takers see the questions grouped by topic so that they might "steer" the results, I thought it would be better to randomize the list of questions. My back-end is SQL Server 2000, but I think the principles apply to Access as well. So far I've got a table called OrgQuestions with this structure: QID, int, key TopicID, int QNumber, int QText, varchar(175) QOrder, int The QNumber goes from 1-10 for each of the 10 TopicID's. The QID goes from 1-100, conveniently enough! The QOrder column is what I added to indicate the (random) order in which the survey questions will be presented to the survey taker. In the code I first run a MakeTable query to create a temporary, single-field table containing just the QID field, renamed to TestQID. 100 rows numbered from 1-100. I open two RecordSets, rstPik and rstOrd. rstPik is that temporary list of Question numbers. rstOrd is the OrgQuestions table containing the QOrder field. I also create a 100 element array to store the random order of the questions. Then I run two FOR loops: For i = 0 To 99 sngSeed = CSng(Time) ' Multiply the random number generated by 100 - i to get a whole number big enough for ' the list of numbers I need to fill. That 100 - i gets smaller and smaller as the available ' list of numbers gets smaller. sngRnd = Rnd(sngSeed) * (100 - i) ' I do the + 1 here to account for the truncation that the INT() function performs. That is, ' if the Rnd() function gives me .00125, then, even if I multiply it by 100, the INT() function ' will return 0. The HIGHEST number that the RND() function * 100 returns is less than 1; ' so I need that + 1 there, too, to ensure that 100 comes back as one of the "random" ' numbers. intRnd = Int(sngRnd) + 1 rstPik.MoveFirst ' Move to the row indicated by the random integer - 1 because the MOVE() function ' moves X rows not counting the current one. I have to account for the "fencepost" ' error. rstPik.Move intRnd - 1 intStore = rstPik("TestQID") intArr(i) = intStore ' Here's where I eliminate the question number that has been used. rstPik.Delete rstPik.Update Next i ' Now the rstPik Recordset is completely empty. rstOrd.MoveFirst For i = 0 To 99 rstOrd("QuestionOrder") = intArr(i) rstOrd.Update rstOrd.MoveNext Next i In a nutshell, fill an array with the randomized sequence of question numbers and then dump those numbers into the column of the OrgQuestions table that holds that sequence. The issue here is, at least with SQL Server, the generation of the random sequence takes a bit of time. My SQL Server is hosted by my web host and this routine takes an appreciable amount of time. Does anyone have a suggestion as to how I might speed this up? With a zippy cable connection, this process takes over 20 seconds. -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security From erbachs at gmail.com Wed Oct 26 09:56:23 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 09:56:23 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> Message-ID: <39cb22f30510260756k48d8dcbenf2779c30c1a895d4@mail.gmail.com> Correction to my comments in the code: ' I do the + 1 here to account for the truncation that the INT() function performs. That is, ' if the Rnd() function gives me .00125, then, even if I multiply it by 100, the INT() function ' will return 0. The HIGHEST number that the RND() function * 100 returns is less than 100; ' so I need that + 1 there, too, to ensure that 100 comes back as one of the "random" ' numbers. My original comment said: "The HIGHEST number that the RND() function * 100 is less than 1" -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security From Jim.Hale at FleetPride.com Wed Oct 26 10:09:01 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Oct 2005 10:09:01 -0500 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233794F@corp-es01.fleetpride.com> As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From dwaters at usinternet.com Wed Oct 26 10:17:15 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 26 Oct 2005 10:17:15 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <18542973.1130338287140.JavaMail.root@sniper19> Message-ID: <000501c5da40$59699160$0200a8c0@danwaters> Hi Steve, Generally, with a survey, you want the people involved to be taking exactly the same survey, unless you are doing initial testing to see if the order of the questions will bias the results. Once the survey is ready, the randomized order of the questions should remain unchanged. Hope this helps, Dan Waters -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Wednesday, October 26, 2005 9:48 AM To: Access Developers discussion and problem solving Subject: [AccessD] A2003: Random order Dear Group, I'm writing a prototype Access 2003 ADP in preparation for writing a "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me out with the logic. It's a survey of 100 questions. There are 10 groups of 10 questions each. Each group of questions deals with a particular topic. Rather than have the survey takers see the questions grouped by topic so that they might "steer" the results, I thought it would be better to randomize the list of questions. My back-end is SQL Server 2000, but I think the principles apply to Access as well. So far I've got a table called OrgQuestions with this structure: QID, int, key TopicID, int QNumber, int QText, varchar(175) QOrder, int The QNumber goes from 1-10 for each of the 10 TopicID's. The QID goes from 1-100, conveniently enough! The QOrder column is what I added to indicate the (random) order in which the survey questions will be presented to the survey taker. In the code I first run a MakeTable query to create a temporary, single-field table containing just the QID field, renamed to TestQID. 100 rows numbered from 1-100. I open two RecordSets, rstPik and rstOrd. rstPik is that temporary list of Question numbers. rstOrd is the OrgQuestions table containing the QOrder field. I also create a 100 element array to store the random order of the questions. Then I run two FOR loops: For i = 0 To 99 sngSeed = CSng(Time) ' Multiply the random number generated by 100 - i to get a whole number big enough for ' the list of numbers I need to fill. That 100 - i gets smaller and smaller as the available ' list of numbers gets smaller. sngRnd = Rnd(sngSeed) * (100 - i) ' I do the + 1 here to account for the truncation that the INT() function performs. That is, ' if the Rnd() function gives me .00125, then, even if I multiply it by 100, the INT() function ' will return 0. The HIGHEST number that the RND() function * 100 returns is less than 1; ' so I need that + 1 there, too, to ensure that 100 comes back as one of the "random" ' numbers. intRnd = Int(sngRnd) + 1 rstPik.MoveFirst ' Move to the row indicated by the random integer - 1 because the MOVE() function ' moves X rows not counting the current one. I have to account for the "fencepost" ' error. rstPik.Move intRnd - 1 intStore = rstPik("TestQID") intArr(i) = intStore ' Here's where I eliminate the question number that has been used. rstPik.Delete rstPik.Update Next i ' Now the rstPik Recordset is completely empty. rstOrd.MoveFirst For i = 0 To 99 rstOrd("QuestionOrder") = intArr(i) rstOrd.Update rstOrd.MoveNext Next i In a nutshell, fill an array with the randomized sequence of question numbers and then dump those numbers into the column of the OrgQuestions table that holds that sequence. The issue here is, at least with SQL Server, the generation of the random sequence takes a bit of time. My SQL Server is hosted by my web host and this routine takes an appreciable amount of time. Does anyone have a suggestion as to how I might speed this up? With a zippy cable connection, this process takes over 20 seconds. -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From erbachs at gmail.com Wed Oct 26 10:46:50 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 10:46:50 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <000501c5da40$59699160$0200a8c0@danwaters> References: <18542973.1130338287140.JavaMail.root@sniper19> <000501c5da40$59699160$0200a8c0@danwaters> Message-ID: <39cb22f30510260846y2a4b1fcbq382259cca18b69b0@mail.gmail.com> Dan, Well, this is more like a profile. It's derived from the book "How to Be Organized in Spite of Yourself." The authors, Schlenger and Roesch, identify 5 time-management "styles" and 5 space-management "styles." For example, the time-management styles they've identified are Hopper, Perfectionist Plus, Allergic to Detail, Fence Sitter, and Cliff Hanger. There's a chapter in their book on each time and space management style. Each chapter has a 10-question quiz to determine how many or how few of the specific attributes of that particular "style" one has. Back when I first bought the book I typed in all 100 questions into WordPerfect and then mixed them up before I gave the whole quiz to my co-workers. It was fun and everybody enjoyed this bit of "profiling." The quizzes in the book chapters are pretty easy to figure out as far as what traits are being identified. Since the questions themselves don't change, I thought that mixing them up to remove any cues for how to answer them would make the results a little "cleaner." Anyway, thanks for your input. -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security On 10/26/05, Dan Waters wrote: > > Hi Steve, > > Generally, with a survey, you want the people involved to be taking > exactly > the same survey, unless you are doing initial testing to see if the order > of > the questions will bias the results. > > Once the survey is ready, the randomized order of the questions should > remain unchanged. > > Hope this helps, > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach > Sent: Wednesday, October 26, 2005 9:48 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] A2003: Random order > > Dear Group, > > I'm writing a prototype Access 2003 ADP in preparation for writing a > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > out with the logic. > From dmcafee at pacbell.net Wed Oct 26 11:02:55 2005 From: dmcafee at pacbell.net (David McAfee) Date: Wed, 26 Oct 2005 09:02:55 -0700 Subject: [AccessD] The Sleep Advisor is Live! In-Reply-To: <01c601c5da36$d796ca80$6501a8c0@HAL9004> Message-ID: Speaking of which, weren't we due for one again this year? Gongrats Rocky! ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 6:51 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Obviously you never attended one of the AccessD conferences at his house. > Every time he got up to speak you could hear the snores. > > ;-) > > John W. Colby From harkinsss at bellsouth.net Wed Oct 26 11:12:42 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 26 Oct 2005 12:12:42 -0400 Subject: [AccessD] A2003: Random order In-Reply-To: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> Message-ID: <20051026161242.SCSS12438.ibm63aec.bellsouth.net@SUSANONE> Steve, you're just mixing up all 100 questions into 1 group? Or is there more to it? Susan H. Dear Group, I'm writing a prototype Access 2003 ADP in preparation for writing a "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me out with the logic. From bchacc at san.rr.com Wed Oct 26 11:31:28 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Wed, 26 Oct 2005 09:31:28 -0700 Subject: [AccessD] The Sleep Advisor is Live! References: Message-ID: <037501c5da4a$b73ed2f0$6501a8c0@HAL9004> Overdue, I think. But where? Has to be someplace warm. Rocky ----- Original Message ----- From: "David McAfee" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 9:02 AM Subject: Re: [AccessD] The Sleep Advisor is Live! > Speaking of which, weren't we due for one again this year? > > Gongrats Rocky! > > ----- Original Message ----- > From: "John Colby" > To: "'Access Developers discussion and problem solving'" > > Sent: Wednesday, October 26, 2005 6:51 AM > Subject: Re: [AccessD] The Sleep Advisor is Live! > > >> Obviously you never attended one of the AccessD conferences at his house. >> Every time he got up to speak you could hear the snores. >> >> ;-) >> >> John W. Colby > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Wed Oct 26 11:40:52 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Oct 2005 18:40:52 +0200 Subject: [AccessD] A2003: Random order Message-ID: Hi Steve Why not make that table a two-field table. Fill the other field, say RndID, with random numbers when the table is created. Now read from the table QID ordered by RndID. /gustav >>> erbachs at gmail.com 26-10-2005 16:48 >>> In the code I first run a MakeTable query to create a temporary, single-field table containing just the QID field, renamed to TestQID. 100 rows numbered from 1-100. From dwaters at usinternet.com Wed Oct 26 11:51:20 2005 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 26 Oct 2005 11:51:20 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <28119306.1130341816761.JavaMail.root@sniper18> Message-ID: <000201c5da4d$7e5c6ad0$0200a8c0@danwaters> Rocky - this helps me understand where if the questions remained grouped then the test taker can more easily answer 'correctly'. Still though, if you want to compare different people's tests, then each of those tests should have the same random order. If you want the same person to take the test more than once to see if the end results change, then the order should be randomized again prior to each test. Sounds like fun! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach Sent: Wednesday, October 26, 2005 10:47 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Random order Dan, Well, this is more like a profile. It's derived from the book "How to Be Organized in Spite of Yourself." The authors, Schlenger and Roesch, identify 5 time-management "styles" and 5 space-management "styles." For example, the time-management styles they've identified are Hopper, Perfectionist Plus, Allergic to Detail, Fence Sitter, and Cliff Hanger. There's a chapter in their book on each time and space management style. Each chapter has a 10-question quiz to determine how many or how few of the specific attributes of that particular "style" one has. Back when I first bought the book I typed in all 100 questions into WordPerfect and then mixed them up before I gave the whole quiz to my co-workers. It was fun and everybody enjoyed this bit of "profiling." The quizzes in the book chapters are pretty easy to figure out as far as what traits are being identified. Since the questions themselves don't change, I thought that mixing them up to remove any cues for how to answer them would make the results a little "cleaner." Anyway, thanks for your input. -- Regards, Steve Erbach Scientific Marketing Neenah, WI www.swerbach.com Security Page: www.swerbach.com/security On 10/26/05, Dan Waters wrote: > > Hi Steve, > > Generally, with a survey, you want the people involved to be taking > exactly > the same survey, unless you are doing initial testing to see if the order > of > the questions will bias the results. > > Once the survey is ready, the randomized order of the questions should > remain unchanged. > > Hope this helps, > Dan Waters > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Erbach > Sent: Wednesday, October 26, 2005 9:48 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] A2003: Random order > > Dear Group, > > I'm writing a prototype Access 2003 ADP in preparation for writing a > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > out with the logic. > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Oct 26 12:37:48 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 26 Oct 2005 21:37:48 +0400 Subject: [AccessD] A2003: Random order References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> Message-ID: <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> <<< how I might speed this up? >>> Steve, In MS SQL you can use lightning fast query (Northwind db as example): select CategoryId, CategoryName from Categories order by RAND(Checksum(newid())) This way you get guaranteed random sequence - here is the sequence of CategoryIds for three runs: 5,7,3,4,2,1,8,6 3,8,1,2,4,5,6,7 8,1,6,2,5,4,7,3 HTH, Shamil ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 6:48 PM Subject: [AccessD] A2003: Random order > Dear Group, > > I'm writing a prototype Access 2003 ADP in preparation for writing a > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > out with the logic. > > It's a survey of 100 questions. There are 10 groups of 10 questions each. > Each group of questions deals with a particular topic. Rather than have the > survey takers see the questions grouped by topic so that they might "steer" > the results, I thought it would be better to randomize the list of > questions. > > My back-end is SQL Server 2000, but I think the principles apply to Access > as well. > > So far I've got a table called OrgQuestions with this structure: > > QID, int, key > TopicID, int > QNumber, int > QText, varchar(175) > QOrder, int > > The QNumber goes from 1-10 for each of the 10 TopicID's. The QID goes from > 1-100, conveniently enough! The QOrder column is what I added to indicate > the (random) order in which the survey questions will be presented to the > survey taker. > > In the code I first run a MakeTable query to create a temporary, > single-field table containing just the QID field, renamed to TestQID. 100 > rows numbered from 1-100. > > I open two RecordSets, rstPik and rstOrd. rstPik is that temporary list of > Question numbers. rstOrd is the OrgQuestions table containing the QOrder > field. I also create a 100 element array to store the random order of the > questions. > > Then I run two FOR loops: > > For i = 0 To 99 > sngSeed = CSng(Time) > > ' Multiply the random number generated by 100 - i to get a whole number big > enough for > ' the list of numbers I need to fill. That 100 - i gets smaller and smaller > as the available > ' list of numbers gets smaller. > sngRnd = Rnd(sngSeed) * (100 - i) > > ' I do the + 1 here to account for the truncation that the INT() function > performs. That is, > ' if the Rnd() function gives me .00125, then, even if I multiply it by 100, > the INT() function > ' will return 0. The HIGHEST number that the RND() function * 100 returns is > less than 1; > ' so I need that + 1 there, too, to ensure that 100 comes back as one of the > "random" > ' numbers. > intRnd = Int(sngRnd) + 1 > rstPik.MoveFirst > > ' Move to the row indicated by the random integer - 1 because the MOVE() > function > ' moves X rows not counting the current one. I have to account for the > "fencepost" > ' error. > rstPik.Move intRnd - 1 > intStore = rstPik("TestQID") > intArr(i) = intStore > > ' Here's where I eliminate the question number that has been used. > rstPik.Delete > rstPik.Update > Next i > > ' Now the rstPik Recordset is completely empty. > rstOrd.MoveFirst > For i = 0 To 99 > rstOrd("QuestionOrder") = intArr(i) > rstOrd.Update > rstOrd.MoveNext > Next i > > In a nutshell, fill an array with the randomized sequence of question > numbers and then dump those numbers into the column of the OrgQuestions > table that holds that sequence. > > The issue here is, at least with SQL Server, the generation of the random > sequence takes a bit of time. My SQL Server is hosted by my web host and > this routine takes an appreciable amount of time. Does anyone have a > suggestion as to how I might speed this up? With a zippy cable connection, > this process takes over 20 seconds. > > -- > Regards, > > Steve Erbach > Scientific Marketing > Neenah, WI > www.swerbach.com > Security Page: www.swerbach.com/security > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at users.mns.ru Wed Oct 26 13:11:26 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 26 Oct 2005 22:11:26 +0400 Subject: [AccessD] A2003: Random order References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> Message-ID: <003201c5da59$1ae7f1c0$6401a8c0@fincomplex.spb.ru> Steve, I should have written that this query is enough: select CategoryId, CategoryName from Categories order by newid() to get random order of source records. But RAND(Checksum(newid())) make generated values a kind of normalized. Additionally you can write: Convert(int, Floor(Rand(Checksum(newid()))*100+1)) to get integer random IDs in the range 1-100. But take into account that they can be non-unique. For pure mdb +VBA solution you can use similar approach with a function like the one described here http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176790 to get random seed string, which can be converted to random ID similarily to MS SQL solution. Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 9:37 PM Subject: Re: [AccessD] A2003: Random order > <<< > how I might speed this up? > >>> > Steve, > > In MS SQL you can use lightning fast query (Northwind db as example): > > select CategoryId, CategoryName > from Categories > order by RAND(Checksum(newid())) > > This way you get guaranteed random sequence - here is the sequence of > CategoryIds for three runs: > > 5,7,3,4,2,1,8,6 > 3,8,1,2,4,5,6,7 > 8,1,6,2,5,4,7,3 > > HTH, > Shamil > > ----- Original Message ----- > From: "Steve Erbach" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, October 26, 2005 6:48 PM > Subject: [AccessD] A2003: Random order > > > > Dear Group, > > > > I'm writing a prototype Access 2003 ADP in preparation for writing a > > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > > out with the logic. > > > > It's a survey of 100 questions. There are 10 groups of 10 questions each. > > Each group of questions deals with a particular topic. Rather than have > the > > survey takers see the questions grouped by topic so that they might > "steer" > > the results, I thought it would be better to randomize the list of > > questions. > > > > My back-end is SQL Server 2000, but I think the principles apply to Access > > as well. > > > > So far I've got a table called OrgQuestions with this structure: > > > > QID, int, key > > TopicID, int > > QNumber, int > > QText, varchar(175) > > QOrder, int > > > > The QNumber goes from 1-10 for each of the 10 TopicID's. The QID goes from > > 1-100, conveniently enough! The QOrder column is what I added to indicate > > the (random) order in which the survey questions will be presented to the > > survey taker. > > > > In the code I first run a MakeTable query to create a temporary, > > single-field table containing just the QID field, renamed to TestQID. 100 > > rows numbered from 1-100. > > > > I open two RecordSets, rstPik and rstOrd. rstPik is that temporary list of > > Question numbers. rstOrd is the OrgQuestions table containing the QOrder > > field. I also create a 100 element array to store the random order of the > > questions. > > > > Then I run two FOR loops: > > > > For i = 0 To 99 > > sngSeed = CSng(Time) > > > > ' Multiply the random number generated by 100 - i to get a whole number > big > > enough for > > ' the list of numbers I need to fill. That 100 - i gets smaller and > smaller > > as the available > > ' list of numbers gets smaller. > > sngRnd = Rnd(sngSeed) * (100 - i) > > > > ' I do the + 1 here to account for the truncation that the INT() function > > performs. That is, > > ' if the Rnd() function gives me .00125, then, even if I multiply it by > 100, > > the INT() function > > ' will return 0. The HIGHEST number that the RND() function * 100 returns > is > > less than 1; > > ' so I need that + 1 there, too, to ensure that 100 comes back as one of > the > > "random" > > ' numbers. > > intRnd = Int(sngRnd) + 1 > > rstPik.MoveFirst > > > > ' Move to the row indicated by the random integer - 1 because the MOVE() > > function > > ' moves X rows not counting the current one. I have to account for the > > "fencepost" > > ' error. > > rstPik.Move intRnd - 1 > > intStore = rstPik("TestQID") > > intArr(i) = intStore > > > > ' Here's where I eliminate the question number that has been used. > > rstPik.Delete > > rstPik.Update > > Next i > > > > ' Now the rstPik Recordset is completely empty. > > rstOrd.MoveFirst > > For i = 0 To 99 > > rstOrd("QuestionOrder") = intArr(i) > > rstOrd.Update > > rstOrd.MoveNext > > Next i > > > > In a nutshell, fill an array with the randomized sequence of question > > numbers and then dump those numbers into the column of the OrgQuestions > > table that holds that sequence. > > > > The issue here is, at least with SQL Server, the generation of the random > > sequence takes a bit of time. My SQL Server is hosted by my web host and > > this routine takes an appreciable amount of time. Does anyone have a > > suggestion as to how I might speed this up? With a zippy cable connection, > > this process takes over 20 seconds. > > > > -- > > Regards, > > > > Steve Erbach > > Scientific Marketing > > Neenah, WI > > www.swerbach.com > > Security Page: www.swerbach.com/security > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From BarbaraRyan at cox.net Wed Oct 26 13:36:27 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Wed, 26 Oct 2005 14:36:27 -0400 Subject: [AccessD] FAXing from Access 2002 using Windows XP FAX Message-ID: <00b601c5da5c$2ce9e6a0$0a00a8c0@cx470148a> I need to FAX snapshot files (.snp) programmatically (VBA) from an Access 2002 application, using Windows XP FAX. I set-up the Windows XP FAX service on my laptop and created an email account within MS Outlook using server type Fax Mail Transport. Using the Send FAX Wizard, I successfully sent a FAX (manually keying in the recipient's name, FAX#, etc.) On my laptop, my default email client is Outlook Express. The Access application will reside on a PC with Lotus Notes as the default email client (although MS Outlook will also be installed on the PC). Will I be able to issue a SendObject command to send a FAX? I see in http://support.microsoft.com/default.aspx?scid=kb;en-us;145787 that SendObject was used with Microsoft FAX (which was replaced with Windows XP FAX) Any other problems that I might encounter with Lotus Notes as the default email client? Any other thoughts? Thanks, Barb Ryan From erbachs at gmail.com Wed Oct 26 13:36:56 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 13:36:56 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: References: Message-ID: <39cb22f30510261136l4a7769f6q9dab6e95257d40c7@mail.gmail.com> Gustav, Hmmm, are you talking about something like this?: SELECT QID AS TestQID, RAND([QID]) AS RndID FROM OrgQuestions ORDER BY RAND([QID]) The RAND() function in SQL Server has the same limitation that the Access RND() function does, though; that is, the "random" number that's generated in the query will be the same for every record, won't it? Steve Erbach Neenah, WI On 10/26/05, Gustav Brock wrote: > > Hi Steve > > Why not make that table a two-field table. > Fill the other field, say RndID, with random numbers when the table is > created. > Now read from the table QID ordered by RndID. > > /gustav > From erbachs at gmail.com Wed Oct 26 13:39:07 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 13:39:07 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <20051026161242.SCSS12438.ibm63aec.bellsouth.net@SUSANONE> References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> <20051026161242.SCSS12438.ibm63aec.bellsouth.net@SUSANONE> Message-ID: <39cb22f30510261139k6786c268k59afdf5cd787c0d3@mail.gmail.com> Susan, Originally, I thought of selecting, at random, one question from every group to form 10 sets of questions that contained one question of each group/type. But, to make it simpler, I thought I'd just mix 'em all up to figure out a randomizing methodolgy first. Then, perhaps, I'll figure out how to split it up into bite-sized chunks of 10 questions each with one of each type of question in each chunk. Steve Erbach On 10/26/05, Susan Harkins wrote: > > Steve, you're just mixing up all 100 questions into 1 group? Or is there > more to it? > > Susan H. > > Dear Group, > > I'm writing a prototype Access 2003 ADP in preparation for writing a > "practice" VB/ASP/ADO .NET project, and I wonder if you lot could help me > out with the logic. > > > From erbachs at gmail.com Wed Oct 26 13:41:36 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 13:41:36 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <000201c5da4d$7e5c6ad0$0200a8c0@danwaters> References: <28119306.1130341816761.JavaMail.root@sniper18> <000201c5da4d$7e5c6ad0$0200a8c0@danwaters> Message-ID: <39cb22f30510261141l3159410ld8ca3e08136bbd97@mail.gmail.com> Dan, The profiling is fun, all right! We discovered that the President of the company was a Total Slob, based on the categories in the book. Of course, you didn't need a profile to see that. Anybody that went into his office saw the piles of stuff stacked on every available horizontal surface, including the floor. Actually, "stacked" was being charitable. Steve Erbach On 10/26/05, Dan Waters wrote: > > Rocky - this helps me understand where if the questions remained grouped > then the test taker can more easily answer 'correctly'. > > Still though, if you want to compare different people's tests, then each > of > those tests should have the same random order. > > If you want the same person to take the test more than once to see if the > end results change, then the order should be randomized again prior to > each > test. > > Sounds like fun! > > Dan > > > From Gustav at cactus.dk Wed Oct 26 13:42:36 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 26 Oct 2005 20:42:36 +0200 Subject: [AccessD] A2003: Random order Message-ID: Hi Steve Yes, but follow the guide from Shamil for the SQL Server spedifics. You can use that also if you need to create the temp table. /gustav >>> erbachs at gmail.com 26-10-2005 20:36 >>> Gustav, Hmmm, are you talking about something like this?: SELECT QID AS TestQID, RAND([QID]) AS RndID FROM OrgQuestions ORDER BY RAND([QID]) The RAND() function in SQL Server has the same limitation that the Access RND() function does, though; that is, the "random" number that's generated in the query will be the same for every record, won't it? Steve Erbach Neenah, WI On 10/26/05, Gustav Brock wrote: > > Hi Steve > > Why not make that table a two-field table. > Fill the other field, say RndID, with random numbers when the table is > created. > Now read from the table QID ordered by RndID. > > /gustav From harkinsss at bellsouth.net Wed Oct 26 13:51:54 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 26 Oct 2005 14:51:54 -0400 Subject: [AccessD] A2003: Random order In-Reply-To: <39cb22f30510261136l4a7769f6q9dab6e95257d40c7@mail.gmail.com> Message-ID: <20051026185215.RBUY20466.ibm65aec.bellsouth.net@SUSANONE> Steve, Rnd() and Rand() do not produce the same results. I'm sending you an article privately. Susan H. Gustav, The RAND() function in SQL Server has the same limitation that the Access RND() function does, though; that is, the "random" number that's generated in the query will be the same for every record, won't it? From erbachs at gmail.com Wed Oct 26 13:54:43 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 13:54:43 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> Message-ID: <39cb22f30510261154vefe5e07xa9d6f05cbffda1cf@mail.gmail.com> Shamil, Whoa! Now THAT'S what I was looking for! Except I can't find anything in Access VB help on Checksum() nor NewID(). Am I missing something? I found ONE reference to NEWID() in the Access help and ONE for Checksum(). Steve Erbach On 10/26/05, Shamil Salakhetdinov wrote: > > <<< > how I might speed this up? > >>> > Steve, > > In MS SQL you can use lightning fast query (Northwind db as example): > > select CategoryId, CategoryName > from Categories > order by RAND(Checksum(newid())) > From Jim.Hale at FleetPride.com Wed Oct 26 13:59:22 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Oct 2005 13:59:22 -0500 Subject: [AccessD] A2003: Random order Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337952@corp-es01.fleetpride.com> We once had a new guard call the Corporate counsel on a Saturday morning in a panic to tell him his office had been ransacked. When he rushed in to see what had happened he took one look and said that was the way it always looked. Jim Hale -----Original Message----- From: Steve Erbach [mailto:erbachs at gmail.com] Sent: Wednesday, October 26, 2005 1:42 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Random order Dan, The profiling is fun, all right! We discovered that the President of the company was a Total Slob, based on the categories in the book. Of course, you didn't need a profile to see that. Anybody that went into his office saw the piles of stuff stacked on every available horizontal surface, including the floor. Actually, "stacked" was being charitable. Steve Erbach On 10/26/05, Dan Waters wrote: > > Rocky - this helps me understand where if the questions remained grouped > then the test taker can more easily answer 'correctly'. > > Still though, if you want to compare different people's tests, then each > of > those tests should have the same random order. > > If you want the same person to take the test more than once to see if the > end results change, then the order should be randomized again prior to > each > test. > > Sounds like fun! > > Dan > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From erbachs at gmail.com Wed Oct 26 14:00:03 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 14:00:03 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <003201c5da59$1ae7f1c0$6401a8c0@fincomplex.spb.ru> References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com> <001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> <003201c5da59$1ae7f1c0$6401a8c0@fincomplex.spb.ru> Message-ID: <39cb22f30510261200y54bb98cen22ed4f72aaae91a1@mail.gmail.com> Shamil, Very interesting. Susan sent me an article she'd written with Arthur Fuller suggesting the same use of NEWID(). Thanks again. Steve Erbach Neenah, WI On 10/26/05, Shamil Salakhetdinov wrote: > > Steve, > > I should have written that this query is enough: > > select CategoryId, CategoryName > from Categories > order by newid() > > to get random order of source records. > > But RAND(Checksum(newid())) make generated values a kind of normalized. > Additionally you can write: > > Convert(int, Floor(Rand(Checksum(newid()))*100+1)) > > to get integer random IDs in the range 1-100. But take into account that > they can be non-unique. > > For pure mdb +VBA solution you can use similar approach with a function > like > the one described here > > http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176790 > > to get random seed string, which can be converted to random ID similarily > to > MS SQL solution. > > Shamil > > ----- Original Message ----- > From: "Shamil Salakhetdinov" > To: "Access Developers discussion and problem solving" > > Sent: Wednesday, October 26, 2005 9:37 PM > Subject: Re: [AccessD] A2003: Random order > > > > <<< > > how I might speed this up? > > >>> > > Steve, > > > > In MS SQL you can use lightning fast query (Northwind db as example): > > > > select CategoryId, CategoryName > > from Categories > > order by RAND(Checksum(newid())) > From erbachs at gmail.com Wed Oct 26 14:12:37 2005 From: erbachs at gmail.com (Steve Erbach) Date: Wed, 26 Oct 2005 14:12:37 -0500 Subject: [AccessD] A2003: Random order In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337952@corp-es01.fleetpride.com> References: <6A6AA9DF57E4F046BDA1E273BDDB6772337952@corp-es01.fleetpride.com> Message-ID: <39cb22f30510261212s66160a03qd7d76be59146f98a@mail.gmail.com> Jim, Hah! Thanks for the laugh! Steve Erbach On 10/26/05, Hale, Jim wrote: > > We once had a new guard call the Corporate counsel on a Saturday morning > in > a panic to tell him his office had been ransacked. When he rushed in to > see > what had happened he took one look and said that was the way it always > looked. > Jim Hale > > -----Original Message----- > From: Steve Erbach [mailto:erbachs at gmail.com] > Sent: Wednesday, October 26, 2005 1:42 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Random order > > > Dan, > > The profiling is fun, all right! We discovered that the President of the > company was a Total Slob, based on the categories in the book. Of course, > you didn't need a profile to see that. Anybody that went into his office > saw > the piles of stuff stacked on every available horizontal surface, > including > the floor. Actually, "stacked" was being charitable. > > Steve Erbach > From Chester_Kaup at kindermorgan.com Wed Oct 26 14:26:31 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 26 Oct 2005 14:26:31 -0500 Subject: [AccessD] MS Access SDK Message-ID: Never having had to develop for a group before I need some enlightenment and/or knowledge here. Looking around on the Microsoft site it appears that the SDK no longer exists for access. What is used now to create mde files? Has anyone done any testing to see if an mde runs faster than a mdb on a large database? Any and all thoughts appreciated. 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 shamil at users.mns.ru Wed Oct 26 14:39:15 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 26 Oct 2005 23:39:15 +0400 Subject: [AccessD] A2003: Random order References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com><001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru> <39cb22f30510261154vefe5e07xa9d6f05cbffda1cf@mail.gmail.com> Message-ID: <005001c5da65$26c1bbf0$6401a8c0@fincomplex.spb.ru> Steve, RAND(), Checksum() and NewID() are MS SQL functions. As far as I understood your database in an MS SQL one - then you can use these functions of just newID() in your source query(MS SQL view or stored procedure) to get random sequence of source records. For pure mdb+VBA solution VBA's Rnd() function should be enough. More complicated mdb+VBA solution based on code from this sample: http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176790 to write something like NewId() and then use XOR VBA operation to implement something like CheckSum(...) etc. - is an overkill. I should have not mentioned it. Shamil ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 10:54 PM Subject: Re: [AccessD] A2003: Random order > Shamil, > > Whoa! Now THAT'S what I was looking for! Except I can't find anything in > Access VB help on Checksum() nor NewID(). Am I missing something? I found > ONE reference to NEWID() in the Access help and ONE for Checksum(). > > Steve Erbach > > On 10/26/05, Shamil Salakhetdinov wrote: > > > > <<< > > how I might speed this up? > > >>> > > Steve, > > > > In MS SQL you can use lightning fast query (Northwind db as example): > > > > select CategoryId, CategoryName > > from Categories > > order by RAND(Checksum(newid())) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Wed Oct 26 14:36:42 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Wed, 26 Oct 2005 12:36:42 -0700 Subject: [AccessD] MS Access SDK Message-ID: What version of Access are you working with? Access 97 - XP had their packaging in the Developer's Edition of Office. In 2003, the packaging, etc., is in the Access extensions to the Visual Studio Tools for Microsoft Office (VSTO) which is part of VS.Net 2003 but can be purchased as a stand-alone package as well. The executable itself is used to create mde file, not any developer tools. The MDE is used to keep users from changing design elements of the application, not for speed per se, and you need to specify what you mean by "large". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, October 26, 2005 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] MS Access SDK Never having had to develop for a group before I need some enlightenment and/or knowledge here. Looking around on the Microsoft site it appears that the SDK no longer exists for access. What is used now to create mde files? Has anyone done any testing to see if an mde runs faster than a mdb on a large database? Any and all thoughts appreciated. 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 Chester_Kaup at kindermorgan.com Wed Oct 26 14:39:22 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 26 Oct 2005 14:39:22 -0500 Subject: [AccessD] MS Access SDK Message-ID: I should have stated I am running Access 2003. By large I mean 1.5 Gig. Thnaks for any comments etc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Wednesday, October 26, 2005 2:37 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] MS Access SDK What version of Access are you working with? Access 97 - XP had their packaging in the Developer's Edition of Office. In 2003, the packaging, etc., is in the Access extensions to the Visual Studio Tools for Microsoft Office (VSTO) which is part of VS.Net 2003 but can be purchased as a stand-alone package as well. The executable itself is used to create mde file, not any developer tools. The MDE is used to keep users from changing design elements of the application, not for speed per se, and you need to specify what you mean by "large". Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kaup, Chester Sent: Wednesday, October 26, 2005 12:27 PM To: Access Developers discussion and problem solving Subject: [AccessD] MS Access SDK Never having had to develop for a group before I need some enlightenment and/or knowledge here. Looking around on the Microsoft site it appears that the SDK no longer exists for access. What is used now to create mde files? Has anyone done any testing to see if an mde runs faster than a mdb on a large database? Any and all thoughts appreciated. 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 shamil at users.mns.ru Wed Oct 26 14:46:05 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Wed, 26 Oct 2005 23:46:05 +0400 Subject: [AccessD] A2003: Random order References: <39cb22f30510260748u559674dh53da8fb5ea7d58b2@mail.gmail.com><001601c5da54$38e02990$6401a8c0@fincomplex.spb.ru><003201c5da59$1ae7f1c0$6401a8c0@fincomplex.spb.ru> <39cb22f30510261200y54bb98cen22ed4f72aaae91a1@mail.gmail.com> Message-ID: <005801c5da65$ea345f20$6401a8c0@fincomplex.spb.ru> <<< Susan sent me an article she'd written with Arthur Fuller >>> Steve, Do you mean this article, which I have just got it "googled"? http://www.devx.com/dbzone/Article/10167/1954?pf=true Shamil ----- Original Message ----- From: "Steve Erbach" To: "Access Developers discussion and problem solving" Sent: Wednesday, October 26, 2005 11:00 PM Subject: Re: [AccessD] A2003: Random order > Shamil, > > Very interesting. Susan sent me an article she'd written with Arthur Fuller > suggesting the same use of NEWID(). Thanks again. > > Steve Erbach > Neenah, WI > > On 10/26/05, Shamil Salakhetdinov wrote: > > > > Steve, > > > > I should have written that this query is enough: > > > > select CategoryId, CategoryName > > from Categories > > order by newid() > > > > to get random order of source records. > > > > But RAND(Checksum(newid())) make generated values a kind of normalized. > > Additionally you can write: > > > > Convert(int, Floor(Rand(Checksum(newid()))*100+1)) > > > > to get integer random IDs in the range 1-100. But take into account that > > they can be non-unique. > > > > For pure mdb +VBA solution you can use similar approach with a function > > like > > the one described here > > > > http://support.microsoft.com/default.aspx?scid=kb;EN-US;q176790 > > > > to get random seed string, which can be converted to random ID similarily > > to > > MS SQL solution. > > > > Shamil > > > > ----- Original Message ----- > > From: "Shamil Salakhetdinov" > > To: "Access Developers discussion and problem solving" > > > > Sent: Wednesday, October 26, 2005 9:37 PM > > Subject: Re: [AccessD] A2003: Random order > > > > > > > <<< > > > how I might speed this up? > > > >>> > > > Steve, > > > > > > In MS SQL you can use lightning fast query (Northwind db as example): > > > > > > select CategoryId, CategoryName > > > from Categories > > > order by RAND(Checksum(newid())) > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From harkinsss at bellsouth.net Wed Oct 26 14:46:08 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Wed, 26 Oct 2005 15:46:08 -0400 Subject: [AccessD] A2003: Random order In-Reply-To: <005801c5da65$ea345f20$6401a8c0@fincomplex.spb.ru> Message-ID: <20051026194608.RVQL20466.ibm65aec.bellsouth.net@SUSANONE> Nope, not the same article Shamil. The article I sent Steve was about the differences between producing random values in Access and SQL Server. Susan H. <<< Susan sent me an article she'd written with Arthur Fuller >>> Steve, Do you mean this article, which I have just got it "googled"? http://www.devx.com/dbzone/Article/10167/1954?pf=true From jim.moss at jlmoss.net Wed Oct 26 14:44:06 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Wed, 26 Oct 2005 14:44:06 -0500 (CDT) Subject: [AccessD] MS Access SDK In-Reply-To: References: Message-ID: <8598.65.196.182.34.1130355846.squirrel@65.196.182.34> Chester, SDK or Office developer was never required to build a .mde to my knowledge. Only when you want to install an access app on a system without Access do you need the Developer Edition. If running A2003, to make .mde file all you do is click the Tools menu item, then Database Utilities, then click Make MDE file. I don't notice any difference in speed, large or small db. Jim > Never having had to develop for a group before I need some enlightenment > and/or knowledge here. > > Looking around on the Microsoft site it appears that the SDK no longer > exists for access. What is used now to create mde files? > > Has anyone done any testing to see if an mde runs faster than a mdb on a > large database? > > > > Any and all thoughts appreciated. > > > > 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 shamil at users.mns.ru Wed Oct 26 15:10:35 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 00:10:35 +0400 Subject: [AccessD] A2003: Random order References: <20051026194608.RVQL20466.ibm65aec.bellsouth.net@SUSANONE> Message-ID: <001401c5da69$549131b0$6401a8c0@fincomplex.spb.ru> OK. Then I guess it is about how to emulate VBA's rnd() function on MS SQL using NewId()? It isn't publicly available? Shamil ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 11:46 PM Subject: Re: [AccessD] A2003: Random order > Nope, not the same article Shamil. The article I sent Steve was about the > differences between producing random values in Access and SQL Server. > > Susan H. > > <<< > Susan sent me an article she'd written with Arthur Fuller > >>> > Steve, > > Do you mean this article, which I have just got it "googled"? > http://www.devx.com/dbzone/Article/10167/1954?pf=true > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Oct 26 15:53:09 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 26 Oct 2005 16:53:09 -0400 Subject: [AccessD] A2003: Random order Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF26E6@xlivmbx21.aig.com> Looks like that would be very simple to do... Ever needed to grab a selection of random rows from a table? Well, it's surprisingly easy in SQL Server 2000, using the NEWID() method. The code below selects 10 random rows from "myTable". SELECT TOP 10 id,title FROM myTable ORDER BY NEWID() Great! See http://www.developerfusion.co.uk/show/4680/ for the source of this tip. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Wednesday, October 26, 2005 4:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Random order OK. Then I guess it is about how to emulate VBA's rnd() function on MS SQL using NewId()? It isn't publicly available? Shamil ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Wednesday, October 26, 2005 11:46 PM Subject: Re: [AccessD] A2003: Random order > Nope, not the same article Shamil. The article I sent Steve was about > the differences between producing random values in Access and SQL > Server. > > Susan H. > > <<< > Susan sent me an article she'd written with Arthur Fuller > >>> From martyconnelly at shaw.ca Wed Oct 26 17:10:57 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Wed, 26 Oct 2005 15:10:57 -0700 Subject: [AccessD] MySQL Help References: <200510251704.j9PH4vT83577@ultradnt.com> Message-ID: <435FFEF1.3050004@shaw.ca> Here is a freebie replacement for EM SQL. just send the guy a postcard. If you want, the source code is provided in VB6, good if you want to learn about DMO http://www.asql.biz/DbaMgr/DownLoad2k.shtm Steve Conklin wrote: >At the risk of starting a never-ending debate-thread, why not put the >"minor" db's in MSDE, (especially since you have MSSQL in house, you can get >around the lack of E-M for MSDE alone)? > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Francisco Tapia >Sent: Tuesday, October 25, 2005 12:51 PM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] MySQL Help > >mySQL is now a very robust db engine. w/ Version 5.0 they support >triggers/sprocs (stored procedres) and of course transactions. I have not >had a chance to load it and play with the system but you can bet I will. I'm >acctually looking forward to "Base" (Open Office desktop db) it supports >connecting to Access, (for data/ not code nor reports). For me the idea of >such a move is to help move some sql server databases to mysql because they >really do not justify begin in MSSQL. I'd rather save those licenses for our >enterprise db's > > > >On 10/25/05, Jeff Barrows wrote: > > >>Hello all, >> >>I am working with a company whose previous 'programmer' (and I use >>that term VERY loosely in his case) decided that the best database >>system was MySQL. He was using Access 2003 as a front end, importing >>multiple text files and spreadsheets (some of them with 1 million + >>records) into Access and MySQL. >> >>What I am looking for is some reference materials, books, web sites, >>forums, anything that might help. >> >>Jeff Barrows >>MCP, MCAD, MCSD >> >>Outbak Technologies, LLC >>Racine, WI >>jeff at outbaktech.com >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From Jim.Hale at FleetPride.com Wed Oct 26 17:45:04 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Wed, 26 Oct 2005 17:45:04 -0500 Subject: [AccessD] Null to empty strings Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jmhecht at earthlink.net Wed Oct 26 18:01:11 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 26 Oct 2005 16:01:11 -0700 Subject: [AccessD] Null to empty strings In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> Message-ID: <000001c5da81$28eaa5b0$0a01a8c0@desktop> Jim, Back up table In an select query Select the field you want to flip 2 times Criteria = "is null" Run query and be sure that's what you want and expect to see. If not play with that until it is what you want. When select returns correct criteria change to update query It will add a line to QBE grid that says change to Change to " " Run query. HTH Joe If it is ok -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 3:45 PM To: 'Accessd (E-mail) Subject: [AccessD] Null to empty strings What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From papparuff at comcast.net Wed Oct 26 18:12:21 2005 From: papparuff at comcast.net (John Ruff) Date: Wed, 26 Oct 2005 16:12:21 -0700 Subject: [AccessD] Null to empty strings In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> Message-ID: <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> Create an update query and in the Update To row of the field to update, use: Iif(isnull(FieldToChange)," ") MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 2:45 PM To: 'Accessd (E-mail) Subject: [AccessD] Null to empty strings What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ebairead at gmail.com Wed Oct 26 18:23:44 2005 From: ebairead at gmail.com (=?ISO-8859-1?Q?Eoin_C=2E_Bair=E9ad?=) Date: Thu, 27 Oct 2005 00:23:44 +0100 Subject: [AccessD] Null to empty strings In-Reply-To: <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> References: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> Message-ID: <3d2a5ccc0510261623p125f13f3y@mail.gmail.com> If you mean empty string rather than blank then you need 1 On 27/10/05, John Ruff wrote: > > Create an update query and in the Update To row of the field to update, > use: > > Iif(isnull(FieldToChange)," ") > > MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! > > John V. Ruff - The Eternal Optimist :-) > > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 2:45 PM > To: 'Accessd (E-mail) > Subject: [AccessD] Null to empty strings > > What is the easiest way to convert all null values in a table to empty > strings? This is a one time conversion. TIA > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -- Eoin C. Bair?ad Dublin, Ireland ?th Cliath, ?ire From accessd at shaw.ca Wed Oct 26 18:24:08 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 26 Oct 2005 16:24:08 -0700 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233794F@corp-es01.fleetpride.com> Message-ID: <004401c5da84$5e6c20d0$017ba8c0@xpserver> Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jmhecht at earthlink.net Wed Oct 26 18:26:30 2005 From: jmhecht at earthlink.net (Joe Hecht) Date: Wed, 26 Oct 2005 16:26:30 -0700 Subject: [AccessD] Conceiting fields with same incident number Message-ID: <000001c5da84$b27cf8c0$0a01a8c0@desktop> I have a table with 2 fields Memo_Key = ##_## ## Memo key is actually a text field but hay.. The first two places refer to a year. The second two digits refer to an incident number for that year Three spaces The last digits refer to a line number in an additional text field Memo_line is the matching text for that line. One incident can have multiple memo lines. If I do a left(Memo_key,5) I can isolate the incident numbers. In rebuilding the database I need to get all the matching memo key items to concatenate into a new memo field. Any body know how I can do it? Thanks Joe From ebairead at gmail.com Wed Oct 26 18:26:48 2005 From: ebairead at gmail.com (=?ISO-8859-1?Q?Eoin_C=2E_Bair=E9ad?=) Date: Thu, 27 Oct 2005 00:26:48 +0100 Subject: [AccessD] Null to empty strings In-Reply-To: <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> References: <6A6AA9DF57E4F046BDA1E273BDDB6772337953@corp-es01.fleetpride.com> <003101c5da82$bc7a1c10$6501a8c0@DDMJWX41> Message-ID: <3d2a5ccc0510261626r456879c0x@mail.gmail.com> If you mean empty string rather than blank then you need 1 tell the table that the field in question CAN be zero length (the default is it can't) and 2 use "" rather than " " in the examples. On 27/10/05, John Ruff wrote: > > Create an update query and in the Update To row of the field to update, > use: > > Iif(isnull(FieldToChange)," ") > > MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! > > John V. Ruff - The Eternal Optimist :-) > > "Commit to the Lord whatever you do, > and your plans will succeed." Proverbs 16:3 > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 2:45 PM > To: 'Accessd (E-mail) > Subject: [AccessD] Null to empty strings > > What is the easiest way to convert all null values in a table to empty > strings? This is a one time conversion. TIA > Jim Hale > -- -- Eoin C. Bair?ad Dublin, Ireland ?th Cliath, ?ire From jwcolby at ColbyConsulting.com Wed Oct 26 18:43:24 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 26 Oct 2005 19:43:24 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <004401c5da84$5e6c20d0$017ba8c0@xpserver> Message-ID: <002001c5da87$0e5b9410$667aa8c0@ColbyM6805> You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Wed Oct 26 19:01:42 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Wed, 26 Oct 2005 19:01:42 -0500 (CDT) Subject: [AccessD] Concatenating fields with same incident number Message-ID: <16388.65.196.182.34.1130371302.squirrel@65.196.182.34> Joe, I just went through something similar to this and what I did was build a couple of recordsets: one to get distinct memo keys from the table and the next recordset uses the memo key to get all rows that match. While looping thru second recordset I stuff the notes into a variable and when the end of that recordset is reached I write to another table with the notekey and the variable into a memo field. Jim I have a table with 2 fields Memo_Key = ##_## ## Memo key is actually a text field but hay.. The first two places refer to a year. The second two digits refer to an incident number for that year Three spaces The last digits refer to a line number in an additional text field Memo_line is the matching text for that line. One incident can have multiple memo lines. If I do a left(Memo_key,5) I can isolate the incident numbers. In rebuilding the database I need to get all the matching memo key items to concatenate into a new memo field. Any body know how I can do it? Thanks Joe -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com Download this as a file From jwcolby at ColbyConsulting.com Wed Oct 26 19:18:26 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Wed, 26 Oct 2005 20:18:26 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <002001c5da87$0e5b9410$667aa8c0@ColbyM6805> Message-ID: <002301c5da8b$f36eee90$667aa8c0@ColbyM6805> I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 7:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Wed Oct 26 19:54:16 2005 From: john at winhaven.net (John Bartow) Date: Wed, 26 Oct 2005 19:54:16 -0500 Subject: [AccessD] Multiple Currency types In-Reply-To: <25743.65.196.182.34.1129928082.squirrel@65.196.182.34> Message-ID: <009e01c5da90$f50ddf40$6b01a8c0@ScuzzPaq> Jim, Thanks, do you know if there is a conversion table posted with historic rates? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss John, I do a lot of work for corporate finance of a large multinational firm and what we do is save the amount along with the functional currency type. I have a currency conversion table that gets updated from Oracle monthly; the table includes the currency code, the USD conversion rate to foreign currency rate and the foreign currency rate to USD. From john at winhaven.net Wed Oct 26 19:54:16 2005 From: john at winhaven.net (John Bartow) Date: Wed, 26 Oct 2005 19:54:16 -0500 Subject: [AccessD] Multiple Currency types In-Reply-To: Message-ID: <009f01c5da90$f710db30$6b01a8c0@ScuzzPaq> Hi Gustav, Good points. I'm going to use this as a model for what I'm doing. Thanks, John B. PS: Sorry to hear of the EU ruling on Feta. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 22, 2005 7:38 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Multiple Currency types Hi John The single problem is, of course, that exchange rates vary ... If all you need is the historical cost, the easiest method is to have another field with the USD equivalent of the amount at the date of the transaction. Which exchange rate to use is a question of its own; you probably have an official daily list from your (central) bank in addition to buying and selling rates. And which date to use? That of shipping, delivery, registration, or payment? Here the customs authorities publish another weekly (averaged) list for calculation of duties. You would also need a third field for registration of the currency. Use the official ISO 4217 code (USD, EUR, GBP, etc.): http://www.xe.com/iso4217.htm A source for daily rates is the xe.com Currency Update Service: http://www.xe.com/cus/ A variation of this method is to store the foreign amount, the ISO code, and the exchange rate decided for (which in your case always will be 100 for USD). Then you can always calculate the dollar equivalent. This method, however, violates the normalization rules because the exchange rates will be repeated. Thus you may choose to move the exchange rates to a separate table where you store ISO code Type of exchange rate (official, buying, selling, etc.) Date of exchange rate change Exchange rate This way you can always find any exchange rate used on a specific date by looking up the exchange rate for that currency with the newest "Date of exchange rate change" smaller than (prior to) the specific date. That will allow you to do calculations like "What if those items purchased four months ago charged in Euro were purchased today at equivalent prices?" /gustav >>> john at winhaven.net 21-10-2005 19:38:36 >>> I have a field that is used to retain the historical cost of an item and up to now is has all been in US dollars. Just got one in UK pounds. There's more coming up too. I've never dealt with multiple currency types before. How do you suggest I store different currencies in my table? Do I need one column for amount and one for type of currency or is there a way to do this with formatting, masks, etc. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 27 00:27:42 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 26 Oct 2005 22:27:42 -0700 Subject: [AccessD] OT: Google Maps API In-Reply-To: <005801c5da65$ea345f20$6401a8c0@fincomplex.spb.ru> Message-ID: <005401c5dab7$279edc40$017ba8c0@xpserver> OT: Google has posted a full API description, with samples, of its Google maps API. (http://www.google.com/apis/maps/documentation ) The only thing you as a user would have to do would be register for an API key. Note that the position within your web site location is very important and can not be moved, once set, hence the use of an iframe to deploy it. See the following detail posted by a disgruntled developer: The most frustrating development with the Google Maps API is that each developer key is limited to a certain hostname and directory. It's sensitive to things like "www.maisonbisson.com" instead of "maisonbisson.com" or "maisonbisson.com/blog/post/10594" instead of "maisonbisson.com/blog/" . That's why this is loading in an iframe. Hope someone will find it useful and be able to add it to their web site or Access application. Jim From accessd at shaw.ca Thu Oct 27 00:42:53 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 26 Oct 2005 22:42:53 -0700 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <002301c5da8b$f36eee90$667aa8c0@ColbyM6805> Message-ID: <005501c5dab9$47669fc0$017ba8c0@xpserver> John it is just as annoying when trying to export data from a legacy DB application and the only capable export methods are text based. And you just know that some record is some field in some table will have a 'quote' mark in it. So queries for all text fields have to be created with the one purpose finding these elusive bugs... It all seems like a long time ago...like last week. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 5:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 7:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Thu Oct 27 01:21:50 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 27 Oct 2005 07:21:50 +0100 Subject: [AccessD] Null to empty strings In-Reply-To: <3d2a5ccc0510261626r456879c0x@mail.gmail.com> Message-ID: <001201c5dabe$b7965010$21b30c54@minster33c3r25> Or you could update the Field to NZ(Field,"") -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Eoin C. Bair?ad > Sent: 27 October 2005 00:27 > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Null to empty strings > > > If you mean empty string rather than blank then you need > 1 tell the table that the field in question CAN be zero > length (the default is it can't) and 2 use "" rather than " " > in the examples. > > > > On 27/10/05, John Ruff wrote: > > > > Create an update query and in the Update To row of the field to > > update, > > use: > > > > Iif(isnull(FieldToChange)," ") > > > > MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! > > > > John V. Ruff - The Eternal Optimist :-) > > > > "Commit to the Lord whatever you do, > > and your plans will succeed." Proverbs 16:3 > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > > Sent: Wednesday, October 26, 2005 2:45 PM > > To: 'Accessd (E-mail) > > Subject: [AccessD] Null to empty strings > > > > What is the easiest way to convert all null values in a > table to empty > > strings? This is a one time conversion. TIA Jim Hale > > > From Gustav at cactus.dk Thu Oct 27 02:08:34 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 27 Oct 2005 09:08:34 +0200 Subject: [AccessD] Multiple Currency types Message-ID: Hi John If these rates fit your purpose, here you can pick day by day: http://www.xe.com/ict/ If you need _many_ rates, I have the lists from XE from June 1998 but with DKK as key currency ... /gustav >>> john at winhaven.net 27-10-2005 02:54:16 >>> .. do you know if there is a conversion table posted with historic rates? From jwcolby at ColbyConsulting.com Thu Oct 27 07:52:21 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 08:52:21 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <005501c5dab9$47669fc0$017ba8c0@xpserver> Message-ID: <00cc01c5daf5$48bdfb20$667aa8c0@ColbyM6805> Annoying doesn't even cover it. However when Access PAGE FAULTS over it, THAT is annoying! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 27, 2005 1:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED John it is just as annoying when trying to export data from a legacy DB application and the only capable export methods are text based. And you just know that some record is some field in some table will have a 'quote' mark in it. So queries for all text fields have to be created with the one purpose finding these elusive bugs... It all seems like a long time ago...like last week. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 5:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 7:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Thu Oct 27 08:05:37 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Thu, 27 Oct 2005 08:05:37 -0500 (CDT) Subject: [AccessD] Multiple Currency types In-Reply-To: <009e01c5da90$f50ddf40$6b01a8c0@ScuzzPaq> References: <25743.65.196.182.34.1129928082.squirrel@65.196.182.34> <009e01c5da90$f50ddf40$6b01a8c0@ScuzzPaq> Message-ID: <24037.65.196.182.34.1130418337.squirrel@65.196.182.34> John, I will zip up and email a set that my client has on their web site. I believe that they go back to 2000. Jim > Jim, > Thanks, do you know if there is a conversion table posted with historic > rates? > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss > > John, > > I do a lot of work for corporate finance of a large multinational firm and > what we do is save the amount along with the functional currency type. I > have a currency conversion table that gets updated from Oracle monthly; > the > table includes the currency code, the USD conversion rate to foreign > currency rate and the foreign currency rate to USD. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From BarbaraRyan at cox.net Thu Oct 27 08:27:27 2005 From: BarbaraRyan at cox.net (Barbara Ryan) Date: Thu, 27 Oct 2005 09:27:27 -0400 Subject: [AccessD] Creating a Project Plan in Access 2002 Message-ID: <002701c5dafa$2d066480$0a00a8c0@cx470148a> I need to create a form (ACC 2002) that will populate a "project plan" table, defined (very basically) as follows: tblProjectPlan PlanDate (e.g., 03/01/05) WorkerType (e.g., "Plumber", "Carpenter", etc) Quantity (e.g., 10) There will be an entry in tblProjectPlan for each PlanDate/WorkerType (Primary Key) The form should be structured so each date in the project (e.g. 03/01/05 - 03/05/05) is a column and each WorkerType is a row. 03/01/05 03/02/05 03/03/05 03/04/05 03/05/05 Plumbers 8 7 6 6 0 Carpenters 3 3 3 3 3 Millwrights 0 0 1 1 0 I was going to use a crosstab query, but realized that it wouldn't be updatable. I was also thinking about creating a table with one record for each date --- the form could show the dates as columns. The WorkerType would be a dropdown box. Once the WorkerType was selected, quantities would be entered for each date. Would this work? Any ideas on creating a project plan in Access 2002? It doesn't have to look exactly like this. Thanks, Barb Ryan From accessd at shaw.ca Thu Oct 27 08:35:25 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 06:35:25 -0700 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <00cc01c5daf5$48bdfb20$667aa8c0@ColbyM6805> Message-ID: <005c01c5dafb$49a73af0$017ba8c0@xpserver> John, that take annoying to a new level... the MS application actually baling! Now it becomes your responsibility to create and perform the error checking.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 27, 2005 5:52 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Annoying doesn't even cover it. However when Access PAGE FAULTS over it, THAT is annoying! John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Thursday, October 27, 2005 1:43 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED John it is just as annoying when trying to export data from a legacy DB application and the only capable export methods are text based. And you just know that some record is some field in some table will have a 'quote' mark in it. So queries for all text fields have to be created with the one purpose finding these elusive bugs... It all seems like a long time ago...like last week. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 5:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Wednesday, October 26, 2005 7:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Oct 27 08:39:17 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 08:39:17 -0500 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337954@corp-es01.fleetpride.com> OK. How? Jim -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Wednesday, October 26, 2005 6:43 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED You need to report this one to Microsoft. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, October 26, 2005 7:24 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Hi Jim: Excellent deduction. I have been annoyed by that issue for years. Truly a piece of brilliance. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 8:09 AM To: 'Accessd (E-mail) Subject: [AccessD] Preventing Extra Excel instances SOLVED As I have commented on several occasions, I've had a pesky problem with orphan Excel instances that are not destroyed when the program finishes. As several of you pointed out all object variables must explicitly be set to nothing. While this cured some cases I have continued to have Excel instances that refuse to die. I have finally traced the cause to the following code fragments: Public Function UpdateLoan(appXcel As Excel.Application) Dim rng(1 To 2) As Range With appXcel Do While Not IsEmpty(ActiveCell) ............. Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The following code fragments are the culprit: isEmpty(ActiveCell) and .Range(Cells(2, intCopycol), Cells(47, intCopycol)) The code works fine but leaves the Excel instance in memory. a period (.) before ActiveCell and Cells solves the problem, ie.: isEmpty(.ActiveCell) .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) Apparently global members of the Excel application object such as ActiveCell and Cells must be explicitly qualified with the Application object for them to be properly destroyed when they go out of scope. Even though the program will run correctly without them being qualified, they are not cleaned up properly when used this way. Exactly what is happening internally wiser heads than I may want to comment. Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From accessd at shaw.ca Thu Oct 27 08:41:10 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 06:41:10 -0700 Subject: [AccessD] Creating a Project Plan in Access 2002 In-Reply-To: <002701c5dafa$2d066480$0a00a8c0@cx470148a> Message-ID: <005d01c5dafc$17703310$017ba8c0@xpserver> Hi Barb: It might be better, if you require an updatable form, that you take control of the form contents by using an unbound form and manage the any data changes or additions behind the 'scenes' with code. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Barbara Ryan Sent: Thursday, October 27, 2005 6:27 AM To: Access List Subject: [AccessD] Creating a Project Plan in Access 2002 I need to create a form (ACC 2002) that will populate a "project plan" table, defined (very basically) as follows: tblProjectPlan PlanDate (e.g., 03/01/05) WorkerType (e.g., "Plumber", "Carpenter", etc) Quantity (e.g., 10) There will be an entry in tblProjectPlan for each PlanDate/WorkerType (Primary Key) The form should be structured so each date in the project (e.g. 03/01/05 - 03/05/05) is a column and each WorkerType is a row. 03/01/05 03/02/05 03/03/05 03/04/05 03/05/05 Plumbers 8 7 6 6 0 Carpenters 3 3 3 3 3 Millwrights 0 0 1 1 0 I was going to use a crosstab query, but realized that it wouldn't be updatable. I was also thinking about creating a table with one record for each date --- the form could show the dates as columns. The WorkerType would be a dropdown box. Once the WorkerType was selected, quantities would be entered for each date. Would this work? Any ideas on creating a project plan in Access 2002? It doesn't have to look exactly like this. Thanks, Barb Ryan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 27 09:00:32 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 10:00:32 -0400 Subject: [AccessD] Meet my kids Message-ID: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> I have posted a new tab up on my web site. You thought that guy in the main page was handsome (or even if you didn't), take a look at my kids! ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From jwcolby at ColbyConsulting.com Thu Oct 27 09:04:19 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 10:04:19 -0400 Subject: [AccessD] FotoVisionDNN Message-ID: <00ce01c5daff$55fee150$667aa8c0@ColbyM6805> If any of you have taken the bait and put up a DotNetNuke web site, check out FotoVisionDNN, the module I used to put up the photos of the kids on my site. It comes with a client application on your computer to do the organization and upload of the photos to the web site. http://www.bring2mind.net/Downloads/tabid/65/DMXModule/504/Default.aspx?Entr yId=825 You may have to register to get at it. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Patricia.O'Connor at otda.state.ny.us Thu Oct 27 09:12:29 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 27 Oct 2005 10:12:29 -0400 Subject: [AccessD] Meet my kids Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551EF0@EXCNYSM0A1AI.nysemail.nyenet> Congratulations - they are very cute Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Thursday, October 27, 2005 10:01 AM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Meet my kids > > I have posted a new tab up on my web site. You thought that > guy in the main page was handsome (or even if you didn't), > take a look at my kids! ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Thu Oct 27 09:18:34 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 07:18:34 -0700 Subject: [AccessD] Meet my kids In-Reply-To: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> Message-ID: <005e01c5db01$508e7210$017ba8c0@xpserver> Yes they are cute John. :-) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 27, 2005 7:01 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Meet my kids I have posted a new tab up on my web site. You thought that guy in the main page was handsome (or even if you didn't), take a look at my kids! ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Thu Oct 27 09:24:47 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 27 Oct 2005 10:24:47 -0400 Subject: [AccessD] Meet my kids In-Reply-To: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> References: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> Message-ID: On 27/10/05, John Colby wrote: > I have posted a new tab up on my web site. You thought that guy in the main > page was handsome (or even if you didn't), take a look at my kids! ;-) Wonderful family John. You have every right to be proud of them!! -- 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 cyx5 at cdc.gov Thu Oct 27 09:43:35 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Thu, 27 Oct 2005 10:43:35 -0400 Subject: [AccessD] OT - VB.NET ASP.NET Programmer/Access Message-ID: I am looking for someone in the Pittsburgh area who can come in and do an initial short-term contract to rebuild and existing ASP.net app that is interfacing with an SQL backend. The server on which it resides needs rebuilding - IT is handling that, I need a person to do some work on the existing system and some enhancements. It would be at first, a month. But I have much more work and it could turn into a good opportunity. E me off list to my email if anyone is interested. This is a fantastic company and pays very well. And I am a great boss-lady. Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From scapistrant at symphonyinfo.com Thu Oct 27 10:10:07 2005 From: scapistrant at symphonyinfo.com (Steve Capistrant) Date: Thu, 27 Oct 2005 10:10:07 -0500 Subject: [AccessD] VSS misbehaving Message-ID: <855499653F55AD4190B242717DF132BC10BAA9@dewey.Symphony.local> We're having a growing number of problems using Visual Source Safe. Used with Access over the years, it presents occasional problems, not terrible. But our problems have amplified since applying it to .NET projects. 1. When one user creates a new object and checks it in, other users can't see it (after attempting to Get Latest Version). Yet the object is clearly seen in the Source Safe project itself. 2. Adding or deleting an object to a VB.NET project seems to require that the person have the entire project checked out to them (unlike the way it works in Access). Has anyone else encountered these things? If so, are there solutions? Or...if these are just known VSS hassles, do you have any suggestions about other source control solutions that work well with .NET? Thank you! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com From shamil at users.mns.ru Thu Oct 27 10:16:21 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 19:16:21 +0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED References: <6A6AA9DF57E4F046BDA1E273BDDB6772337954@corp-es01.fleetpride.com> Message-ID: <005701c5db09$7a1d0d00$6401a8c0@fincomplex.spb.ru> Jim, This is a feature by design(default(implicit) MS Excel instance creation) + COM inevitable/unavoidable problems (getting GPF sometimes when you quitting MS Access with hanging background default MS Excel instance(s)). If you assume that this is only you who are creating default instances on PC running your programs then you can try to reconnect them explicitly before quitting MS Access and kill/quit them. You can use CreateObject(...) to reconnect to them. Other tricky way to reconnect to them is by using Running Objects Table (ROT) - but it can't be done directly from within VBA. Or I'd better say I have never seen somebody connects to running COM objects(servers) from within VBA using ROT. VBA is getting dead - no any chances MS will do something with that. Moreover when you program using Visual Studio Tools for Office you may get similar problems if you do not call explicitly GC.Collect() after you set to Nothing/null MS Excel/Word objects' references... HTH, Shamil ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 5:39 PM Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > OK. How? > Jim > > -----Original Message----- > From: John Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Wednesday, October 26, 2005 6:43 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > You need to report this one to Microsoft. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Wednesday, October 26, 2005 7:24 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > Hi Jim: > > Excellent deduction. I have been annoyed by that issue for years. Truly a > piece of brilliance. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 8:09 AM > To: 'Accessd (E-mail) > Subject: [AccessD] Preventing Extra Excel instances SOLVED > > As I have commented on several occasions, I've had a pesky problem with > orphan Excel instances that are not destroyed when the program finishes. As > several of you pointed out all object variables must explicitly be set to > nothing. While this cured some cases I have continued to have Excel > instances that refuse to die. I have finally traced the cause to the > following code fragments: > > Public Function UpdateLoan(appXcel As Excel.Application) > Dim rng(1 To 2) As Range > With appXcel > Do While Not IsEmpty(ActiveCell) > ............. > Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > The following code fragments are the culprit: > isEmpty(ActiveCell) and > .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > The code works fine but leaves the Excel instance in memory. a period (.) > before ActiveCell and Cells solves the problem, ie.: > isEmpty(.ActiveCell) > .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) > > Apparently global members of the Excel application object such as ActiveCell > and Cells must be explicitly qualified with the Application object for them > to be properly destroyed when they go out of scope. Even though the program > will run correctly without them being qualified, they are not cleaned up > properly when used this way. Exactly what is happening internally wiser > heads than I may want to comment. > > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Thu Oct 27 10:23:39 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Thu, 27 Oct 2005 11:23:39 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FD4@TTNEXCHCL2.hshhp.com> Shamil, Is that garbage collection issue in VSTO documented or are we lucky that you thought to mention it? Thanks, Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Thursday, October 27, 2005 11:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED Jim, This is a feature by design(default(implicit) MS Excel instance creation) + COM inevitable/unavoidable problems (getting GPF sometimes when you quitting MS Access with hanging background default MS Excel instance(s)). If you assume that this is only you who are creating default instances on PC running your programs then you can try to reconnect them explicitly before quitting MS Access and kill/quit them. You can use CreateObject(...) to reconnect to them. Other tricky way to reconnect to them is by using Running Objects Table (ROT) - but it can't be done directly from within VBA. Or I'd better say I have never seen somebody connects to running COM objects(servers) from within VBA using ROT. VBA is getting dead - no any chances MS will do something with that. Moreover when you program using Visual Studio Tools for Office you may get similar problems if you do not call explicitly GC.Collect() after you set to Nothing/null MS Excel/Word objects' references... HTH, Shamil ----- Original Message ----- From: "Hale, Jim" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 5:39 PM Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > OK. How? > Jim > > -----Original Message----- > From: John Colby [mailto:jwcolby at colbyconsulting.com] > Sent: Wednesday, October 26, 2005 6:43 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > You need to report this one to Microsoft. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > Sent: Wednesday, October 26, 2005 7:24 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > Hi Jim: > > Excellent deduction. I have been annoyed by that issue for years. Truly a > piece of brilliance. > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Wednesday, October 26, 2005 8:09 AM > To: 'Accessd (E-mail) > Subject: [AccessD] Preventing Extra Excel instances SOLVED > > As I have commented on several occasions, I've had a pesky problem with > orphan Excel instances that are not destroyed when the program finishes. As > several of you pointed out all object variables must explicitly be set to > nothing. While this cured some cases I have continued to have Excel > instances that refuse to die. I have finally traced the cause to the > following code fragments: > > Public Function UpdateLoan(appXcel As Excel.Application) > Dim rng(1 To 2) As Range > With appXcel > Do While Not IsEmpty(ActiveCell) > ............. > Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > The following code fragments are the culprit: > isEmpty(ActiveCell) and > .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > The code works fine but leaves the Excel instance in memory. a period (.) > before ActiveCell and Cells solves the problem, ie.: > isEmpty(.ActiveCell) > .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) > > Apparently global members of the Excel application object such as ActiveCell > and Cells must be explicitly qualified with the Application object for them > to be properly destroyed when they go out of scope. Even though the program > will run correctly without them being qualified, they are not cleaned up > properly when used this way. Exactly what is happening internally wiser > heads than I may want to comment. > > Jim Hale > > *********************************************************************** > The information transmitted is intended solely for the individual or entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity to which it is addressed and may contain confidential and/or > privileged material. Any review, retransmission, dissemination or > other use of or taking action in reliance upon this information by > persons or entities other than the intended recipient is prohibited. > If you have received this email in error please contact the sender and > delete the material from any computer. As a recipient of this email, > you are responsible for screening its contents and the contents of any > attachments for the presence of viruses. No liability is accepted for > any damages caused by any virus transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From cfoust at infostatsystems.com Thu Oct 27 10:26:37 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Oct 2005 08:26:37 -0700 Subject: [AccessD] VSS misbehaving Message-ID: We use VSS with .Net in our shop with multiple developers and I don't feel that it's any more trouble than it was in Access ... Usually. The biggest problem we had was with a non-existent object that had once existed and been deleted but it was still referenced in the project file somehow. Once we manually edited the project file, the problem disappeared. The other problem I've seen is that references between projects can occasionally cause an extraneous reference to the current project to be inserted, which then needs deleting before the project is checked back in, since it won't compile otherwise. The approach I use is to select Add-->New Item, which automatically checks out the project. I add a shell form, class, whatever, and check the project back in. Then I check out just the new object and work on it. Another approach might be to create the object outside source safe in another solution and then use Add-->Existing Item to include it in the VSS project. We break our solution up into multiple projects for each part: data, data providers, Nunit tests, Configuration, Reports, UI, etc. That way checking out one project to add an object doesn't create such a hassle for everyone. Once the object is checked into the project, you needn't check the project out again unless you need to add or delete something else. I don't recall the problem of not being able to see a new object, but it is most effective to close all open objects before doing a Get Latest and then do a build or rebuild of the solution. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, October 27, 2005 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] VSS misbehaving We're having a growing number of problems using Visual Source Safe. Used with Access over the years, it presents occasional problems, not terrible. But our problems have amplified since applying it to .NET projects. 1. When one user creates a new object and checks it in, other users can't see it (after attempting to Get Latest Version). Yet the object is clearly seen in the Source Safe project itself. 2. Adding or deleting an object to a VB.NET project seems to require that the person have the entire project checked out to them (unlike the way it works in Access). Has anyone else encountered these things? If so, are there solutions? Or...if these are just known VSS hassles, do you have any suggestions about other source control solutions that work well with .NET? Thank you! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From nick at frasiervan.com Thu Oct 27 10:40:45 2005 From: nick at frasiervan.com (Nick) Date: Thu, 27 Oct 2005 10:40:45 -0500 Subject: [AccessD] VSS misbehaving In-Reply-To: <855499653F55AD4190B242717DF132BC10BAA9@dewey.Symphony.local> Message-ID: <000601c5db0c$d221ad00$6600a8c0@NickLaptop> For .Net projects there is a project file, *.csproj for C# or *.vbproj for VB. Two things to look for. First - Add new files both to the *.vbproj file, check it out and check it in, and add the file to VSS. Second - By default the .NET IDE only shows files that are in the vbproj. You can in the solution explorer choose to "view all files" which shows the entire contents, not just what is listed in the vbproj file. You may see the file here if it was not added to the vbproj. Things get a little trickier if you've included the various vss and .Net integration files. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, October 27, 2005 10:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] VSS misbehaving We're having a growing number of problems using Visual Source Safe. Used with Access over the years, it presents occasional problems, not terrible. But our problems have amplified since applying it to .NET projects. 1. When one user creates a new object and checks it in, other users can't see it (after attempting to Get Latest Version). Yet the object is clearly seen in the Source Safe project itself. 2. Adding or deleting an object to a VB.NET project seems to require that the person have the entire project checked out to them (unlike the way it works in Access). Has anyone else encountered these things? If so, are there solutions? Or...if these are just known VSS hassles, do you have any suggestions about other source control solutions that work well with .NET? Thank you! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Oct 27 10:45:40 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 27 Oct 2005 08:45:40 -0700 Subject: [AccessD] Fw: Access Question: Modal Form Question Message-ID: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Dear List: This is from a friend. Any ideas on this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Mike Dwyer" To:Sent: Wednesday, October 26, 2005 6:49 PM Subject: Access Question: Modal Form Question Ok, I know this has been discussed before so here goes again... 1. I have a form that must be opened as a dialog box. 2. This form is called from one or more VB procedures. 3. Before this form goes "Modal" I need to change some values on this form from my VB procedures. 4. While this form is "Modal", all other code must be suspended. My catch 22 is that I need to manipulate this Modal form to change values on it but opening this form as DIALOG causes all code to stop. Opening this form regularly, setting my values, and then setting the form's Modal property doesn't stop my other code from executing. Anybody got a solution? From bchacc at san.rr.com Thu Oct 27 10:49:01 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 27 Oct 2005 08:49:01 -0700 Subject: [AccessD] Meet my kids References: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> Message-ID: <06a201c5db0d$f3ad5d10$6501a8c0@HAL9004> Really changes you life, doesn't it? Completely. Do you have all new friends now? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 7:00 AM Subject: [AccessD] Meet my kids >I have posted a new tab up on my web site. You thought that guy in the >main > page was handsome (or even if you didn't), take a look at my kids! ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From shamil at users.mns.ru Thu Oct 27 11:01:57 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 20:01:57 +0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED References: <08F823FD83787D4BA0B99CA580AD3C74016C3FD4@TTNEXCHCL2.hshhp.com> Message-ID: <002101c5db0f$c70d57e0$6401a8c0@fincomplex.spb.ru> <<< are we lucky that you thought to mention it? >>> We are all unlucky because of these problems - but this is COM heritage and nothing can be done with it except carefully handling it manually in custom code. Have a look at google using e.g. "GC.Collect automation problem" as a search expression. It looks like GC.Collect(), which worked for me because I was rather careful will not always work in general case - Marshal.ReleaseCOMObject(...) could be also needed... Here is KB article, which have a sample Automation code with System.Runtime.InteropServices.Marshal.ReleaseComObject(...) as well as GC.Collect(): http://support.microsoft.com/Default.aspx?kbid=306682 Shamil ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Thursday, October 27, 2005 7:23 PM Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > Shamil, > > Is that garbage collection issue in VSTO documented or are we lucky that you thought to mention it? > > Thanks, > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil > Salakhetdinov > Sent: Thursday, October 27, 2005 11:16 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > Jim, > > This is a feature by design(default(implicit) MS Excel instance creation) + > COM inevitable/unavoidable problems (getting GPF sometimes when you quitting > MS Access with hanging background default MS Excel instance(s)). > > If you assume that this is only you who are creating default instances on PC > running your programs then you can try to reconnect them explicitly before > quitting MS Access and kill/quit them. You can use CreateObject(...) to > reconnect to them. > > Other tricky way to reconnect to them is by using Running Objects Table > (ROT) - but it can't be done directly from within VBA. Or I'd better say I > have never seen somebody connects to running COM objects(servers) from > within VBA using ROT. > > VBA is getting dead - no any chances MS will do something with that. > > Moreover when you program using Visual Studio Tools for Office you may get > similar problems if you do not call explicitly GC.Collect() after you set to > Nothing/null MS Excel/Word objects' references... > > HTH, > Shamil > > ----- Original Message ----- > From: "Hale, Jim" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, October 27, 2005 5:39 PM > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > > OK. How? > > Jim > > > > -----Original Message----- > > From: John Colby [mailto:jwcolby at colbyconsulting.com] > > Sent: Wednesday, October 26, 2005 6:43 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > > > > You need to report this one to Microsoft. > > > > John W. Colby > > www.ColbyConsulting.com > > > > Contribute your unused CPU cycles to a good cause: > > http://folding.stanford.edu/ > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence > > Sent: Wednesday, October 26, 2005 7:24 PM > > To: 'Access Developers discussion and problem solving' > > Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED > > > > > > Hi Jim: > > > > Excellent deduction. I have been annoyed by that issue for years. Truly a > > piece of brilliance. > > > > Jim > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > > Sent: Wednesday, October 26, 2005 8:09 AM > > To: 'Accessd (E-mail) > > Subject: [AccessD] Preventing Extra Excel instances SOLVED > > > > As I have commented on several occasions, I've had a pesky problem with > > orphan Excel instances that are not destroyed when the program finishes. > As > > several of you pointed out all object variables must explicitly be set to > > nothing. While this cured some cases I have continued to have Excel > > instances that refuse to die. I have finally traced the cause to the > > following code fragments: > > > > Public Function UpdateLoan(appXcel As Excel.Application) > > Dim rng(1 To 2) As Range > > With appXcel > > Do While Not IsEmpty(ActiveCell) > > ............. > > Set rng(1) = .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > > > The following code fragments are the culprit: > > isEmpty(ActiveCell) and > > .Range(Cells(2, intCopycol), Cells(47, intCopycol)) > > > > The code works fine but leaves the Excel instance in memory. a period (.) > > before ActiveCell and Cells solves the problem, ie.: > > isEmpty(.ActiveCell) > > .Range(.Cells(2, intCopycol), .Cells(47, intCopycol)) > > > > Apparently global members of the Excel application object such as > ActiveCell > > and Cells must be explicitly qualified with the Application object for > them > > to be properly destroyed when they go out of scope. Even though the > program > > will run correctly without them being qualified, they are not cleaned up > > properly when used this way. Exactly what is happening internally wiser > > heads than I may want to comment. > > > > Jim Hale > > > > *********************************************************************** > > The information transmitted is intended solely for the individual or > entity > > to which it is addressed and may contain confidential and/or privileged > > material. Any review, retransmission, dissemination or other use of or > > taking action in reliance upon this information by persons or entities > other > > than the intended recipient is prohibited. If you have received this email > > in error please contact the sender and delete the material from any > > computer. As a recipient of this email, you are responsible for screening > > its contents and the contents of any attachments for the presence of > > viruses. No liability is accepted for any damages caused by any virus > > transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > *********************************************************************** > > The information transmitted is intended solely for the individual or > > entity to which it is addressed and may contain confidential and/or > > privileged material. Any review, retransmission, dissemination or > > other use of or taking action in reliance upon this information by > > persons or entities other than the intended recipient is prohibited. > > If you have received this email in error please contact the sender and > > delete the material from any computer. As a recipient of this email, > > you are responsible for screening its contents and the contents of any > > attachments for the presence of viruses. No liability is accepted for > > any damages caused by any virus transmitted by this email. > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 27 10:58:40 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 11:58:40 -0400 Subject: [AccessD] Meet my kids In-Reply-To: <06a201c5db0d$f3ad5d10$6501a8c0@HAL9004> Message-ID: <000201c5db0f$4f761be0$687aa8c0@ColbyM6805> >Do you have all new friends now? That happened in 1986 when I stopped doing drugs and alcohol. ;-) John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, October 27, 2005 11:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Meet my kids Really changes you life, doesn't it? Completely. Do you have all new friends now? Rocky ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 7:00 AM Subject: [AccessD] Meet my kids >I have posted a new tab up on my web site. You thought that guy in the >main > page was handsome (or even if you didn't), take a look at my kids! ;-) > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From mikedorism at verizon.net Thu Oct 27 11:05:43 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 27 Oct 2005 12:05:43 -0400 Subject: [AccessD] Fw: Access Question: Modal Form Question In-Reply-To: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Message-ID: <000001c5db10$49bcb230$2e01a8c0@dorismanning> Your friend doesn't say whether he is using an MDB, MDE or ADP. If it is an MDB or an ADP, I would suggest having the code open the form in Design View hidden from the user. Make the necessary changes, close it, and then reopen it as dialog. Doris Manning mikedorism at verizon.net From Lambert.Heenan at AIG.com Thu Oct 27 10:58:36 2005 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 27 Oct 2005 11:58:36 -0400 Subject: [AccessD] Fw: Access Question: Modal Form Question Message-ID: <1D7828CDB8350747AFE9D69E0E90DA1F17DF28A7@xlivmbx21.aig.com> Pass in the values that need to change in the OpenForm statement's OpenArgs parameter. Delimit the values with some suitable character and use Split() in the form's Load Event to retrieve the discreet values to plug into the form. In other words, let the form manipulate its own data, not the caller of the form. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, October 27, 2005 11:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Access Question: Modal Form Question Dear List: This is from a friend. Any ideas on this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Mike Dwyer" To:Sent: Wednesday, October 26, 2005 6:49 PM Subject: Access Question: Modal Form Question Ok, I know this has been discussed before so here goes again... 1. I have a form that must be opened as a dialog box. 2. This form is called from one or more VB procedures. 3. Before this form goes "Modal" I need to change some values on this form from my VB procedures. 4. While this form is "Modal", all other code must be suspended. My catch 22 is that I need to manipulate this Modal form to change values on it but opening this form as DIALOG causes all code to stop. Opening this form regularly, setting my values, and then setting the form's Modal property doesn't stop my other code from executing. Anybody got a solution? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Donald.A.McGillivray at sprint.com Thu Oct 27 11:12:10 2005 From: Donald.A.McGillivray at sprint.com (Mcgillivray, Don [IT]) Date: Thu, 27 Oct 2005 11:12:10 -0500 Subject: [AccessD] Fw: Access Question: Modal Form Question Message-ID: Couple of ideas . . . 1. Pass the values via the OpenArgs of the modal form, and use code in the OnOpen event of the the modal form to push the passed values to their places. Could get ugly parsing the OpenArgs if there are lots of values to manipulate. 2. Push the values from the calling procedure to global variables and read them on open of the modal form. Haven't tried any of these, but that's where I'd start playing . . . -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin - Beach Access Software Sent: Thursday, October 27, 2005 8:46 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Fw: Access Question: Modal Form Question Dear List: This is from a friend. Any ideas on this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Mike Dwyer" To:Sent: Wednesday, October 26, 2005 6:49 PM Subject: Access Question: Modal Form Question Ok, I know this has been discussed before so here goes again... 1. I have a form that must be opened as a dialog box. 2. This form is called from one or more VB procedures. 3. Before this form goes "Modal" I need to change some values on this form from my VB procedures. 4. While this form is "Modal", all other code must be suspended. My catch 22 is that I need to manipulate this Modal form to change values on it but opening this form as DIALOG causes all code to stop. Opening this form regularly, setting my values, and then setting the form's Modal property doesn't stop my other code from executing. Anybody got a solution? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Thu Oct 27 11:22:09 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 20:22:09 +0400 Subject: [AccessD] Fw: Access Question: Modal Form Question References: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Message-ID: <003301c5db12$a6f70cf0$6401a8c0@fincomplex.spb.ru> Rocky, There could be many ways to solve this task: - why not just use OpenArgs parameter of DoCmd.OpenForm statement, parse these parameters in Form's Open event procedure using Split(...) function and set needed values ? (simplest approach) Shamil ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Thursday, October 27, 2005 7:45 PM Subject: [AccessD] Fw: Access Question: Modal Form Question > Dear List: > > This is from a friend. Any ideas on this? > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "Mike Dwyer" > To:Sent: Wednesday, October 26, 2005 6:49 PM > Subject: Access Question: Modal Form Question > > > Ok, I know this has been discussed before so here goes again... > > 1. I have a form that must be opened as a dialog box. > 2. This form is called from one or more VB procedures. > 3. Before this form goes "Modal" I need to change some values on this > form from my VB procedures. > > 4. While this form is "Modal", all other code must be suspended. > > My catch 22 is that I need to manipulate this Modal form to change > values on it but opening this form as DIALOG causes all code to stop. > Opening this form regularly, setting my values, and then setting the > form's Modal property doesn't stop my other code from executing. > > Anybody got a solution? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From KIsmert at texassystems.com Thu Oct 27 11:40:01 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Thu, 27 Oct 2005 11:40:01 -0500 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: >>Even though the program will run correctly without >>them being qualified, they are not cleaned up properly >>when used this way. Exactly what is happening >>internally wiser heads than I may want to comment. Jim: Well, I'm not claiming to be a wiser head (usually the other end of me is called wise), but what I think might be going on is this: 1) You create an instance of Excel via automation, and call it appXcel. 2) When you implicitly reference the Excel application (use ActiveCell unqualified), VBA actually creates another object reference to the Excel application under the hood (in other words, a clone of appXcel). VBA compiles an unqualified ActiveCell reference into [_Xcel].ActiveCell, where [_Xcel] is a hidden object variable retrieved using GetObject(), which hopefully finds your EXCEL.EXE automation instance, also pointed to by appXcel. What happens if you have other instances of Excel open is anyone's guess. 3) When you try to shut down your instance, this extra reference prevents it from terminating, because the rules of object scope in COM state that an object lives as long as there is at least one reference is pointing to it. So, this might be a "by-design" feature of VBA, where it is trying to be too clever in interpreting your code, and inadvertantly causing problems later. But your advice is sound: Always qualify all calls to an automation application using the application reference you have created. In this example, always use appXcel.ActiveCell, or With appXcel, when working with that application's object model. Good work. -Ken From Mike.W.Gowey at doc.state.or.us Thu Oct 27 11:41:29 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 27 Oct 2005 10:41:29 -0600 Subject: [AccessD] Pull Most recent date Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B89C@srciml1.ds.doc.state.or.us> I'm having a brain freeze and need some help. I am trying write a query that will pull a customers orders and only show me the one that has the most recent order date. TIA for the help /Mike From shamil at users.mns.ru Thu Oct 27 12:09:16 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Thu, 27 Oct 2005 21:09:16 +0400 Subject: [AccessD] Pull Most recent date References: <05EBB8A3BEB95B4F8216BE4EF48607780579B89C@srciml1.ds.doc.state.or.us> Message-ID: <001301c5db19$2af6a640$6401a8c0@fincomplex.spb.ru> MS Access 2003: ============== SELECT * FROM tblOrders as X WHERE (OrderDate = (SELECT Max(OrderDate) AS MostRecentDate FROM tblOrders as Y WHERE (X.CustomerId = Y.CustomerId) )) HTH, Shamil ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Thursday, October 27, 2005 8:41 PM Subject: [AccessD] Pull Most recent date > > I'm having a brain freeze and need some help. I am trying write a query > that will pull a customers orders and only show me the one that has the > most recent order date. > > TIA for the help > > /Mike > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Mike.W.Gowey at doc.state.or.us Thu Oct 27 12:05:36 2005 From: Mike.W.Gowey at doc.state.or.us (Gowey Mike W) Date: Thu, 27 Oct 2005 11:05:36 -0600 Subject: [AccessD] Pull Most recent date Message-ID: <05EBB8A3BEB95B4F8216BE4EF48607780579B89F@srciml1.ds.doc.state.or.us> Thank you very much Shamil, I knew it wouldn't be hard -----Original Message----- From: Shamil Salakhetdinov [mailto:shamil at users.mns.ru] Sent: Thursday, October 27, 2005 11:09 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Pull Most recent date MS Access 2003: ============== SELECT * FROM tblOrders as X WHERE (OrderDate = (SELECT Max(OrderDate) AS MostRecentDate FROM tblOrders as Y WHERE (X.CustomerId = Y.CustomerId) )) HTH, Shamil ----- Original Message ----- From: "Gowey Mike W" To: "Access Developers discussion and problem solving" Sent: Thursday, October 27, 2005 8:41 PM Subject: [AccessD] Pull Most recent date > > I'm having a brain freeze and need some help. I am trying write a query > that will pull a customers orders and only show me the one that has the > most recent order date. > > TIA for the help > > /Mike > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Thu Oct 27 12:43:09 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 12:43:09 -0500 Subject: [AccessD] Preventing Extra Excel instances SOLVED Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337955@corp-es01.fleetpride.com> Weird and unnatural random acts of destruction, which is what has made me desperate to drive a stake in this puppy's heart. Your explanation makes sense, thanks. Jim Hale -----Original Message----- From: Ken Ismert [mailto:KIsmert at texassystems.com] Sent: Thursday, October 27, 2005 11:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED >>Even though the program will run correctly without >>them being qualified, they are not cleaned up properly >>when used this way. Exactly what is happening >>internally wiser heads than I may want to comment. Jim: Well, I'm not claiming to be a wiser head (usually the other end of me is called wise), but what I think might be going on is this: 1) You create an instance of Excel via automation, and call it appXcel. 2) When you implicitly reference the Excel application (use ActiveCell unqualified), VBA actually creates another object reference to the Excel application under the hood (in other words, a clone of appXcel). VBA compiles an unqualified ActiveCell reference into [_Xcel].ActiveCell, where [_Xcel] is a hidden object variable retrieved using GetObject(), which hopefully finds your EXCEL.EXE automation instance, also pointed to by appXcel. What happens if you have other instances of Excel open is anyone's guess. 3) When you try to shut down your instance, this extra reference prevents it from terminating, because the rules of object scope in COM state that an object lives as long as there is at least one reference is pointing to it. So, this might be a "by-design" feature of VBA, where it is trying to be too clever in interpreting your code, and inadvertantly causing problems later. But your advice is sound: Always qualify all calls to an automation application using the application reference you have created. In this example, always use appXcel.ActiveCell, or With appXcel, when working with that application's object model. Good work. -Ken -- *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From andy at minstersystems.co.uk Thu Oct 27 12:59:02 2005 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 27 Oct 2005 18:59:02 +0100 Subject: [AccessD] Fw: Access Question: Modal Form Question In-Reply-To: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Message-ID: <002701c5db20$1ea36bb0$21b30c54@minster33c3r25> I reckon he should think in terms of the dialog form's OnOpen pulling values from the calling form rather than the calling form populating the dialog. -- Andy Lacey http://www.minstersystems.co.uk > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: 27 October 2005 16:46 > To: AccessD at databaseadvisors.com > Subject: [AccessD] Fw: Access Question: Modal Form Question > > > Dear List: > > This is from a friend. Any ideas on this? > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "Mike Dwyer" > To:Sent: Wednesday, October 26, 2005 6:49 PM > Subject: Access Question: Modal Form Question > > > Ok, I know this has been discussed before so here goes again... > > 1. I have a form that must be opened as a dialog box. > 2. This form is called from one or more VB procedures. > 3. Before this form goes "Modal" I need to change some > values on this form from my VB procedures. > > 4. While this form is "Modal", all other code must be suspended. > > My catch 22 is that I need to manipulate this Modal form to > change values on it but opening this form as DIALOG causes > all code to stop. Opening this form regularly, setting my > values, and then setting the form's Modal property doesn't > stop my other code from executing. > > Anybody got a solution? > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > From jwcolby at ColbyConsulting.com Thu Oct 27 13:14:13 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 14:14:13 -0400 Subject: [AccessD] Update query broke Message-ID: <000f01c5db22$3c22c5d0$687aa8c0@ColbyM6805> I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Jim.Hale at FleetPride.com Thu Oct 27 13:20:24 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 13:20:24 -0500 Subject: [AccessD] Update query broke Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337956@corp-es01.fleetpride.com> Look for spaces in front or behind of Address in the linked file. HTH Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Update query broke I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From mikedorism at verizon.net Thu Oct 27 13:23:00 2005 From: mikedorism at verizon.net (Mike & Doris Manning) Date: Thu, 27 Oct 2005 14:23:00 -0400 Subject: [AccessD] Update query broke In-Reply-To: <000f01c5db22$3c22c5d0$687aa8c0@ColbyM6805> Message-ID: <000101c5db23$77569b30$2e01a8c0@dorismanning> The brackets around Address are the problem. They make Access think this is an internal parameter. Try it without them. Doris Manning mikedorism at verizon.net From adtp at touchtelindia.net Thu Oct 27 13:34:57 2005 From: adtp at touchtelindia.net (A.D.Tejpal) Date: Fri, 28 Oct 2005 00:04:57 +0530 Subject: [AccessD] Fw: Access Question: Modal Form Question References: <069901c5db0d$7be8cf80$6501a8c0@HAL9004> Message-ID: <007b01c5db25$34b8b400$be0565cb@winxp> Rocky, A work-around is available, almost like having the cake and eat it too. Following course of action is suggested. In the main form (say F_Normal), put a public subroutine (say P_FillModal()), incorporating all the actions that you wish to be performed after opening the pop-up modal form (say F_Modal). In load event of the modal form, call the above subroutine via sample syntax given below. Forms("F_Normal").P_FillModal Caution: In the procedure P_FillModal() on form F_Normal, if any statement involves reference to this form itself, avoid use of Me qualifier. Instead use the full syntax as follows Forms("F_Normal") Best wishes, A.D.Tejpal -------------- ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: AccessD at databaseadvisors.com Sent: Thursday, October 27, 2005 21:15 Subject: [AccessD] Fw: Access Question: Modal Form Question Dear List: This is from a friend. Any ideas on this? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Mike Dwyer" To:Sent: Wednesday, October 26, 2005 6:49 PM Subject: Access Question: Modal Form Question Ok, I know this has been discussed before so here goes again... 1. I have a form that must be opened as a dialog box. 2. This form is called from one or more VB procedures. 3. Before this form goes "Modal" I need to change some values on this form from my VB procedures. 4. While this form is "Modal", all other code must be suspended. My catch 22 is that I need to manipulate this Modal form to change values on it but opening this form as DIALOG causes all code to stop. Opening this form regularly, setting my values, and then setting the form's Modal property doesn't stop my other code from executing. Anybody got a solution? From martyconnelly at shaw.ca Thu Oct 27 13:38:17 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 27 Oct 2005 11:38:17 -0700 Subject: [AccessD] OT: Google Maps API References: <005401c5dab7$279edc40$017ba8c0@xpserver> Message-ID: <43611E99.4020408@shaw.ca> Here is how to use Access SmartTags to get at Google Maps. You don't need an API key, You will have to experiment with what you put in the Text Field, to get the correct map Here is a simple method for using Access Smart Tags to display either Google maps or weather given a zip code. if you need it for certain european areas just add or pop the (Text } address field comma seperated via a http post web service it takes two minutes to add this to an Access Mdb Turnoff MS Word Access or Outlook, that may have the smatrtag engine open Make sure that all Microsoft Office XP or Office 2003 applications are closed. Cut and Paste these two xml files below with NotePad into indicated paths and save as UTF-8 format not ANSI. Now in Access Select the Tools -> Options... menu to open the Options dialog window. Select the "Forms/Reports" tab, then ensure that the "Show Smart Tags on Forms" check box on the bottom left of the window is checked. Select the "Datasheet" tab, then ensure that the "Show Smart Tags on Datasheets" check box on the bottom right of the window is checked. Select the "OK" button to save your changes. Choose Tools: AutoCorrect Options. These also may have certain smarttag options Now on your form in design view select the zip code fileld and embed the smarttag by right clicking on the smarttag field property to build it, the wizard comes up and places the following type of urn in the property "urn:schemas-microsoft-com:smarttags:list" The wizard looks at the dll's and xml files in C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\ Hover your mouse pointer over the form zip code field, click the Smart Tag Actions button, and then click Weather by ZIP code. or google map, An IE window will now open with your google map. To link the Customer Name field to the Smart Tag, follow these steps: # Open the client database table in Design View. # Select the Customer Name field row. # Click the Builder button next to the Smart Tags field property in the field properties window. # Click the People check box and click OK. Now, when the customer service representative uses the form to look up a client, a Smart Tag icon will appear next to the client's name. By clicking on the Smart Tag's icon drop-down box, the representative can add the client to his/her Outlook contacts, send the client an e-mail, or schedule a meeting with the client. http://techrepublic.com.com/5100-10877_11-5875431.html?tag=sc Cut and Paste these two xml files below with NotePad into indicated paths and save as UTF-8 format not ANSI. C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\GoogleMap.xml Local Map Your local map report on Google http://msdn.microsoft.com/office Local Map on Google 98052,02134 Map by ZIP code http://maps.google.com/maps?q={TEXT} C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\weather.xml Local Weather Your local weather report on MSNBC. http://msdn.microsoft.com/office Local Weather on MSNBC 98052,02134 Weather by ZIP code http://www.msnbc.com/news/wea_front.asp?ta=y& tab=BW&tp=&czstr={TEXT} Jim Lawrence wrote: >OT: > >Google has posted a full API description, with samples, of its Google maps >API. (http://www.google.com/apis/maps/documentation ) The only thing you as >a user would have to do would be register for an API key. Note that the >position within your web site location is very important and can not be >moved, once set, hence the use of an iframe to deploy it. See the following >detail posted by a disgruntled developer: > > >The most frustrating development with the Google Maps API is that each >developer key is limited to a certain hostname and directory. It's sensitive >to things like "www.maisonbisson.com" instead of "maisonbisson.com" or >"maisonbisson.com/blog/post/10594" instead of "maisonbisson.com/blog/" . >That's why this is loading in an iframe. > > >Hope someone will find it useful and be able to add it to their web site or >Access application. > >Jim > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at ColbyConsulting.com Thu Oct 27 13:48:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 14:48:10 -0400 Subject: [AccessD] Update query broke In-Reply-To: <000101c5db23$77569b30$2e01a8c0@dorismanning> Message-ID: <001401c5db26$fd433ed0$687aa8c0@ColbyM6805> The brackets need to be there in order to tell Access that the object is a field in the query. If I remove the brackets, Access places quotes around it and try to update the field with the word "Address" (not good). John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mike & Doris Manning Sent: Thursday, October 27, 2005 2:23 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke The brackets around Address are the problem. They make Access think this is an internal parameter. Try it without them. Doris Manning mikedorism at verizon.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Thu Oct 27 13:59:48 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 14:59:48 -0400 Subject: [AccessD] Update query broke In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337956@corp-es01.fleetpride.com> Message-ID: <001801c5db28$9a930bb0$687aa8c0@ColbyM6805> That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 27, 2005 2:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke Look for spaces in front or behind of Address in the linked file. HTH Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Update query broke I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Patricia.O'Connor at otda.state.ny.us Thu Oct 27 14:01:26 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 27 Oct 2005 15:01:26 -0400 Subject: [AccessD] Update query broke Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551EF3@EXCNYSM0A1AI.nysemail.nyenet> Try putting the name of the linked text file before the address Like TEXTFLE.ADDRESS Or [TEXTFILE].[ADDRESS] Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby > Sent: Thursday, October 27, 2005 02:14 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Update query broke > > I am trying to build an update query. I linked a text file, > link that to tblMember on SSN, link that to another table > tblFamily by PK/FK, pull out a field from the tblFamily and > try to update it from data in a field in the linked text file. > > In the updateto area of the query I place [Address] which is > the name of the address field in the linked text file. > > The query pops up a dialog asking for the value of [Address], > as if there is no such address in the linked text file. > > I have only done this a million times before, but this time > it doesn't work. > Any suggestions short of random acts of violence? > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Patricia.O'Connor at otda.state.ny.us Thu Oct 27 14:08:54 2005 From: Patricia.O'Connor at otda.state.ny.us (O'Connor, Patricia (OTDA)) Date: Thu, 27 Oct 2005 15:08:54 -0400 Subject: [AccessD] The Sleep Advisor is Live! Message-ID: <01DBAB52E30A9A4AB3D94EF8029EDBE8551EF4@EXCNYSM0A1AI.nysemail.nyenet> Congratulation Rocky Nice looking site Thanks for all your help through the years Patti ****************************************************************** *Patricia O'Connor *Associate Computer Programmer Analyst *OTDA - BDMA *(W) mailto:Patricia.O'Connor at otda.state.ny.us *(w) mailto:aa1160 at otda.state.ny.us ****************************************************************** > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > Rocky Smolin - Beach Access Software > Sent: Wednesday, October 26, 2005 01:20 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] The Sleep Advisor is Live! > > Dear List: > > Well, it took 11 1/2 years but my partner and I have finally > got a product. The Sleep Advisor most of you are aware of. > For those who might not be, it is a program, an expert system > really, that diagnoses sleep disorders and gives a > personalized program of remedies and recommendations to > address them. > > This milestone in both of our professional careers is due in > no small measure to the selfless help I have been given by > members of this list for at least ten years, guiding me > through and outright solving many tough (for me) problems in > many applications over that time. > > More specifically, I have been given help on numerous Sleep > Advisor problems by many of you and especially I am grateful > to the generous efforts of A.D. Tejpal who simply would not > give up when presented with a thorny problem that had me beat. > > I would also like to acknowledge all those who volunteered to > be beta testers. Accumulating enough beta tests to prove > that the product worked was the critical last step. Several > hundred were required. But we're finally confident in the > accuracy and effectiveness of the system. > > Once again, I thank you all. > > You can see the site: www.thesleepadvisor.com. > > As usual, any feedback is most welcome especially anyone who > wants to look at the site source and comment on that. > > With very best regards, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Jim.Hale at FleetPride.com Thu Oct 27 14:09:16 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 14:09:16 -0500 Subject: [AccessD] Update query broke Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337958@corp-es01.fleetpride.com> Yea, I always pull linked data first into a mirror image Access table before doing any kind of manipulation. Has saved me many headaches over the years. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 2:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 27, 2005 2:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke Look for spaces in front or behind of Address in the linked file. HTH Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Update query broke I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Oct 27 14:10:56 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 14:10:56 -0500 Subject: [AccessD] Null to empty strings Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337959@corp-es01.fleetpride.com> This worked, thanks. a PIA to write the SQL (the table had mucho fields) but it worked. Jim Hale -----Original Message----- From: John Ruff [mailto:papparuff at comcast.net] Sent: Wednesday, October 26, 2005 6:12 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Null to empty strings Create an update query and in the Update To row of the field to update, use: Iif(isnull(FieldToChange)," ") MAKE SURE YOU MAKE A COPY OF YOUR TABLE FIRST!!! John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 2:45 PM To: 'Accessd (E-mail) Subject: [AccessD] Null to empty strings What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jim.Hale at FleetPride.com Thu Oct 27 14:12:22 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Thu, 27 Oct 2005 14:12:22 -0500 Subject: [AccessD] Null to empty strings Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233795A@corp-es01.fleetpride.com> I lied. I decided this was not a one time event after all so I created a query with iif stmts. Thanks for the help Jim Hale -----Original Message----- From: Joe Hecht [mailto:jmhecht at earthlink.net] Sent: Wednesday, October 26, 2005 6:01 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Null to empty strings Jim, Back up table In an select query Select the field you want to flip 2 times Criteria = "is null" Run query and be sure that's what you want and expect to see. If not play with that until it is what you want. When select returns correct criteria change to update query It will add a line to QBE grid that says change to Change to " " Run query. HTH Joe If it is ok -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Wednesday, October 26, 2005 3:45 PM To: 'Accessd (E-mail) Subject: [AccessD] Null to empty strings What is the easiest way to convert all null values in a table to empty strings? This is a one time conversion. TIA Jim Hale *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at ColbyConsulting.com Thu Oct 27 14:14:10 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 15:14:10 -0400 Subject: [AccessD] Update query broke In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB6772337958@corp-es01.fleetpride.com> Message-ID: <001d01c5db2a$9c3ed500$687aa8c0@ColbyM6805> Yea, I'm about to do that now. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 27, 2005 3:09 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke Yea, I always pull linked data first into a mirror image Access table before doing any kind of manipulation. Has saved me many headaches over the years. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 2:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From cfoust at infostatsystems.com Thu Oct 27 14:29:54 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 27 Oct 2005 12:29:54 -0700 Subject: [AccessD] Update query broke Message-ID: I didn't think it was possible to do that in a linked text file, John, because it doesn't have a primary key. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 27, 2005 12:00 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Thursday, October 27, 2005 2:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Update query broke Look for spaces in front or behind of Address in the linked file. HTH Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Thursday, October 27, 2005 1:14 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Update query broke I am trying to build an update query. I linked a text file, link that to tblMember on SSN, link that to another table tblFamily by PK/FK, pull out a field from the tblFamily and try to update it from data in a field in the linked text file. In the updateto area of the query I place [Address] which is the name of the address field in the linked text file. The query pops up a dialog asking for the value of [Address], as if there is no such address in the linked text file. I have only done this a million times before, but this time it doesn't work. Any suggestions short of random acts of violence? John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From bchacc at san.rr.com Thu Oct 27 14:39:30 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 27 Oct 2005 12:39:30 -0700 Subject: [AccessD] Fw: Access Question: Modal Form Question References: <000001c5db10$49bcb230$2e01a8c0@dorismanning> Message-ID: <085701c5db2e$268d7330$6501a8c0@HAL9004> Thanks. Forwarded. Rocky ----- Original Message ----- From: "Mike & Doris Manning" To: "'Access Developers discussion and problem solving'" Sent: Thursday, October 27, 2005 9:05 AM Subject: Re: [AccessD] Fw: Access Question: Modal Form Question > Your friend doesn't say whether he is using an MDB, MDE or ADP. If it is > an > MDB or an ADP, I would suggest having the code open the form in Design > View > hidden from the user. Make the necessary changes, close it, and then > reopen > it as dialog. > > Doris Manning > mikedorism at verizon.net > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From bchacc at san.rr.com Thu Oct 27 15:29:01 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Thu, 27 Oct 2005 13:29:01 -0700 Subject: [AccessD] Fw: Access Question: Modal Form Question References: <000001c5db10$49bcb230$2e01a8c0@dorismanning> <085701c5db2e$268d7330$6501a8c0@HAL9004> Message-ID: <08db01c5db35$11066ab0$6501a8c0@HAL9004> Thanks to everyone who replied. The moderator's holding my emails because of too many recipients. Guess I can't copy someone on an AccessD email. FYI, my friend went with the global variable solution. Rocky > > ----- Original Message ----- > From: "Mike & Doris Manning" > To: "'Access Developers discussion and problem solving'" > > Sent: Thursday, October 27, 2005 9:05 AM > Subject: Re: [AccessD] Fw: Access Question: Modal Form Question > > >> Your friend doesn't say whether he is using an MDB, MDE or ADP. If it is >> an >> MDB or an ADP, I would suggest having the code open the form in Design >> View >> hidden from the user. Make the necessary changes, close it, and then >> reopen >> it as dialog. >> >> Doris Manning >> mikedorism at verizon.net >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dba.email at gmail.com Thu Oct 27 16:12:03 2005 From: dba.email at gmail.com (Admin Sparky) Date: Thu, 27 Oct 2005 17:12:03 -0400 Subject: [AccessD] Non-updateable Queries Message-ID: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> Group, Please comment on the table structure noted below. I chose this particular scheme because locations are the least likely to change and are forming the cornerstone of an Access-AutoCAD application. My problem concerning data updates is that equipment is most easily identifiable with a person, not a location. But, a non-updateable recordset occurs when these tables are combined in a query. So...what is an acceptable method of approaching this situation? |--tblLocPers---tblPersonnel | |--tblLocPC-----tblPCs tblLocations--| |--tblLocMon----tblMonitors | |--tblLocPrntr--tblPrinters Mark From martyconnelly at shaw.ca Thu Oct 27 16:26:39 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 27 Oct 2005 14:26:39 -0700 Subject: [AccessD] Non-updateable Queries References: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> Message-ID: <4361460F.5050608@shaw.ca> Maybe have a look at this data model for ideas and it's associated business rules. http://www.databaseanswers.org/data_models/inventory_of_servers_in_wyoming/index.htm There are a couple hundred here too. http://www.databaseanswers.org/data_models/index.htm Admin Sparky wrote: > > Group, > Please comment on the table structure noted below. I chose this particular >scheme because locations are the least likely to change and are forming the >cornerstone of an Access-AutoCAD application. My problem concerning data >updates is that equipment is most easily identifiable with a person, not a >location. But, a non-updateable recordset occurs when these tables are >combined in a query. So...what is an acceptable method of approaching this >situation? > |--tblLocPers---tblPersonnel > | > |--tblLocPC-----tblPCs >tblLocations--| > |--tblLocMon----tblMonitors > | > |--tblLocPrntr--tblPrinters > Mark > > -- Marty Connelly Victoria, B.C. Canada From dba.email at gmail.com Thu Oct 27 16:39:08 2005 From: dba.email at gmail.com (Admin Sparky) Date: Thu, 27 Oct 2005 17:39:08 -0400 Subject: [AccessD] Non-updateable Queries In-Reply-To: <4361460F.5050608@shaw.ca> References: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> <4361460F.5050608@shaw.ca> Message-ID: <5f2de2420510271439s6ded818p47b228311502d518@mail.gmail.com> Based on what I saw, it appears there is nothing inherently wrong with how I've normalized the data. However, my question seems to be...now that I have this data so nicely normalized, how can I query it in a meaningful way so as to be able to update the data? Ideally, the data entry person would like to see a list of people along with their equipment and location, then be able to change any portion of the information as reassignments occur. Mark On 10/27/05, MartyConnelly wrote: > > Maybe have a look at this data model for ideas and it's associated > business rules. > > http://www.databaseanswers.org/data_models/inventory_of_servers_in_wyoming/index.htm > > There are a couple hundred here too. > http://www.databaseanswers.org/data_models/index.htm > > Admin Sparky wrote: > > > > > Group, > > Please comment on the table structure noted below. I chose this > particular > >scheme because locations are the least likely to change and are forming > the > >cornerstone of an Access-AutoCAD application. My problem concerning data > >updates is that equipment is most easily identifiable with a person, not > a > >location. But, a non-updateable recordset occurs when these tables are > >combined in a query. So...what is an acceptable method of approaching > this > >situation? > > |--tblLocPers---tblPersonnel > > | > > |--tblLocPC-----tblPCs > >tblLocations--| > > |--tblLocMon----tblMonitors > > | > > |--tblLocPrntr--tblPrinters > > Mark > > > > > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From carbonnb at gmail.com Thu Oct 27 17:19:28 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Thu, 27 Oct 2005 18:19:28 -0400 Subject: [AccessD] Fw: Access Question: Modal Form Question In-Reply-To: <08db01c5db35$11066ab0$6501a8c0@HAL9004> References: <000001c5db10$49bcb230$2e01a8c0@dorismanning> <085701c5db2e$268d7330$6501a8c0@HAL9004> <08db01c5db35$11066ab0$6501a8c0@HAL9004> Message-ID: On 27/10/05, Rocky Smolin - Beach Access Software wrote: > Thanks to everyone who replied. The moderator's holding my emails because > of too many recipients. Guess I can't copy someone on an AccessD email. The moderator's aren't holding the post Rocky. The software does that automatically based on certain criteria. I will look into why it was held. -- 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 Thu Oct 27 17:31:11 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 15:31:11 -0700 Subject: [AccessD] VSS misbehaving In-Reply-To: <855499653F55AD4190B242717DF132BC10BAA9@dewey.Symphony.local> Message-ID: <006d01c5db46$22840c00$017ba8c0@xpserver> Hi Steve: I was working with SourceSafe on a computer in which .Net had been recently installed and similar problems started to happen. Subsequently, I attempted to install TeamServer services, the heir apparent piece of MS software. That failed as there were a number of other configurations that would have been necessary to accomplish the task. (It would have required that one of the main Servers would have to be re-installed and that was not going to happen as it had taken three weeks to initially get a completely clean-boot.) We finally went with an open source Linux product called Subversion and all the projects are now backed up through that method. It is not perfect especially if you simultaneously try to working on the same piece of code but with care it is a very cheap substitute. My two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Capistrant Sent: Thursday, October 27, 2005 8:10 AM To: Access Developers discussion and problem solving Subject: [AccessD] VSS misbehaving We're having a growing number of problems using Visual Source Safe. Used with Access over the years, it presents occasional problems, not terrible. But our problems have amplified since applying it to .NET projects. 1. When one user creates a new object and checks it in, other users can't see it (after attempting to Get Latest Version). Yet the object is clearly seen in the Source Safe project itself. 2. Adding or deleting an object to a VB.NET project seems to require that the person have the entire project checked out to them (unlike the way it works in Access). Has anyone else encountered these things? If so, are there solutions? Or...if these are just known VSS hassles, do you have any suggestions about other source control solutions that work well with .NET? Thank you! Steve Capistrant scapistrant at symphonyinfo.com Symphony Information Services 7308 Aspen Lane North, Suite 132 Brooklyn Park, MN 55428 763-391-7400 www.symphonyinfo.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Thu Oct 27 18:02:51 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Thu, 27 Oct 2005 16:02:51 -0700 Subject: [AccessD] OT: Google Maps API In-Reply-To: <43611E99.4020408@shaw.ca> Message-ID: <006e01c5db4a$8e8c4f30$017ba8c0@xpserver> That is absolutely amazing Marty. Where did you come up with that gem as I had been scouting around and nothing similar was uncovered? This will definitely come in useful. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly Sent: Thursday, October 27, 2005 11:38 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Google Maps API Here is how to use Access SmartTags to get at Google Maps. You don't need an API key, You will have to experiment with what you put in the Text Field, to get the correct map Here is a simple method for using Access Smart Tags to display either Google maps or weather given a zip code. if you need it for certain european areas just add or pop the (Text } address field comma seperated via a http post web service it takes two minutes to add this to an Access Mdb Turnoff MS Word Access or Outlook, that may have the smatrtag engine open Make sure that all Microsoft Office XP or Office 2003 applications are closed. Cut and Paste these two xml files below with NotePad into indicated paths and save as UTF-8 format not ANSI. Now in Access Select the Tools -> Options... menu to open the Options dialog window. Select the "Forms/Reports" tab, then ensure that the "Show Smart Tags on Forms" check box on the bottom left of the window is checked. Select the "Datasheet" tab, then ensure that the "Show Smart Tags on Datasheets" check box on the bottom right of the window is checked. Select the "OK" button to save your changes. Choose Tools: AutoCorrect Options. These also may have certain smarttag options Now on your form in design view select the zip code fileld and embed the smarttag by right clicking on the smarttag field property to build it, the wizard comes up and places the following type of urn in the property "urn:schemas-microsoft-com:smarttags:list" The wizard looks at the dll's and xml files in C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\ Hover your mouse pointer over the form zip code field, click the Smart Tag Actions button, and then click Weather by ZIP code. or google map, An IE window will now open with your google map. To link the Customer Name field to the Smart Tag, follow these steps: # Open the client database table in Design View. # Select the Customer Name field row. # Click the Builder button next to the Smart Tags field property in the field properties window. # Click the People check box and click OK. Now, when the customer service representative uses the form to look up a client, a Smart Tag icon will appear next to the client's name. By clicking on the Smart Tag's icon drop-down box, the representative can add the client to his/her Outlook contacts, send the client an e-mail, or schedule a meeting with the client. http://techrepublic.com.com/5100-10877_11-5875431.html?tag=sc Cut and Paste these two xml files below with NotePad into indicated paths and save as UTF-8 format not ANSI. C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\GoogleMap.xml Local Map Your local map report on Google http://msdn.microsoft.com/office Local Map on Google 98052,02134 Map by ZIP code http://maps.google.com/maps?q={TEXT} C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\weather.xml Local Weather Your local weather report on MSNBC. http://msdn.microsoft.com/office Local Weather on MSNBC 98052,02134 Weather by ZIP code http://www.msnbc.com/news/wea_front.asp?ta=y& tab=BW&tp=&czstr={TEXT} Jim Lawrence wrote: >OT: > >Google has posted a full API description, with samples, of its Google maps >API. (http://www.google.com/apis/maps/documentation ) The only thing you as >a user would have to do would be register for an API key. Note that the >position within your web site location is very important and can not be >moved, once set, hence the use of an iframe to deploy it. See the following >detail posted by a disgruntled developer: > > >The most frustrating development with the Google Maps API is that each >developer key is limited to a certain hostname and directory. It's sensitive >to things like "www.maisonbisson.com" instead of "maisonbisson.com" or >"maisonbisson.com/blog/post/10594" instead of "maisonbisson.com/blog/" . >That's why this is loading in an iframe. > > >Hope someone will find it useful and be able to add it to their web site or >Access application. > >Jim > > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Thu Oct 27 18:31:53 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 27 Oct 2005 16:31:53 -0700 Subject: [AccessD] Non-updateable Queries References: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> <4361460F.5050608@shaw.ca> <5f2de2420510271439s6ded818p47b228311502d518@mail.gmail.com> Message-ID: <43616369.4010808@shaw.ca> It could be many things so here is a checklist How to troubleshoot errors that may occur when you update data in Access queries and in Access forms http://support.microsoft.com/default.aspx?scid=kb;en-us;328828 Also Have a look at the sample mdb's here especially update and query ones http://www.rogersaccesslibrary.com/TableOfContents3.asp Some other things Basically, the query is non-updateable if there are many-to-many or many-to-one relationships represented in the output. Access (actually SQL in general) can't do updates in that case because it means that it would be trying to update multiple rows in one or more of the underlying tables for each of the individual rows that you are trying to update in your form. If your SQL includes some functions that modify the data that's in one or more of the tables (e.g., the Left$'s) that too would make the resulting recordset non-updateable since there's no way for Access (or SQL) to accept changes to a field that is the result of a function. To be updateable, all output from the query(ies) must be the original fields without modification, calculation, concatenation, etc. Trying to do a 1-to-many-to-1 join in the query, this produces unique records, but access seems to dislike this approach and makes the recordset non updateable. Admin Sparky wrote: >Based on what I saw, it appears there is nothing inherently wrong with how >I've normalized the data. However, my question seems to be...now that I have >this data so nicely normalized, how can I query it in a meaningful way so as >to be able to update the data? Ideally, the data entry person would like to >see a list of people along with their equipment and location, then be able >to change any portion of the information as reassignments occur. > Mark > > > On 10/27/05, MartyConnelly wrote: > > >>Maybe have a look at this data model for ideas and it's associated >>business rules. >> >>http://www.databaseanswers.org/data_models/inventory_of_servers_in_wyoming/index.htm >> >>There are a couple hundred here too. >>http://www.databaseanswers.org/data_models/index.htm >> >>Admin Sparky wrote: >> >> >> >>> >>>Group, >>>Please comment on the table structure noted below. I chose this >>> >>> >>particular >> >> >>>scheme because locations are the least likely to change and are forming >>> >>> >>the >> >> >>>cornerstone of an Access-AutoCAD application. My problem concerning data >>>updates is that equipment is most easily identifiable with a person, not >>> >>> >>a >> >> >>>location. But, a non-updateable recordset occurs when these tables are >>>combined in a query. So...what is an acceptable method of approaching >>> >>> >>this >> >> >>>situation? >>>|--tblLocPers---tblPersonnel >>>| >>>|--tblLocPC-----tblPCs >>>tblLocations--| >>>|--tblLocMon----tblMonitors >>>| >>>|--tblLocPrntr--tblPrinters >>>Mark >>> >>> >>> >>> >>- >> -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Thu Oct 27 18:54:59 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Thu, 27 Oct 2005 16:54:59 -0700 Subject: [AccessD] OT: Google Maps API References: <006e01c5db4a$8e8c4f30$017ba8c0@xpserver> Message-ID: <436168D3.1080502@shaw.ca> I got the basic idea for Google from the TechRepublic article, knowing basic xml it was easy to modify. It may not get you as accurate location as buying into something like MapBlast that might charge 3 cents a map. but it is free, I don't know how long google will allow this method though. I think you could get this to work with xmlhttp and an IE popup window But both methods are more like screen scraping then a true webservice. I wouldn't consider it truely stable Jim Lawrence wrote: >That is absolutely amazing Marty. > >Where did you come up with that gem as I had been scouting around and >nothing similar was uncovered? > >This will definitely come in useful. >Jim > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of MartyConnelly >Sent: Thursday, October 27, 2005 11:38 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] OT: Google Maps API > >Here is how to use Access SmartTags to get at Google Maps. > >You don't need an API key, You will have to experiment with what you >put in the Text Field, to get the correct map > >Here is a simple method for using Access Smart Tags to display either >Google maps or weather given a zip code. > >if you need it for certain european areas just add or pop the (Text } >address field comma seperated >via a http post web service it takes two minutes to add this to an >Access Mdb > >Turnoff MS Word Access or Outlook, that may have the smatrtag engine open >Make sure that all Microsoft Office XP or Office 2003 applications are >closed. > >Cut and Paste these two xml files below with NotePad into indicated >paths and save as UTF-8 format not ANSI. > >Now in Access >Select the Tools -> Options... menu to open the Options dialog window. >Select the "Forms/Reports" tab, then ensure that the "Show Smart Tags on >Forms" check box on the bottom left of the window is checked. Select the >"Datasheet" tab, then ensure that the "Show Smart Tags on Datasheets" check >box on the bottom right of the window is checked. > >Select the "OK" button to save your changes. > >Choose Tools: AutoCorrect Options. These also may have certain smarttag >options > >Now on your form in design view select the zip code fileld and embed the >smarttag by right clicking on the smarttag field property >to build it, the wizard comes up and places the following type of urn in >the property "urn:schemas-microsoft-com:smarttags:list" >The wizard looks at the dll's and xml files in C:\Program Files\Common >Files\Microsoft Shared\Smart Tag\LISTS\ > > >Hover your mouse pointer over the form zip code field, click the Smart >Tag Actions button, and then click Weather by ZIP code. >or google map, An IE window will now open with your google map. > >To link the Customer Name field to the Smart Tag, follow these steps: > > # Open the client database table in Design View. > # Select the Customer Name field row. > # Click the Builder button next to the Smart Tags field property in >the field properties window. > # Click the People check box and click OK. > >Now, when the customer service representative uses the form to look up a >client, a Smart Tag icon will appear next to the client's name. By >clicking on the Smart Tag's icon drop-down box, the representative can >add the client to his/her Outlook contacts, send the client an e-mail, >or schedule a meeting with the client. >http://techrepublic.com.com/5100-10877_11-5875431.html?tag=sc > > >Cut and Paste these two xml files below with NotePad into indicated >paths and save as UTF-8 format not ANSI. > >C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\GoogleMap.xml > > > Local Map > Your local map report on Google > http://msdn.microsoft.com/office > > Local Map on Google > > 98052,02134 > > > > Map by ZIP code > http://maps.google.com/maps?q={TEXT} > > > > > >C:\Program Files\Common Files\Microsoft Shared\Smart Tag\LISTS\weather.xml > > > Local Weather > Your local weather report on MSNBC. > http://msdn.microsoft.com/office > > Local Weather on MSNBC > > 98052,02134 > > > > Weather by ZIP code > >http://www.msnbc.com/news/wea_front.asp?ta=y& > tab=BW&tp=&czstr={TEXT} > > > > > > >Jim Lawrence wrote: > > > >>OT: >> >>Google has posted a full API description, with samples, of its Google maps >>API. (http://www.google.com/apis/maps/documentation ) The only thing you as >>a user would have to do would be register for an API key. Note that the >>position within your web site location is very important and can not be >>moved, once set, hence the use of an iframe to deploy it. See the following >>detail posted by a disgruntled developer: >> >> >>The most frustrating development with the Google Maps API is that each >>developer key is limited to a certain hostname and directory. It's >> >> >sensitive > > >>to things like "www.maisonbisson.com" instead of "maisonbisson.com" or >>"maisonbisson.com/blog/post/10594" instead of "maisonbisson.com/blog/" . >>That's why this is loading in an iframe. >> >> >>Hope someone will find it useful and be able to add it to their web site or >>Access application. >> >>Jim >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From jwcolby at ColbyConsulting.com Thu Oct 27 22:54:23 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Thu, 27 Oct 2005 23:54:23 -0400 Subject: [AccessD] Is anyone migrating data? Message-ID: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From shamil at users.mns.ru Fri Oct 28 04:18:35 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 28 Oct 2005 13:18:35 +0400 Subject: [AccessD] Is anyone migrating data? References: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: <003a01c5dba0$b2615260$6401a8c0@fincomplex.spb.ru> > In the end I will have a little program that pulls each record and applies > the queries in the order they are in the table, such that the process is > "push button" (with luck) and the client can do it themselves. John, I did do it like that - table driven data import and transformation - many times - one example: - importing data into MS Access 2.0/97 database from text files exported from mainframe. The source data were rather "dirty". The whole process of import worked sometimes more than an hour - there were around 300+ data transformation queries, quite some tricky code, sometimes hundreds of thousands source rows to import of AFAIKR 50+ or more source record types etc. It worked OK, without any problems on MS Access 97. So I guess for you if you use MS Access XP or 2003 it should work even better and quicker. Do you expect any tough tasks to solve or ...? Shamil ----- Original Message ----- From: "John Colby" To: "'Access Developers discussion and problem solving'" Sent: Friday, October 28, 2005 7:54 AM Subject: [AccessD] Is anyone migrating data? > I am right in the middle of a data migration job. I am building a simple > two table (so far) tool to assist me in organizing the data migration. This > will be a recurring migration, fairly complex. The client hired people to > build the system and get the data migrated once but that developer did not > document the process, nor save the queries etc. Thus I am having to learn > the whole process from scratch using the "sit with the client and ask > questions" method. They want it documented this time naturally. > > I have migrated many different databases over the years but mostly the > migrations were "one-shot" migrations designed to get the data from > denormalized tables in to a new system I was building to replace the old > system. In this case, the old system will stay (mostly) with the same data > having to be imported every month, or quarter - something like that. > > The tool is pretty simple, just a form to list the table names, in the order > the tables need to be migrated, and some attributes to describe what that > step is doing, then a child table to hold the query / SQL statement / code > to run to migrate the data into that table. Anyone who has done this stuff > knows that the process is usually order sensitive in terms of which tables > get migrated when, and also the order that the queries are run for any given > table. My objective is just to document the table / order / requirement / > data source, plus the queries / order used for each table, with comments. > In the end I will have a little program that pulls each record and applies > the queries in the order they are in the table, such that the process is > "push button" (with luck) and the client can do it themselves. > Documentation will be in the comments in the table and can be pulled into a > report. > > If anyone else is doing this kind of stuff and wishes to collaborate with > me, contact me offline. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dba.email at gmail.com Fri Oct 28 07:30:01 2005 From: dba.email at gmail.com (Admin Sparky) Date: Fri, 28 Oct 2005 08:30:01 -0400 Subject: [AccessD] Non-updateable Queries In-Reply-To: <43616369.4010808@shaw.ca> References: <5f2de2420510271412m1a89ff3cw511014fbc844369b@mail.gmail.com> <4361460F.5050608@shaw.ca> <5f2de2420510271439s6ded818p47b228311502d518@mail.gmail.com> <43616369.4010808@shaw.ca> Message-ID: <5f2de2420510280530q736dd8b7qc117891bb0e24b61@mail.gmail.com> Perhaps my skills at "Asking the right question" have diminished over the years;) I really appreciate your feedback Marty, however my question must have been worded poorly. I understand what a non-updatebale query is, and the causes. What I was hoping for, was an idea on how others have approached this type of situation in trying to make life easier for the data entry person. What I was envisioning was a single form that contained one area dedicated to showing the data from the combined non-updatebale query, and several other areas (subforms or separate pop-up forms?) where updates "can" be made to the data...with each update refreshing the "main" (non-updatebale) view. Mark On 10/27/05, MartyConnelly wrote: > > It could be many things so here is a checklist > > How to troubleshoot errors that may occur when you update data in Access > queries and in Access forms > > http://support.microsoft.com/default.aspx?scid=kb;en-us;328828 > > Also Have a look at the sample mdb's here especially update and query ones > > http://www.rogersaccesslibrary.com/TableOfContents3.asp > > Some other things > > Basically, the query is non-updateable if there are many-to-many or > many-to-one relationships represented in the output. Access (actually SQL > in general) can't do updates in that case because it means that it would > be > trying to update multiple rows in one or more of the underlying tables for > each of the individual rows that you are trying to update in your form. > > If your SQL includes some functions that modify the > data that's in one or more of the tables (e.g., the Left$'s) > that too would make the resulting recordset non-updateable since there's > no > way for Access (or SQL) to accept changes to a field that is the result > of a > function. > > To be updateable, all output from the query(ies) must be the original > fields > without modification, calculation, concatenation, etc. > > Trying to do a 1-to-many-to-1 join in the query, this produces unique > records, but > access seems to dislike this approach and makes the recordset non > updateable. > > Admin Sparky wrote: > > >Based on what I saw, it appears there is nothing inherently wrong with > how > >I've normalized the data. However, my question seems to be...now that I > have > >this data so nicely normalized, how can I query it in a meaningful way so > as > >to be able to update the data? Ideally, the data entry person would like > to > >see a list of people along with their equipment and location, then be > able > >to change any portion of the information as reassignments occur. > > Mark > > > > > > On 10/27/05, MartyConnelly wrote: > > > > > >>Maybe have a look at this data model for ideas and it's associated > >>business rules. > >> > >> > http://www.databaseanswers.org/data_models/inventory_of_servers_in_wyoming/index.htm > >> > >>There are a couple hundred here too. > >>http://www.databaseanswers.org/data_models/index.htm > >> > >>Admin Sparky wrote: > >> > >> > >> > >>> > >>>Group, > >>>Please comment on the table structure noted below. I chose this > >>> > >>> > >>particular > >> > >> > >>>scheme because locations are the least likely to change and are forming > >>> > >>> > >>the > >> > >> > >>>cornerstone of an Access-AutoCAD application. My problem concerning > data > >>>updates is that equipment is most easily identifiable with a person, > not > >>> > >>> > >>a > >> > >> > >>>location. But, a non-updateable recordset occurs when these tables are > >>>combined in a query. So...what is an acceptable method of approaching > >>> > >>> > >>this > >> > >> > >>>situation? > >>>|--tblLocPers---tblPersonnel > >>>| > >>>|--tblLocPC-----tblPCs > >>>tblLocations--| > >>>|--tblLocMon----tblMonitors > >>>| > >>>|--tblLocPrntr--tblPrinters > >>>Mark > >>> > >>> > >>> > >>> > >>- > >> > > -- > Marty Connelly > Victoria, B.C. > Canada > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From accessd at shaw.ca Fri Oct 28 07:32:38 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 28 Oct 2005 05:32:38 -0700 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: <009801c5dbbb$aee61a10$017ba8c0@xpserver> Hi John: You seem to have to process well in hand so I doubt if there is anything that I could help you with. (Data migration has always been my strong suit.) Traditionally, I am leery of having clients managing data importing as it can lead to a lot of extra work; maybe not a bad thing, from the developers perspective but some clients take it very personally, when errors are brought to their attention and costs are spiraling up. Cleaning up dirty data can be very time consuming. Here are my ten commandments, steps for data importing and I invite any comments for improvement. 1. Clean up the basic dirty data at the legacy database end. This type of data is mostly blank or unfinished records. Most of that work can and should be done by the client. This would be a good spot for your routines. 2. Pull all the raw data into tables in the destination database in the same table layout as the source structure. This will require a set of basic import queries or DTS routines. Save these import queries for later. 3. With the clients help, create the definitive table and relational structure of the new database; the schema. 4. Build a set of Queries that will create and remove the KEYS and Relationships. Separate the Create and Remove queries into two groups and save for later. 5. Build the queries that will extract the data from the raw tables and manipulate the data into it final structures. Start with just SELECT queries. Watch for duplications where there should not be any like 'two customers with the same id'. These issues may have to be handled at the legacy data end as the client has to be made aware. 6. Populate the root tables first; i.e. Inventory table as their new keys will be used to generate the complex and compound table; i.e. Invoice table. 7. Some custom tables may have to be created at this point that will hold new unique data that will be used in conjunction with the import routines; i.e. accounting or ledger codes. 8. When the SELECT statements are finally manipulating the raw data into the correct form it is time to replace the SELECT statement with the INSERT statement or add the INSERT statement. Be sure to remove all the KEYS and RELATIONSHIPS before testing the data importing as it can slow things dramatically. 9. When the raw data imports cleanly, the queries that created the keys and relationships can be used. Steps 4 to 7 may have to be repeated a few times until the results are clean. 10. Now it is time to create the master import form or procedure. When run the following process will take place: a.) All tables will be cleared, keys and relationships removed. b.) The raw import queries will be ran populating the raw tables. c.) The queries that import the data from the raw to the destination tables will be run, in order, from simple tables (ones with one key) to the complex tables (ones with multiple indexes or foreign keys). d.) The queries that will add the keys and relationships will then be run. When this process can run with just one button the job is complete. Time to go and create all the forms and reports. This is my two cents worth. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Thursday, October 27, 2005 8:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Oct 28 08:29:54 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 15:29:54 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav From Jdemarco at hudsonhealthplan.org Fri Oct 28 08:41:34 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 09:41:34 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FEA@TTNEXCHCL2.hshhp.com> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From jimdettman at earthlink.net Fri Oct 28 09:03:15 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 28 Oct 2005 14:03:15 -0000 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jimdettman at earthlink.net Fri Oct 28 09:04:01 2005 From: jimdettman at earthlink.net (Jim Dettman) Date: Fri, 28 Oct 2005 14:04:01 -0000 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: If you have SQL Server, don't discount using DTS either. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Oct 28 09:11:52 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:11:52 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: Message-ID: <003f01c5dbc9$8b7e5930$687aa8c0@ColbyM6805> I do, but they don't. This needs to be in Access so that they can move it around at will. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman Sent: Monday, September 26, 2005 9:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? If you have SQL Server, don't discount using DTS either. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 28 09:19:33 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 28 Oct 2005 09:19:33 -0500 Subject: [AccessD] Is anyone migrating data? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB677233795E@corp-es01.fleetpride.com> Monarch is great for extracting data from reports. It has an object model that allows you to automate data extraction from inside Access. I do things like download bank stmts from the internet and parse them into Access tables. Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 26, 2005 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From jwcolby at ColbyConsulting.com Fri Oct 28 09:28:45 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:28:45 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <6A6AA9DF57E4F046BDA1E273BDDB677233795E@corp-es01.fleetpride.com> Message-ID: <009101c5dbcb$ea853690$687aa8c0@ColbyM6805> My client - DIS - uses monarch. It is really cool, nay amazing, and a PITA at the same time. I have not been allowed at the keyboard so I can't say exactly, but we were just unable to get some things to work the way we needed, so the process is "do this in monarch", now go do this in Access. And of course they are unwilling to buy the programming interface that would allow me to drive it from Access. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, October 28, 2005 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? Monarch is great for extracting data from reports. It has an object model that allows you to automate data extraction from inside Access. I do things like download bank stmts from the internet and parse them into Access tables. Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 26, 2005 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby Sent: Thursday, October 27, 2005 11:54 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Is anyone migrating data? I am right in the middle of a data migration job. I am building a simple two table (so far) tool to assist me in organizing the data migration. This will be a recurring migration, fairly complex. The client hired people to build the system and get the data migrated once but that developer did not document the process, nor save the queries etc. Thus I am having to learn the whole process from scratch using the "sit with the client and ask questions" method. They want it documented this time naturally. I have migrated many different databases over the years but mostly the migrations were "one-shot" migrations designed to get the data from denormalized tables in to a new system I was building to replace the old system. In this case, the old system will stay (mostly) with the same data having to be imported every month, or quarter - something like that. The tool is pretty simple, just a form to list the table names, in the order the tables need to be migrated, and some attributes to describe what that step is doing, then a child table to hold the query / SQL statement / code to run to migrate the data into that table. Anyone who has done this stuff knows that the process is usually order sensitive in terms of which tables get migrated when, and also the order that the queries are run for any given table. My objective is just to document the table / order / requirement / data source, plus the queries / order used for each table, with comments. In the end I will have a little program that pulls each record and applies the queries in the order they are in the table, such that the process is "push button" (with luck) and the client can do it themselves. Documentation will be in the comments in the table and can be pulled into a report. If anyone else is doing this kind of stuff and wishes to collaborate with me, contact me offline. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Fri Oct 28 09:35:27 2005 From: john at winhaven.net (John Bartow) Date: Fri, 28 Oct 2005 09:35:27 -0500 Subject: [AccessD] Is anyone migrating data? In-Reply-To: Message-ID: <00ef01c5dbcc$d77ecd30$6b01a8c0@ScuzzPaq> Ditto -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Dettman I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. From john at winhaven.net Fri Oct 28 09:35:27 2005 From: john at winhaven.net (John Bartow) Date: Fri, 28 Oct 2005 09:35:27 -0500 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <002e01c5db73$4d4337e0$687aa8c0@ColbyM6805> Message-ID: <00f001c5dbcc$d806c1e0$6b01a8c0@ScuzzPaq> Did a project (as a sub-contractor) like that a few years ago - Access 97 and Oracle. Must have done it very well because when I ask the main contractor about it they say "still using it, they love it." The whole time I'm writing it I'm thinking "why don't they just keep all the data in Oracle all the time and use an Access front end for what this particular department wants to do?" I guess sometimes the politics of IT control are more important than efficiency. BTW this client had a larger budget than any other client I have ever worked for. They could have afforded to do it more sensibly. John B. From Gustav at cactus.dk Fri Oct 28 09:42:01 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 16:42:01 +0200 Subject: [AccessD] Update query broke Message-ID: Hi John Without your SQL I guess you have some joins. Replace these with .. IN ( .. ) or .. NOT IN ( .. ) constructs. For very large tables that may too slow. If so, create a temp table with the selected output, then use this to update the other tables. /gustav >>> jwcolby at ColbyConsulting.com 27-10-2005 20:59:48 >>> That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby From word_diva at hotmail.com Fri Oct 28 09:44:26 2005 From: word_diva at hotmail.com (Nancy Lytle) Date: Fri, 28 Oct 2005 10:44:26 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <009101c5dbcb$ea853690$687aa8c0@ColbyM6805> Message-ID: I have used Monarch in the past also, and you said it so well, its a real "Wonder", sometimes it is so cool I wonder how it works, and other times I couldn't figure out how to get it to do what I wanted, and I wondered how the h*ll it worked! Almost all the migration I have done has involved cleaning old data outside of Access (usually in Excel, as that is where most of the migration is coming from), linking or importing the old data into a database with the structure already in place, that part is usually phase one and is on one side of a form, with one button to push, that runs all the importing, then another button to run all the queries that manipulate the data and append it to the "new" structure tables, already set up to run in the needed order. The users I have dealt with prefer not to know (I do however document everything for them with a list of the order in which everything is run) but to just push a button or two and have everything done. Nancy Lytle N_Lytle at terpalum.umd.edu >From: John Colby >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Is anyone migrating data? >Date: Fri, 28 Oct 2005 10:28:45 -0400 > >My client - DIS - uses monarch. It is really cool, nay amazing, and a PITA >at the same time. I have not been allowed at the keyboard so I can't say >exactly, but we were just unable to get some things to work the way we >needed, so the process is "do this in monarch", now go do this in Access. >And of course they are unwilling to buy the programming interface that >would >allow me to drive it from Access. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Friday, October 28, 2005 10:20 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Is anyone migrating data? > > >Monarch is great for extracting data from reports. It has an object model >that allows you to automate data extraction from inside Access. I do things >like download bank stmts from the internet and parse them into Access >tables. Jim Hale > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Monday, September 26, 2005 8:59 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Is anyone migrating data? > > > > I've used Data Junction for years to do all my migration stuff. >Especially >for some of the stranger database formats. Good product. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby >Sent: Thursday, October 27, 2005 11:54 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Is anyone migrating data? > > >I am right in the middle of a data migration job. I am building a simple >two table (so far) tool to assist me in organizing the data migration. >This >will be a recurring migration, fairly complex. The client hired people to >build the system and get the data migrated once but that developer did not >document the process, nor save the queries etc. Thus I am having to learn >the whole process from scratch using the "sit with the client and ask >questions" method. They want it documented this time naturally. > >I have migrated many different databases over the years but mostly the >migrations were "one-shot" migrations designed to get the data from >denormalized tables in to a new system I was building to replace the old >system. In this case, the old system will stay (mostly) with the same data >having to be imported every month, or quarter - something like that. > >The tool is pretty simple, just a form to list the table names, in the >order >the tables need to be migrated, and some attributes to describe what that >step is doing, then a child table to hold the query / SQL statement / code >to run to migrate the data into that table. Anyone who has done this stuff >knows that the process is usually order sensitive in terms of which tables >get migrated when, and also the order that the queries are run for any >given >table. My objective is just to document the table / order / requirement / >data source, plus the queries / order used for each table, with comments. >In >the end I will have a little program that pulls each record and applies the >queries in the order they are in the table, such that the process is "push >button" (with luck) and the client can do it themselves. Documentation will >be in the comments in the table and can be pulled into a report. > >If anyone else is doing this kind of stuff and wishes to collaborate with >me, contact me offline. > >*********************************************************************** >The information transmitted is intended solely for the individual or entity >to which it is addressed and may contain confidential and/or privileged >material. Any review, retransmission, dissemination or other use of or >taking action in reliance upon this information by persons or entities >other >than the intended recipient is prohibited. If you have received this email >in error please contact the sender and delete the material from any >computer. As a recipient of this email, you are responsible for screening >its contents and the contents of any attachments for the presence of >viruses. No liability is accepted for any damages caused by any virus >transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From jim.moss at jlmoss.net Fri Oct 28 09:44:05 2005 From: jim.moss at jlmoss.net (Jim Moss) Date: Fri, 28 Oct 2005 09:44:05 -0500 (CDT) Subject: [AccessD] Is anyone migrating data? In-Reply-To: <009101c5dbcb$ea853690$687aa8c0@ColbyM6805> References: <6A6AA9DF57E4F046BDA1E273BDDB677233795E@corp-es01.fleetpride.com> <009101c5dbcb$ea853690$687aa8c0@ColbyM6805> Message-ID: <56166.65.196.182.34.1130510645.squirrel@65.196.182.34> John, What version of Monarch are they using? I am doing automation in v6 standard that requires the pro edition in v8. My client is adding a lot of users so I'm converting my projects, etc to v8 because that's what they can buy. If you need any examples let me know. Jim > My client - DIS - uses monarch. It is really cool, nay amazing, and a > PITA > at the same time. I have not been allowed at the keyboard so I can't say > exactly, but we were just unable to get some things to work the way we > needed, so the process is "do this in monarch", now go do this in Access. > And of course they are unwilling to buy the programming interface that > would > allow me to drive it from Access. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Friday, October 28, 2005 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Is anyone migrating data? > > > Monarch is great for extracting data from reports. It has an object model > that allows you to automate data extraction from inside Access. I do > things > like download bank stmts from the internet and parse them into Access > tables. Jim Hale > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at earthlink.net] > Sent: Monday, September 26, 2005 8:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Is anyone migrating data? > > > > I've used Data Junction for years to do all my migration stuff. > Especially > for some of the stranger database formats. Good product. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Thursday, October 27, 2005 11:54 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Is anyone migrating data? > > > I am right in the middle of a data migration job. I am building a simple > two table (so far) tool to assist me in organizing the data migration. > This > will be a recurring migration, fairly complex. The client hired people to > build the system and get the data migrated once but that developer did not > document the process, nor save the queries etc. Thus I am having to learn > the whole process from scratch using the "sit with the client and ask > questions" method. They want it documented this time naturally. > > I have migrated many different databases over the years but mostly the > migrations were "one-shot" migrations designed to get the data from > denormalized tables in to a new system I was building to replace the old > system. In this case, the old system will stay (mostly) with the same > data > having to be imported every month, or quarter - something like that. > > The tool is pretty simple, just a form to list the table names, in the > order > the tables need to be migrated, and some attributes to describe what that > step is doing, then a child table to hold the query / SQL statement / code > to run to migrate the data into that table. Anyone who has done this > stuff > knows that the process is usually order sensitive in terms of which tables > get migrated when, and also the order that the queries are run for any > given > table. My objective is just to document the table / order / requirement / > data source, plus the queries / order used for each table, with comments. > In > the end I will have a little program that pulls each record and applies > the > queries in the order they are in the table, such that the process is "push > button" (with luck) and the client can do it themselves. Documentation > will > be in the comments in the table and can be pulled into a report. > > If anyone else is doing this kind of stuff and wishes to collaborate with > me, contact me offline. > > *********************************************************************** > The information transmitted is intended solely for the individual or > entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities > other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Oct 28 09:49:32 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 16:49:32 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav From jwcolby at ColbyConsulting.com Fri Oct 28 09:50:44 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:50:44 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <00f001c5dbcc$d806c1e0$6b01a8c0@ScuzzPaq> Message-ID: <009701c5dbce$f9532990$687aa8c0@ColbyM6805> This client analyzes parts repair for the US Navy, specifically pieces of aircrafts for three repair depots. They get a large (denormalized) table from the Navy with each part, information about the part, the repair depot, costs to repair, repair cycle times, order cycle times, how many are on order and quantities in the order or repair process etc. - all in one table. Their task is to analyze the whole process, determine which are being repaired but aren't needed because they have plenty on hand, which they shouldn't even be ordering because they have plenty on hand, which they SHOULD be ordering / repairing etc. This application is already written, but the person who migrated the data the first time did not document or save the process. Now they need to load up new (recent) data and don't know how. This firm is a consulting firm, who just takes the data, massages it to get it into a form they can deal with, then analyzes it and sends reports to someone in the NAVY. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Bartow Sent: Friday, October 28, 2005 10:35 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? Did a project (as a sub-contractor) like that a few years ago - Access 97 and Oracle. Must have done it very well because when I ask the main contractor about it they say "still using it, they love it." The whole time I'm writing it I'm thinking "why don't they just keep all the data in Oracle all the time and use an Access front end for what this particular department wants to do?" I guess sometimes the politics of IT control are more important than efficiency. BTW this client had a larger budget than any other client I have ever worked for. They could have afforded to do it more sensibly. John B. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Fri Oct 28 09:57:09 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:57:09 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: Message-ID: <009a01c5dbcf$df178160$687aa8c0@ColbyM6805> >The users I have dealt with prefer not to know (I do however document everything for them with a list of the order in which everything is run) but to just push a button or two and have everything done. Yea, these guys don't want to know either. However they DO want it documented. They got burned the first time when the developer got their data in but didn't document how, nor save the queries / sequence. I think to be fair, they were in a hurry the first time and it was kind of a "test case" to demo that they could do it. Thus now they have proved that they can and need to set up the processes to make it repeatable. So now they are paying to have data migrated again. Further they will need to have it done on a periodic basis, so it definitely has to be "push button". An additional requirement seems to be that the whole process sit side by side with the main application, on a laptop somewhere. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Nancy Lytle Sent: Friday, October 28, 2005 10:44 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Is anyone migrating data? I have used Monarch in the past also, and you said it so well, its a real "Wonder", sometimes it is so cool I wonder how it works, and other times I couldn't figure out how to get it to do what I wanted, and I wondered how the h*ll it worked! Almost all the migration I have done has involved cleaning old data outside of Access (usually in Excel, as that is where most of the migration is coming from), linking or importing the old data into a database with the structure already in place, that part is usually phase one and is on one side of a form, with one button to push, that runs all the importing, then another button to run all the queries that manipulate the data and append it to the "new" structure tables, already set up to run in the needed order. The users I have dealt with prefer not to know (I do however document everything for them with a list of the order in which everything is run) but to just push a button or two and have everything done. Nancy Lytle N_Lytle at terpalum.umd.edu >From: John Colby >Reply-To: Access Developers discussion and problem >solving >To: "'Access Developers discussion and problem >solving'" >Subject: Re: [AccessD] Is anyone migrating data? >Date: Fri, 28 Oct 2005 10:28:45 -0400 > >My client - DIS - uses monarch. It is really cool, nay amazing, and a >PITA at the same time. I have not been allowed at the keyboard so I >can't say exactly, but we were just unable to get some things to work >the way we needed, so the process is "do this in monarch", now go do >this in Access. And of course they are unwilling to buy the programming >interface that would allow me to drive it from Access. > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim >Sent: Friday, October 28, 2005 10:20 AM >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Is anyone migrating data? > > >Monarch is great for extracting data from reports. It has an object >model that allows you to automate data extraction from inside Access. I >do things like download bank stmts from the internet and parse them >into Access tables. Jim Hale > >-----Original Message----- >From: Jim Dettman [mailto:jimdettman at earthlink.net] >Sent: Monday, September 26, 2005 8:59 AM >To: Access Developers discussion and problem solving >Subject: Re: [AccessD] Is anyone migrating data? > > > > I've used Data Junction for years to do all my migration stuff. >Especially >for some of the stranger database formats. Good product. > >Jim. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby >Sent: Thursday, October 27, 2005 11:54 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Is anyone migrating data? > > >I am right in the middle of a data migration job. I am building a >simple two table (so far) tool to assist me in organizing the data migration. >This >will be a recurring migration, fairly complex. The client hired people to >build the system and get the data migrated once but that developer did not >document the process, nor save the queries etc. Thus I am having to learn >the whole process from scratch using the "sit with the client and ask >questions" method. They want it documented this time naturally. > >I have migrated many different databases over the years but mostly the >migrations were "one-shot" migrations designed to get the data from >denormalized tables in to a new system I was building to replace the >old system. In this case, the old system will stay (mostly) with the >same data having to be imported every month, or quarter - something >like that. > >The tool is pretty simple, just a form to list the table names, in the >order >the tables need to be migrated, and some attributes to describe what that >step is doing, then a child table to hold the query / SQL statement / code >to run to migrate the data into that table. Anyone who has done this stuff >knows that the process is usually order sensitive in terms of which tables >get migrated when, and also the order that the queries are run for any >given >table. My objective is just to document the table / order / requirement / >data source, plus the queries / order used for each table, with comments. >In >the end I will have a little program that pulls each record and applies the >queries in the order they are in the table, such that the process is "push >button" (with luck) and the client can do it themselves. Documentation will >be in the comments in the table and can be pulled into a report. > >If anyone else is doing this kind of stuff and wishes to collaborate >with me, contact me offline. > >*********************************************************************** >The information transmitted is intended solely for the individual or >entity to which it is addressed and may contain confidential and/or >privileged material. Any review, retransmission, dissemination or other >use of or taking action in reliance upon this information by persons or >entities other than the intended recipient is prohibited. If you have >received this email in error please contact the sender and delete the >material from any computer. As a recipient of this email, you are >responsible for screening its contents and the contents of any >attachments for the presence of viruses. No liability is accepted for >any damages caused by any virus transmitted by this email. >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >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 Fri Oct 28 09:59:46 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Fri, 28 Oct 2005 10:59:46 -0400 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <56166.65.196.182.34.1130510645.squirrel@65.196.182.34> Message-ID: <009b01c5dbd0$3cbee0b0$687aa8c0@ColbyM6805> No idea what version. So far it has been pretty simple stuff. Take existing mainframe reports which have been exported to a text file and extract pieces out to a table. One other thing they do with it is to move data between Access and QuickBooks. The client is happy with what they have so I don't push. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss Sent: Friday, October 28, 2005 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? John, What version of Monarch are they using? I am doing automation in v6 standard that requires the pro edition in v8. My client is adding a lot of users so I'm converting my projects, etc to v8 because that's what they can buy. If you need any examples let me know. Jim > My client - DIS - uses monarch. It is really cool, nay amazing, and a > PITA at the same time. I have not been allowed at the keyboard so I > can't say exactly, but we were just unable to get some things to work > the way we needed, so the process is "do this in monarch", now go do > this in Access. And of course they are unwilling to buy the > programming interface that would > allow me to drive it from Access. > > John W. Colby > www.ColbyConsulting.com > > Contribute your unused CPU cycles to a good cause: > http://folding.stanford.edu/ > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim > Sent: Friday, October 28, 2005 10:20 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Is anyone migrating data? > > > Monarch is great for extracting data from reports. It has an object > model that allows you to automate data extraction from inside Access. > I do things like download bank stmts from the internet and parse them > into Access tables. Jim Hale > > -----Original Message----- > From: Jim Dettman [mailto:jimdettman at earthlink.net] > Sent: Monday, September 26, 2005 8:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Is anyone migrating data? > > > > I've used Data Junction for years to do all my migration stuff. > Especially for some of the stranger database formats. Good product. > > Jim. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of John Colby > Sent: Thursday, October 27, 2005 11:54 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Is anyone migrating data? > > > I am right in the middle of a data migration job. I am building a > simple two table (so far) tool to assist me in organizing the data > migration. This will be a recurring migration, fairly complex. The > client hired people to build the system and get the data migrated once > but that developer did not document the process, nor save the queries > etc. Thus I am having to learn the whole process from scratch using > the "sit with the client and ask questions" method. They want it > documented this time naturally. > > I have migrated many different databases over the years but mostly the > migrations were "one-shot" migrations designed to get the data from > denormalized tables in to a new system I was building to replace the > old system. In this case, the old system will stay (mostly) with the > same data having to be imported every month, or quarter - something > like that. > > The tool is pretty simple, just a form to list the table names, in the > order the tables need to be migrated, and some attributes to describe > what that step is doing, then a child table to hold the query / SQL > statement / code to run to migrate the data into that table. Anyone > who has done this stuff > knows that the process is usually order sensitive in terms of which tables > get migrated when, and also the order that the queries are run for any > given > table. My objective is just to document the table / order / requirement / > data source, plus the queries / order used for each table, with comments. > In > the end I will have a little program that pulls each record and applies > the > queries in the order they are in the table, such that the process is "push > button" (with luck) and the client can do it themselves. Documentation > will > be in the comments in the table and can be pulled into a report. > > If anyone else is doing this kind of stuff and wishes to collaborate > with me, contact me offline. > > ********************************************************************** > * > The information transmitted is intended solely for the individual or > entity > to which it is addressed and may contain confidential and/or privileged > material. Any review, retransmission, dissemination or other use of or > taking action in reliance upon this information by persons or entities > other > than the intended recipient is prohibited. If you have received this email > in error please contact the sender and delete the material from any > computer. As a recipient of this email, you are responsible for screening > its contents and the contents of any attachments for the presence of > viruses. No liability is accepted for any damages caused by any virus > transmitted by this email. > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 28 09:58:54 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 28 Oct 2005 09:58:54 -0500 Subject: [AccessD] Is anyone migrating data? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337960@corp-es01.fleetpride.com> My recollection is that the vba type libray is included with Monarch professional so only an upgrade from Monarch standard is required. The only annoying thing I've found is that there is no visible property so you see everything Monarch is doing and you can't hide it. When you are downloading 160 bank stmts this becomes a PIA. During processing the computer cannot be used for anything else. I am running 6.01 professional so this may have been fixed in the latest release (v 8) -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, October 28, 2005 9:29 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? My client - DIS - uses monarch. It is really cool, nay amazing, and a PITA at the same time. I have not been allowed at the keyboard so I can't say exactly, but we were just unable to get some things to work the way we needed, so the process is "do this in monarch", now go do this in Access. And of course they are unwilling to buy the programming interface that would allow me to drive it from Access. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Hale, Jim Sent: Friday, October 28, 2005 10:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? Monarch is great for extracting data from reports. It has an object model that allows you to automate data extraction from inside Access. I do things like download bank stmts from the internet and parse them into Access tables. Jim Hale -----Original Message----- From: Jim Dettman [mailto:jimdettman at earthlink.net] Sent: Monday, September 26, 2005 8:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? I've used Data Junction for years to do all my migration stuff. Especially for some of the stranger database formats. Good product. Jim. *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From cfoust at infostatsystems.com Fri Oct 28 10:06:11 2005 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 28 Oct 2005 08:06:11 -0700 Subject: [AccessD] Update query broke Message-ID: IN is faster than NOT IN because it doesn't have to search the entire list every time. Charlotte -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 7:42 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Update query broke Hi John Without your SQL I guess you have some joins. Replace these with .. IN ( .. ) or .. NOT IN ( .. ) constructs. For very large tables that may too slow. If so, create a temp table with the selected output, then use this to update the other tables. /gustav >>> jwcolby at ColbyConsulting.com 27-10-2005 20:59:48 >>> That was it. Now I am getting "updating data in a linked table not supported by this ISAM". The linked table is in the BE, and I have never seen this on before. Sigh. I guess I pull the queries into the BE and do it there. John W. Colby -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Fri Oct 28 10:10:52 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Fri, 28 Oct 2005 10:10:52 -0500 Subject: [AccessD] Is anyone migrating data? Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB6772337962@corp-es01.fleetpride.com> What ODBC driver are they using to move data from Quickbooks to Access? All the ones I've seen are extremely slooow. Jim Hale -----Original Message----- From: John Colby [mailto:jwcolby at colbyconsulting.com] Sent: Friday, October 28, 2005 10:00 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? No idea what version. So far it has been pretty simple stuff. Take existing mainframe reports which have been exported to a text file and extract pieces out to a table. One other thing they do with it is to move data between Access and QuickBooks. The client is happy with what they have so I don't push. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Moss Sent: Friday, October 28, 2005 10:44 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Is anyone migrating data? John, What version of Monarch are they using? I am doing automation in v6 standard that requires the pro edition in v8. My client is adding a lot of users so I'm converting my projects, etc to v8 because that's what they can buy. If you need any examples let me know. Jim > My client - DIS - uses monarch. It is really cool, nay amazing, and a > PITA at the same time. I have not been allowed at the keyboard so I > can't say exactly, but we were just unable to get some things to work > the way we needed, so the process is "do this in monarch", now go do > this in Access. And of course they are unwilling to buy the > programming interface that would > allow me to drive it from Access. > *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From Jdemarco at hudsonhealthplan.org Fri Oct 28 10:47:16 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 11:47:16 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FF6@TTNEXCHCL2.hshhp.com> Yes if you want it in a DLL (or you'll at least need a class that uses your standard modules; these will provide the public interface to the DLL). Think about every built-in VBA oject you use. All stored in classes in various DLLs within Office (hence "object"). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 10:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From john at winhaven.net Fri Oct 28 10:52:36 2005 From: john at winhaven.net (John Bartow) Date: Fri, 28 Oct 2005 10:52:36 -0500 Subject: [AccessD] Is anyone migrating data? In-Reply-To: <009701c5dbce$f9532990$687aa8c0@ColbyM6805> Message-ID: <010701c5dbd7$9e340cb0$6b01a8c0@ScuzzPaq> It sounds like a necessary method that your working on. My app was used by the same organization as the IT staff and on the same network the Oracle DB was connected too. Oh well, it was good money :o) -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: Friday, October 28, 2005 9:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Is anyone migrating data? This client analyzes parts repair for the US Navy, specifically pieces of aircrafts for three repair depots. They get a large (denormalized) table from the Navy with each part, information about the part, the repair depot, costs to repair, repair cycle times, order cycle times, how many are on order and quantities in the order or repair process etc. - all in one table. Their task is to analyze the whole process, determine which are being repaired but aren't needed because they have plenty on hand, which they shouldn't even be ordering because they have plenty on hand, which they SHOULD be ordering / repairing etc. This application is already written, but the person who migrated the data the first time did not document or save the process. Now they need to load up new (recent) data and don't know how. This firm is a consulting firm, who just takes the data, massages it to get it into a form they can deal with, then analyzes it and sends reports to someone in the NAVY. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From Gustav at cactus.dk Fri Oct 28 11:00:57 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 18:00:57 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim But it wouldn't be more complicated than a Windows API call which you can use just by a Declare .. As .. etc. I have no need for setting properties, not even checking a result code ... /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 17:47:16 >>> Yes if you want it in a DLL (or you'll at least need a class that uses your standard modules; these will provide the public interface to the DLL). Think about every built-in VBA oject you use. All stored in classes in various DLLs within Office (hence "object"). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 10:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav From martyconnelly at shaw.ca Fri Oct 28 11:04:41 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Fri, 28 Oct 2005 09:04:41 -0700 Subject: [AccessD] Array faster in DLL? References: Message-ID: <43624C19.5090409@shaw.ca> Some of these replacements for VB intrinsic fumctions might speed things up. Make sure you read the accompaning notes before using some may require a TLB http://www.xbeat.net/vbspeed/index.htm But it sounds like you are using mostly math functions. Trig functions can be enhanced from basic vba calls but would require C. Sometimes you can get a bit more speed from multidimensional arrays by the order of looping on the indexes. For example you are not going to get much speed increase by using *0.5 instead of /2 maybe 1-2% Gustav Brock wrote: >Hi Jim > >Sounds great! >No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? > >/gustav > > > > >>>>Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> >>>> >>>> >Gustav, > >I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. > >Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock >Sent: Friday, October 28, 2005 9:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Array faster in DLL? > > >Hi all > >I have some routines that manipulate data in and between some arrays. >The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. > >I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. >It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. > >Does anyone (Drew, Stuart?) have experience about what to expect? > >/gustav > > > > -- Marty Connelly Victoria, B.C. Canada From Jdemarco at hudsonhealthplan.org Fri Oct 28 11:11:07 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 12:11:07 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FF7@TTNEXCHCL2.hshhp.com> >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 12:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim But it wouldn't be more complicated than a Windows API call which you can use just by a Declare .. As .. etc. I have no need for setting properties, not even checking a result code ... /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 17:47:16 >>> Yes if you want it in a DLL (or you'll at least need a class that uses your standard modules; these will provide the public interface to the DLL). Think about every built-in VBA oject you use. All stored in classes in various DLLs within Office (hence "object"). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 10:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From Gustav at cactus.dk Fri Oct 28 11:24:40 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 18:24:40 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim Well, I mean _not_ complicated, like: Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? From Gustav at cactus.dk Fri Oct 28 11:26:27 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 28 Oct 2005 18:26:27 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Marty Thanks, I'll check that site out. /gustav >>> martyconnelly at shaw.ca 28-10-2005 18:04:41 >>> Some of these replacements for VB intrinsic fumctions might speed things up. Make sure you read the accompaning notes before using some may require a TLB http://www.xbeat.net/vbspeed/index.htm But it sounds like you are using mostly math functions. Trig functions can be enhanced from basic vba calls but would require C. Sometimes you can get a bit more speed from multidimensional arrays by the order of looping on the indexes. For example you are not going to get much speed increase by using *0.5 instead of /2 maybe 1-2% From Jdemarco at hudsonhealthplan.org Fri Oct 28 11:51:53 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 12:51:53 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FFB@TTNEXCHCL2.hshhp.com> >>Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) Versus: Dim oMyArrayTool as gustavdll.ArrayTool Set oMyArrayTool = new ArrayTool oMyArrayTool.GoGetThatArray(lngP1, lngP2, MyArray()) Admittedly more code but not that complicated (same result either way). One an API note I have seen components that had COM and API style interfaces. I don't know if API style access is inherent in COM objects though. Could those developers have create two interfaces to the components? Maybe someone else can answer that. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 12:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Well, I mean _not_ complicated, like: Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From shamil at users.mns.ru Fri Oct 28 12:09:18 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Fri, 28 Oct 2005 21:09:18 +0400 Subject: [AccessD] Array faster in DLL? References: <08F823FD83787D4BA0B99CA580AD3C74016C3FFB@TTNEXCHCL2.hshhp.com> Message-ID: <002601c5dbe2$57b46860$6401a8c0@fincomplex.spb.ru> Jim, If you set Instancing property of ArrayTool custom class to GlobalMultiUse then you can just write: GoGetThatArray lngP1, lngP2, MyArray() in client code. Shamil ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, October 28, 2005 8:51 PM Subject: Re: [AccessD] Array faster in DLL? > >>Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) > > Versus: > > Dim oMyArrayTool as gustavdll.ArrayTool > Set oMyArrayTool = new ArrayTool > oMyArrayTool.GoGetThatArray(lngP1, lngP2, MyArray()) > > Admittedly more code but not that complicated (same result either way). One an API note I have seen components that had COM and API style interfaces. I don't know if API style access is inherent in COM objects though. Could those developers have create two interfaces to the components? Maybe someone else can answer that. > > Jim D. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, October 28, 2005 12:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Array faster in DLL? > > > Hi Jim > > Well, I mean _not_ complicated, like: > Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) > > /gustav > > >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> > >>more complicated than a Windows API call > Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Susan.Klos at fldoe.org Fri Oct 28 12:08:08 2005 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 28 Oct 2005 13:08:08 -0400 Subject: [AccessD] Print to a specific printer programatically Message-ID: I would like to print reports based on a parameter query to PDF. Manually I open the report, type in the parameter (district number) and then go to file, print, and select the PDF print driver. Because I am sending reports to approximately 73 districts, in the past I set my default printer to the PDF printer and then just had to go to file, print. I would like to be able to streamline this further using code. Any ideas? TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 From Steven.Peterson at qwest.com Fri Oct 28 12:20:45 2005 From: Steven.Peterson at qwest.com (Peterson, Steve) Date: Fri, 28 Oct 2005 11:20:45 -0600 Subject: [AccessD] Print to a specific printer programatically Message-ID: <5E6C0F4B8C8601448942896366748A540FA356@ITDENE2KM03.AD.QINTRA.COM> Susan, If you're always going to a specific printer, you can set a specific printer in the page setup. I did this by accident for some reports I was creating and users couldn't figure out why their reports never went to their default printer (they went to MY default printer). In A2K03, anyway, in design mode for the report, go to File/Page Setup, then the Page tab. Near the bottom, is an option for Default or Specific printer. HTH, Steve -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Klos, Susan Sent: Friday, October 28, 2005 11:08 AM To: accessd at databaseadvisors.com Subject: [AccessD] Print to a specific printer programatically I would like to print reports based on a parameter query to PDF. Manually I open the report, type in the parameter (district number) and then go to file, print, and select the PDF print driver. Because I am sending reports to approximately 73 districts, in the past I set my default printer to the PDF printer and then just had to go to file, print. I would like to be able to streamline this further using code. Any ideas? TIA. Susan Klos Senior Database Analyst Evaluation and Reporting Florida Department of Education 850-245-0708 sc 205-0708 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jdemarco at hudsonhealthplan.org Fri Oct 28 13:23:23 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Fri, 28 Oct 2005 14:23:23 -0400 Subject: [AccessD] Array faster in DLL? Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C3FFE@TTNEXCHCL2.hshhp.com> True enough. Thanks Shamil. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Shamil Salakhetdinov Sent: Friday, October 28, 2005 1:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Array faster in DLL? Jim, If you set Instancing property of ArrayTool custom class to GlobalMultiUse then you can just write: GoGetThatArray lngP1, lngP2, MyArray() in client code. Shamil ----- Original Message ----- From: "Jim DeMarco" To: "Access Developers discussion and problem solving" Sent: Friday, October 28, 2005 8:51 PM Subject: Re: [AccessD] Array faster in DLL? > >>Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) > > Versus: > > Dim oMyArrayTool as gustavdll.ArrayTool > Set oMyArrayTool = new ArrayTool > oMyArrayTool.GoGetThatArray(lngP1, lngP2, MyArray()) > > Admittedly more code but not that complicated (same result either way). One an API note I have seen components that had COM and API style interfaces. I don't know if API style access is inherent in COM objects though. Could those developers have create two interfaces to the components? Maybe someone else can answer that. > > Jim D. > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock > Sent: Friday, October 28, 2005 12:25 PM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Array faster in DLL? > > > Hi Jim > > Well, I mean _not_ complicated, like: > Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) > > /gustav > > >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> > >>more complicated than a Windows API call > Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > **************************************************************************** ******* > "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". > **************************************************************************** ******* > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From stuart at lexacorp.com.pg Fri Oct 28 14:09:11 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 29 Oct 2005 05:09:11 +1000 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <436303F7.32546.D41EDD3@stuart.lexacorp.com.pg> On 28 Oct 2005 at 15:29, Gustav Brock wrote: > Hi all > > I have some routines that manipulate data in and between some arrays. > The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. > > I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find > It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. > > Does anyone (Drew, Stuart?) have experience about what to expect? > For something like that I'd definitely build a reall DLL in PowerBasic. PB has built in array manipulation functions which are highly optimized and the speed gains compared to doing this sort of thing in VB/VBA would be dramatic. Create an VB "DLL" is likely to have little effect on speed, it could even slow it down because of the calling overhead. I'm leaving town in a couple of minutes for the weekend, but email me off list with your current array procedures and I'll take a look at building a simple DLL for you when I get back. -- Stuart From Chester_Kaup at kindermorgan.com Fri Oct 28 14:24:26 2005 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Fri, 28 Oct 2005 14:24:26 -0500 Subject: [AccessD] Data type converting on make table query-why Message-ID: I have the following field in a make table query: Cum Inj: DSum("[Injection Sum]","[tbl NewInjectionResults1]","[RecordDate]<=#" & [RecordDate] & "#")/365.25 field Injection Sum is a double When I view the results in a data sheet they look right. (8.22179055710294318959617E-05) When I view the results in the table made by the query the result is 0 and the data type is decimal with a precision of 28 and a scale of 2. Why is the data type changing and the result different? is there a way to prevent it? 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 artful at rogers.com Fri Oct 28 14:25:45 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Oct 2005 15:25:45 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <002301c5da8b$f36eee90$667aa8c0@ColbyM6805> Message-ID: <200510281925.j9SJPjJ26255@databaseadvisors.com> JC, perhaps my solution will work for you. I use a pair of functions that I call q() and qq(), which stand for single and double quotes. Public Function q(str As String) As String q = Chr(39) & str & Chr(39) End Function Public Function qq(str As String) As String q = Chr(34) & str & Chr(34) End Function Then for any column that may contain an apostrophe, you can just write SELECT q(ColumName) from MyTable Without even bothering to check whether there are apostrophes. You just stop worrying about it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 26, 2005 8:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From artful at rogers.com Fri Oct 28 15:20:03 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Oct 2005 16:20:03 -0400 Subject: [AccessD] Friday Humour Challenge In-Reply-To: <002101c5db0f$c70d57e0$6401a8c0@fincomplex.spb.ru> Message-ID: <200510282020.j9SKK3J15396@databaseadvisors.com> The challenge is to take a popular abbreviation or acronym* and to give it a twist, ironic or funny or just plain bitter. Examples: MSDN: Malicious Self-Serving Dictator Nimrods UPS: Underdeveloped Peasant Sods MADD: Mediocre Actuaries Doing Drugs Ladies and Genlemen, start your search engines. Arthur From DWUTKA at marlow.com Fri Oct 28 16:01:32 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Fri, 28 Oct 2005 16:01:32 -0500 Subject: [AccessD] Friday Humour Challenge Message-ID: <123701F54509D9119A4F00D0B7473490EA5F40@main2.marlow.com> IBM: I've Been Moved (and yes, I was an IBM kid, and we were moved a LOT!) MSDN: Most Searches Develop Nada DBA: Don't Bash Access Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Friday, October 28, 2005 3:20 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Friday Humour Challenge The challenge is to take a popular abbreviation or acronym* and to give it a twist, ironic or funny or just plain bitter. Examples: MSDN: Malicious Self-Serving Dictator Nimrods UPS: Underdeveloped Peasant Sods MADD: Mediocre Actuaries Doing Drugs Ladies and Genlemen, start your search engines. Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From artful at rogers.com Fri Oct 28 16:46:42 2005 From: artful at rogers.com (Arthur Fuller) Date: Fri, 28 Oct 2005 17:46:42 -0400 Subject: [AccessD] Friday Humour Challenge In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5F40@main2.marlow.com> Message-ID: <200510282146.j9SLkfJ16935@databaseadvisors.com> Your MSDN is MUCH better than mine! Nice. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: October 28, 2005 5:02 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Friday Humour Challenge IBM: I've Been Moved (and yes, I was an IBM kid, and we were moved a LOT!) MSDN: Most Searches Develop Nada DBA: Don't Bash Access Drew From fahooper at trapo.com Fri Oct 28 17:09:24 2005 From: fahooper at trapo.com (Fred Hooper) Date: Fri, 28 Oct 2005 18:09:24 -0400 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <000201c5dc0c$429311a0$2e01a8c0@fredxp> My brother-in-law, who develops in VB6, has told me that writing his DLL's in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of critical ones, he moved to Assembler for another 5:1. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From carbonnb at gmail.com Fri Oct 28 17:46:47 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Fri, 28 Oct 2005 18:46:47 -0400 Subject: [AccessD] Friday Humour Challenge In-Reply-To: <200510282020.j9SKK3J15396@databaseadvisors.com> References: <002101c5db0f$c70d57e0$6401a8c0@fincomplex.spb.ru> <200510282020.j9SKK3J15396@databaseadvisors.com> Message-ID: On 28/10/05, Arthur Fuller wrote: > The challenge is to take a popular abbreviation or acronym* and to give it a > twist, ironic or funny or just plain bitter. > Examples: > MSDN: Malicious Self-Serving Dictator Nimrods > UPS: Underdeveloped Peasant Sods > MADD: Mediocre Actuaries Doing Drugs > Ladies and Genlemen, start your search engines. CBC: Corporation Bullying Canadians (I claim no ownership to this. It was painted on the sidewalk when I was locked out :) (CBC = Canadian Broadcasting Corp for those outside of Canada) -- 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 KIsmert at texassystems.com Fri Oct 28 18:26:04 2005 From: KIsmert at texassystems.com (Ken Ismert) Date: Fri, 28 Oct 2005 18:26:04 -0500 Subject: [AccessD] Array faster in DLL? Message-ID: >>One an API note I have seen components that had COM and API >>style interfaces. I don't know if API style access is >>inherent in COM objects though. Could those developers have >>create two interfaces to the components? Jim, A COM Dll is just a Dll file with some icing: a VTable, a Type Library, and a Class Factory. The VTable holds offsets to all functions stored in the DLL. The Type Library (a separate file) describes the Objects, Members and Parameters exposed by the DLL. The Class Factory is largely generated code that handles the actual instantiation. Yeah, there's registry stuff too, but that is just support for these basic COM object pieces. But under it all, its just a plain Dll, which can be accessible with API-style Declare statements, if the designer so chooses. APIs are not a part of COM, just something that a COM Dll can support, because of its classic Windows Dll roots. Of course, if you use a COM Dll via an API, you forego major object advantages like multiple instances, constructors and destructors. At best, you might get statefulness, but you would have to treat the Dll as a static object. -Ken From bchacc at san.rr.com Fri Oct 28 21:59:45 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Fri, 28 Oct 2005 19:59:45 -0700 Subject: [AccessD] Friday Humour Challenge References: <002101c5db0f$c70d57e0$6401a8c0@fincomplex.spb.ru> <200510282020.j9SKK3J15396@databaseadvisors.com> Message-ID: <038601c5dc34$d17c6dd0$6501a8c0@HAL9004> In the old days AOL used to be America Off Line Rocky ----- Original Message ----- From: "Bryan Carbonnell" To: "Access Developers discussion and problem solving" Sent: Friday, October 28, 2005 3:46 PM Subject: Re: [AccessD] Friday Humour Challenge > On 28/10/05, Arthur Fuller wrote: >> The challenge is to take a popular abbreviation or acronym* and to give >> it a >> twist, ironic or funny or just plain bitter. >> Examples: >> MSDN: Malicious Self-Serving Dictator Nimrods >> UPS: Underdeveloped Peasant Sods >> MADD: Mediocre Actuaries Doing Drugs >> Ladies and Genlemen, start your search engines. > > CBC: Corporation Bullying Canadians > (I claim no ownership to this. It was painted on the sidewalk when I > was locked out :) > (CBC = Canadian Broadcasting Corp for those outside of Canada) > > -- > 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 prodevmg at yahoo.com Sat Oct 29 08:39:03 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sat, 29 Oct 2005 06:39:03 -0700 (PDT) Subject: [AccessD] Need creating graph in excel Message-ID: <20051029133903.94498.qmail@web33104.mail.mud.yahoo.com> I have code that will create a graph in excel based on a query that I export to excel. The problem is that I need a three line graph for the particular query that I have. Does anyone know how to instruct Excel to plot three lines. My code is below: Function CreateChart(strSourceName As String, _ strFileName As String) Dim xlApp As Excel.Application Dim xlWrkbk As Excel.Workbook Dim xlChartObj As Excel.Chart Dim xlSourceRange As Excel.Range Dim xlColPoint As Excel.Point 'On Error GoTo Err_CreateChart ' Create an Excel workbook file based on the ' object specified in the second argument. DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, _ strSourceName, strFileName, False ' Create a Microsoft Excel object. Set xlApp = CreateObject("Excel.Application") ' Open the spreadsheet to which you exported the data. Set xlWrkbk = xlApp.Workbooks.Open(strFileName) ' Determine the size of the range and store it. Set xlSourceRange = _ xlWrkbk.Worksheets(1).Range("a1").CurrentRegion ' Create a new chart. Set xlChartObj = xlApp.Charts.Add ' Format the chart. With xlChartObj ' Specify chart type as 3D. .ChartType = xlLine ' Set the range of the chart. .SetSourceData Source:=xlSourceRange, _ PlotBy:=xlColumns ' Specify that the chart is located on a new sheet. .Location Where:=xlLocationAsNewSheet ' Create and set the title; set title font. .HasTitle = True With .ChartTitle .Characters.Text = _ "Total Sales by Country" .Font.Size = 18 End With ' Rotate the x-axis labels to a 45-degree angle. '''''''''''.Axes(xlCategory).TickLabels.Orientation = 45 ' Delete the label at the far right of the x-axis. ''''''''''.Axes(xlSeries).Delete ' Delete the legend. .HasLegend = False ' Set each datapoint to show the dollar amount ' and format the datapoint to be currency ' with no decimals. With .SeriesCollection(1) .ApplyDataLabels Type:=xlDataLabelsShowValue .DataLabels.NumberFormat = "$#,##0" End With End With ' Position the points further from the tops ' of the columns. For Each xlColPoint In _ xlChartObj.SeriesCollection(1).Points xlColPoint.DataLabel.Top = _ xlColPoint.DataLabel.Top - 11 Next xlColPoint ' Save and close the workbook ' and quit Microsoft Excel. With xlWrkbk .Save .Close End With xlApp.Quit Exit_CreateChart: Set xlSourceRange = Nothing Set xlColPoint = Nothing Set xlChartObj = Nothing Set xlWrkbk = Nothing Set xlApp = Nothing Exit Function Err_CreateChart: MsgBox CStr(Err) & " " & Err.Description Resume Exit_CreateChart End Function May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From martyconnelly at shaw.ca Sat Oct 29 08:54:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sat, 29 Oct 2005 06:54:06 -0700 Subject: [AccessD] Need creating graph in excel References: <20051029133903.94498.qmail@web33104.mail.mud.yahoo.com> Message-ID: <43637EFE.9030105@shaw.ca> Try this method to find a solution http://www.vb123.com/toolshed/99_graphs/msgraph6.htm Lonnie Johnson wrote: >I have code that will create a graph in excel based on a query that I export to excel. The problem is that I need a three line graph for the particular query that I have. Does anyone know how to instruct Excel to plot three lines. My code is below: > > >Function CreateChart(strSourceName As String, _ > strFileName As String) > Dim xlApp As Excel.Application > Dim xlWrkbk As Excel.Workbook > Dim xlChartObj As Excel.Chart > Dim xlSourceRange As Excel.Range > Dim xlColPoint As Excel.Point > 'On Error GoTo Err_CreateChart > ' Create an Excel workbook file based on the > ' object specified in the second argument. > DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, _ > strSourceName, strFileName, False > ' Create a Microsoft Excel object. > Set xlApp = CreateObject("Excel.Application") > ' Open the spreadsheet to which you exported the data. > Set xlWrkbk = xlApp.Workbooks.Open(strFileName) > ' Determine the size of the range and store it. > Set xlSourceRange = _ > xlWrkbk.Worksheets(1).Range("a1").CurrentRegion > ' Create a new chart. > Set xlChartObj = xlApp.Charts.Add > ' Format the chart. > With xlChartObj > ' Specify chart type as 3D. > .ChartType = xlLine > ' Set the range of the chart. > .SetSourceData Source:=xlSourceRange, _ > PlotBy:=xlColumns > ' Specify that the chart is located on a new sheet. > .Location Where:=xlLocationAsNewSheet > ' Create and set the title; set title font. > .HasTitle = True > With .ChartTitle > .Characters.Text = _ > "Total Sales by Country" > .Font.Size = 18 > End With > ' Rotate the x-axis labels to a 45-degree angle. > '''''''''''.Axes(xlCategory).TickLabels.Orientation = 45 > ' Delete the label at the far right of the x-axis. > ''''''''''.Axes(xlSeries).Delete > ' Delete the legend. > .HasLegend = False > ' Set each datapoint to show the dollar amount > ' and format the datapoint to be currency > ' with no decimals. > With .SeriesCollection(1) > .ApplyDataLabels Type:=xlDataLabelsShowValue > .DataLabels.NumberFormat = "$#,##0" > End With > End With > ' Position the points further from the tops > ' of the columns. > For Each xlColPoint In _ > xlChartObj.SeriesCollection(1).Points > xlColPoint.DataLabel.Top = _ > xlColPoint.DataLabel.Top - 11 > Next xlColPoint > ' Save and close the workbook > ' and quit Microsoft Excel. > With xlWrkbk > .Save > .Close > End With > xlApp.Quit >Exit_CreateChart: > Set xlSourceRange = Nothing > Set xlColPoint = Nothing > Set xlChartObj = Nothing > Set xlWrkbk = Nothing > Set xlApp = Nothing > Exit Function >Err_CreateChart: > MsgBox CStr(Err) & " " & Err.Description > Resume Exit_CreateChart >End Function > > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > >--------------------------------- > Yahoo! FareChase - Search multiple travel sites in one click. > > -- Marty Connelly Victoria, B.C. Canada From prodevmg at yahoo.com Sat Oct 29 12:49:14 2005 From: prodevmg at yahoo.com (Lonnie Johnson) Date: Sat, 29 Oct 2005 10:49:14 -0700 (PDT) Subject: [AccessD] Need creating graph in excel In-Reply-To: <43637EFE.9030105@shaw.ca> Message-ID: <20051029174914.98891.qmail@web33111.mail.mud.yahoo.com> Thanks Marty. MartyConnelly wrote:Try this method to find a solution http://www.vb123.com/toolshed/99_graphs/msgraph6.htm Lonnie Johnson wrote: >I have code that will create a graph in excel based on a query that I export to excel. The problem is that I need a three line graph for the particular query that I have. Does anyone know how to instruct Excel to plot three lines. My code is below: > > >Function CreateChart(strSourceName As String, _ > strFileName As String) > Dim xlApp As Excel.Application > Dim xlWrkbk As Excel.Workbook > Dim xlChartObj As Excel.Chart > Dim xlSourceRange As Excel.Range > Dim xlColPoint As Excel.Point > 'On Error GoTo Err_CreateChart > ' Create an Excel workbook file based on the > ' object specified in the second argument. > DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel9, _ > strSourceName, strFileName, False > ' Create a Microsoft Excel object. > Set xlApp = CreateObject("Excel.Application") > ' Open the spreadsheet to which you exported the data. > Set xlWrkbk = xlApp.Workbooks.Open(strFileName) > ' Determine the size of the range and store it. > Set xlSourceRange = _ > xlWrkbk.Worksheets(1).Range("a1").CurrentRegion > ' Create a new chart. > Set xlChartObj = xlApp.Charts.Add > ' Format the chart. > With xlChartObj > ' Specify chart type as 3D. > .ChartType = xlLine > ' Set the range of the chart. > .SetSourceData Source:=xlSourceRange, _ > PlotBy:=xlColumns > ' Specify that the chart is located on a new sheet. > .Location Where:=xlLocationAsNewSheet > ' Create and set the title; set title font. > .HasTitle = True > With .ChartTitle > .Characters.Text = _ > "Total Sales by Country" > .Font.Size = 18 > End With > ' Rotate the x-axis labels to a 45-degree angle. > '''''''''''.Axes(xlCategory).TickLabels.Orientation = 45 > ' Delete the label at the far right of the x-axis. > ''''''''''.Axes(xlSeries).Delete > ' Delete the legend. > .HasLegend = False > ' Set each datapoint to show the dollar amount > ' and format the datapoint to be currency > ' with no decimals. > With .SeriesCollection(1) > .ApplyDataLabels Type:=xlDataLabelsShowValue > .DataLabels.NumberFormat = "$#,##0" > End With > End With > ' Position the points further from the tops > ' of the columns. > For Each xlColPoint In _ > xlChartObj.SeriesCollection(1).Points > xlColPoint.DataLabel.Top = _ > xlColPoint.DataLabel.Top - 11 > Next xlColPoint > ' Save and close the workbook > ' and quit Microsoft Excel. > With xlWrkbk > .Save > .Close > End With > xlApp.Quit >Exit_CreateChart: > Set xlSourceRange = Nothing > Set xlColPoint = Nothing > Set xlChartObj = Nothing > Set xlWrkbk = Nothing > Set xlApp = Nothing > Exit Function >Err_CreateChart: > MsgBox CStr(Err) & " " & Err.Description > Resume Exit_CreateChart >End Function > > > > >May God bless you beyond your imagination! >Lonnie Johnson >ProDev, Professional Development of MS Access Databases >Visit me at ==> http://www.prodev.us > > > > > > > > > > > > >--------------------------------- > Yahoo! FareChase - Search multiple travel sites in one click. > > -- Marty Connelly Victoria, B.C. Canada -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com May God bless you beyond your imagination! Lonnie Johnson ProDev, Professional Development of MS Access Databases Visit me at ==> http://www.prodev.us --------------------------------- Yahoo! FareChase - Search multiple travel sites in one click. From jwcolby at ColbyConsulting.com Sat Oct 29 13:22:15 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 29 Oct 2005 14:22:15 -0400 Subject: [AccessD] Preventing Extra Excel instances SOLVED In-Reply-To: <200510281925.j9SJPjJ26255@databaseadvisors.com> Message-ID: <000401c5dcb5$b381d9b0$fd7bfea9@ColbyM6805> I like it! Thanks. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, October 28, 2005 3:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED JC, perhaps my solution will work for you. I use a pair of functions that I call q() and qq(), which stand for single and double quotes. Public Function q(str As String) As String q = Chr(39) & str & Chr(39) End Function Public Function qq(str As String) As String q = Chr(34) & str & Chr(34) End Function Then for any column that may contain an apostrophe, you can just write SELECT q(ColumName) from MyTable Without even bothering to check whether there are apostrophes. You just stop worrying about it. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of John Colby Sent: October 26, 2005 8:18 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Preventing Extra Excel instances SOLVED I had one today... I build a SQL statement as the recordsource for a form. I am dynamically building up a where clause where I substitute in the field name and value in the where clause. A name ( O'Doule or some such) has an apostrophe in it. As you know, the ' is the syntax for enclosing text strings in a SQL statement when doing this.... "Some SELECT HERE" & _ "WHERE SomeField = '" & strSomeValue & "';" In many of the computers at the client, when I append the SQL string in the form's recordsource with an ' in the middle, instead of a run time error, Access gives a warning and shuts down. On my machine it correctly gives a runtime error. I am SOOOOooooo tired of this buggy program. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Sat Oct 29 13:42:47 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 29 Oct 2005 14:42:47 -0400 Subject: [AccessD] Ignore - test Message-ID: <000601c5dcb8$8f3a8f40$fd7bfea9@ColbyM6805> I just got the port 25 redirect service from No-IP.com. Have to test that this works. As any of you with laptops (in the USA anyway) will probably be aware by now, many of the high speed ISPs are blocking port 25 SMTP email, forcing you to go through their mail.StupidISP.Com server. They do this so that they can cut off spammers but the effect is egregious for laptop owners who travel. Every time you go to a new ISP with port 25 blocking, you have to discover what THEIR email server address is, and go in to all of your email accounts in Outlook and reprogram the SMTP email address. I already use No-IP for dynamic IP address handling, so I added their Port 25 redirect service to get around this. Unfortunately it does cost me money, but at $19 / year it is worth doing since I travel a lot. Just a test - ignore. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From tinanfields at torchlake.com Sat Oct 29 14:11:28 2005 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 29 Oct 2005 15:11:28 -0400 Subject: [AccessD] Meet my kids References: <00cd01c5dafe$cfdddfe0$667aa8c0@ColbyM6805> Message-ID: <4363C960.7070704@torchlake.com> What darling babies! Tina John Colby wrote: >I have posted a new tab up on my web site. You thought that guy in the main >page was handsome (or even if you didn't), take a look at my kids! ;-) > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > From Gustav at cactus.dk Sat Oct 29 14:18:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Oct 2005 21:18:05 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Jim I see now what you mean. No, that is indeed not complicated. /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:51 >>> >>Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) Versus: Dim oMyArrayTool as gustavdll.ArrayTool Set oMyArrayTool = new ArrayTool oMyArrayTool.GoGetThatArray(lngP1, lngP2, MyArray()) Admittedly more code but not that complicated (same result either way). One an API note I have seen components that had COM and API style interfaces. I don't know if API style access is inherent in COM objects though. Could those developers have create two interfaces to the components? Maybe someone else can answer that. Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 12:25 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Well, I mean _not_ complicated, like: Private Declare Sub ShuffleArray Lib "gustavsdll" (ByVal p1 As Long, ByVal p2 As Long, ByRef aSomeArray() As Long) /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 18:11:07 >>> >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? From Gustav at cactus.dk Sat Oct 29 14:27:05 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Oct 2005 21:27:05 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Stuart Sounds great! I think I'll prepare a small test with some of the typical operations I do. I'm not expecting anyone to do a lot of work to create dlls of my full code. First step is to find out how much improvement to expect, then I can consider if it is worth the time to rewrite it. /gustav >>> stuart at lexacorp.com.pg 28-10-2005 21:09 >>> On 28 Oct 2005 at 15:29, Gustav Brock wrote: > Hi all > > I have some routines that manipulate data in and between some arrays. > The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. > > I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find > It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. > > Does anyone (Drew, Stuart?) have experience about what to expect? > For something like that I'd definitely build a reall DLL in PowerBasic. PB has built in array manipulation functions which are highly optimized and the speed gains compared to doing this sort of thing in VB/VBA would be dramatic. Create an VB "DLL" is likely to have little effect on speed, it could even slow it down because of the calling overhead. I'm leaving town in a couple of minutes for the weekend, but email me off list with your current array procedures and I'll take a look at building a simple DLL for you when I get back. From Gustav at cactus.dk Sat Oct 29 14:34:20 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 29 Oct 2005 21:34:20 +0200 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Fred Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? Are you saying he obtained a 50:1 improvement in total compared to VB? I could probably handle PowerBasic without much trouble, but Assembler is far away ... /gustav >>> fahooper at trapo.com 29-10-2005 00:09 >>> My brother-in-law, who develops in VB6, has told me that writing his DLL's in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of critical ones, he moved to Assembler for another 5:1. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav From fahooper at trapo.com Sat Oct 29 15:11:25 2005 From: fahooper at trapo.com (Fred Hooper) Date: Sat, 29 Oct 2005 16:11:25 -0400 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <000001c5dcc4$f1aee980$2e01a8c0@fredxp> Hi Gustav, His son, who now works with him, *likes* to program in Assembler (otherwise, he seems normal). They used it to replace the millions-of-times-called routines in a ray tracer, which replaces the vector screen display if enough time elapses to finish the computations. The product is for kitchen design and, like the others but better, shows what the kitchen will look like. It's interesting to watch the screen change, it's as though the display changed to a picture. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 29, 2005 3:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Fred Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? Are you saying he obtained a 50:1 improvement in total compared to VB? I could probably handle PowerBasic without much trouble, but Assembler is far away ... /gustav >>> fahooper at trapo.com 29-10-2005 00:09 >>> My brother-in-law, who develops in VB6, has told me that writing his DLL's in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of critical ones, he moved to Assembler for another 5:1. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Sat Oct 29 15:39:34 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Sat, 29 Oct 2005 16:39:34 -0400 Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... Message-ID: <000801c5dcc8$df6fe770$fd7bfea9@ColbyM6805> Folks, First of all, let me once again thank Shamil whom I consider to be the Father of AccessD Withevents usage, and who taught me everything I know about the subject. Withevents is the single most useful undocumented feature of Access AFAIAC. Withevents are DEAD EASY to understand, and make available a whole class of functionality that you would otherwise be unable to use. If you don't understand them yet, take this opportunity to learn how they work. I need a small control set to allow me to easily re-arrange the tables, and the queries that modify the tables in the data migration tool I am building. I therefore built a class to allow me to do this stuff. The class sinks the click events for two command buttons, and raises its own event. The operation of this thing is explained a little more below, and is also documented in the header of the class. This is a great demo of how WithEvents works, and is in fact a set of controls that I will be using in the new data migration tool to allow me to dynamically re-order the tables and queries to be processed in the order necessary. To download and look at this demo, go to my web site, register, login and click on Example Code / Withevents Demo, then click on C2DbControlSets to download the demo. When the demo opens, the form will open with the three controls being discussed. Click the up or down arrow to move selected record up or down in the list. Notice that the class raises its own event which is sunk in frmTestCtlGroups and used to requery another form which displays the records in the table. Thus this demo also shows how to raise an event in your own class, and how to sink that event to do something useful with it. As you move any record up/down through the list you can watch the other form and see it move, and how the StepID is being manipulated. ################## Each table will have a field which I shall call StepID for the purposes of this email. The StepID field will be an integer, and will be consecutive numbers within the recordset being "sorted". In other words: The tblTable has a StepID field, and each record in tblTable will have a value in this field, one more that the previous record. The tblOperation will likewise have a StepID field in it. Because this table is child to tblTable, there will be a SET of 1 or more records in tblOperation for each record in tblTable. WITHIN THAT SET, the StepID field will contain consecutive numbers. The control set contains a list control to display the records or some identifying piece such as the table name or the query name. The list will have at least 3 columns - PKIDE, STEPID and the identifying field (table / query name). There is a WithEvents class to hold all processing code and data for this control set. The form containing the data will dimension an instance of the class and initialize it: ################## Dim fdclsCtlLst_RecordMover As dclsCtlLst_RecordMover Dim fcnn As ADODB.Connection Private Sub Form_Open(Cancel As Integer) On Error GoTo Err_Form_Open Set fcnn = CurrentProject.Connection On Error Resume Next fcnn.Properties("Jet OLEDB:Database Locking Mode") = 1 On Error GoTo Err_Form_Open Set fdclsCtlLst_RecordMover = New dclsCtlLst_RecordMover fdclsCtlLst_RecordMover.mInit lstTestOrder, cmdTestOrderUp, cmdTestOrderDn, fcnn, "tblTestStep", "TBL_ID", "TBL_Step" Exit_Form_Open: Exit Sub Err_Form_Open: MsgBox Err.Description, , "Error in Sub Form_frmTestCtlGroups.Form_Open" Resume Exit_Form_Open Resume 0 '.FOR TROUBLESHOOTING End Sub ################## And a cleanup to release the class ################## Private Sub Form_Close() Set fdclsCtlLst_RecordMover = Nothing End Sub ################## And an event sink for the fdclsCtlLst_RecordMover AfterClick event ################## Private Sub fdclsCtlLst_RecordMover_AfterClick() Forms("frmTestOrder").Requery End Sub ################## The code for the class receives variables in an init statement. The variables include pointers to the specific list box and two command controls, a connection object, and the name of the table containing the StepID, the name of the PKID field, and the name of the StepID field. Init() stores all of these things, then there are two OnClick event handlers plus a method to do the work. That's all folks. ################## Option Compare Database Option Explicit ' 'This class implements a method of "moving" sorted records in a table where the sort field is a 'an integer (StepID), and the order of the records need to be dynamically moved using a visual tool. ' 'This object will be multi-user enabled by LOCKING two records at the instant a button is clicked. 'If locks cannot be obtained for BOTH records, an error message will be displayed and control 'will be returned to the user without anything done. ' 'Requirements: ' 'The list box Multi-select must be set to None, this class only moves one record at a time 'PK of the table has to be a long (autonumber) 'Step field has to be an Integer 'The step field cannot have a unique id. Reason explained in a moment 'The list has to be populated with a query with: ' The PKID in the leftmost (1st) field ' The STEPID in the next field ' Any other information contained in the remaining fields 'The query must be sorted in StepID order ' 'The class works by physically writing TWO records every time an up/down button is clicked ' 'If the focus is in the FIRST object in the list and the UP button is clicked, nothing is done 'If the focus is in the LAST object in the list and the DOWN button is clicked, nothing is done 'In any other case, adjacent records in the table whose name is passed in will be modified ' ' 'There will be an instant in time when two records will have the same StepID. 'Assume that RecordA has StepID of 21 and RecordB has a StepID of 22 (they are adjacent) 'The process works by: ' '1) Recording the current StepID of RecordA into a variable '2) Then the StepID of RecordB is written into the StepID of RecordA '3) Then the original StepID of RecordA is written into RecordB ' 'During the 2nd step above, two records have the same StepID. It is for this reason that the 'StepID field cannot have a UniqueID ' 'In order to prevent this, the code would have to discover an unused StepID, Temporarily setting 'the StepID of either RecordA or RecordB to the unused StepID, and fixing things up later. 'This would add an additional write operation, and would require keeping the locks in place longer. 'It CAN be done, but I am not doing this. ' 'If the UP button is clicked, the PK of the object ABOVE the object with the focus will be retrieved from the list ' Private mcnn As ADODB.Connection Private WithEvents mlst As ListBox Private WithEvents mcmdUp As CommandButton Private WithEvents mcmdDn As CommandButton Private mlngRec1ID As Long 'Rec1 will always be the CURRENTLY SELECTED of the two records being worked with Private mintRec1Step As Integer Private mlngRec2ID As Long 'Rec2 will always be the RECORD BEING EXCHANGED WITH of the two records being worked with Private mintRec2Step As Integer Private mstrTblName As String Private mstrPKFldName As String Private mstrStepFldName As String Private Const cintColumnPKID As Integer = 0 Private Const cintColumnStepID As Integer = 1 Private Const cstrEventProc = "[Event Procedure]" Public Event AfterClick() ' 'Cleanup all pointers to objects dimmed in this class ' Private Sub Class_Terminate() Set mlst = Nothing Set mcmdUp = Nothing Set mcmdDn = Nothing End Sub ' 'Pass in pointers to objects that this class controls ' 'llst, lcmdUp and lcmdDn are the list control and the two command button controls 'lcnn is a connection object for the database that the table is in 'lstrTblName is the name of the table that holds the StepField 'strPKFldName is the name of the PK field in lstrTblName - must be a long integer (autonumber) 'lstrStepFldName is the name of the step field in lstrTblName ' Function mInit(llst As ListBox, lcmdUp As CommandButton, lcmdDn As CommandButton, _ lcnn As ADODB.Connection, lstrTblName As String, lstrPKFldName As String, lstrStepFldName As String) Set mlst = llst Set mcmdUp = lcmdUp Set mcmdDn = lcmdDn Set mcnn = lcnn mcmdUp.OnClick = cstrEventProc mcmdDn.OnClick = cstrEventProc mstrTblName = lstrTblName mstrPKFldName = lstrPKFldName mstrStepFldName = lstrStepFldName End Function Private Sub mcmdDn_Click() UpdateRecords False RaiseEvent AfterClick End Sub Private Sub mcmdUp_Click() UpdateRecords True RaiseEvent AfterClick End Sub Private Sub UpdateRecords(lblnUp As Boolean) On Error GoTo Err_UpdateRecords Dim rst1 As ADODB.Recordset Dim rst2 As ADODB.Recordset Dim strSQL1 As String Dim strSQL2 As String Dim intListIndex As Integer intListIndex = mlst.ListIndex ' 'Check if the item selected is the first item in the list and we are moving up ' If intListIndex = 0 Then If lblnUp Then GoTo Exit_UpdateRecords End If End If ' 'Check if the item selected is the last item in the list and we are moving down ' If intListIndex + 1 = mlst.ListCount Then If Not lblnUp Then GoTo Exit_UpdateRecords End If End If mlngRec1ID = mlst.Column(cintColumnPKID, intListIndex) mintRec1Step = mlst.Column(cintColumnStepID, intListIndex) If lblnUp Then intListIndex = intListIndex - 1 Else intListIndex = intListIndex + 1 End If mlngRec2ID = mlst.Column(cintColumnPKID, intListIndex) mintRec2Step = mlst.Column(cintColumnStepID, intListIndex) ' 'Build up the SQL statement that will be used to lock and update the records ' strSQL1 = "SELECT " & mstrStepFldName & " FROM " & mstrTblName & " WHERE " & mstrPKFldName & " = " & mlngRec1ID strSQL2 = "SELECT " & mstrStepFldName & " FROM " & mstrTblName & " WHERE " & mstrPKFldName & " = " & mlngRec2ID ' 'Open both recordsets to establish the locks ' Set rst1 = New ADODB.Recordset rst1.Open strSQL1, mcnn, adOpenStatic, adLockPessimistic Set rst2 = New ADODB.Recordset rst2.Open strSQL2, mcnn, adOpenStatic, adLockPessimistic ' 'Update the data in both records so that the locks on both are held ' rst1(mstrStepFldName) = mintRec2Step rst2(mstrStepFldName) = mintRec1Step ' 'And finally write the data of both records sequentially so that the locks are released at the same time ' rst1.Update rst2.Update ' 'Requery the list box to reflect the changes ' mlst.Requery ' 'And set the focus back to the object ' 'mlst.ListIndex = intListIndex Exit_UpdateRecords: On Error Resume Next If Not (rst2 Is Nothing) Then rst2.Close: Set rst2 = Nothing If Not (rst1 Is Nothing) Then rst1.Close: Set rst1 = Nothing Exit Sub Err_UpdateRecords: Select Case Err Case -2147217887 MsgBox "One of the records you want to move is being edited by another user" Resume Exit_UpdateRecords Case Else MsgBox Err.Description, , "Error in Sub dclsCtlLst-RecordMover.UpdateRecords" Resume Exit_UpdateRecords End Select Resume 0 '.FOR TROUBLESHOOTING End Sub ################## John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ From john at winhaven.net Sat Oct 29 18:23:42 2005 From: john at winhaven.net (President) Date: Sat, 29 Oct 2005 18:23:42 -0500 Subject: [AccessD] Administrivia - Message Size Limits Message-ID: <01bf01c5dcdf$cd99beb0$6b01a8c0@ScuzzPaq> Greeting to all list members, The Database Advisors, Inc. Board of Directors has recently approved lowering the size limits of messages on the list to 20k. This is an attempt to encourage the snipping of emails during replies and to reduce the size of the archives in the future. Our archives are getting quite large, hence the cost of storing them is going up. It is unlikely that we will see many messages exceed 20k in size if they are properly snipped. HOWEVER our list moderators will let messages of any size through as long as the following criteria is met: 1. it has been properly snipped 2. it does not contain attachments 3. it was sent using plain text formatting 4. it contains valuable technical information If any of these criteria is not met, the post will be rejected. Please bear in mind that, although it would not be typical of our elite corp. of moderators, it may take moderators up to 24 hours to get to your post to allow it through. We initially experimented with the 20k limit on the Off Topic OT list where posts tend to be long, for the most part because of poor snipping. One other major cause of messages being held due to exceeding the size limit was messages being sent in html or rich text formats. (The size is determined before the html formatting is stripped and presently there is nothing we can do about this.) In the weeks since we reduced the size limit on the OT (where messages are often long winded (to say the least :o)) the number of messages rejected due to exceeding the size limits has dropped to near zero. Because of this we do not foresee a problem with the technical lists but please let us know if you are experiencing any problems because of this limit. We sincerely hope this does not cause any complications in your utilization of this valuable asset. Regards, John Bartow, President Database Advisors, Inc. Email: mailto:president at databaseadvisors.com Website: http://www.databaseadvisors.com From karenr7 at oz.net Sun Oct 30 00:31:16 2005 From: karenr7 at oz.net (Karen Rosenstiel) Date: Sat, 29 Oct 2005 22:31:16 -0700 Subject: [AccessD] Meet my kids In-Reply-To: <4363C960.7070704@torchlake.com> Message-ID: <200510300531.j9U5VBJ19763@databaseadvisors.com> Beautiful kids. Loving parents. This is a Good Thing. Regards, Karen Rosenstiel Seattle WA USA -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Saturday, October 29, 2005 12:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Meet my kids What darling babies! Tina John Colby wrote: >I have posted a new tab up on my web site. You thought that guy in the >main page was handsome (or even if you didn't), take a look at my kids! >;-) > >John W. Colby >www.ColbyConsulting.com > >Contribute your unused CPU cycles to a good cause: >http://folding.stanford.edu/ > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From KP at sdsonline.net Sun Oct 30 02:13:00 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Sun, 30 Oct 2005 19:13:00 +1100 Subject: [AccessD] Urgent one please - Page Setup settings revert to default when report closes Message-ID: <000d01c5dd29$bf0bdaf0$6401a8c0@user> Hi everybody - wondering if anyone can help with this one. I currently have a client's laptop here in my office so I can nut out a problem which has been bugging us for a while. I have a report which has been set to landscape , and with specific margins. When my client opens the report on her PC it previews correctly the first time she runs the report. But when she closes the database (and sometimes on only closing the report) if she reruns the report the page resets to portrait and with the default properties of the default printer. I haven't seen this before - if I save the report in Access with a particular setup, how are the printer settings overwriting that? And how can I prevent it? Access 2000 / Windows XP Pro 5.1 SP2 TIA Kath Pelletti From lembit.soobik at t-online.de Sun Oct 30 03:47:49 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 10:47:49 +0100 Subject: [AccessD] Urgent one please - Page Setup settings revert to defaultwhen report closes References: <000d01c5dd29$bf0bdaf0$6401a8c0@user> Message-ID: <009201c5dd36$fddabaf0$0600a8c0@v1000> Kath, this sounds to me that the report in question is set to STANDARD PRINTER. probably other programs influence the standard printer as well. set your report to specific printer and then save it This should save all the parameters like landscape then. hth Lembit ----- Original Message ----- From: "Kath Pelletti" To: Sent: Sunday, October 30, 2005 9:13 AM Subject: [AccessD] Urgent one please - Page Setup settings revert to defaultwhen report closes > Hi everybody - wondering if anyone can help with this one. I currently > have a client's laptop here in my office so I can nut out a problem which > has been bugging us for a while. > > I have a report which has been set to landscape , and with specific > margins. > > When my client opens the report on her PC it previews correctly the first > time she runs the report. > > But when she closes the database (and sometimes on only closing the > report) if she reruns the report the page resets to portrait and with the > default properties of the default printer. > > I haven't seen this before - if I save the report in Access with a > particular setup, how are the printer settings overwriting that? And how > can I prevent it? > > Access 2000 / Windows XP Pro 5.1 SP2 > > TIA > > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From Gustav at cactus.dk Sun Oct 30 03:59:32 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 30 Oct 2005 10:59:32 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Fred That son deserves respect! It is years ago I gave away my original plastic box with Microsoft Assembler to some local computer nerds collecting rarities. But how can you handle Assembler today? I located these links which may be of interest to some of you: About HLA, High Level Assembly (contradicting?): http://www.linuxjournal.com/article/8408 Main page of HLA which is free: http://webster.cs.ucr.edu/AsmTools/HLA/index.html Writing DLLs with HLA: http://webster.cs.ucr.edu/AsmTools/HLA/HLADoc/HTMLDoc/dll.html An IDE for HLA, RadASM: http://radasm.visualassembler.com For the next step, MASM32: http://www.masm32.com If this is too much, how about FreeBASIC, a free QBasic compiler that can compile DLLs and use in-line assembler: http://www.freebasic.net And an IDE for this, FBIde: http://fbide.sourceforge.net /gustav >>> fahooper at trapo.com 29-10-2005 22:11 >>> Hi Gustav, His son, who now works with him, *likes* to program in Assembler (otherwise, he seems normal). They used it to replace the millions-of-times-called routines in a ray tracer, which replaces the vector screen display if enough time elapses to finish the computations. The product is for kitchen design and, like the others but better, shows what the kitchen will look like. It's interesting to watch the screen change, it's as though the display changed to a picture. Fred -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, October 29, 2005 3:34 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Fred Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? Are you saying he obtained a 50:1 improvement in total compared to VB? I could probably handle PowerBasic without much trouble, but Assembler is far away ... /gustav >>> fahooper at trapo.com 29-10-2005 00:09 >>> My brother-in-law, who develops in VB6, has told me that writing his DLL's in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of critical ones, he moved to Assembler for another 5:1. From KP at sdsonline.net Sun Oct 30 06:15:48 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Sun, 30 Oct 2005 23:15:48 +1100 Subject: [AccessD] Urgent one please - Page Setup settings revert todefaultwhen report closes References: <000d01c5dd29$bf0bdaf0$6401a8c0@user> <009201c5dd36$fddabaf0$0600a8c0@v1000> Message-ID: <000f01c5dd4b$aba6fae0$6401a8c0@user> Hi Lembit - yes it is set to standard printer. I wanted to avoid setting it to a specific printer - can't I do that? It will make it harder to distribute that way..... Kath ----- Original Message ----- From: Lembit Soobik To: Access Developers discussion and problem solving Sent: Sunday, October 30, 2005 8:47 PM Subject: Re: [AccessD] Urgent one please - Page Setup settings revert todefaultwhen report closes Kath, this sounds to me that the report in question is set to STANDARD PRINTER. probably other programs influence the standard printer as well. set your report to specific printer and then save it This should save all the parameters like landscape then. hth Lembit ----- Original Message ----- From: "Kath Pelletti" To: Sent: Sunday, October 30, 2005 9:13 AM Subject: [AccessD] Urgent one please - Page Setup settings revert to defaultwhen report closes > Hi everybody - wondering if anyone can help with this one. I currently > have a client's laptop here in my office so I can nut out a problem which > has been bugging us for a while. > > I have a report which has been set to landscape , and with specific > margins. > > When my client opens the report on her PC it previews correctly the first > time she runs the report. > > But when she closes the database (and sometimes on only closing the > report) if she reruns the report the page resets to portrait and with the > default properties of the default printer. > > I haven't seen this before - if I save the report in Access with a > particular setup, how are the printer settings overwriting that? And how > can I prevent it? > > Access 2000 / Windows XP Pro 5.1 SP2 > > TIA > > Kath Pelletti > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lembit.soobik at t-online.de Sun Oct 30 07:06:33 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 14:06:33 +0100 Subject: [AccessD] Urgent one please - Page Setup settings reverttodefaultwhen report closes References: <000d01c5dd29$bf0bdaf0$6401a8c0@user><009201c5dd36$fddabaf0$0600a8c0@v1000> <000f01c5dd4b$aba6fae0$6401a8c0@user> Message-ID: <000401c5dd52$c0c219d0$0600a8c0@v1000> Kath, if you set it to standard printer, it will be influenced by whatever settings are there, including margins and landscape/portrait setings. with specific printer all these settings wil be saved with your report and used on all PCs. Lembit ----- Original Message ----- From: "Kath Pelletti" To: "Access Developers discussion and problem solving" Sent: Sunday, October 30, 2005 1:15 PM Subject: Re: [AccessD] Urgent one please - Page Setup settings reverttodefaultwhen report closes > Hi Lembit - yes it is set to standard printer. I wanted to avoid setting > it to a specific printer - can't I do that? It will make it harder to > distribute that way..... > > Kath > ----- Original Message ----- > From: Lembit Soobik > To: Access Developers discussion and problem solving > Sent: Sunday, October 30, 2005 8:47 PM > Subject: Re: [AccessD] Urgent one please - Page Setup settings revert > todefaultwhen report closes > > > Kath, > this sounds to me that the report in question is set to STANDARD PRINTER. > probably other programs influence the standard printer as well. > > set your report to specific printer and then save it > This should save all the parameters like landscape then. > hth > Lembit > > ----- Original Message ----- > From: "Kath Pelletti" > To: > Sent: Sunday, October 30, 2005 9:13 AM > Subject: [AccessD] Urgent one please - Page Setup settings revert to > defaultwhen report closes > > > > Hi everybody - wondering if anyone can help with this one. I currently > > have a client's laptop here in my office so I can nut out a problem > which > > has been bugging us for a while. > > > > I have a report which has been set to landscape , and with specific > > margins. > > > > When my client opens the report on her PC it previews correctly the > first > > time she runs the report. > > > > But when she closes the database (and sometimes on only closing the > > report) if she reruns the report the page resets to portrait and with > the > > default properties of the default printer. > > > > I haven't seen this before - if I save the report in Access with a > > particular setup, how are the printer settings overwriting that? And > how > > can I prevent it? > > > > Access 2000 / Windows XP Pro 5.1 SP2 > > > > TIA > > > > Kath Pelletti > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > > > -- > > No virus found in this incoming message. > > Checked by AVG Free Edition. > > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: > 28.10.2005 > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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 incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From harkinsss at bellsouth.net Sun Oct 30 07:09:32 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 30 Oct 2005 08:09:32 -0500 Subject: [AccessD] Urgent one please - Page Setup settings reverttodefaultwhen report closes In-Reply-To: <000f01c5dd4b$aba6fae0$6401a8c0@user> Message-ID: <20051030130935.YLKB3007.ibm59aec.bellsouth.net@SUSANONE> It has been a long time, but didn't an older version of Access have a report bug where the report couldn't maintain settings of the Name Correct option was turned on? What version of Access are you using? This probably isn't it, since you are probably using a more recent version, but thought I'd mention it. Susan H. Hi Lembit - yes it is set to standard printer. I wanted to avoid setting it to a specific printer - can't I do that? It will make it harder to distribute that way..... From harkinsss at bellsouth.net Sun Oct 30 07:13:54 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 30 Oct 2005 08:13:54 -0500 Subject: [AccessD] Urgent one please - Page Setup settingsreverttodefaultwhen report closes In-Reply-To: <20051030130935.YLKB3007.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <20051030131355.YMLW3007.ibm59aec.bellsouth.net@SUSANONE> Lembit, if she needs to stick with the standard printer, can she pass the report settings to the printer via code? I mean, will the standard printer setting accept them and use them? The code part would be easy enough -- just would it work? Susan H. It has been a long time, but didn't an older version of Access have a report bug where the report couldn't maintain settings of the Name Correct option was turned on? What version of Access are you using? This probably isn't it, since you are probably using a more recent version, but thought I'd mention it. Susan H. From lembit.soobik at t-online.de Sun Oct 30 07:20:22 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 14:20:22 +0100 Subject: [AccessD] Urgent one please - Page Setupsettingsreverttodefaultwhen report closes References: <20051030131355.YMLW3007.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <000a01c5dd54$ae9c5700$0600a8c0@v1000> I dont remember details, but there was a problem in that you needed to go to design mode to set most of the parameters. therefore you cannot use that for example in an MDE. dont know how this is now with the newer versions. I used it in 97 and before. Lembit ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 30, 2005 2:13 PM Subject: Re: [AccessD] Urgent one please - Page Setupsettingsreverttodefaultwhen report closes > Lembit, if she needs to stick with the standard printer, can she pass the > report settings to the printer via code? I mean, will the standard printer > setting accept them and use them? The code part would be easy enough -- > just > would it work? > > Susan H. > > It has been a long time, but didn't an older version of Access have a > report > bug where the report couldn't maintain settings of the Name Correct option > was turned on? > > What version of Access are you using? This probably isn't it, since you > are > probably using a more recent version, but thought I'd mention it. > > Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From carbonnb at sympatico.ca Sun Oct 30 07:38:02 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Sun, 30 Oct 2005 08:38:02 -0500 Subject: [AccessD] Administrivia - Message Size Limits In-Reply-To: <01bf01c5dcdf$cd99beb0$6b01a8c0@ScuzzPaq> Message-ID: On 29 Oct 2005 at 18:23, President wrote: > The Database Advisors, Inc. Board of Directors has recently approved > lowering the size limits of messages on the list to 20k. This is an Just as a data point for anyone that is concerned with the new size limit on the lists, John Colby's post yesterday "[AccessD] New Withevents demo - Bows in the general direction of Russia..." ( http://databaseadvisors.com/pipermail/accessd/2005- October/038880.html ) was only 14K. So you can get a LOT of information in an that is snipped properly and sent in plain text. John, you have impecable timing :-) -- Bryan Carbonnell - carbonnb at sympatico.ca I live in my own little world. But it's OK. They know me here. From lembit.soobik at t-online.de Sun Oct 30 08:00:17 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 15:00:17 +0100 Subject: [AccessD] Urgent one please - PageSetupsettingsreverttodefaultwhen report closes References: <20051030131355.YMLW3007.ibm59aec.bellsouth.net@SUSANONE> <000a01c5dd54$ae9c5700$0600a8c0@v1000> Message-ID: <000601c5dd5a$42a9da30$0600a8c0@v1000> Have just found it: PrtDevMode property allows you to set among others Orientation, however in order to write to it you must go to designview. if you can do that, search help for it. you may also want to look up PrtMip and PrtDevNames In Help they recommend to look these up in Win32 SDK help. Lembit ----- Original Message ----- From: "Lembit Soobik" To: "Access Developers discussion and problem solving" Sent: Sunday, October 30, 2005 2:20 PM Subject: Re: [AccessD] Urgent one please - PageSetupsettingsreverttodefaultwhen report closes >I dont remember details, but there was a problem in that you needed to go >to > design mode to set most of the parameters. therefore you cannot use that > for > example in an MDE. > dont know how this is now with the newer versions. I used it in 97 and > before. > > Lembit > > ----- Original Message ----- > From: "Susan Harkins" > To: "'Access Developers discussion and problem solving'" > > Sent: Sunday, October 30, 2005 2:13 PM > Subject: Re: [AccessD] Urgent one please - Page > Setupsettingsreverttodefaultwhen report closes > > >> Lembit, if she needs to stick with the standard printer, can she pass the >> report settings to the printer via code? I mean, will the standard >> printer >> setting accept them and use them? The code part would be easy enough -- >> just >> would it work? >> >> Susan H. >> >> It has been a long time, but didn't an older version of Access have a >> report >> bug where the report couldn't maintain settings of the Name Correct >> option >> was turned on? >> >> What version of Access are you using? This probably isn't it, since you >> are >> probably using a more recent version, but thought I'd mention it. >> >> Susan H. >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> >> -- >> No virus found in this incoming message. >> Checked by AVG Free Edition. >> Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: >> 28.10.2005 >> >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From harkinsss at bellsouth.net Sun Oct 30 08:05:07 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 30 Oct 2005 09:05:07 -0500 Subject: [AccessD] Urgent one please -PageSetupsettingsreverttodefaultwhen report closes In-Reply-To: <000601c5dd5a$42a9da30$0600a8c0@v1000> Message-ID: <20051030140508.ZADD3007.ibm59aec.bellsouth.net@SUSANONE> If she's using a later version with the Printer object and Printer collections, it's much easier. I missed the beginning of the thread, so I apologize if this is irrelevant. Susan H. Have just found it: PrtDevMode property allows you to set among others Orientation, however in order to write to it you must go to designview. if you can do that, search help for it. you may also want to look up PrtMip and PrtDevNames In Help they recommend to look these up in Win32 SDK help. From lembit.soobik at t-online.de Sun Oct 30 09:06:30 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Sun, 30 Oct 2005 16:06:30 +0100 Subject: [AccessD] Urgent one please-PageSetupsettingsreverttodefaultwhen report closes References: <20051030140508.ZADD3007.ibm59aec.bellsouth.net@SUSANONE> Message-ID: <000801c5dd63$82ae77e0$0600a8c0@v1000> I have never used the printer object and collection. what she needs to do is make sure it prints in landscape with defined margins. If you can do that with your methods, lets know. otherwise, I think with PrtDevMode as property of the report you may be able to set it to landscape and save it. then it should print on the standard printer in landscape. Lembit ----- Original Message ----- From: "Susan Harkins" To: "'Access Developers discussion and problem solving'" Sent: Sunday, October 30, 2005 3:05 PM Subject: Re: [AccessD] Urgent one please-PageSetupsettingsreverttodefaultwhen report closes > If she's using a later version with the Printer object and Printer > collections, it's much easier. I missed the beginning of the thread, so I > apologize if this is irrelevant. > > Susan H. > > Have just found it: > PrtDevMode property allows you to set among others Orientation, however in > order to write to it you must go to designview. if you can do that, search > help for it. > you may also want to look up > PrtMip and > PrtDevNames > > In Help they recommend to look these up in Win32 SDK help. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.361 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From bchacc at san.rr.com Sun Oct 30 10:24:40 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Sun, 30 Oct 2005 08:24:40 -0800 Subject: [AccessD] Fw: Email Address for Sleep Advisor Orders Message-ID: <009d01c5dd6e$6e0bdf20$6501a8c0@HAL9004> Dear List: I need to collect the order and download information from our web site where we will be selling The Sleep Advisor. Does option 3 below look like an easy and/or viable solution? Would I need to use ADO or can it be done in DAO (with which I am more familiar)? Does anyone have a code snippet to get this started? MTIA Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: Zachary Naiman To: Rocky Smolin - Beach Access Software Cc: Rubin R. Naiman, Ph.D. Sent: Sunday, October 30, 2005 8:03 AM Subject: Re: Email Address for Sleep Advisor Orders hi Rocky, yes, we collect those email addresses also (from the beta test that my dad did i confirmed it). we have the following options for downloading the databases from online: 1) I could build a CSV creater (about 1 hr of work) where you put in a password to access a file that allows you to download each table as a csv 2) You could install a great program called SQLyog, which will allow you to see, download and manipulate the database in real time 3) You could download the MySQL ODBC driver here http://dev.mysql.com/downloads/connector/odbc/3.51.html and then configure access (using the log-in information that your Host company, CostCo, sent you) to synchronize tables, such that every time you open your access file you'll be looking at the current data on the server. I highly recommend #3 -- it's free and quick, and you'll probably have no trouble doing it since you're an access guy! Also, that's what I'm going to set up for my dad so that he can keep the Resources database up-to-date. If you set that up today, the tables of interest in terms of payments are: 1) paypal_payment_info: this table collects the data the PayPal posts to us after a transaction (the IPN data) 2) sleeprog: this table collects the Download data -- the name and email of the person with download rights, the number of downloads left (3,2,1 or 0) and a timestamp the other three tables you see are for the Resources page. let me know what you decide and how it goes if you do #3. z ----- Original Message ----- From: Rocky Smolin - Beach Access Software To: Zachary Naiman Cc: Rubin Naiman Sent: Sunday, October 30, 2005 7:52 AM Subject: Email Address for Sleep Advisor Orders Zach: Is it possible to collect the email address of people ordering the sleep advisor on line - not the download - obviously we'll have it from that - but for those who want the product shipped. What I'm thinking of is 1) to later collect the results of their assessment for analysis (I built in a back door for exporting their results like the Betas) and 2) building a mailing list for future products, updates, etc. Sometime this week I need to find out from you how to access and download the order records from our site. What's convenient for you? Rocky From Gustav at cactus.dk Sun Oct 30 10:44:33 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 30 Oct 2005 17:44:33 +0100 Subject: [AccessD] Fw: Email Address for Sleep Advisor Orders Message-ID: Hi Rocky The short answer is yes. You can use ADO for the ODBC connection or linked DAO tables as you prefer. /gustav >>> bchacc at san.rr.com 30-10-2005 17:24 >>> Does option 3 below look like an easy and/or viable solution? Would I need to use ADO or can it be done in DAO (with which I am more familiar)? Does anyone have a code snippet to get this started? -- 3) You could download the MySQL ODBC driver here http://dev.mysql.com/downloads/connector/odbc/3.51.html and then configure access (using the log-in information that your Host company, CostCo, sent you) to synchronize tables, such that every time you open your access file you'll be looking at the current data on the server. From harkinsss at bellsouth.net Sun Oct 30 10:50:29 2005 From: harkinsss at bellsouth.net (Susan Harkins) Date: Sun, 30 Oct 2005 11:50:29 -0500 Subject: [AccessD] Urgent oneplease-PageSetupsettingsreverttodefaultwhen report closes In-Reply-To: <000801c5dd63$82ae77e0$0600a8c0@v1000> Message-ID: <20051030165030.VTSL25246.ibm60aec.bellsouth.net@SUSANONE> If it's easily done with PrtDevMode, no reason not to use it. Susan H. otherwise, I think with PrtDevMode as property of the report you may be able to set it to landscape and save it. then it should print on the standard printer in landscape. From martyconnelly at shaw.ca Sun Oct 30 12:08:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 30 Oct 2005 10:08:06 -0800 Subject: [AccessD] Array faster in DLL? References: Message-ID: <43650C06.70205@shaw.ca> If you are working with really for sure definetely absolutely fixed size arrays in VB6 dll you can turn off Remove Array Bounds Checks option for about 25% speed performance increase. With the chance of a GPF Gustav Brock wrote: >Hi Fred > >Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). > >By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? >Are you saying he obtained a 50:1 improvement in total compared to VB? >I could probably handle PowerBasic without much trouble, but Assembler is far away ... > >/gustav > > > >>>>fahooper at trapo.com 29-10-2005 00:09 >>> >>>> >>>> >My brother-in-law, who develops in VB6, has told me that writing his DLL's >in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of >critical ones, he moved to Assembler for another 5:1. > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >Sent: Friday, October 28, 2005 9:30 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Array faster in DLL? > >Hi all > >I have some routines that manipulate data in and between some arrays. >The arrays are not large but they are recalculated about 3 mio. times which >runs on my machine to 90 seconds. > >I was wondering if there would be any significant speed increase by moving >these routines to a DLL. I have no experience in writing such libraries but >guess I could find as the routines are uncomplicated. Variables are Long >mostly, only one Single. >It would take me some time to program these, of course, and if the speed >increase only could be expected to be, say, 30%, it wouldn't hardly be worth >it. > >Does anyone (Drew, Stuart?) have experience about what to expect? > >/gustav > > > > -- Marty Connelly Victoria, B.C. Canada From martyconnelly at shaw.ca Sun Oct 30 13:08:50 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 30 Oct 2005 11:08:50 -0800 Subject: [AccessD] Array faster in DLL? References: <43650C06.70205@shaw.ca> Message-ID: <43651A42.3050905@shaw.ca> Personally if I am using arrays or a lot of matrix math like Fourier Transforms. I develop in Intel Fortran Compiler for Windows & Visual Fortran but I can write Fortran in my sleep. It is COM compliant and callable from VBA. I have written DOS assembler a long time ago what I could do in a day in Fortran would take me 6 weeks in assembler just because I would have to relearn so much. Microsoft VB with arrays has a lot of overhead of error, type and range checking. Come to think of it IBM Fortran compilers and maybe others used to produce an optional ASM listing that might help you out. MartyConnelly wrote: >If you are working with really for sure definetely absolutely fixed size >arrays in VB6 dll you can >turn off Remove Array Bounds Checks option for about 25% speed >performance increase. >With the chance of a GPF > >Gustav Brock wrote: > > > >>Hi Fred >> >>Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). >> >>By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? >>Are you saying he obtained a 50:1 improvement in total compared to VB? >>I could probably handle PowerBasic without much trouble, but Assembler is far away ... >> >>/gustav >> >> >> >> >> >>>>>fahooper at trapo.com 29-10-2005 00:09 >>> >>>>> >>>>> >>>>> >>>>> >>My brother-in-law, who develops in VB6, has told me that writing his DLL's >>in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of >>critical ones, he moved to Assembler for another 5:1. >> >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>Sent: Friday, October 28, 2005 9:30 AM >>To: accessd at databaseadvisors.com >>Subject: [AccessD] Array faster in DLL? >> >>Hi all >> >>I have some routines that manipulate data in and between some arrays. >>The arrays are not large but they are recalculated about 3 mio. times which >>runs on my machine to 90 seconds. >> >>I was wondering if there would be any significant speed increase by moving >>these routines to a DLL. I have no experience in writing such libraries but >>guess I could find as the routines are uncomplicated. Variables are Long >>mostly, only one Single. >>It would take me some time to program these, of course, and if the speed >>increase only could be expected to be, say, 30%, it wouldn't hardly be worth >>it. >> >>Does anyone (Drew, Stuart?) have experience about what to expect? >> >>/gustav >> >> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Sun Oct 30 14:16:19 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 30 Oct 2005 21:16:19 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Marty, Shamil, Fred et all Well, I did a small and quite surprising test inspired by Shamil. Here is a test routine which can be seen as typical for what I do. The array is not large but it is read from and written to a bunch of times. Here is the local test using standard VBA: Function ArrayTimeLocal(ByVal lngLoopMax As Long) As Long Const lngItems As Long = 100 Dim alngTmp(1 To lngItems, 1 To 2) As Long Dim lngLoop As Long Dim lngItem As Long Dim lngResult As Long Dim lngSeconds As Long Dim dblStart As Double Dim dblStop As Double dblStart = Timer For lngLoop = 1 To lngLoopMax For lngItem = 1 To lngItems alngTmp(lngItem, 1) = lngLoop * 10 If alngTmp(lngItem, 1) / 10 = 100 Then lngResult = 1 Else lngResult = 0 End If Next Next dblStop = Timer lngSeconds = CLng(dblStop - dblStart) ArrayTimeLocal = lngSeconds End Function And this is the test function using an DLL containing nearly identical code: Declare Function ArrayTime Lib "arraydll.dll" Alias "ArrayTime at 4" (ByVal lngLoops As Long) As Long Function ArrayTimeDLL(ByVal lngLoopMax As Long) As Long ArrayTimeDLL = ArrayTime(lngLoopMax) End Function The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. Setting lngLoopMax to 10^6 returns these running times for the two functions: ArrayTimeLocal: 34 seconds ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! Nothing comes free, and the trouble is - as far as I can see - that the dll has to be programmed to run rock stable. If it errors out, Access halts or simply quits - no errors, no GPF, just poof away. With this result I think I'll leave the assembler stuff for now. Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, we could rank these. /gustav >>> martyconnelly at shaw.ca 30-10-2005 20:08 >>> Personally if I am using arrays or a lot of matrix math like Fourier Transforms. I develop in Intel Fortran Compiler for Windows & Visual Fortran but I can write Fortran in my sleep. It is COM compliant and callable from VBA. I have written DOS assembler a long time ago what I could do in a day in Fortran would take me 6 weeks in assembler just because I would have to relearn so much. Microsoft VB with arrays has a lot of overhead of error, type and range checking. Come to think of it IBM Fortran compilers and maybe others used to produce an optional ASM listing that might help you out. MartyConnelly wrote: >If you are working with really for sure definetely absolutely fixed size >arrays in VB6 dll you can >turn off Remove Array Bounds Checks option for about 25% speed >performance increase. >With the chance of a GPF From martyconnelly at shaw.ca Sun Oct 30 15:37:35 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Sun, 30 Oct 2005 13:37:35 -0800 Subject: [AccessD] Array faster in DLL? References: <43650C06.70205@shaw.ca> <43651A42.3050905@shaw.ca> Message-ID: <43653D1F.1070403@shaw.ca> Oopps here is the url For Intel Fortran Note: it also optimizes on array loops for parallel processing assuming multi cores. http://www.intel.com/cd/software/products/asmo-na/eng/compilers/fwin/219725.htm MartyConnelly wrote: >Personally if I am using arrays or a lot of matrix math like Fourier >Transforms. I develop in >Intel Fortran Compiler for Windows & Visual Fortran but I can write >Fortran in my sleep. >It is COM compliant and callable from VBA. I have written DOS assembler >a long time ago >what I could do in a day in Fortran would take me 6 weeks in assembler >just because I would >have to relearn so much. Microsoft VB with arrays has a lot of overhead >of error, type and range checking. >Come to think of it IBM Fortran compilers and maybe others used to >produce an optional ASM listing that might help you out. > >MartyConnelly wrote: > > > >>If you are working with really for sure definetely absolutely fixed size >>arrays in VB6 dll you can >>turn off Remove Array Bounds Checks option for about 25% speed >>performance increase. >>With the chance of a GPF >> >>Gustav Brock wrote: >> >> >> >> >> >>>Hi Fred >>> >>>Sounds interesting and in line with the comments from Mr. PowerBasic (Stuart). >>> >>>By the way, how did your brother-in-law write the Assembler version? With a tool of some sort or directly? >>>Are you saying he obtained a 50:1 improvement in total compared to VB? >>>I could probably handle PowerBasic without much trouble, but Assembler is far away ... >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>> >>>>>>fahooper at trapo.com 29-10-2005 00:09 >>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>My brother-in-law, who develops in VB6, has told me that writing his DLL's >>>in PowerBasic gave him a 10:1 speed improvement. Then, for a couple of >>>critical ones, he moved to Assembler for another 5:1. >>> >>>-----Original Message----- >>>From: accessd-bounces at databaseadvisors.com >>>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock >>>Sent: Friday, October 28, 2005 9:30 AM >>>To: accessd at databaseadvisors.com >>>Subject: [AccessD] Array faster in DLL? >>> >>>Hi all >>> >>>I have some routines that manipulate data in and between some arrays. >>>The arrays are not large but they are recalculated about 3 mio. times which >>>runs on my machine to 90 seconds. >>> >>>I was wondering if there would be any significant speed increase by moving >>>these routines to a DLL. I have no experience in writing such libraries but >>>guess I could find as the routines are uncomplicated. Variables are Long >>>mostly, only one Single. >>>It would take me some time to program these, of course, and if the speed >>>increase only could be expected to be, say, 30%, it wouldn't hardly be worth >>>it. >>> >>>Does anyone (Drew, Stuart?) have experience about what to expect? >>> >>>/gustav >>> >>> >>> >>> >>> >>> >>> >>> >> >> >> >> > > > -- Marty Connelly Victoria, B.C. Canada From KP at sdsonline.net Sun Oct 30 16:15:32 2005 From: KP at sdsonline.net (Kath Pelletti) Date: Mon, 31 Oct 2005 09:15:32 +1100 Subject: [AccessD] Urgent oneplease-PageSetupsettingsreverttodefaultwhenreport closes References: <20051030165030.VTSL25246.ibm60aec.bellsouth.net@SUSANONE> Message-ID: <004301c5dd9f$7271b400$6401a8c0@user> Hi Susan - this is Access 2000, Windows Pro XP sp2. Kath ----- Original Message ----- From: Susan Harkins To: 'Access Developers discussion and problem solving' Sent: Monday, October 31, 2005 3:50 AM Subject: Re: [AccessD] Urgent oneplease-PageSetupsettingsreverttodefaultwhenreport closes If it's easily done with PrtDevMode, no reason not to use it. Susan H. otherwise, I think with PrtDevMode as property of the report you may be able to set it to landscape and save it. then it should print on the standard printer in landscape. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Oct 30 20:18:13 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 30 Oct 2005 18:18:13 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: <43653D1F.1070403@shaw.ca> Message-ID: <005c01c5ddc1$590da420$017ba8c0@xpserver> OT: I would normally not post this item here but I am not sure where I would find a more experience group. It appears that one of my servers has been hacked. :-( The first indication is, and it may be unrelated, is that one of my FTP directories that I have used for unloading and downloading files into has a 'Locked' directory in it. It is real simple to do this; and do not try it! make a directory like: \temp\o0oKARo0o\here\ and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? The second indication is that a subnet, even though that all the computers hung off it have been disconnected; there was a lot of activity on that IP address logged. The intruder was tracked as far as an ISP in the states but could be followed no further. According to his 'Webmin', Chinese is his first language and his OS of choice is LINUX. No more information could be gathered. He has not been able to access the administration account as there were a number of failed attempts logged while trying to change passwords. All the account passwords change regularly and are of a sufficient complexity (over 6 characters, mixture of upper and lower case, mixture of letters and numbers and must have at least one special character.) but still have no idea how access was attained. The computer is an advanced Windows2000 server, with latest updates, even though all mail goes through it does not have the capacity to send mail directly other then through PHP and ASP, has a MS SQL server but its ports are closed. It does have IIS running but none of the web sites are writable. Any help would be greatly appreciated. MTIA Jim From stuart at lexacorp.com.pg Sun Oct 30 20:41:55 2005 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 31 Oct 2005 12:41:55 +1000 Subject: [AccessD] Array faster in DLL? In-Reply-To: Message-ID: <43661113.5939.192D1374@stuart.lexacorp.com.pg> On 30 Oct 2005 at 21:16, Gustav Brock wrote: > The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. > > Setting lngLoopMax to 10^6 returns these running times for the two functions: > > ArrayTimeLocal: 34 seconds > ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) > > Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! ... > Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, On my machine with the same code compiled to DLL in PowerBasic: ArrayTimeLocal: 27 (10^6) ArrayTimeDLL: 2.7 (actually 27 secs for 10^7) An improvement of 10:1 . Looks like for this set of operations FreeBASIC does a better job than PowerBASIC. -- Stuart From Bruce.Bruen at railcorp.nsw.gov.au Sun Oct 30 21:43:59 2005 From: Bruce.Bruen at railcorp.nsw.gov.au (Bruen, Bruce) Date: Mon, 31 Oct 2005 14:43:59 +1100 Subject: [AccessD] OT: Been hacked Message-ID: <9E741970C18E9A43A2E5FF34332F7F2D600C44@msmet100.rail.nsw.gov.au> and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? Its possibly not a space but a non-displayable character. Try copying the folder name from explorer into a hexeditor. Hth bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. From DWUTKA at marlow.com Sun Oct 30 22:01:34 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sun, 30 Oct 2005 22:01:34 -0600 Subject: [AccessD] Array faster in DLL? Message-ID: <123701F54509D9119A4F00D0B7473490EA5F4F@main2.marlow.com> Yes, an array will run faster in a compiled state. How much, I'm not sure, it is going to depend what you are doing. Drew -----Original Message----- From: Jim DeMarco [SMTP:Jdemarco at hudsonhealthplan.org] Sent: Friday, October 28, 2005 8:42 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Array faster in DLL? Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Oct 30 22:05:03 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sun, 30 Oct 2005 22:05:03 -0600 Subject: [AccessD] Array faster in DLL? Message-ID: <123701F54509D9119A4F00D0B7473490EA5F50@main2.marlow.com> Ironically, I've been messing with arrays this weekend. I initially was using collections, but due to the multiple 'runs', the process was taking about a minute. Switching part of it to arrays cut that in half, and all the way to arrays got it down to 4 seconds in debug mode (less then a second compiled). One thing I did, which also immensely helped, is that I was passing strings to and from an array (actually, I was adding to a string over and over....and manipulating data within the string), along with copying one array to another. Instead of looping through, I used the copymemory API, instantaneous to and from the arrays and strings. Drew -----Original Message----- From: Gustav Brock [SMTP:Gustav at cactus.dk] Sent: Friday, October 28, 2005 9:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Oct 30 22:07:11 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sun, 30 Oct 2005 22:07:11 -0600 Subject: [AccessD] Array faster in DLL? Message-ID: <123701F54509D9119A4F00D0B7473490EA5F51@main2.marlow.com> I think Gustav is talking about making a .dll in C, which can then be called with an API call. VB makes ActiveX .dll's, which has a little more overhead involved. Drew -----Original Message----- From: Jim DeMarco [SMTP:Jdemarco at hudsonhealthplan.org] Sent: Friday, October 28, 2005 11:11 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Array faster in DLL? >>more complicated than a Windows API call Not sure what you mean by complicated. Is there an API you can call to do what you need? If so then a DLL may be more work or steps than is needed. If not, what choice would you have? Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 12:01 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim But it wouldn't be more complicated than a Windows API call which you can use just by a Declare .. As .. etc. I have no need for setting properties, not even checking a result code ... /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 17:47:16 >>> Yes if you want it in a DLL (or you'll at least need a class that uses your standard modules; these will provide the public interface to the DLL). Think about every built-in VBA oject you use. All stored in classes in various DLLs within Office (hence "object"). Jim D. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 10:50 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Array faster in DLL? Hi Jim Sounds great! No they are not classes. I simply pass ByRef an array to a function which shuffles around the content of the array according to some rules and other params. Would I need to wrap such a function in a class? /gustav >>> Jdemarco at hudsonhealthplan.org 28-10-2005 15:41:34 >>> Gustav, I'd expect some speed increase from compiled code but how much is hard to say. It's doubtful that it would cut the time in half but it's certainly a possiblity. Are your routines in class modules? If not and you can write them into a class or classes I'd be glad to compile them for you so you could test. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Gustav Brock Sent: Friday, October 28, 2005 9:30 AM To: accessd at databaseadvisors.com Subject: [AccessD] Array faster in DLL? Hi all I have some routines that manipulate data in and between some arrays. The arrays are not large but they are recalculated about 3 mio. times which runs on my machine to 90 seconds. I was wondering if there would be any significant speed increase by moving these routines to a DLL. I have no experience in writing such libraries but guess I could find as the routines are uncomplicated. Variables are Long mostly, only one Single. It would take me some time to program these, of course, and if the speed increase only could be expected to be, say, 30%, it wouldn't hardly be worth it. Does anyone (Drew, Stuart?) have experience about what to expect? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com **************************************************************************** ******* "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". **************************************************************************** ******* -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Sun Oct 30 22:14:45 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Sun, 30 Oct 2005 22:14:45 -0600 Subject: [AccessD] Friday Humour Challenge Message-ID: <123701F54509D9119A4F00D0B7473490EA5F52@main2.marlow.com> LOL, thanks. Actually, I kind of like the MSDN that came with Office 2000 Developer. Searching it is a pain, but I have figured out how to get most of what I what a bit more directly, it is almost instinct! Lol! Drew -----Original Message----- From: Arthur Fuller [SMTP:artful at rogers.com] Sent: Friday, October 28, 2005 4:47 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Friday Humour Challenge Your MSDN is MUCH better than mine! Nice. Arthur -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: October 28, 2005 5:02 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Friday Humour Challenge IBM: I've Been Moved (and yes, I was an IBM kid, and we were moved a LOT!) MSDN: Most Searches Develop Nada DBA: Don't Bash Access Drew -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Sun Oct 30 23:40:39 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 30 Oct 2005 21:40:39 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: <9E741970C18E9A43A2E5FF34332F7F2D600C44@msmet100.rail.nsw.gov.au> Message-ID: <006301c5dddd$a0774890$017ba8c0@xpserver> Hi Bruce: I would like to but do you know of a stable disk scanner hex-editor that will run on a Server without crashing? Norton's use to make a great product before Windows95.... Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bruen, Bruce Sent: Sunday, October 30, 2005 7:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Been hacked and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? Its possibly not a space but a non-displayable character. Try copying the folder name from explorer into a hexeditor. Hth bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From viner at EUnet.yu Mon Oct 31 02:14:57 2005 From: viner at EUnet.yu (Ervin Brindza) Date: Mon, 31 Oct 2005 09:14:57 +0100 Subject: [AccessD] Virtual library Message-ID: <02d101c5ddf3$99126c40$0100a8c0@RazvojErvin> Hi, I was aked to do some voluntary work for some community. I need some ideas in designing a virtual library management database. The database will manage various matherial for amatheur folk dancers, mostly with their home made video and sound matherial, maybe books etc. The library members will have a questionnaire(in .doc, .xls or .mdb I don't know yet) and will send the data for the "main library manager", who will import tha data to the main library(maybe further directly through Web). There will be involved books, video tapes, CD, DVD disc, sound recordings(LP discs, sound casettes etc.) etc. So when a member want to learn some special type of folk dance he/she 'll ask the "main library" are there any matherial for this. Are there any idea for tables and relationships? Many thanks in advance, Ervin Brindza From shamil at users.mns.ru Mon Oct 31 02:40:17 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 11:40:17 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <00d701c5ddf6$bbcc2a20$6401a8c0@fincomplex.spb.ru> Hi Gustav, With switched off array bounds check and integer overflow check your sample code runs in less than 1 second when in VB6 bActiveX dll. Similar code in C++(VS.NET 2003) runs instantaneously. C++ allows to measure time when 10^6 cycles are additionally cycled 10^7 times! Below is sample C++ code. Maybe I did make some mistakes - 10^7 * 10^6 loops in just two seconds looks incredible speed gain under C++ - these are 989,999,010,000,000 cycles... And in 19 seconds 9,899,990,100,000,000 cycles can be executed. long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); int _tmain(int argc, _TCHAR* argv[]) { long dblStart; long dblStop; long lngResult; long lngCnt = 0; __int64 totalCnt = 0; time(&dblStart); for (int i = 1; i<=10000000; i++) { lngResult = ArrayTimeLocal(1000000, lngCnt); totalCnt += ((__int64)lngCnt); if ((i % 1000000) == 0) printf("Result = %ld, Counter = %I64d\n", lngResult, totalCnt); } time(&dblStop); lngResult = (long)difftime(dblStop,dblStart); printf("Final Result = %ld, Final Counter = %I64d\n", lngResult, totalCnt); } long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { const long lngItems = 100; long alngTmp[lngItems-1][1]; long lngLoop; long lngItem; long lngResult; long lngSeconds; long dblStart; long dblStop; lngTotalCnt = 0; time(&dblStart); for (lngLoop=1; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=1; lngItem < lngItems; lngItem++) { alngTmp[lngItem-1][0] = lngLoop * 10; if (alngTmp[lngItem-1][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart); return lngSeconds; } And here is result of this code test run: Result = 0, Counter = 98999901000000 Result = 0, Counter = 197999802000000 Result = 0, Counter = 296999703000000 Result = 0, Counter = 395999604000000 Result = 0, Counter = 494999505000000 Result = 0, Counter = 593999406000000 Result = 0, Counter = 692999307000000 Result = 0, Counter = 791999208000000 Result = 0, Counter = 890999109000000 Result = 0, Counter = 989999010000000 Final Result = 2, Final Counter = 989999010000000 Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Sunday, October 30, 2005 11:16 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Marty, Shamil, Fred et all > > Well, I did a small and quite surprising test inspired by Shamil. > Here is a test routine which can be seen as typical for what I do. > The array is not large but it is read from and written to a bunch of times. > > Here is the local test using standard VBA: > > Function ArrayTimeLocal(ByVal lngLoopMax As Long) As Long > > Const lngItems As Long = 100 > > Dim alngTmp(1 To lngItems, 1 To 2) As Long > Dim lngLoop As Long > Dim lngItem As Long > Dim lngResult As Long > Dim lngSeconds As Long > Dim dblStart As Double > Dim dblStop As Double > > dblStart = Timer > > For lngLoop = 1 To lngLoopMax > For lngItem = 1 To lngItems > alngTmp(lngItem, 1) = lngLoop * 10 > If alngTmp(lngItem, 1) / 10 = 100 Then > lngResult = 1 > Else > lngResult = 0 > End If > Next > Next > > dblStop = Timer > lngSeconds = CLng(dblStop - dblStart) > > ArrayTimeLocal = lngSeconds > > End Function > > And this is the test function using an DLL containing nearly identical code: > > Declare Function ArrayTime Lib "arraydll.dll" Alias "ArrayTime at 4" (ByVal lngLoops As Long) As Long > > Function ArrayTimeDLL(ByVal lngLoopMax As Long) As Long > > ArrayTimeDLL = ArrayTime(lngLoopMax) > > End Function > > The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. > > Setting lngLoopMax to 10^6 returns these running times for the two functions: > > ArrayTimeLocal: 34 seconds > ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) > > Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! > > Nothing comes free, and the trouble is - as far as I can see - that the dll has to be programmed to run rock stable. If it errors out, Access halts or simply quits - no errors, no GPF, just poof away. > > With this result I think I'll leave the assembler stuff for now. Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, we could rank these. > > /gustav > > > >>> martyconnelly at shaw.ca 30-10-2005 20:08 >>> > Personally if I am using arrays or a lot of matrix math like Fourier Transforms. I develop in Intel Fortran Compiler for Windows & Visual Fortran but I can write Fortran in my sleep. > It is COM compliant and callable from VBA. I have written DOS assembler a long time ago what I could do in a day in Fortran would take me 6 weeks in assembler just because I would have to relearn so much. Microsoft VB with arrays has a lot of overhead of error, type and range checking. > Come to think of it IBM Fortran compilers and maybe others used to produce an optional ASM listing that might help you out. > > MartyConnelly wrote: > > >If you are working with really for sure definetely absolutely fixed size > >arrays in VB6 dll you can > >turn off Remove Array Bounds Checks option for about 25% speed > >performance increase. > >With the chance of a GPF > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 31 02:51:17 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 09:51:17 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Marty Thanks! For those of you working with dot net note that this compiler (also) integrates with Visual Studio. However, it is so many years since I touched Fortran as a happy student that I have forgotten it 99%. It certainly looks like a perfect choice for heavy floating point operations - which I don't need - at a fair cost. It could be interesting to see how the computing time would be in VB(A) for the sinus approximation sample here: http://www.intel.com/software/products/compilers/fwin/docs/Getting_Started.htm /gustav >>> martyconnelly at shaw.ca 30-10-2005 22:37:35 >>> Oopps here is the url For Intel Fortran Note: it also optimizes on array loops for parallel processing assuming multi cores. http://www.intel.com/cd/software/products/asmo-na/eng/compilers/fwin/219725.htm From DWUTKA at marlow.com Mon Oct 31 03:28:07 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 03:28:07 -0600 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: <123701F54509D9119A4F00D0B7473490EA5F54@main2.marlow.com> A few years ago, we had a thread about encryption. I had programmed an 'enigma wheel' encryption routine. There were pros and cons to it. The Enigma machine was a machine developed by the Germans during World War II, which used mechanical wheels, with 'mixed' lettering. It was a pretty neat machine. Anyhow, that code was sitting and gathering dust until recently. I'm working on a pretty big project, and I was in need of some encryption capabilities. So I decided to blow the dust off of that Enigma Wheel code, and make something workable out of it. For starters, I wanted it as a class, which I tend to use more often now in development (one of the many things JC and I actually agree upon! ). Initially, I used three classes, each class having a collection of the classes below it. Programmatically speaking, it was nice. Processing wise, NO WAY. The first thing I need to do in the 'big' project I am working on, is to 'decrypt' about 90k worth of data. In my tests of my initial 'three class' code, it was taking over a minute to encrypt or decrypt about 150k. WAY too long. So I dropped the end class, so now I was running two classes, the main one holding a collection of the second one, and the second now had arrays instead of collections. Well, that dropped my 'test time' (of the ~150k file) down to about 30 to 40 seconds. Still too slow. So then I converted the entire thing into one class, using nothing but arrays inside. That did the trick. It did the ~150k file in a flash. When encrypting or decrypting a file, the machine I am using (an 800 mhz. PIII) takes about 2 to 3 seconds per megabyte. Not bad. In the process of optimizing the code, I also had to overcome the obstacle of string 'recombination'. VB.Net has a class to do this, but I am creating my big project in VB 6.0. Strings are easy to deal with, but if you are tearing them apart, and rebuilding them, that can be time consuming. Take for example this routine (sorry for the horrible naming convention....this is just an example): Private Sub Command3_Click() Dim strTemp As String Dim strTemp2 As String Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") strTemp2 = "" dtStart = Now For i = 1 To Len(strTemp) strTemp2 = strTemp2 & LCase(Mid(strTemp, i, 1)) Next i MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub In the code above, on my 800 mhz machine, I get 34 seconds. Note that we don't start 'timing' until we get into the loop. The string function, which in this case, is creating a string 100,000 characters long, of all A's, is neglible anyways. However, the For Next loop is where we are going to process the first string, and build the second string with the 'processed' characters. In this case, we are simply getting the lower case version of the character. (Yes, I know, we could just Lcase the whole first string, but that isn't the point. What if we are swapping characters (such as in my encryption routine)? Anyhow, the time we are taking isn't in the Lcase and Mid statements, it's in the strTemp2=strTemp2 & part. Initial, that process screams. Add a debug.print statement of 'i' and you'll see what I mean. It will rocket through the beginning, but as strTemp2 gets bigger and bigger, it will get slower and slower. So how do we speed that up? Arrays...byte arrays, to be specific, with a simple API call, CopyMemory. Take a look at the code below: Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Private Sub Command4_Click() Dim strTemp As String Dim strTemp2 As String Dim tmpArray() As Byte Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") ReDim tmpArray(1 To Len(strTemp)) strTemp2 = "" dtStart = Now CopyMemory tmpArray(1), ByVal strTemp, Len(strTemp) For i = 1 To Len(strTemp) tmpArray(i) = Asc(LCase(Chr(tmpArray(i)))) Next i strTemp2 = StrConv(tmpArray, vbUnicode) MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub Same process, with two steps added. Before we start 'timing', we do redimension the byte array, but, I did include the copymemory statement within the 'timed' portion. That's the first step we added. CopyMemory. Note that the first argument is what we are copying into (and we have to refer to the first item in the array, not just the array itself), then the next argument is the string we want to copy into the array (using the ByVal statement, some API's are fun like that), then we tell it how much of the string we want to copy. (Because we could copy just a part if we want....warning, copying more then is there will crash the VBE....). The second part we added is the strConv line. Where we convert the byte array back into a string. We also modified the 'processing' that is being done, because the byte array is going to represent the ASCII values of a string, not the text itself. But the same process is in place (we are converting the ASCII byte to a character, then setting it to lowercase, and then converting it back to ascii). All the added steps, I wonder how fast it will be, well, on the same machine we got 34 seconds for on the first routine, we get 0 seconds for this routine. Same processing results, and that 0 seconds pops up instantaneously. Quite a performance increase, I'd say. Anyhow, back to my encryption routine. I went a bit further then just optimizing it. The encryption process has 3 elements. Password, SecondPassword, and a set of wheels. The first two are properties of the class. The second password is not necessary, but can be used. The set of wheels is hard coded into the class itself (and is a code equivalent of the enigma machine). If all 3 elements must be the same, in order to decrypt something encrypted with them. So if you encrypt with Password of 'Hey how's it going', and a blank second password, but you try to decrypt with the same, but a different 'set of wheels', the decrypt results will just be gobbly gook. As an explanation, the first password is used to set the wheels (which ones, how many, and which direction they rotate in), and the second password is used to set their position (if not used, all wheels start in their initial position). Where I went further then optimizing the code, is that I created an Add-in, to add the 'WheelEncryption' class to my projects. The Add-in uses a database which stores 'wheel sets' (which it generates for you), so you can use different wheel sets for different projects, etc. The class itself is very easy to use. It only has 5 properties to deal with. EncryptionType (which can be ASCII or Text (text will encrypt any typable text (Ascii values 32 to 126 (so Carriage return and line feed wouldn't fit in that), and it will encrypt it into a string with characters in the same range. (so AAAAA might become XcC[9), ascii encrypts all 256 characters, into the same. So AAAAA might include nulls or other non-keyboard characters.)), Password (Any text and any length (the longer this is the more wheels are used....though a huge amount of wheels will slow down the encrypt/decrypt process accordingly)), SecondPassword( also any text will work for this (can be shorter or longer then the first password (though if it's longer, only the length of the first password would matter on decryption....))). The last two properties are the EncryptedData and NormalData properties (setting one internally encrypts/decrypts the other). If anyone is interested in the Add-in, let me know. Sorry for the lengthy post, but I just got finished with the Add-in, and I like writing mini novels to wind down after some serious coding! ;) Drew From DWUTKA at marlow.com Mon Oct 31 03:30:29 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 03:30:29 -0600 Subject: [AccessD] OT: Been hacked Message-ID: <123701F54509D9119A4F00D0B7473490EA5F55@main2.marlow.com> Or just scan the folder with VB(A). Doing a DIR will return the folder name.....and you should be able to scan through the characters, or even just kill it from code. Drew -----Original Message----- From: Bruen, Bruce [SMTP:Bruce.Bruen at railcorp.nsw.gov.au] Sent: Sunday, October 30, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Been hacked and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? Its possibly not a space but a non-displayable character. Try copying the folder name from explorer into a hexeditor. Hth bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Oct 31 03:36:07 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 03:36:07 -0600 Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... Message-ID: <123701F54509D9119A4F00D0B7473490EA5F56@main2.marlow.com> Just a small note to those on the list still using Access 97. WithEvents will work within Access 97, however, you cannot use RaiseEvent from within a custom class in Access 97. It is available in Access 2000 (and up), and in VB 6 (not sure what version of VB RaiseEvent was added). It is a reserved word in A97, but unfortunately does nothing. Personally, I still love Access 97. I use it exclusively when I just need a database (but not a GUI). If I need a Access based GUI, I tend to go with 2000 or up, simply for the reason of getting custom events within my classes. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Saturday, October 29, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... Folks, First of all, let me once again thank Shamil whom I consider to be the Father of AccessD Withevents usage, and who taught me everything I know about the subject. Withevents is the single most useful undocumented feature of Access AFAIAC. Withevents are DEAD EASY to understand, and make available a whole class of functionality that you would otherwise be unable to use. If you don't understand them yet, take this opportunity to learn how they work. From shamil at users.mns.ru Mon Oct 31 04:34:11 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 13:34:11 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <002a01c5de06$a39d4410$6401a8c0@fincomplex.spb.ru> Gustav, I think if you say that you have forgotten 99% Fortran then you can convert your code into C++ with same efforts as on Fortran. I mean - if your code is just "arrays shuffling" as you say then VB(A)-> C++ conversion is almost line by line... I did recheck - your code runs just in 5 seconds on VB6 with array bounds checks and integer overflow checks switched off. These are 100,000,000 loops. I did also test your sample code on C# and VB.NET - and it runs in 5-6 seconds with switched off integer overflow checks (it looks that there is no way to switch off array bounds checks for C# and VB.NET) . Here is VB.NETcode I used for testing: VB.NET ----------- Module testArrays Sub Main() Dim lngResult As Long = 0 Dim lngCnt As Long = 0 Dim lngTotalCnt As Long = 0 lngResult = ArrayTimeLocal(1000000, lngTotalCnt) lngTotalCnt += lngCnt Console.WriteLine(String.Format( _ "Final Result = {0:#,##0}, Final Counter = {1:#,##0}", _ lngResult, lngTotalCnt)) End Sub Function ArrayTimeLocal(ByVal lngLoopMax As Long, ByRef lngTotalCnt As Long) As Long Const lngItems As Long = 100 Dim alngTmp(lngItems - 1, 1) As Long Dim lngLoop As Long Dim lngItem As Long Dim lngResult As Long Dim lngSeconds As Long Dim dblStart As Double Dim dblStop As Double Dim lngCnt As Long = 0 dblStart = Timer For lngLoop = 0 To lngLoopMax - 1 For lngItem = 0 To lngItems - 1 alngTmp(lngItem, 1) = lngLoop * 10 If alngTmp(lngItem, 1) / 10 = 100 Then lngResult = 1 Else lngResult = 0 End If lngCnt += 1 Next Next dblStop = Timer lngSeconds = CLng(dblStop - dblStart) lngTotalCnt = lngCnt ArrayTimeLocal = lngSeconds End Function End Module Output ---------- Final Result = 5, Final Counter = 100,000,000 C# === using System; using Microsoft.VisualBasic; namespace testArraysCS { class TestArrays { [STAThread] unsafe static void Main(string[] args) { long lngTotalCnt = 0; long lngResult = 0; lngResult = ArrayTimeLocal(1000000, ref lngTotalCnt); Console.WriteLine(String.Format( "Final Result = {0:#,##0}, Final Counter = {1:#,##0}", lngResult, lngTotalCnt)); } unsafe static long ArrayTimeLocal(long lngLoopMax, ref long lngTotalCnt) { const long lngItems = 100; long[,] alngTmp = new long[lngItems,1] ; long lngLoop; long lngItem; long lngResult=0; double dblStart; double dblStop; long lngSeconds; Console.WriteLine("Array looping test started..."); dblStart = Microsoft.VisualBasic.DateAndTime.Timer; lngTotalCnt = 0; for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem,0] = lngLoop * 10; if (alngTmp[lngItem,0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } dblStop = Microsoft.VisualBasic.DateAndTime.Timer; Console.WriteLine("Array looping test ended."); lngSeconds = (long)(dblStop - dblStart); return lngSeconds; } } } Output --------- Array looping test started... Array looping test ended. Final Result = 6, Final Counter = 100,000,000 Recapitulation: =========== C++ & Fortran (and COBOL?) rule and rock forever! :) Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 31, 2005 11:51 AM Subject: Re: [AccessD] Array faster in DLL? > Hi Marty > > Thanks! For those of you working with dot net note that this compiler (also) integrates with Visual Studio. > However, it is so many years since I touched Fortran as a happy student that I have forgotten it 99%. > It certainly looks like a perfect choice for heavy floating point operations - which I don't need - at a fair cost. > > It could be interesting to see how the computing time would be in VB(A) for the sinus approximation sample here: > > http://www.intel.com/software/products/compilers/fwin/docs/Getting_Started.htm > > /gustav > > >>> martyconnelly at shaw.ca 30-10-2005 22:37:35 >>> > Oopps here is the url > For Intel Fortran Note: it also optimizes on array loops for parallel > processing assuming multi cores. > > http://www.intel.com/cd/software/products/asmo-na/eng/compilers/fwin/219725.htm > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 31 05:07:23 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 12:07:23 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil I just read your post following this, and your conclusion about C# seems to be true. Your results from C++ is an eye-opener. I hardly can believe that speed improvement! But for a true comparison, could I persuade you to compile it to an DLL and call that from VB(A) the same way I did with the DLL compiled in FreeBASIC? You would probably need 10^7 loops or - if you measurement holds - 10^8 loops. /gustav >>> shamil at users.mns.ru 31-10-2005 09:40:17 >>> Hi Gustav, With switched off array bounds check and integer overflow check your sample code runs in less than 1 second when in VB6 bActiveX dll. Similar code in C++(VS.NET 2003) runs instantaneously. C++ allows to measure time when 10^6 cycles are additionally cycled 10^7 times! Below is sample C++ code. Maybe I did make some mistakes - 10^7 * 10^6 loops in just two seconds looks incredible speed gain under C++ - these are 989,999,010,000,000 cycles... And in 19 seconds 9,899,990,100,000,000 cycles can be executed. long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); int _tmain(int argc, _TCHAR* argv[]) { long dblStart; long dblStop; long lngResult; long lngCnt = 0; __int64 totalCnt = 0; time(&dblStart); for (int i = 1; i<=10000000; i++) { lngResult = ArrayTimeLocal(1000000, lngCnt); totalCnt += ((__int64)lngCnt); if ((i % 1000000) == 0) printf("Result = %ld, Counter = %I64d\n", lngResult, totalCnt); } time(&dblStop); lngResult = (long)difftime(dblStop,dblStart); printf("Final Result = %ld, Final Counter = %I64d\n", lngResult, totalCnt); } long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { const long lngItems = 100; long alngTmp[lngItems-1][1]; long lngLoop; long lngItem; long lngResult; long lngSeconds; long dblStart; long dblStop; lngTotalCnt = 0; time(&dblStart); for (lngLoop=1; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=1; lngItem < lngItems; lngItem++) { alngTmp[lngItem-1][0] = lngLoop * 10; if (alngTmp[lngItem-1][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart); return lngSeconds; } And here is result of this code test run: Result = 0, Counter = 98999901000000 Result = 0, Counter = 197999802000000 Result = 0, Counter = 296999703000000 Result = 0, Counter = 395999604000000 Result = 0, Counter = 494999505000000 Result = 0, Counter = 593999406000000 Result = 0, Counter = 692999307000000 Result = 0, Counter = 791999208000000 Result = 0, Counter = 890999109000000 Result = 0, Counter = 989999010000000 Final Result = 2, Final Counter = 989999010000000 Shamil From shamil at users.mns.ru Mon Oct 31 05:17:09 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 14:17:09 +0300 Subject: [AccessD] Array faster in DLL? References: <002a01c5de06$a39d4410$6401a8c0@fincomplex.spb.ru> Message-ID: <003d01c5de0c$a3a76e80$6401a8c0@fincomplex.spb.ru> Gustav, And finally here is managed C++, which runs instantaneously: #include "stdafx.h" #using #using using namespace System; static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); int _tmain() { long lngTotalCnt = 0; long lngResult = 0; lngResult = ArrayTimeLocal(1000000, lngTotalCnt); Console::WriteLine(String::Format( S"Final Result = {0:#,##0}, Final Counter = {1:#,##0}", __box(lngResult), __box(lngTotalCnt))); } static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { const long lngItems = 100; long alngTmp[lngItems-1][2]; long lngLoop; long lngItem; long lngResult=0; double dblStart; double dblStop; long lngSeconds; Console::WriteLine("Array looping test started..."); dblStart = Microsoft::VisualBasic::DateAndTime::Timer; lngTotalCnt = 0; for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } dblStop = Microsoft::VisualBasic::DateAndTime::Timer; Console::WriteLine("Array looping test ended."); lngSeconds = (long)(dblStop - dblStart); return lngSeconds; } Output --------- Array looping test started... Array looping test ended. Final Result = 0, Final Counter = 100,000,000 And it takes ~18 seconds on my PC to run this test ADDITIONALLY looped 100 times.... Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Monday, October 31, 2005 1:34 PM Subject: Re: [AccessD] Array faster in DLL? > Gustav, > > I think if you say that you have forgotten 99% Fortran then you can convert > your code into C++ with same efforts as on Fortran. I mean - if your > code is just "arrays shuffling" as you say then VB(A)-> C++ conversion is > almost line by line... > > I did recheck - your code runs just in 5 seconds on VB6 with array bounds > checks and integer overflow checks switched off. These are 100,000,000 > loops. > > I did also test your sample code on C# and VB.NET - and it runs in 5-6 > seconds > with switched off integer overflow checks (it looks that there is no way to > switch off array bounds checks for C# and VB.NET) . > > Here is VB.NETcode I used for testing: > > VB.NET > ----------- > Module testArrays > > Sub Main() > Dim lngResult As Long = 0 > Dim lngCnt As Long = 0 > Dim lngTotalCnt As Long = 0 > lngResult = ArrayTimeLocal(1000000, lngTotalCnt) > lngTotalCnt += lngCnt > Console.WriteLine(String.Format( _ > "Final Result = {0:#,##0}, Final Counter = {1:#,##0}", _ > lngResult, lngTotalCnt)) > End Sub > > Function ArrayTimeLocal(ByVal lngLoopMax As Long, ByRef lngTotalCnt As > Long) As Long > > Const lngItems As Long = 100 > > Dim alngTmp(lngItems - 1, 1) As Long > Dim lngLoop As Long > Dim lngItem As Long > Dim lngResult As Long > Dim lngSeconds As Long > Dim dblStart As Double > Dim dblStop As Double > Dim lngCnt As Long = 0 > dblStart = Timer > > For lngLoop = 0 To lngLoopMax - 1 > For lngItem = 0 To lngItems - 1 > alngTmp(lngItem, 1) = lngLoop * 10 > If alngTmp(lngItem, 1) / 10 = 100 Then > lngResult = 1 > Else > lngResult = 0 > End If > lngCnt += 1 > Next > Next > > dblStop = Timer > lngSeconds = CLng(dblStop - dblStart) > > lngTotalCnt = lngCnt > ArrayTimeLocal = lngSeconds > > End Function > > End Module > > Output > ---------- > Final Result = 5, Final Counter = 100,000,000 > > C# > === > using System; > using Microsoft.VisualBasic; > > namespace testArraysCS > { > class TestArrays > { > [STAThread] > unsafe static void Main(string[] args) > { > long lngTotalCnt = 0; > long lngResult = 0; > > lngResult = ArrayTimeLocal(1000000, ref lngTotalCnt); > Console.WriteLine(String.Format( > "Final Result = {0:#,##0}, Final Counter = {1:#,##0}", > lngResult, lngTotalCnt)); > } > > unsafe static long ArrayTimeLocal(long lngLoopMax, ref long lngTotalCnt) { > const long lngItems = 100; > long[,] alngTmp = new long[lngItems,1] ; > long lngLoop; > long lngItem; > long lngResult=0; > double dblStart; > double dblStop; > long lngSeconds; > > Console.WriteLine("Array looping test started..."); > dblStart = Microsoft.VisualBasic.DateAndTime.Timer; > lngTotalCnt = 0; > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem,0] = lngLoop * 10; > if (alngTmp[lngItem,0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngTotalCnt++; > } > } > dblStop = Microsoft.VisualBasic.DateAndTime.Timer; > Console.WriteLine("Array looping test ended."); > lngSeconds = (long)(dblStop - dblStart); > return lngSeconds; > } > > } > } > > Output > --------- > Array looping test started... > Array looping test ended. > Final Result = 6, Final Counter = 100,000,000 > > Recapitulation: > =========== > > C++ & Fortran (and COBOL?) rule and rock forever! :) > > Shamil > <<< tail skipped>> From carbonnb at sympatico.ca Mon Oct 31 05:22:04 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 31 Oct 2005 06:22:04 -0500 Subject: [AccessD] OT: Been hacked In-Reply-To: <005c01c5ddc1$590da420$017ba8c0@xpserver> References: <43653D1F.1070403@shaw.ca> Message-ID: On 30 Oct 2005 at 18:18, Jim Lawrence wrote: > I would normally not post this item here but I am not sure where I > would find a more experience group. > > It appears that one of my servers has been hacked. :-( > > The first indication is, and it may be unrelated, is that one of my > FTP directories that I have used for unloading and downloading files > into has a 'Locked' directory in it. It is real simple to do this; and > do not try it! > > make a directory like: \temp\o0oKARo0o\here\ > and then rename like this: \com1*\o0oKaro0o\here\ > (*=space) > > Does anyone here know how to get rid of the thing? Drop to a command prompt and del \com1?\o0oKaro0o\here\*.* rmdir \com1?\o0oKaro0o\here\ rmdir \com1?\o0oKaro0o\ rmdir \com1?\ -- Bryan Carbonnell - carbonnb at sympatico.ca HAM AND EGGS - A day's work for a chicken; a lifetime commitment for a pig. From carbonnb at sympatico.ca Mon Oct 31 05:26:10 2005 From: carbonnb at sympatico.ca (Bryan Carbonnell) Date: Mon, 31 Oct 2005 06:26:10 -0500 Subject: [AccessD] OT: Been hacked In-Reply-To: <4365B80C.23325.1CD781@carbonnb.sympatico.ca> References: <005c01c5ddc1$590da420$017ba8c0@xpserver> Message-ID: On 31 Oct 2005 at 6:22, Bryan Carbonnell wrote: > On 30 Oct 2005 at 18:18, Jim Lawrence wrote: > > > I would normally not post this item here but I am not sure where I > > would find a more experience group. > > > > It appears that one of my servers has been hacked. :-( > > > > The first indication is, and it may be unrelated, is that one of my > > FTP directories that I have used for unloading and downloading files > > into has a 'Locked' directory in it. It is real simple to do this; > > and do not try it! > > > > make a directory like: \temp\o0oKARo0o\here\ > > and then rename like this: \com1*\o0oKaro0o\here\ > > (*=space) > > > > Does anyone here know how to get rid of the thing? > > Drop to a command prompt and > > del \com1?\o0oKaro0o\here\*.* > rmdir \com1?\o0oKaro0o\here\ > rmdir \com1?\o0oKaro0o\ > rmdir \com1?\ DOH!! Been working with Linux too much these days. Make sure that you cd to the directory where the "locked" directory is first. -- Bryan Carbonnell - carbonnb at sympatico.ca Accept that some days you are the pigeon and some days the statue. From accessd at shaw.ca Mon Oct 31 05:52:20 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 31 Oct 2005 03:52:20 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5F55@main2.marlow.com> Message-ID: <006c01c5de11$8cd0c670$017ba8c0@xpserver> Drew, that sounds very interesting. I will put together a program and see what I can do, Thanks Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 1:30 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Been hacked Or just scan the folder with VB(A). Doing a DIR will return the folder name.....and you should be able to scan through the characters, or even just kill it from code. Drew -----Original Message----- From: Bruen, Bruce [SMTP:Bruce.Bruen at railcorp.nsw.gov.au] Sent: Sunday, October 30, 2005 9:44 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Been hacked and then rename like this: \com1*\o0oKaro0o\here\ (*=space) Does anyone here know how to get rid of the thing? Its possibly not a space but a non-displayable character. Try copying the folder name from explorer into a hexeditor. Hth bruce This e-mail and any attachments may contain confidential information that is intended solely for the use of the intended recipient and may be subject to copyright. If you receive this e-mail in error, please notify the sender immediately and delete the e-mail and its attachments from your system. You must not disclose, copy or use any part of this e-mail if you are not the intended recipient. Any opinion expressed in this e-mail and any attachments is not an opinion of RailCorp unless stated or apparent from its content. RailCorp is not responsible for any unauthorised alterations to this e-mail or any attachments. RailCorp will not incur any liability resulting directly or indirectly as a result of the recipient accessing any of the attached files that may contain a virus. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Oct 31 05:56:30 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 12:56:30 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil Oh my ... could you create a DLL with the essentials from your ArrayTimeLocal skipping the console parts? It just need to return the lngSeconds. Looks like I need some C++ stuff for this project! /gustav >>> shamil at users.mns.ru 31-10-2005 12:17:09 >>> Gustav, And finally here is managed C++, which runs instantaneously: #include "stdafx.h" #using #using using namespace System; static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); int _tmain() { long lngTotalCnt = 0; long lngResult = 0; lngResult = ArrayTimeLocal(1000000, lngTotalCnt); Console::WriteLine(String::Format( S"Final Result = {0:#,##0}, Final Counter = {1:#,##0}", __box(lngResult), __box(lngTotalCnt))); } static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { const long lngItems = 100; long alngTmp[lngItems-1][2]; long lngLoop; long lngItem; long lngResult=0; double dblStart; double dblStop; long lngSeconds; Console::WriteLine("Array looping test started..."); dblStart = Microsoft::VisualBasic::DateAndTime::Timer; lngTotalCnt = 0; for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngTotalCnt++; } } dblStop = Microsoft::VisualBasic::DateAndTime::Timer; Console::WriteLine("Array looping test ended."); lngSeconds = (long)(dblStop - dblStart); return lngSeconds; } Output --------- Array looping test started... Array looping test ended. Final Result = 0, Final Counter = 100,000,000 And it takes ~18 seconds on my PC to run this test ADDITIONALLY looped 100 times.... Shamil From Gustav at cactus.dk Mon Oct 31 06:00:44 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 13:00:44 +0100 Subject: [AccessD] Archiving (select, insert only) data Message-ID: For those of you dealing with archiving of large amounts of data here's an article about the new MySQL 5 and its archiving feature: http://dev.mysql.com/tech-resources/articles/storage-engine.html Seems like you can save a lot of diskspace for such purposes while still having data on-line. /gustav From Gustav at cactus.dk Mon Oct 31 06:06:21 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 13:06:21 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Stuart Thanks! This is a bit surprising, I had expected it to run faster. /gustav >>> stuart at lexacorp.com.pg 31-10-2005 03:41:55 >>> On 30 Oct 2005 at 21:16, Gustav Brock wrote: > The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. > > Setting lngLoopMax to 10^6 returns these running times for the two functions: > > ArrayTimeLocal: 34 seconds > ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) > > Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! ... > Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, On my machine with the same code compiled to DLL in PowerBasic: ArrayTimeLocal: 27 (10^6) ArrayTimeDLL: 2.7 (actually 27 secs for 10^7) An improvement of 10:1 . Looks like for this set of operations FreeBASIC does a better job than PowerBASIC. -- Stuart From shamil at users.mns.ru Mon Oct 31 06:22:23 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 15:22:23 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <000b01c5de15$c0519a20$6401a8c0@fincomplex.spb.ru> Gustav, Yes, I can make a C++ dll but maybe you first (re)define your test function call interface because even if you call very quick C++ function 1000 times from VB6 you can loose all the advantages this C++ function gives. Currently - here is C++ (non managed) console applications results for a function similar to yours: 10,000,000,000 your cycles in 13 seconds (ot looks like I did some mistakes in my previous time calculations - I have to recheck) ===================================== Final Result = 13, Final Counter = 10000000000 ===================================== Here is the C++ code for the last test: #include "stdafx.h" #include static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); int _tmain(int argc, _TCHAR* argv[]) { _int64 lngTotalCnt = 0; long lngCnt = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds = 0; time(&dblStart); for (int i=1; i<=10; i++) { ArrayTimeLocal(10000000, lngCnt); lngTotalCnt += lngCnt; } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart);; printf("Final Result = %ld, Final Counter = %I64d\n", lngSeconds, lngTotalCnt); } static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool useTracePrinting) { const long lngItems = 100; long alngTmp[lngItems][2]; long lngLoop; long lngItem; long lngResult = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds; long lngCnt = 0; if (useTracePrinting) printf("Array looping test started..\n"); time(&dblStart); for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } time(&dblStop); if (useTracePrinting) printf("Array looping test ended.\n"); lngSeconds = (long)difftime(dblStop,dblStart);; if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", lngSeconds, lngTotalCnt); lngTotalCnt = lngCnt; return lngSeconds; } I will try to move now all variable from stack to static memory - I expect it may bring even more speed execution gains. We will see. As soon as you define your final call interface I will make a test C++ .dll... Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 31, 2005 2:56 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Shamil > > Oh my ... could you create a DLL with the essentials from your ArrayTimeLocal skipping the console parts? It just need to return the lngSeconds. > > Looks like I need some C++ stuff for this project! > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 12:17:09 >>> > Gustav, > > And finally here is managed C++, which runs instantaneously: > > #include "stdafx.h" > > #using > #using > > using namespace System; > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt); > int _tmain() > { > long lngTotalCnt = 0; > long lngResult = 0; > > lngResult = ArrayTimeLocal(1000000, lngTotalCnt); > Console::WriteLine(String::Format( > S"Final Result = {0:#,##0}, Final Counter = {1:#,##0}", > __box(lngResult), __box(lngTotalCnt))); > } > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt) { > const long lngItems = 100; > long alngTmp[lngItems-1][2]; > long lngLoop; > long lngItem; > long lngResult=0; > double dblStart; > double dblStop; > long lngSeconds; > > Console::WriteLine("Array looping test started..."); > dblStart = Microsoft::VisualBasic::DateAndTime::Timer; > lngTotalCnt = 0; > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem][0] = lngLoop * 10; > if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngTotalCnt++; > } > } > dblStop = Microsoft::VisualBasic::DateAndTime::Timer; > Console::WriteLine("Array looping test ended."); > lngSeconds = (long)(dblStop - dblStart); > return lngSeconds; > } > > Output > --------- > Array looping test started... > Array looping test ended. > Final Result = 0, Final Counter = 100,000,000 > > And it takes ~18 seconds on my PC to run this test ADDITIONALLY looped 100 > times.... > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jwcolby at ColbyConsulting.com Mon Oct 31 06:51:14 2005 From: jwcolby at ColbyConsulting.com (John Colby) Date: Mon, 31 Oct 2005 07:51:14 -0500 Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... In-Reply-To: <123701F54509D9119A4F00D0B7473490EA5F56@main2.marlow.com> Message-ID: <001201c5de19$c79756e0$667aa8c0@ColbyM6805> Correct you are Sir. RaiseEvent does not work in Access97. It does not cause a compile or runtime error however so you can just leave it in there and not use that functionality. John W. Colby www.ColbyConsulting.com Contribute your unused CPU cycles to a good cause: http://folding.stanford.edu/ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 4:36 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] New Withevents demo - Bows in the general direction of Russia... Just a small note to those on the list still using Access 97. WithEvents will work within Access 97, however, you cannot use RaiseEvent from within a custom class in Access 97. It is available in Access 2000 (and up), and in VB 6 (not sure what version of VB RaiseEvent was added). It is a reserved word in A97, but unfortunately does nothing. Personally, I still love Access 97. I use it exclusively when I just need a database (but not a GUI). If I need a Access based GUI, I tend to go with 2000 or up, simply for the reason of getting custom events within my classes. Drew -----Original Message----- From: John Colby [SMTP:jwcolby at colbyconsulting.com] Sent: Saturday, October 29, 2005 3:40 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] New Withevents demo - Bows in the general direction of Russia... Folks, First of all, let me once again thank Shamil whom I consider to be the Father of AccessD Withevents usage, and who taught me everything I know about the subject. Withevents is the single most useful undocumented feature of Access AFAIAC. Withevents are DEAD EASY to understand, and make available a whole class of functionality that you would otherwise be unable to use. If you don't understand them yet, take this opportunity to learn how they work. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Oct 31 06:56:42 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 15:56:42 +0300 Subject: [AccessD] Array faster in DLL? References: <000b01c5de15$c0519a20$6401a8c0@fincomplex.spb.ru> Message-ID: <003c01c5de1a$9551f720$6401a8c0@fincomplex.spb.ru> With variables moved to (static) memory out of stack the code works for ~6 seconds slower (yes, that was stupid of me to expect it running faster - when getting/putting variable from/to stack Intel processors should work faster). Well, one can see 6 seconds difference on 10,000,000,000 cycle runs only - for usual programming this difference doesn't matter. Here is C++ sample code, which runs 19 seconds on my PC: #include "stdafx.h" #include typedef long COUNTER_TYPE; const long lngItems = 100; long alngTmp[lngItems][2]; long lngLoop; long lngItem; long lngResult = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds; COUNTER_TYPE lngCnt; static long ArrayTimeLocal(long lngLoopMax, COUNTER_TYPE& lngTotalCnt, bool useTracePrinting = false); int _tmain(int argc, _TCHAR* argv[]) { _int64 lngTotalCnt = 0; COUNTER_TYPE lngCnt = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds = 0; time(&dblStart); for (int i=1; i<=100; i++) { ArrayTimeLocal(1000000, lngCnt); lngTotalCnt += lngCnt; } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart);; printf("Final Result = %ld, Final Counter = %I64d\n", lngSeconds, lngTotalCnt); } static long ArrayTimeLocal(long lngLoopMax, COUNTER_TYPE& lngTotalCnt, bool useTracePrinting) { lngCnt=0; if (useTracePrinting) printf("Array looping test started..\n"); time(&dblStart); for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } time(&dblStop); if (useTracePrinting) printf("Array looping test ended.\n"); lngSeconds = (long)difftime(dblStop,dblStart);; if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", lngSeconds, lngTotalCnt); lngTotalCnt = lngCnt; return lngSeconds; } Shamil ----- Original Message ----- From: "Shamil Salakhetdinov" To: "Access Developers discussion and problem solving" Sent: Monday, October 31, 2005 3:22 PM Subject: Re: [AccessD] Array faster in DLL? > Gustav, > > Yes, I can make a C++ dll but maybe you first (re)define your test function > call interface because even if you call very quick C++ function 1000 times > from VB6 you can loose all the advantages this C++ function gives. > > Currently - here is C++ (non managed) console applications results for a > function similar to yours: > > 10,000,000,000 your cycles in 13 seconds (ot looks like I did some mistakes > in my previous time calculations - I have to recheck) > > ===================================== > Final Result = 13, Final Counter = 10000000000 > ===================================== > > Here is the C++ code for the last test: > > #include "stdafx.h" > #include > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool > useTracePrinting = false); > int _tmain(int argc, _TCHAR* argv[]) > { > _int64 lngTotalCnt = 0; > long lngCnt = 0; > time_t /*double*/ dblStart; > time_t /*double*/ dblStop; > long lngSeconds = 0; > > time(&dblStart); > for (int i=1; i<=10; i++) { > ArrayTimeLocal(10000000, lngCnt); > lngTotalCnt += lngCnt; > } > time(&dblStop); > lngSeconds = (long)difftime(dblStop,dblStart);; > printf("Final Result = %ld, Final Counter = %I64d\n", > lngSeconds, lngTotalCnt); > } > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool > useTracePrinting) { > const long lngItems = 100; > long alngTmp[lngItems][2]; > long lngLoop; > long lngItem; > long lngResult = 0; > time_t /*double*/ dblStart; > time_t /*double*/ dblStop; > long lngSeconds; > long lngCnt = 0; > > if (useTracePrinting) printf("Array looping test started..\n"); > time(&dblStart); > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem][0] = lngLoop * 10; > if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngCnt++; > } > } > time(&dblStop); > if (useTracePrinting) printf("Array looping test ended.\n"); > lngSeconds = (long)difftime(dblStop,dblStart);; > if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", > lngSeconds, lngTotalCnt); > lngTotalCnt = lngCnt; > return lngSeconds; > } > > I will try to move now all variable from stack to static memory - I expect > it may bring even more speed execution gains. We will see. > > As soon as you define your final call interface I will make a test C++ > .dll... > > Shamil > <<< tail skipped>>> From Gustav at cactus.dk Mon Oct 31 07:32:27 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 14:32:27 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil For "redefining the interface" you mean that a Long is not enough to specify a count of loops large enough to obtain a running time of some seconds? That's the only parameter I wish to pass. The only needed value to return is the running duration in seconds. If so, couldn't we expand with an additional loop to multiply the count of loops: for (lngSequence=0; lngSequence < lngSequences; lngSequence++) { for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } } and then add lngSequences as a separate parameter: static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); That would be great. /gustav >>> shamil at users.mns.ru 31-10-2005 13:22:23 >>> Gustav, Yes, I can make a C++ dll but maybe you first (re)define your test function call interface because even if you call very quick C++ function 1000 times from VB6 you can loose all the advantages this C++ function gives. Currently - here is C++ (non managed) console applications results for a function similar to yours: 10,000,000,000 your cycles in 13 seconds (ot looks like I did some mistakes in my previous time calculations - I have to recheck) ===================================== Final Result = 13, Final Counter = 10000000000 ===================================== Here is the C++ code for the last test: #include "stdafx.h" #include static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); int _tmain(int argc, _TCHAR* argv[]) { _int64 lngTotalCnt = 0; long lngCnt = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds = 0; time(&dblStart); for (int i=1; i<=10; i++) { ArrayTimeLocal(10000000, lngCnt); lngTotalCnt += lngCnt; } time(&dblStop); lngSeconds = (long)difftime(dblStop,dblStart);; printf("Final Result = %ld, Final Counter = %I64d\n", lngSeconds, lngTotalCnt); } static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool useTracePrinting) { const long lngItems = 100; long alngTmp[lngItems][2]; long lngLoop; long lngItem; long lngResult = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; long lngSeconds; long lngCnt = 0; if (useTracePrinting) printf("Array looping test started..\n"); time(&dblStart); for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } time(&dblStop); if (useTracePrinting) printf("Array looping test ended.\n"); lngSeconds = (long)difftime(dblStop,dblStart);; if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", lngSeconds, lngTotalCnt); lngTotalCnt = lngCnt; return lngSeconds; } I will try to move now all variable from stack to static memory - I expect it may bring even more speed execution gains. We will see. As soon as you define your final call interface I will make a test C++ .dll... Shamil From accessd at shaw.ca Mon Oct 31 07:31:05 2005 From: accessd at shaw.ca (Jim Lawrence) Date: Mon, 31 Oct 2005 05:31:05 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: Message-ID: <007001c5de1f$587719c0$017ba8c0@xpserver> Hi Bryan: I have been studying the whole creation of a locking a directory and here is a site where a number of steps are used to create such directories. It appears that their designs are almost infinite: http://www.jtpfxp.net/dirnt.htm and http://jtpfxp.net/ Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, October 31, 2005 3:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Been hacked On 30 Oct 2005 at 18:18, Jim Lawrence wrote: > I would normally not post this item here but I am not sure where I > would find a more experience group. > > It appears that one of my servers has been hacked. :-( > > The first indication is, and it may be unrelated, is that one of my > FTP directories that I have used for unloading and downloading files > into has a 'Locked' directory in it. It is real simple to do this; and > do not try it! > > make a directory like: \temp\o0oKARo0o\here\ > and then rename like this: \com1*\o0oKaro0o\here\ > (*=space) > > Does anyone here know how to get rid of the thing? Drop to a command prompt and del \com1?\o0oKaro0o\here\*.* rmdir \com1?\o0oKaro0o\here\ rmdir \com1?\o0oKaro0o\ rmdir \com1?\ -- Bryan Carbonnell - carbonnb at sympatico.ca HAM AND EGGS - A day's work for a chicken; a lifetime commitment for a pig. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at users.mns.ru Mon Oct 31 07:58:24 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 16:58:24 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <000f01c5de23$2e8ea890$6401a8c0@fincomplex.spb.ru> <<< static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); >>> OK, I will do it this evening after a break I plan for now and I will change lngTotalCnt to string (strTotalCnt) to pass it back to VBA/VB6 because they do not have __int64 support. - so the call interface for VBA/VB6 will be: function ArrayTimeLocal( _ byval vlngSequences as long, _ byval vlngLoopMax as long, _ byref rstrTotalCnt as string) _ as Long Shamil ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 31, 2005 4:32 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Shamil > > For "redefining the interface" you mean that a Long is not enough to specify a count of loops large enough to obtain a running time of some seconds? > That's the only parameter I wish to pass. > The only needed value to return is the running duration in seconds. > > If so, couldn't we expand with an additional loop to multiply the count of loops: > > for (lngSequence=0; lngSequence < lngSequences; lngSequence++) { > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem][0] = lngLoop * 10; > if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngCnt++; > } > } > } > > and then add lngSequences as a separate parameter: > > static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); > > That would be great. > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 13:22:23 >>> > Gustav, > > Yes, I can make a C++ dll but maybe you first (re)define your test function > call interface because even if you call very quick C++ function 1000 times > from VB6 you can loose all the advantages this C++ function gives. > > Currently - here is C++ (non managed) console applications results for a > function similar to yours: > > 10,000,000,000 your cycles in 13 seconds (ot looks like I did some mistakes > in my previous time calculations - I have to recheck) > > ===================================== > Final Result = 13, Final Counter = 10000000000 > ===================================== > > Here is the C++ code for the last test: > > #include "stdafx.h" > #include > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool > useTracePrinting = false); > int _tmain(int argc, _TCHAR* argv[]) > { > _int64 lngTotalCnt = 0; > long lngCnt = 0; > time_t /*double*/ dblStart; > time_t /*double*/ dblStop; > long lngSeconds = 0; > > time(&dblStart); > for (int i=1; i<=10; i++) { > ArrayTimeLocal(10000000, lngCnt); > lngTotalCnt += lngCnt; > } > time(&dblStop); > lngSeconds = (long)difftime(dblStop,dblStart);; > printf("Final Result = %ld, Final Counter = %I64d\n", > lngSeconds, lngTotalCnt); > } > > static long ArrayTimeLocal(long lngLoopMax, long& lngTotalCnt, bool > useTracePrinting) { > const long lngItems = 100; > long alngTmp[lngItems][2]; > long lngLoop; > long lngItem; > long lngResult = 0; > time_t /*double*/ dblStart; > time_t /*double*/ dblStop; > long lngSeconds; > long lngCnt = 0; > > if (useTracePrinting) printf("Array looping test started..\n"); > time(&dblStart); > for (lngLoop=0; lngLoop < lngLoopMax; lngLoop++) { > for (lngItem=0; lngItem < lngItems; lngItem++) { > alngTmp[lngItem][0] = lngLoop * 10; > if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; > else lngResult = 0; > lngCnt++; > } > } > time(&dblStop); > if (useTracePrinting) printf("Array looping test ended.\n"); > lngSeconds = (long)difftime(dblStop,dblStart);; > if (useTracePrinting) printf("Result = %lf, Counter = %ld\n", > lngSeconds, lngTotalCnt); > lngTotalCnt = lngCnt; > return lngSeconds; > } > > I will try to move now all variable from stack to static memory - I expect > it may bring even more speed execution gains. We will see. > > As soon as you define your final call interface I will make a test C++ > .dll... > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Oct 31 08:08:41 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 15:08:41 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Shamil Very nice! I'm looking forward ... /gustav >>> shamil at users.mns.ru 31-10-2005 14:58:24 >>> <<< static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& lngTotalCnt, bool useTracePrinting = false); >>> OK, I will do it this evening after a break I plan for now and I will change lngTotalCnt to string (strTotalCnt) to pass it back to VBA/VB6 because they do not have __int64 support. - so the call interface for VBA/VB6 will be: function ArrayTimeLocal( _ byval vlngSequences as long, _ byval vlngLoopMax as long, _ byref rstrTotalCnt as string) _ as Long Shamil From cyx5 at cdc.gov Mon Oct 31 08:29:40 2005 From: cyx5 at cdc.gov (Nicholson, Karen) Date: Mon, 31 Oct 2005 09:29:40 -0500 Subject: [AccessD] Convert to Double - Excel OT Message-ID: I need to convert a number that is an integer to double format, as my routine is comparing an integer to a formula that contains decimals, and naturally Excel is rounding up, causing my select statement to jump to the next level of qualifications when any integer ends in the number 5. Does anyone know where in the world I would put the CDbl() in this statement: Cells(irow, 18).Value = getNPPTLCell(.Cells(irow, 15).Value, .Cells(irow, 9).Value) I have to define as rows as I am looping through the spreadsheet. Happy Halloween to all! Karen S. Nicholson Programmer Analyst EG&G Technical Services, Inc. Pittsburgh, PA Phone: 412-386-6649 Email: cyx5 at cdc.gov From Gustav at cactus.dk Mon Oct 31 09:00:51 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 16:00:51 +0100 Subject: [AccessD] Oracle 10g Express Edition Message-ID: Hi all This should be announced to be free to use for students, developers, and small companies, as well as to distribute by ISVs with apps from these. It's a normal 10g for 32/64 bit Linux/Windows limited to one processor, 1 GB ram, and 4 GB database size. It is still in beta though ... whatever that is as 10g has been around for some time. It's a 157 MB download. /gustav From dwaters at usinternet.com Mon Oct 31 09:04:52 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Oct 2005 09:04:52 -0600 Subject: [AccessD] Find File in Folder and in Subfolder Message-ID: <000001c5de2c$72db7740$0200a8c0@danwaters> I have a customer who wants their application to be able to find a file in a folder or subfolder based on the entry in a text box. The data entered is a part number, and the file to be found is the drawing for that part. However, their file structure is inconsistent. I've looked at FSO, but that requires that the path to a file be known. DIR is a help with the file/folders at the first level. Is there something that will search all the levels within a folder for a specific file? Thanks! Dan Waters From papparuff at comcast.net Mon Oct 31 09:20:12 2005 From: papparuff at comcast.net (papparuff at comcast.net) Date: Mon, 31 Oct 2005 15:20:12 +0000 Subject: [AccessD] Find File in Folder and in Subfolder Message-ID: <103120051520.27944.4366362C0003159100006D28220642461300009A9D0E9F9F0E9F@comcast.net> This will work for you Dan, Public Sub FindFileInSubFolders(strMainFolder As String, strFileToFind As String) Dim fso As New FileSystemObject Dim fsoFolder As folder Dim fsoSubFolder As folder Dim fsoFile As File Set fsoFolder = fso.GetFolder(strMainFolder) For Each fsoSubFolder In fsoFolder.SubFolders ' Debug.Print fsoSubFolder.Name For Each fsoFile In fsoSubFolder.Files ' Debug.Print fsoFile.Name If fsoFile.Name = strFileToFind Then MsgBox "Found File" End If Next fsoFile Next fsoSubFolder Set fsoFolder = Nothing Set fsoFile = Nothing Set fso = Nothing End Sub -- John V. Ruff ? The Eternal Optimist :-) ?Commit to the Lord whatever you do, and your plans will succeed.? Proverbs 16:3 -------------- Original message -------------- > I have a customer who wants their application to be able to find a file in a > folder or subfolder based on the entry in a text box. The data entered is a > part number, and the file to be found is the drawing for that part. > > However, their file structure is inconsistent. I've looked at FSO, but that > requires that the path to a file be known. DIR is a help with the > file/folders at the first level. > > Is there something that will search all the levels within a folder for a > specific file? > > Thanks! > Dan Waters > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From bheid at appdevgrp.com Mon Oct 31 09:32:52 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 31 Oct 2005 10:32:52 -0500 Subject: [AccessD] Find File in Folder and in Subfolder In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CC7290@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF1D0@ADGSERVER> Would you not need to know the beginning path of the where to start the search? If you are searching a whole drive, then you would just make the starting path be "c:\" (or whatever drive it is on. I would think that FSO would do fine. You could use DIR, but you would have to create a recursive function to search the directory tree. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 31, 2005 10:05 AM To: AccessD Subject: [AccessD] Find File in Folder and in Subfolder I have a customer who wants their application to be able to find a file in a folder or subfolder based on the entry in a text box. The data entered is a part number, and the file to be found is the drawing for that part. However, their file structure is inconsistent. I've looked at FSO, but that requires that the path to a file be known. DIR is a help with the file/folders at the first level. Is there something that will search all the levels within a folder for a specific file? Thanks! Dan Waters From sdhi at kalamazoo.net Mon Oct 31 09:36:08 2005 From: sdhi at kalamazoo.net (Sheri Hixson) Date: Mon, 31 Oct 2005 10:36:08 -0500 Subject: [AccessD] Search Memo field for number string Message-ID: <007501c5de30$d385b980$04fea8c0@SWMAR> I need to search a memo field for any string of any numbers sequenced as follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold the number sequence found in each memo field. Anyone have any ideas on how to setup this query? Thanks for any help! Sheri From dwaters at usinternet.com Mon Oct 31 09:47:25 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Oct 2005 09:47:25 -0600 Subject: [AccessD] Find File in Folder and in Subfolder In-Reply-To: <28031806.1130772452561.JavaMail.root@sniper15> Message-ID: <000801c5de32$63e859f0$0200a8c0@danwaters> Great!! Thanks John - That's a simple solution! -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of papparuff at comcast.net Sent: Monday, October 31, 2005 9:20 AM To: Access Developers discussion and problem solving; AccessD Cc: Dan Waters Subject: Re: [AccessD] Find File in Folder and in Subfolder This will work for you Dan, Public Sub FindFileInSubFolders(strMainFolder As String, strFileToFind As String) Dim fso As New FileSystemObject Dim fsoFolder As folder Dim fsoSubFolder As folder Dim fsoFile As File Set fsoFolder = fso.GetFolder(strMainFolder) For Each fsoSubFolder In fsoFolder.SubFolders ' Debug.Print fsoSubFolder.Name For Each fsoFile In fsoSubFolder.Files ' Debug.Print fsoFile.Name If fsoFile.Name = strFileToFind Then MsgBox "Found File" End If Next fsoFile Next fsoSubFolder Set fsoFolder = Nothing Set fsoFile = Nothing Set fso = Nothing End Sub -- John V. Ruff - The Eternal Optimist :-) "Commit to the Lord whatever you do, and your plans will succeed." Proverbs 16:3 -------------- Original message -------------- > I have a customer who wants their application to be able to find a file in a > folder or subfolder based on the entry in a text box. The data entered is a > part number, and the file to be found is the drawing for that part. > > However, their file structure is inconsistent. I've looked at FSO, but that > requires that the path to a file be known. DIR is a help with the > file/folders at the first level. > > Is there something that will search all the levels within a folder for a > specific file? > > Thanks! > Dan Waters > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Oct 31 09:49:08 2005 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 31 Oct 2005 09:49:08 -0600 Subject: [AccessD] Find File in Folder and in Subfolder In-Reply-To: <22045651.1130773097926.JavaMail.root@sniper15> Message-ID: <000901c5de32$a1c23e80$0200a8c0@danwaters> Hi Bobby, You're right - I do know the top folder. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Monday, October 31, 2005 9:33 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Find File in Folder and in Subfolder Would you not need to know the beginning path of the where to start the search? If you are searching a whole drive, then you would just make the starting path be "c:\" (or whatever drive it is on. I would think that FSO would do fine. You could use DIR, but you would have to create a recursive function to search the directory tree. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, October 31, 2005 10:05 AM To: AccessD Subject: [AccessD] Find File in Folder and in Subfolder I have a customer who wants their application to be able to find a file in a folder or subfolder based on the entry in a text box. The data entered is a part number, and the file to be found is the drawing for that part. However, their file structure is inconsistent. I've looked at FSO, but that requires that the path to a file be known. DIR is a help with the file/folders at the first level. Is there something that will search all the levels within a folder for a specific file? Thanks! Dan Waters -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From GregSmith at starband.net Mon Oct 31 10:26:40 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 31 Oct 2005 10:26:40 -0600 (CST) Subject: [AccessD] Access 2002 Export to XML using DTD's In-Reply-To: <02d101c5ddf3$99126c40$0100a8c0@RazvojErvin> References: <02d101c5ddf3$99126c40$0100a8c0@RazvojErvin> Message-ID: <36555.65.118.249.214.1130776000.squirrel@cetus.email.starband.net> Hi everyone! I know this is a shot in the dark, but I need to export data from an Access 2002 database to XML using a provided DTD (Document Type Definition). I need to be able to tell Access that it needs to use the DTD to provide the proper formatting for the XML document. Has anyone tried this before? Or does anyone know of any good resources I can use to help figure it out? This is not a one-time deal either...once I get it set up, it will be a daily event. Thanks in advance!! Greg Smith gregsmith @ Starband.net From Jdemarco at hudsonhealthplan.org Mon Oct 31 10:31:48 2005 From: Jdemarco at hudsonhealthplan.org (Jim DeMarco) Date: Mon, 31 Oct 2005 11:31:48 -0500 Subject: [AccessD] Access 2002 Export to XML using DTD's Message-ID: <08F823FD83787D4BA0B99CA580AD3C74016C4028@TTNEXCHCL2.hshhp.com> I don't believe Access (any version) will use the DTD to determine how to output data. The DTD is used to ensure that an XML file conforms to the spec detailed in the DTD. You have to create the file yourself based on the DTD AFAIK. Jim DeMarco -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Greg Smith Sent: Monday, October 31, 2005 11:27 AM To: accessd at databaseadvisors.com Subject: [AccessD] Access 2002 Export to XML using DTD's Hi everyone! I know this is a shot in the dark, but I need to export data from an Access 2002 database to XML using a provided DTD (Document Type Definition). I need to be able to tell Access that it needs to use the DTD to provide the proper formatting for the XML document. Has anyone tried this before? Or does anyone know of any good resources I can use to help figure it out? This is not a one-time deal either...once I get it set up, it will be a daily event. Thanks in advance!! Greg Smith gregsmith @ Starband.net -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************************** "This electronic message is intended to be for the use only of the named recipient, and may contain information from Hudson Health Plan (HHP) that is confidential or privileged. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution or use of the contents of this message is strictly prohibited. If you have received this message in error or are not the named recipient, please notify us immediately, either by contacting the sender at the electronic mail address noted above or calling HHP at (914) 631-1611. If you are not the intended recipient, please do not forward this email to anyone, and delete and destroy all copies of this message. Thank You". *********************************************************************************** From markamatte at hotmail.com Mon Oct 31 10:31:51 2005 From: markamatte at hotmail.com (Mark A Matte) Date: Mon, 31 Oct 2005 16:31:51 +0000 Subject: [AccessD] Search Memo field for number string In-Reply-To: <007501c5de30$d385b980$04fea8c0@SWMAR> Message-ID: Sheri, I can't help with the Bold part...but on the search...I'm guessing you are looking at a phone number...or some other 2 part number sequence...either way...you can seperate your number into two pieces of criteria ( 2 fields on a form )...and the place something like: Like "*" & [Forms]![frmTest1]![NumPart1] & "*" & [Forms]![frmTest1]![NumPart2] & "*" in the MemoField Criteria or your query. The problem with this...is that the query doesn't care if there is 1 or 1000 characters between the numbers...it still returns the records. Hope it gives some direction. Thanks, Mark A. Matte >From: "Sheri Hixson" >Reply-To: Access Developers discussion and problem >solving >To: >Subject: [AccessD] Search Memo field for number string >Date: Mon, 31 Oct 2005 10:36:08 -0500 > >I need to search a memo field for any string of any numbers sequenced as >follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold >the >number sequence found in each memo field. Anyone have any ideas on how to >setup >this query? Thanks for any help! > > > >Sheri > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From GregSmith at starband.net Mon Oct 31 10:36:22 2005 From: GregSmith at starband.net (Greg Smith) Date: Mon, 31 Oct 2005 10:36:22 -0600 (CST) Subject: [AccessD] Access 2002 Export to XML using DTD's In-Reply-To: <08F823FD83787D4BA0B99CA580AD3C74016C4028@TTNEXCHCL2.hshhp.com> References: <08F823FD83787D4BA0B99CA580AD3C74016C4028@TTNEXCHCL2.hshhp.com> Message-ID: <37439.65.118.249.214.1130776582.squirrel@cetus.email.starband.net> Thanks Jim...I was suspecting that was the case, but I was also HOPING that it wasn't true.....sigh.... Looks like I get to do more typing....:D Greg > I don't believe Access (any version) will use the DTD to determine how > to output data. The DTD is used to ensure that an XML file conforms to > the spec detailed in the DTD. You have to create the file yourself > based on the DTD AFAIK. > > Jim DeMarco > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Greg Smith > Sent: Monday, October 31, 2005 11:27 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access 2002 Export to XML using DTD's > > > Hi everyone! > > I know this is a shot in the dark, but I need to export data from an > Access 2002 database to XML using a provided DTD (Document Type > Definition). > > I need to be able to tell Access that it needs to use the DTD to provide > the proper formatting for the XML document. > > Has anyone tried this before? Or does anyone know of any good resources > I can use to help figure it out? > > This is not a one-time deal either...once I get it set up, it will be a > daily event. > > Thanks in advance!! > > Greg Smith > gregsmith @ Starband.net From martyconnelly at shaw.ca Mon Oct 31 10:39:20 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 31 Oct 2005 08:39:20 -0800 Subject: [AccessD] Array faster in DLL? References: Message-ID: <436648B8.3040805@shaw.ca> Just one hint for VBA code speed on this line Since everything is being done by integers If alngTmp(lngItem, 1) / 10 = 100 Then On a run of 50 seconds If I use integer division with the "\" operator , I save around 1 second If alngTmp(lngItem, 1) \ 10 = 100 Then If I use multiplication instead of division , I save 5-6 seconds It does a type conversion to a long, but I have never seen a full documented description of this from MS so I don't trust it, so I would use CLng which would add overhead. If alngTmp(lngItem, 1) * 0.1 = 100 Then Some optimizing compilers have options that might change division by a constant to multiplication of it's inverse. Gustav Brock wrote: >Hi Stuart > >Thanks! This is a bit surprising, I had expected it to run faster. > >/gustav > > > >>>>stuart at lexacorp.com.pg 31-10-2005 03:41:55 >>> >>>> >>>> >On 30 Oct 2005 at 21:16, Gustav Brock wrote: > > > >>The DLL was programmed and compiled in FreeBASIC and the FBIde which I earlier posted links for. >> >>Setting lngLoopMax to 10^6 returns these running times for the two functions: >> >> ArrayTimeLocal: 34 seconds >> ArrayTimeDLL: 2.2 seconds (measured with 10^7 loops) >> >>Thus this simple tool gives a speed improvement of 15.5 to 1 ... not bad! >> >> >... > > >>Still, if anyone with PowerBasic or other compiler could make similar tests and publish the results, >> >> > >On my machine with the same code compiled to DLL in PowerBasic: > >ArrayTimeLocal: 27 (10^6) >ArrayTimeDLL: 2.7 (actually 27 secs for 10^7) > >An improvement of 10:1 . > >Looks like for this set of operations FreeBASIC does a better job than >PowerBASIC. > > -- Marty Connelly Victoria, B.C. Canada From Gustav at cactus.dk Mon Oct 31 11:07:11 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 18:07:11 +0100 Subject: [AccessD] Array faster in DLL? Message-ID: Hi Marty You may have a point. I didn't give it a thought. One could imagine that it does a type cast to double as a result of the division, then another back to long (or to double for the 100) for the comparison. Please note, this code doesn't serve any serious purpose except "doing something" that takes a little while. /gustav >>> martyconnelly at shaw.ca 31-10-2005 17:39:20 >>> Just one hint for VBA code speed on this line Since everything is being done by integers If alngTmp(lngItem, 1) / 10 = 100 Then On a run of 50 seconds If I use integer division with the "\" operator , I save around 1 second If alngTmp(lngItem, 1) \ 10 = 100 Then If I use multiplication instead of division , I save 5-6 seconds It does a type conversion to a long, but I have never seen a full documented description of this from MS so I don't trust it, so I would use CLng which would add overhead. If alngTmp(lngItem, 1) * 0.1 = 100 Then Some optimizing compilers have options that might change division by a constant to multiplication of it's inverse. From mboyd at deloitte.com Mon Oct 31 11:31:59 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 31 Oct 2005 12:31:59 -0500 Subject: [AccessD] Calendar Control Message-ID: I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From Gustav at cactus.dk Mon Oct 31 11:37:31 2005 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 31 Oct 2005 18:37:31 +0100 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: Hi Drew Those examples are the two extremes. In between you have Mid() used this way where you have created a string of the final length and then replace this char by char with the encrypted string. ' Perform high speed insertion of encrypted character. Mid(strEncrypted, lngN, 1) = Chr(c) It has the advantage that it is a few lines of code only. But perhaps you should move the entire encryption routine to a C++ dll as you can read from the recent postings from Shamil. /gustav >>> DWUTKA at marlow.com 31-10-2005 10:28:07 >>> In the process of optimizing the code, I also had to overcome the obstacle of string 'recombination'. VB.Net has a class to do this, but I am creating my big project in VB 6.0. Strings are easy to deal with, but if you are tearing them apart, and rebuilding them, that can be time consuming. Take for example this routine (sorry for the horrible naming convention....this is just an example): Private Sub Command3_Click() Dim strTemp As String Dim strTemp2 As String Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") strTemp2 = "" dtStart = Now For i = 1 To Len(strTemp) strTemp2 = strTemp2 & LCase(Mid(strTemp, i, 1)) Next i MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub In the code above, on my 800 mhz machine, I get 34 seconds. Note that we don't start 'timing' until we get into the loop. The string function, which in this case, is creating a string 100,000 characters long, of all A's, is neglible anyways. However, the For Next loop is where we are going to process the first string, and build the second string with the 'processed' characters. In this case, we are simply getting the lower case version of the character. (Yes, I know, we could just Lcase the whole first string, but that isn't the point. What if we are swapping characters (such as in my encryption routine)? Anyhow, the time we are taking isn't in the Lcase and Mid statements, it's in the strTemp2=strTemp2 & part. Initial, that process screams. Add a debug.print statement of 'i' and you'll see what I mean. It will rocket through the beginning, but as strTemp2 gets bigger and bigger, it will get slower and slower. So how do we speed that up? Arrays...byte arrays, to be specific, with a simple API call, CopyMemory. Take a look at the code below: Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Private Sub Command4_Click() Dim strTemp As String Dim strTemp2 As String Dim tmpArray() As Byte Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") ReDim tmpArray(1 To Len(strTemp)) strTemp2 = "" dtStart = Now CopyMemory tmpArray(1), ByVal strTemp, Len(strTemp) For i = 1 To Len(strTemp) tmpArray(i) = Asc(LCase(Chr(tmpArray(i)))) Next i strTemp2 = StrConv(tmpArray, vbUnicode) MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub Same process, with two steps added. Before we start 'timing', we do redimension the byte array, but, I did include the copymemory statement within the 'timed' portion. That's the first step we added. CopyMemory. Note that the first argument is what we are copying into (and we have to refer to the first item in the array, not just the array itself), then the next argument is the string we want to copy into the array (using the ByVal statement, some API's are fun like that), then we tell it how much of the string we want to copy. (Because we could copy just a part if we want....warning, copying more then is there will crash the VBE....). The second part we added is the strConv line. Where we convert the byte array back into a string. We also modified the 'processing' that is being done, because the byte array is going to represent the ASCII values of a string, not the text itself. But the same process is in place (we are converting the ASCII byte to a character, then setting it to lowercase, and then converting it back to ascii). All the added steps, I wonder how fast it will be, well, on the same machine we got 34 seconds for on the first routine, we get 0 seconds for this routine. Same processing results, and that 0 seconds pops up instantaneously. Quite a performance increase, I'd say. From bchacc at san.rr.com Mon Oct 31 11:42:33 2005 From: bchacc at san.rr.com (Rocky Smolin - Beach Access Software) Date: Mon, 31 Oct 2005 09:42:33 -0800 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report Message-ID: <012d01c5de42$7a093a00$6501a8c0@HAL9004> Dear List: Does anyone know why a user should generate this error: Error: 2585 - This action can't be carried out while processing a form or report event. In: frmMaterialPlanning.cmdExitToMainMenu_Click It occurs in a sub menu - unbound form. The click routine just opens the main menu and closes this sub menu. It doesn't occur consistently. I can't get it to repeat and a couple of users who have gotten it can't get it to occur with any regularity. Some users never get it. The code in the click event (I stripped out the error trapping) is: DoCmd.OpenForm ("frmMainMenu") DoCmd.Close acForm, "frmMaterialPlanning" Any ideas? MTIA, Rocky Smolin Beach Access Software http://www.e-z-mrp.com 858-259-4334 ----- Original Message ----- From: "Laurie" To: Sent: Monday, October 31, 2005 9:35 AM Subject: E-Z-MRP(tm) Error Report Error: 2585 - This action can't be carried out while processing a form or report event. In: frmMaterialPlanning.cmdExitToMainMenu_Click -- Internal Virus Database is out-of-date. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 From DWUTKA at marlow.com Mon Oct 31 11:43:55 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 11:43:55 -0600 Subject: [AccessD] Calendar Control Message-ID: <123701F54509D9119A4F00D0B7473490EA5F58@main2.marlow.com> The last Access 97 version of my MiniCalendar might work for you. I think it's on Dev Ashish's site (http://www.mvps.org/Access) . If you can't find it, let me know, I can email it to you off list. What you want is the 'cycle mode'. That puts the calendar up with a 'data form'. The data form shows the data that relates to what date the mouse is over on the calendar. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 11:32 AM To: AccessD Subject: [AccessD] Calendar Control I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Oct 31 11:49:09 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 11:49:09 -0600 Subject: [AccessD] New Wheel Encryption Add-in Message-ID: <123701F54509D9119A4F00D0B7473490EA5F59@main2.marlow.com> My my my, you lean something new everyday! I never realized that Mid was a function that you could 'set', like Date(), and Time() Go figure. Working with the byte array is just as fast. And with my encryption routine, it was even faster then actually working with the string, because I was dealing with the ascii values anyways, so using the byte array, I didn't have to do any conversion back and forth. Drew -----Original Message----- From: Gustav Brock [SMTP:Gustav at cactus.dk] Sent: Monday, October 31, 2005 11:38 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] New Wheel Encryption Add-in Hi Drew Those examples are the two extremes. In between you have Mid() used this way where you have created a string of the final length and then replace this char by char with the encrypted string. ' Perform high speed insertion of encrypted character. Mid(strEncrypted, lngN, 1) = Chr(c) It has the advantage that it is a few lines of code only. But perhaps you should move the entire encryption routine to a C++ dll as you can read from the recent postings from Shamil. /gustav >>> DWUTKA at marlow.com 31-10-2005 10:28:07 >>> In the process of optimizing the code, I also had to overcome the obstacle of string 'recombination'. VB.Net has a class to do this, but I am creating my big project in VB 6.0. Strings are easy to deal with, but if you are tearing them apart, and rebuilding them, that can be time consuming. Take for example this routine (sorry for the horrible naming convention....this is just an example): Private Sub Command3_Click() Dim strTemp As String Dim strTemp2 As String Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") strTemp2 = "" dtStart = Now For i = 1 To Len(strTemp) strTemp2 = strTemp2 & LCase(Mid(strTemp, i, 1)) Next i MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub In the code above, on my 800 mhz machine, I get 34 seconds. Note that we don't start 'timing' until we get into the loop. The string function, which in this case, is creating a string 100,000 characters long, of all A's, is neglible anyways. However, the For Next loop is where we are going to process the first string, and build the second string with the 'processed' characters. In this case, we are simply getting the lower case version of the character. (Yes, I know, we could just Lcase the whole first string, but that isn't the point. What if we are swapping characters (such as in my encryption routine)? Anyhow, the time we are taking isn't in the Lcase and Mid statements, it's in the strTemp2=strTemp2 & part. Initial, that process screams. Add a debug.print statement of 'i' and you'll see what I mean. It will rocket through the beginning, but as strTemp2 gets bigger and bigger, it will get slower and slower. So how do we speed that up? Arrays...byte arrays, to be specific, with a simple API call, CopyMemory. Take a look at the code below: Private Declare Sub CopyMemory Lib "kernel32" Alias "RtlMoveMemory" (Destination As Any, Source As Any, ByVal Length As Long) Private Sub Command4_Click() Dim strTemp As String Dim strTemp2 As String Dim tmpArray() As Byte Dim i As Long Dim dtStart As Date strTemp = String(100000, "A") ReDim tmpArray(1 To Len(strTemp)) strTemp2 = "" dtStart = Now CopyMemory tmpArray(1), ByVal strTemp, Len(strTemp) For i = 1 To Len(strTemp) tmpArray(i) = Asc(LCase(Chr(tmpArray(i)))) Next i strTemp2 = StrConv(tmpArray, vbUnicode) MsgBox Format(Now - dtStart, "HH:NN:SS") MsgBox strTemp2 End Sub Same process, with two steps added. Before we start 'timing', we do redimension the byte array, but, I did include the copymemory statement within the 'timed' portion. That's the first step we added. CopyMemory. Note that the first argument is what we are copying into (and we have to refer to the first item in the array, not just the array itself), then the next argument is the string we want to copy into the array (using the ByVal statement, some API's are fun like that), then we tell it how much of the string we want to copy. (Because we could copy just a part if we want....warning, copying more then is there will crash the VBE....). The second part we added is the strConv line. Where we convert the byte array back into a string. We also modified the 'processing' that is being done, because the byte array is going to represent the ASCII values of a string, not the text itself. But the same process is in place (we are converting the ASCII byte to a character, then setting it to lowercase, and then converting it back to ascii). All the added steps, I wonder how fast it will be, well, on the same machine we got 34 seconds for on the first routine, we get 0 seconds for this routine. Same processing results, and that 0 seconds pops up instantaneously. Quite a performance increase, I'd say. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Jim.Hale at FleetPride.com Mon Oct 31 12:00:53 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 31 Oct 2005 12:00:53 -0600 Subject: [AccessD] Search Memo field for number string Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD7E4@corp-es01.fleetpride.com> In the FMS 2000 code source book there is a class called CBoyerMoore which I've used and which I think is exactly what you are looking for: "The Boyer-Moore string-searching algorithm provides a highly optimized method for searching for a sub-string within a string. The Boyer-Moore algorithm takes advantage of its knowledge of the string being searched for. By doing this, it is possible to search a string without examining all the characters in the string. " If you have access to this code book I would suggest trying it out. Jim Hale -----Original Message----- From: Sheri Hixson [mailto:sdhi at kalamazoo.net] Sent: Monday, October 31, 2005 9:36 AM To: accessD at databaseadvisors.com Subject: [AccessD] Search Memo field for number string I need to search a memo field for any string of any numbers sequenced as follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold the number sequence found in each memo field. Anyone have any ideas on how to setup this query? Thanks for any help! Sheri -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From lembit.soobik at t-online.de Mon Oct 31 12:08:23 2005 From: lembit.soobik at t-online.de (Lembit Soobik) Date: Mon, 31 Oct 2005 19:08:23 +0100 Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report References: <012d01c5de42$7a093a00$6501a8c0@HAL9004> Message-ID: <004401c5de46$16076eb0$0600a8c0@v1000> I guess you should put the second command into the OnOpen or better even OnLoad event of the frmMainMenu. It might not like closing the form while the open command is still being executed. Lembit ----- Original Message ----- From: "Rocky Smolin - Beach Access Software" To: Sent: Monday, October 31, 2005 6:42 PM Subject: [AccessD] Fw: E-Z-MRP(tm) Error Report > Dear List: > > Does anyone know why a user should generate this error: > > Error: 2585 - This action can't be carried out while processing a form or > report event. > In: frmMaterialPlanning.cmdExitToMainMenu_Click > > It occurs in a sub menu - unbound form. The click routine just opens the > main menu and closes this sub menu. It doesn't occur consistently. I > can't > get it to repeat and a couple of users who have gotten it can't get it to > occur with any regularity. Some users never get it. > > The code in the click event (I stripped out the error trapping) is: > > DoCmd.OpenForm ("frmMainMenu") > DoCmd.Close acForm, "frmMaterialPlanning" > > Any ideas? > > MTIA, > > Rocky Smolin > Beach Access Software > http://www.e-z-mrp.com > 858-259-4334 > > ----- Original Message ----- > From: "Laurie" > To: > Sent: Monday, October 31, 2005 9:35 AM > Subject: E-Z-MRP(tm) Error Report > > > Error: 2585 - This action can't be carried out while processing a form or > report event. > In: frmMaterialPlanning.cmdExitToMainMenu_Click > -- > Internal Virus Database is out-of-date. > Checked by AVG Anti-Virus. > Version: 7.0.300 / Virus Database: 265.8.8 - Release Date: 2/14/2005 > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > > -- > No virus found in this incoming message. > Checked by AVG Free Edition. > Version: 7.1.362 / Virus Database: 267.12.6/151 - Release Date: 28.10.2005 > > From mboyd at deloitte.com Mon Oct 31 12:09:55 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 31 Oct 2005 13:09:55 -0500 Subject: [AccessD] Calendar Control Message-ID: Thanks Drew. After downloading the control from Dev's site, I converted the mdb to Access 2000 file format. Now, I am unable to open the mdb file without receiving an AVI error. Can you send this to me off list? I appreciate it. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 12:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Calendar Control The last Access 97 version of my MiniCalendar might work for you. I think it's on Dev Ashish's site (http://www.mvps.org/Access) . If you can't find it, let me know, I can email it to you off list. What you want is the 'cycle mode'. That puts the calendar up with a 'data form'. The data form shows the data that relates to what date the mouse is over on the calendar. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 11:32 AM To: AccessD Subject: [AccessD] Calendar Control I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Oct 31 12:20:40 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 12:20:40 -0600 Subject: [AccessD] Calendar Control Message-ID: <123701F54509D9119A4F00D0B7473490EA5F5B@main2.marlow.com> Open it while holding the shift key down. Sorry, that demo uses some API's to also show how to run AVI's in a form. Holding the shift key down will bypass that. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Thanks Drew. After downloading the control from Dev's site, I converted the mdb to Access 2000 file format. Now, I am unable to open the mdb file without receiving an AVI error. Can you send this to me off list? I appreciate it. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 12:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Calendar Control The last Access 97 version of my MiniCalendar might work for you. I think it's on Dev Ashish's site (http://www.mvps.org/Access) . If you can't find it, let me know, I can email it to you off list. What you want is the 'cycle mode'. That puts the calendar up with a 'data form'. The data form shows the data that relates to what date the mouse is over on the calendar. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 11:32 AM To: AccessD Subject: [AccessD] Calendar Control I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From DWUTKA at marlow.com Mon Oct 31 12:23:08 2005 From: DWUTKA at marlow.com (DWUTKA at marlow.com) Date: Mon, 31 Oct 2005 12:23:08 -0600 Subject: [AccessD] Search Memo field for number string Message-ID: <123701F54509D9119A4F00D0B7473490EA5F5C@main2.marlow.com> You will need to do this in code. And manually search the string. However, the 'bold' part won't happen in a query display. To bold the results, you'll need to display the data in a rich text box. Drew -----Original Message----- From: Sheri Hixson [SMTP:sdhi at kalamazoo.net] Sent: Monday, October 31, 2005 9:36 AM To: accessD at databaseadvisors.com Subject: [AccessD] Search Memo field for number string I need to search a memo field for any string of any numbers sequenced as follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold the number sequence found in each memo field. Anyone have any ideas on how to setup this query? Thanks for any help! Sheri -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From martyconnelly at shaw.ca Mon Oct 31 12:32:06 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 31 Oct 2005 10:32:06 -0800 Subject: [AccessD] Access 2002 Export to XML using DTD's References: <08F823FD83787D4BA0B99CA580AD3C74016C4028@TTNEXCHCL2.hshhp.com> Message-ID: <43666326.3090004@shaw.ca> A DTD only validates it doesn't transform, You could use XMLSPY to convert your DTD to an XML Schema Then use that to produce an XSLT (XSL file) to transform output from the XMLDom This last step is an unknown to me in the product otherwise you will have to produce your own XSLT file no mean feat, if not fully familiar with XSLT. I know you can create classes from schemas but only Java and C##. What you are looking for is a schema mapping method. You can get a 30 day trial of full edition or there is a limited home edition (need license key) http://www.altova.com/download_components.html Jim DeMarco wrote: >I don't believe Access (any version) will use the DTD to determine how to output data. The DTD is used to ensure that an XML file conforms to the spec detailed in the DTD. You have to create the file yourself based on the DTD AFAIK. > >Jim DeMarco > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Greg Smith >Sent: Monday, October 31, 2005 11:27 AM >To: accessd at databaseadvisors.com >Subject: [AccessD] Access 2002 Export to XML using DTD's > > >Hi everyone! > >I know this is a shot in the dark, but I need to export data from an >Access 2002 database to XML using a provided DTD (Document Type >Definition). > >I need to be able to tell Access that it needs to use the DTD to provide >the proper formatting for the XML document. > >Has anyone tried this before? Or does anyone know of any good resources I >can use to help figure it out? > >This is not a one-time deal either...once I get it set up, it will be a >daily event. > >Thanks in advance!! > >Greg Smith >gregsmith @ Starband.net > > > > -- Marty Connelly Victoria, B.C. Canada From mboyd at deloitte.com Mon Oct 31 12:33:40 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 31 Oct 2005 13:33:40 -0500 Subject: [AccessD] Calendar Control Message-ID: That works. Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 1:21 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Calendar Control Open it while holding the shift key down. Sorry, that demo uses some API's to also show how to run AVI's in a form. Holding the shift key down will bypass that. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 12:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Thanks Drew. After downloading the control from Dev's site, I converted the mdb to Access 2000 file format. Now, I am unable to open the mdb file without receiving an AVI error. Can you send this to me off list? I appreciate it. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of DWUTKA at marlow.com Sent: Monday, October 31, 2005 12:44 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Calendar Control The last Access 97 version of my MiniCalendar might work for you. I think it's on Dev Ashish's site (http://www.mvps.org/Access) . If you can't find it, let me know, I can email it to you off list. What you want is the 'cycle mode'. That puts the calendar up with a 'data form'. The data form shows the data that relates to what date the mouse is over on the calendar. Drew -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [SMTP:mboyd at deloitte.com] Sent: Monday, October 31, 2005 11:32 AM To: AccessD Subject: [AccessD] Calendar Control I'm looking for an Outlook-style calendar control (month view) that will work within Access. I have a table with 2 fields, [WorkDate] and [WorkDesc]. I need the calendar to display all [WorkDesc] data where the [WorkDate] corresponds to the calendar date. For example, if the [WorkDate] is today, the [WorkDesc] should appear on the calendar within today's date. If tomorrow's date has records in the table, these records should appear under tomorrow's date in the calendar. Is there a tool out there that will do this?? Thanks. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rl_stewart at highstream.net Mon Oct 31 12:50:17 2005 From: rl_stewart at highstream.net (Robert L. Stewart) Date: Mon, 31 Oct 2005 12:50:17 -0600 Subject: [AccessD] Search Memo field for number string In-Reply-To: References: Message-ID: <6.2.3.4.2.20051031124608.029c7000@pop3.highstream.net> Sheri, Actually, if you build each string you want to search for: "123 4567" (a) "123.4567" (b) "123-4567" (c) "1234567" (d) And use a "Like a or like b or like c or like d", you can find exactly what you want. As for bolding, there is no way of doing that without using a 3rd party tool like FMS's memo editing tool which would give you full RTF type capability within the memo field. And then it would be a lot of coding to find the string and then bold it. Robert At 10:41 AM 10/31/2005, you wrote: >Date: Mon, 31 Oct 2005 16:31:51 +0000 >From: "Mark A Matte" >Subject: Re: [AccessD] Search Memo field for number string >To: accessd at databaseadvisors.com >Message-ID: >Content-Type: text/plain; format=flowed > >Sheri, > >I can't help with the Bold part...but on the search...I'm guessing you are >looking at a phone number...or some other 2 part number sequence...either >way...you can seperate your number into two pieces of criteria ( 2 fields on >a form )...and the place something like: >Like "*" & [Forms]![frmTest1]![NumPart1] & "*" & >[Forms]![frmTest1]![NumPart2] & "*" > >in the MemoField Criteria or your query. The problem with this...is that >the query doesn't care if there is 1 or 1000 characters between the >numbers...it still returns the records. > >Hope it gives some direction. > >Thanks, > >Mark A. Matte > >From: "Sheri Hixson" > >Reply-To: Access Developers discussion and problem > >solving > >To: > >Subject: [AccessD] Search Memo field for number string > >Date: Mon, 31 Oct 2005 10:36:08 -0500 > > > >I need to search a memo field for any string of any numbers sequenced as > >follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold > >the > >number sequence found in each memo field. Anyone have any ideas on how to > >setup > >this query? Thanks for any help! > > > > > > > >Sheri From carbonnb at gmail.com Mon Oct 31 12:52:21 2005 From: carbonnb at gmail.com (Bryan Carbonnell) Date: Mon, 31 Oct 2005 13:52:21 -0500 Subject: [AccessD] Calendar Control In-Reply-To: References: Message-ID: On 31/10/05, Boyd, Mark Thomas (US - Philadelphia) wrote: > I'm looking for an Outlook-style calendar control (month view) that will > work within Access. > I have a table with 2 fields, [WorkDate] and [WorkDesc]. > I need the calendar to display all [WorkDesc] data where the [WorkDate] > corresponds to the calendar date. For example, if the [WorkDate] is > today, the [WorkDesc] should appear on the calendar within today's date. > If tomorrow's date has records in the table, these records should appear > under tomorrow's date in the calendar. > > Is there a tool out there that will do this?? If you have the ADH2K there is a drop-in calendar form. It can be used as a standalone form or as a sub-form. I have used it as both in the same project and it works great. -- 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 martyconnelly at shaw.ca Mon Oct 31 12:56:34 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 31 Oct 2005 10:56:34 -0800 Subject: [AccessD] Array faster in DLL? References: Message-ID: <436668E2.3090201@shaw.ca> Disasters have been caused by computer arithmetic conversion errors, such as the famous unmanned Ariane 5 Rocket explosion in 1996. A 64-bit floating-point number in the inertial reference system was incorrectly converted to a 16-bit signed integer...BOOM Gustav Brock wrote: >Hi Marty > >You may have a point. I didn't give it a thought. >One could imagine that it does a type cast to double as a result of the division, then another back to long (or to double for the 100) for the comparison. > >Please note, this code doesn't serve any serious purpose except "doing something" that takes a little while. > >/gustav > > > >>>>martyconnelly at shaw.ca 31-10-2005 17:39:20 >>> >>>> >>>> >Just one hint for VBA code speed on this line >Since everything is being done by integers > > If alngTmp(lngItem, 1) / 10 = 100 Then > >On a run of 50 seconds >If I use integer division with the "\" operator , I save around 1 second > > If alngTmp(lngItem, 1) \ 10 = 100 Then > >If I use multiplication instead of division , I save 5-6 seconds >It does a type conversion to a long, but I have never seen a full >documented description of this >from MS so I don't trust it, so I would use CLng which would add overhead. > > If alngTmp(lngItem, 1) * 0.1 = 100 Then > >Some optimizing compilers have options that might change division by a >constant to multiplication of it's inverse. > > > > -- Marty Connelly Victoria, B.C. Canada From shamil at users.mns.ru Mon Oct 31 13:31:40 2005 From: shamil at users.mns.ru (Shamil Salakhetdinov) Date: Mon, 31 Oct 2005 22:31:40 +0300 Subject: [AccessD] Array faster in DLL? References: Message-ID: <001501c5de51$c1167980$6401a8c0@fincomplex.spb.ru> > Very nice! I'm looking forward ... Here it's Gustav - final results: VB6: 400,000,000 cycles in ~20 seconds C++: 10,000,000,000 cycles in ~18-19 seconds All the source code and test executables can be downloaded from: http://smsconsulting.spb.ru/download/tests/arrayTest.zip (61KB) That was a quick test work but one can find some VB6 advanced coding with Implements, which shows (IMHO) why low coupling and high cohesion is a good and very practically oriented idea (especially for long run projects). Of course there is there also a direct coding - advanced a la' OOP was added to start it getting generalized for someone else to maybe add other languages test cases - anybody? Do not forget to register ATL/COM DLL(ArrayCruncher.dll) before running the test client (ArrayCruncherClient.exe). To register ArrayCruncher.dll run enclosed batch file regme.bat Enjoy! Shamil P.S. C++ core code: #include "stdafx.h" #include "comdef.h" #include #include "Test.h" #include ".\test.h" #include //typedef long COUNTER_TYPE; typedef __int64 COUNTER_TYPE; // LONG vlngCallBackEventInterval, // CTest STDMETHODIMP CTest::ArrayTimeLocal( LONG vlngSequences, LONG vlngLoopMax, BSTR* rstrTotalCnt, LONG* lngSeconds) { const long lngItems = 100; long alngTmp[lngItems][2]; long lngLoop; long lngItem; long lngResult = 0; time_t /*double*/ dblStart; time_t /*double*/ dblStop; COUNTER_TYPE lngCnt; lngCnt=0; time(&dblStart); for (long lngSeqIdx=0; lngSeqIdx < vlngSequences; lngSeqIdx++) { for (lngLoop=0; lngLoop < vlngLoopMax; lngLoop++) { for (lngItem=0; lngItem < lngItems; lngItem++) { alngTmp[lngItem][0] = lngLoop * 10; if (alngTmp[lngItem][0] / 10 == 100) lngResult = 1; else lngResult = 0; lngCnt++; } } } time(&dblStop); *lngSeconds = (long)difftime(dblStop,dblStart);; if(rstrTotalCnt == NULL) return E_POINTER; TCHAR buf[256]; sprintf(buf,"%I64d",lngCnt); Lock(); *rstrTotalCnt = (_bstr_t(buf)).copy(); Unlock(); return S_OK; } ----- Original Message ----- From: "Gustav Brock" To: Sent: Monday, October 31, 2005 5:08 PM Subject: Re: [AccessD] Array faster in DLL? > Hi Shamil > > Very nice! I'm looking forward ... > > /gustav > > >>> shamil at users.mns.ru 31-10-2005 14:58:24 >>> > <<< > static long ArrayTimeLocal(long lngSequences, long lngLoopMax, long& > lngTotalCnt, bool useTracePrinting = false); > >>> > OK, I will do it this evening after a break I plan for now and I will change > lngTotalCnt to string (strTotalCnt) to pass it back to VBA/VB6 because they > do not have __int64 support. - so the call interface for VBA/VB6 will be: > > function ArrayTimeLocal( _ > byval vlngSequences as long, _ > byval vlngLoopMax as long, _ > byref rstrTotalCnt as string) _ > as Long > > Shamil > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Oct 31 13:34:48 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 31 Oct 2005 11:34:48 -0800 Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? Message-ID: Several years ago, someone on this list (I believe it was Lambert) gave me a sample Access database or code which was able to read MP3 tags. A couple of months ago one of my hard drives crashed that held all of my family pictures and 40GB+ MP3 collection that took me over five years to record and classify into folders. I was able to retrieve the pictures but not the music. CDs wouldn't be too bad to re-rip but the Vinyl takes a bit longer to reencode :( I did find some "back ups" that I had made to CDs at various points in time. The trouble is that I have different versions & qualities of the same songs, so I want to create a database that can scan a CD and scan a given directory then only copy over those songs that do not already exist (or that have a better bitrate). I have code that can do the comparison and copying (I used it for a similar task with jpegs), but I need a method of reading the MP3's tags (Artist, Title & bitrate). Does anyone know how to read MP3 tags via VBA? Thanks, David From kost36 at otenet.gr Mon Oct 31 13:50:22 2005 From: kost36 at otenet.gr (Kostas Konstantinidis) Date: Mon, 31 Oct 2005 21:50:22 +0200 Subject: [AccessD] How to short by cliking on a headline References: <103120051520.27944.4366362C0003159100006D28220642461300009A9D0E9F9F0E9F@comcast.net> Message-ID: <006601c5de54$54d8a330$0100a8c0@KOST36> HI all, I use a combo box with two columns I was wondering if it could be possible to sort data pressing on a data's headline thank's /kostas From bheid at appdevgrp.com Mon Oct 31 14:36:37 2005 From: bheid at appdevgrp.com (Bobby Heid) Date: Mon, 31 Oct 2005 15:36:37 -0500 Subject: [AccessD] How to short by cliking on a headline In-Reply-To: <916187228923D311A6FE00A0CC3FAA30CC7352@ADGSERVER> Message-ID: <916187228923D311A6FE00A0CC3FAA30ABF1DA@ADGSERVER> I don't know of a way with native controls. What I do is create a button for each column that you want to be sortable and when the user clicks on the button, sort on the associated column by changing the recordsource. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Kostas Konstantinidis Sent: Monday, October 31, 2005 2:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] How to short by cliking on a headline HI all, I use a combo box with two columns I was wondering if it could be possible to sort data pressing on a data's headline thank's /kostas From mboyd at deloitte.com Mon Oct 31 15:02:19 2005 From: mboyd at deloitte.com (Boyd, Mark Thomas (US - Philadelphia)) Date: Mon, 31 Oct 2005 16:02:19 -0500 Subject: [AccessD] Calendar Control Message-ID: Thanks Bryan. I don't have ADH2K, and can't find anyting online that will allow me to do what I need. After much thought, I think I'd like to use a report to display the calendar of records. I can only find one resource from Google Groups (http://www.invisibleinc.com/divFiles.cfm?divDivID=4), but this link is no longer valid. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, October 31, 2005 1:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control On 31/10/05, Boyd, Mark Thomas (US - Philadelphia) wrote: > I'm looking for an Outlook-style calendar control (month view) that will > work within Access. > I have a table with 2 fields, [WorkDate] and [WorkDesc]. > I need the calendar to display all [WorkDesc] data where the [WorkDate] > corresponds to the calendar date. For example, if the [WorkDate] is > today, the [WorkDesc] should appear on the calendar within today's date. > If tomorrow's date has records in the table, these records should appear > under tomorrow's date in the calendar. > > Is there a tool out there that will do this?? If you have the ADH2K there is a drop-in calendar form. It can be used as a standalone form or as a sub-form. I have used it as both in the same project and it works great. -- 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 This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] From fhtapia at gmail.com Mon Oct 31 15:18:48 2005 From: fhtapia at gmail.com (Francisco Tapia) Date: Mon, 31 Oct 2005 13:18:48 -0800 Subject: [AccessD] OT: Been hacked In-Reply-To: <007001c5de1f$587719c0$017ba8c0@xpserver> References: <007001c5de1f$587719c0$017ba8c0@xpserver> Message-ID: These kind of directories are locked because the OS (at least via gui) helps to lock you down.. generally if you navigate via dos you can delete such directories... for example via the gui menu you cannot create an LPT1 directory nor a COM one either. On 10/31/05, Jim Lawrence wrote: > Hi Bryan: > > I have been studying the whole creation of a locking a directory and here is > a site where a number of steps are used to create such directories. It > appears that their designs are almost infinite: > > http://www.jtpfxp.net/dirnt.htm > and > http://jtpfxp.net/ > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell > Sent: Monday, October 31, 2005 3:22 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Been hacked > > On 30 Oct 2005 at 18:18, Jim Lawrence wrote: > > > I would normally not post this item here but I am not sure where I > > would find a more experience group. > > > > It appears that one of my servers has been hacked. :-( > > > > The first indication is, and it may be unrelated, is that one of my > > FTP directories that I have used for unloading and downloading files > > into has a 'Locked' directory in it. It is real simple to do this; and > > do not try it! > > > > make a directory like: \temp\o0oKARo0o\here\ > > and then rename like this: \com1*\o0oKaro0o\here\ > > (*=space) > > > > Does anyone here know how to get rid of the thing? > > Drop to a command prompt and > > del \com1?\o0oKaro0o\here\*.* > rmdir \com1?\o0oKaro0o\here\ > rmdir \com1?\o0oKaro0o\ > rmdir \com1?\ > > -- > Bryan Carbonnell - carbonnb at sympatico.ca > HAM AND EGGS - A day's work for a chicken; a lifetime commitment for > a pig. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- -Francisco http://pcthis.blogspot.com |PC news with out the jargon! http://sqlthis.blogspot.com | Tsql and More... From Jim.Hale at FleetPride.com Mon Oct 31 15:51:15 2005 From: Jim.Hale at FleetPride.com (Hale, Jim) Date: Mon, 31 Oct 2005 15:51:15 -0600 Subject: [AccessD] Calendar Control Message-ID: <6A6AA9DF57E4F046BDA1E273BDDB67727DD7ED@corp-es01.fleetpride.com> These guys have VBA code that does what you want. As I recall it was about $299. http://www.datasphere.net/ "Looking for our Designer Series Access Components? To purchase products from our Designer Series of Access components, please call (360) 687-7347 or e-mail designer at datasphere.net " -----Original Message----- From: Boyd, Mark Thomas (US - Philadelphia) [mailto:mboyd at deloitte.com] Sent: Monday, October 31, 2005 3:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control Thanks Bryan. I don't have ADH2K, and can't find anyting online that will allow me to do what I need. After much thought, I think I'd like to use a report to display the calendar of records. I can only find one resource from Google Groups (http://www.invisibleinc.com/divFiles.cfm?divDivID=4), but this link is no longer valid. Mark Boyd Senior Consultant Enterprise Risk Services Deloitte & Touche LLP Tel: +1 215 405 5576 mboyd at deloitte.com www.deloitte.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bryan Carbonnell Sent: Monday, October 31, 2005 1:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Calendar Control On 31/10/05, Boyd, Mark Thomas (US - Philadelphia) wrote: > I'm looking for an Outlook-style calendar control (month view) that will > work within Access. > I have a table with 2 fields, [WorkDate] and [WorkDesc]. > I need the calendar to display all [WorkDesc] data where the [WorkDate] > corresponds to the calendar date. For example, if the [WorkDate] is > today, the [WorkDesc] should appear on the calendar within today's date. > If tomorrow's date has records in the table, these records should appear > under tomorrow's date in the calendar. > > Is there a tool out there that will do this?? If you have the ADH2K there is a drop-in calendar form. It can be used as a standalone form or as a sub-form. I have used it as both in the same project and it works great. -- 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 This message (including any attachments) contains confidential information intended for a specific individual and purpose, and is protected by law. If you are not the intended recipient, you should delete this message. Any disclosure, copying, or distribution of this message, or the taking of any action based on it, is strictly prohibited. [v.E.1] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com *********************************************************************** The information transmitted is intended solely for the individual or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of or taking action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you have received this email in error please contact the sender and delete the material from any computer. As a recipient of this email, you are responsible for screening its contents and the contents of any attachments for the presence of viruses. No liability is accepted for any damages caused by any virus transmitted by this email. From martyconnelly at shaw.ca Mon Oct 31 15:56:46 2005 From: martyconnelly at shaw.ca (MartyConnelly) Date: Mon, 31 Oct 2005 13:56:46 -0800 Subject: [AccessD] Search Memo field for number string References: <6.2.3.4.2.20051031124608.029c7000@pop3.highstream.net> Message-ID: <4366931E.2030409@shaw.ca> Here is a way to use regular expressions to scan the string. I left it open ended so it will return any length number string You may want to check for those shorter or longer if you want it exact pattern can be changed to pick only length 7. oops I just realized I missed case (a) so the extraction pattern you really want is re.pattern = "([0-9]{3}\.[0-9]{4})|([0-9]{3}\-[0-9]{4})|([0-9]{3}\#[0-9]{4})|([0-9]{3}\s[0-9]{4})" here is a basic tutorial http://www.zvon.org/other/PerlTutorial/Output/contents.html Sub ScanStringForAnyNumbersunformated() ' DLL included with Windows Scripting Host ' this only applies to Access 97 'ReferenceFromFile "c:\windows\system\vbscript.dll\2 ' Windows 2000: Requires a reference to VBScript Regular Expressions ' Microsoft VBScript Regular Expressions 1.0 ' VBScript_RegExp - C:\WINNT\System32\vbscript.dll\2 Version 1.0 ' C:\Windows\System\vbscript.dll\2 ' Microsoft VBScript Regular Expressions 5.5 ' VBScript_RegExp - C:\WINNT\System32\vbscript.dll\3 Version 5.5 ' C:\Windows\System\vbscript.dll\3 ' if using Version 5.5 Dim objRE As VBScript_RegExp_55.RegExp 'Dim objRE As VBScript_RegExp_10.RegExp 'Set objRE = New VBScript_RegExp_10.RegExp Dim strToParse As String Dim objWordsFound As Object Dim singleWord As Variant 'Set the early binding objects Dim re As New RegExp re.Global = True re.ignoreCase = True strToParse = "hello,To,you 8888888 999 9.77 9#888" 'Set WordsFound, using regular expressions to obtain the words 'separated by commas re.Pattern = "[0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)|([0-9]*\#[0-9]+)|([0-9]+)" Set objWordsFound = re.Execute(strToParse) For Each singleWord In objWordsFound Debug.Print singleWord Next strToParse = "hello To you" 'Set WordsFound, using regular expressions to obtain the words 'separated by blanks re.Pattern = "[^ ]+" Set objWordsFound = re.Execute(strToParse) For Each singleWord In objWordsFound Debug.Print singleWord Next End Sub re.Pattern = "[0-9]+\.[0-9]*)|([0-9]*\.[0-9]+)|([0-9]*\#[0-9]+)|([0-9]+)" explanation of search pattern, I have code to do this. any of Followed by 0, -, 9 one or more times Followed by . Followed by any of 0, -, 9 zero or more times Followed by or Pattern-1: ( any of 0, -, 9 zero or more times Followed by . Followed by any of 0, -, 9 one or more times )-end-Pattern-1 Followed by or Pattern-2: ( any of 0, -, 9 zero or more times Followed by # Followed by any of 0, -, 9 one or more times )-end-Pattern-2 Followed by or Pattern-3: ( any of 0, -, 9 one or more times )-end-Pattern-3 Robert L. Stewart wrote: >Sheri, > >Actually, if you build each string you want to search for: > >"123 4567" (a) >"123.4567" (b) >"123-4567" (c) >"1234567" (d) > >And use a "Like a or like b or like c or like d", you can find >exactly what you want. > >As for bolding, there is no way of doing that without using a 3rd >party tool like FMS's memo editing tool which would give you full RTF >type capability within the memo field. And then it would be a lot of >coding to find the string and then bold it. > >Robert > > >At 10:41 AM 10/31/2005, you wrote: > > >>Date: Mon, 31 Oct 2005 16:31:51 +0000 >>From: "Mark A Matte" >>Subject: Re: [AccessD] Search Memo field for number string >>To: accessd at databaseadvisors.com >>Message-ID: >>Content-Type: text/plain; format=flowed >> >>Sheri, >> >>I can't help with the Bold part...but on the search...I'm guessing you are >>looking at a phone number...or some other 2 part number sequence...either >>way...you can seperate your number into two pieces of criteria ( 2 fields on >>a form )...and the place something like: >>Like "*" & [Forms]![frmTest1]![NumPart1] & "*" & >>[Forms]![frmTest1]![NumPart2] & "*" >> >>in the MemoField Criteria or your query. The problem with this...is that >>the query doesn't care if there is 1 or 1000 characters between the >>numbers...it still returns the records. >> >>Hope it gives some direction. >> >>Thanks, >> >>Mark A. Matte >> >> >>>From: "Sheri Hixson" >>>Reply-To: Access Developers discussion and problem >>>solving >>>To: >>>Subject: [AccessD] Search Memo field for number string >>>Date: Mon, 31 Oct 2005 10:36:08 -0500 >>> >>>I need to search a memo field for any string of any numbers sequenced as >>>follows, ### #### or ###.#### or ###-#### or ####### . I also want to bold >>>the >>>number sequence found in each memo field. Anyone have any ideas on how to >>>setup >>>this query? Thanks for any help! >>> >>> >>> >>>Sheri >>> >>> > > > > -- Marty Connelly Victoria, B.C. Canada From bheygood at abestsystems.com Mon Oct 31 16:09:49 2005 From: bheygood at abestsystems.com (Bob Heygood) Date: Mon, 31 Oct 2005 14:09:49 -0800 Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? In-Reply-To: Message-ID: There is an ongoing series of articles in the Access Advisor that includes reading the tag info of MP3s. www.advisor.com good luck, bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, October 31, 2005 11:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? Several years ago, someone on this list (I believe it was Lambert) gave me a sample Access database or code which was able to read MP3 tags. A couple of months ago one of my hard drives crashed that held all of my family pictures and 40GB+ MP3 collection that took me over five years to record and classify into folders. I was able to retrieve the pictures but not the music. CDs wouldn't be too bad to re-rip but the Vinyl takes a bit longer to reencode :( I did find some "back ups" that I had made to CDs at various points in time. The trouble is that I have different versions & qualities of the same songs, so I want to create a database that can scan a CD and scan a given directory then only copy over those songs that do not already exist (or that have a better bitrate). I have code that can do the comparison and copying (I used it for a similar task with jpegs), but I need a method of reading the MP3's tags (Artist, Title & bitrate). Does anyone know how to read MP3 tags via VBA? Thanks, David -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dmcafee at pacbell.net Mon Oct 31 16:49:57 2005 From: dmcafee at pacbell.net (David McAfee) Date: Mon, 31 Oct 2005 14:49:57 -0800 Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? In-Reply-To: Message-ID: Thanks bob, this looks like it will help: http://www.advisor.com/doc/14849 I don't see bit rates, but I may be able to figure it out. Thanks, David -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Bob Heygood Sent: Monday, October 31, 2005 2:10 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] FW: MP3 tag reading from Access - Lambert? There is an ongoing series of articles in the Access Advisor that includes reading the tag info of MP3s. www.advisor.com good luck, bob Heygood -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of David McAfee Sent: Monday, October 31, 2005 11:35 AM To: accessd at databaseadvisors.com Subject: [AccessD] FW: MP3 tag reading from Access - Lambert? Several years ago, someone on this list (I believe it was Lambert) gave me a sample Access database or code which was able to read MP3 tags. A couple of months ago one of my hard drives crashed that held all of my family pictures and 40GB+ MP3 collection that took me over five years to record and classify into folders. I was able to retrieve the pictures but not the music. CDs wouldn't be too bad to re-rip but the Vinyl takes a bit longer to reencode :( I did find some "back ups" that I had made to CDs at various points in time. The trouble is that I have different versions & qualities of the same songs, so I want to create a database that can scan a CD and scan a given directory then only copy over those songs that do not already exist (or that have a better bitrate). I have code that can do the comparison and copying (I used it for a similar task with jpegs), but I need a method of reading the MP3's tags (Artist, Title & bitrate). Does anyone know how to read MP3 tags via VBA? Thanks, David From rupert_bennett at msn.com Mon Oct 31 20:20:07 2005 From: rupert_bennett at msn.com (Rupert Bennett) Date: Mon, 31 Oct 2005 21:20:07 -0500 Subject: [AccessD] ActiveX Component Can't Create Object Message-ID: Hi, I must have tinkered around and done something wrong, but I can't use objects from my toolbox or any of my wizards anymore. I have all the most recent updates and service packs installed. I also upgraded to Access 2003 in the hope that this would solve the problem, but to no avail. Each time I try to use a control from my toolbox or use any of the wizards, I get a message saying "ActiveX Component can't create object". Does anyone know what the problem could be and what I could do to fix this? Thanks, Rupert From wdhindman at bellsouth.net Mon Oct 31 21:21:45 2005 From: wdhindman at bellsouth.net (William Hindman) Date: Mon, 31 Oct 2005 22:21:45 -0500 Subject: [AccessD] ActiveX Component Can't Create Object References: Message-ID: <00df01c5de93$63462f70$6101a8c0@JISREGISTRATION.local> ...I'd take a look at your MDAC ...either corrupted or an older version maybe. William ----- Original Message ----- From: "Rupert Bennett" To: Sent: Monday, October 31, 2005 9:20 PM Subject: [AccessD] ActiveX Component Can't Create Object > Hi, > I must have tinkered around and done something wrong, but I can't use > objects from my toolbox or any of my wizards anymore. I have all the most > recent updates and service packs installed. I also upgraded to Access 2003 > in the hope that this would solve the problem, but to no avail. Each time > I try to use a control from my toolbox or use any of the wizards, I get a > message saying "ActiveX Component can't create object". Does anyone know > what the problem could be and what I could do to fix this? > Thanks, > Rupert > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com >