From miscellany at mvps.org Fri Aug 1 00:22:27 2008 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 01 Aug 2008 17:22:27 +1200 Subject: [AccessD] Access with MySQL BE In-Reply-To: <200807312355.m6VNt6Eh030724@databaseadvisors.com> References: <200807312355.m6VNt6Eh030724@databaseadvisors.com> Message-ID: <48929D93.2040106@mvps.org> Hi John, I have a couple of applications where the main data is in Access, but connects as required to a MySQL database to upload or download data. I have found it pretty simple and stable in this scenario. Using the MySQL database as the principal backend for the application I have no experience with, but I imagine it would be pretty slow if you are dealing with significant volumes of data. Regards Steve John Bartow wrote: > Has anyone used Access as a front end for a MySQL DB via the Internet. There > will be only 1 user. From john at winhaven.net Fri Aug 1 02:15:44 2008 From: john at winhaven.net (John Bartow) Date: Fri, 1 Aug 2008 02:15:44 -0500 Subject: [AccessD] Access with MySQL BE In-Reply-To: <48929D93.2040106@mvps.org> Message-ID: <200808010715.m717FSHf004275@databaseadvisors.com> Hi Steve, Data is minimal. It is a membership list with some attributes that drive various web page lists. Keeping it in the Access BE and just uploading it to MySQL would actually be just great. Care to share your methods? John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 01, 2008 12:22 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access with MySQL BE Hi John, I have a couple of applications where the main data is in Access, but connects as required to a MySQL database to upload or download data. I have found it pretty simple and stable in this scenario. Using the MySQL database as the principal backend for the application I have no experience with, but I imagine it would be pretty slow if you are dealing with significant volumes of data. Regards Steve From miscellany at mvps.org Fri Aug 1 03:27:32 2008 From: miscellany at mvps.org (Steve Schapel) Date: Fri, 01 Aug 2008 20:27:32 +1200 Subject: [AccessD] Access with MySQL BE In-Reply-To: <200808010715.m717FSHf004275@databaseadvisors.com> References: <200808010715.m717FSHf004275@databaseadvisors.com> Message-ID: <4892C8F4.6020708@mvps.org> Hi John, I think using a DSN is simplest. You need to obtain the MySQL ODBC driver from http://dev.mysql.com/downloads/connector/odbc/5.1.html and install on the local machine. Then create a system DSN based on this driver, to point to the MySQL database. You will need to know connection details for the MySQL database. After that, from within your Access application, you will simply be able to link to the MySQL tables, via the File|Get External Data menu. And then you will be able to interact with the data in these tables just the same as any other linked tables. In one of my examples, we have a Scheduled Task that runs daily, runs Delete queries to clear out all the MySQL tables, and then a series of Append queries to re-populate the MySQL tables with current data derived from the Access tables in the main application database. In another example, the MySQL connectivity is required from the main application according to user requirement, which in practice is infrequently, so we connect to the MySQL database in code. Here is a sample snippet of the code I use: Dim dbs As DAO.Database Dim tdf As DAO.TableDef Dim tblName As String Dim srcTblName As String Dim Conn As String Set dbs = CurrentDb tblName = "LocalTable" srcTblName = "MySQL_Table" Conn = "ODBC;DATABASE=;DESCRIPTION=;DSN=;OPTION=0;PORT=3306;SERVER=;;TABLE=" Set tdf = dbs.CreateTableDef(tblName) tdf.SourceTableName = srcTblName tdf.Connect = Conn dbs.TableDefs.Append tdf dbs.TableDefs.Refresh (? repeated for each applicable MySQL table) In this case, we chose to run this code on the Open event of a form, and on the Close event we have: CurrentDb.TableDefs.Delete "LocalTable" ? for each linked MySQL table. Hope that gives you something to go on. Regards Steve John Bartow wrote: > Hi Steve, > Data is minimal. It is a membership list with some attributes that drive > various web page lists. Keeping it in the Access BE and just uploading it to > MySQL would actually be just great. Care to share your methods? From accessd at shaw.ca Fri Aug 1 04:12:09 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 1 Aug 2008 02:12:09 -0700 Subject: [AccessD] Access development on the wane? In-Reply-To: <030301c8f319$026a44f0$2f8601c7@SusanOne> References: <030301c8f319$026a44f0$2f8601c7@SusanOne> Message-ID: <23B7D24441D546DA99A580E1F1E15F0B@creativesystemdesigns.com> Hi Susan: Significant less... Only one bound version of Access in 5 years... works as a great FE for databases like Oracle and MS SQL though. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Thursday, July 31, 2008 7:23 AM To: AccessD at databaseadvisors.com Subject: [AccessD] Access development on the wane? Although I think Access is still healthy and will be around for a long time, readers are contacting me privately with concerns. Some of them aren't getting as much Access work as they use to. I'm just curious -- what are the contractors on this list experiencing -- have you noticed a slow down in Access development? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 1 05:50:44 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Aug 2008 12:50:44 +0200 Subject: [AccessD] Access development on the wane? Message-ID: Hi Susan We have zero new projects but still a good amount of maintenance and will probably have for years. However, unless a client should insist on using Access, any new project will be in .Net - so much more flexible and much easier to deploy/install. I understand to some extent why MS has turned Access towards the user audience but it is a nightmare to deal with as a developer. Why couldn't MS have a command line switch like /develop that would strip the interface for everything leaving a clean window (as the runtime did in old days)? /gustav >>> ssharkins at gmail.com 31-07-2008 16:23 >>> Although I think Access is still healthy and will be around for a long time, readers are contacting me privately with concerns. Some of them aren't getting as much Access work as they use to. I'm just curious -- what are the contractors on this list experiencing -- have you noticed a slow down in Access development? Susan H. From wdhindman at dejpolsystems.com Fri Aug 1 06:18:08 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 1 Aug 2008 07:18:08 -0400 Subject: [AccessD] Access development on the wane? References: <030301c8f319$026a44f0$2f8601c7@SusanOne> Message-ID: <8906EAEE185B4FB1BBE4EF5596F77D8B@jislaptopdev> ...I've moved to focus on the .net development environment and that's what I push to clients now ...there is still plenty of Access work but I'm not starting anything new in it ...had not considered Access so much as declining as just not being the best development environment any longer ...once you have a few controls and a source code library, .net in VS8 is just a lot better to work with than Access, especially A2k7. William -------------------------------------------------- From: "Susan Harkins" Sent: Thursday, July 31, 2008 10:23 AM To: Subject: [AccessD] Access development on the wane? > Although I think Access is still healthy and will be around for a long > time, > readers are contacting me privately with concerns. Some of them aren't > getting as much Access work as they use to. > > I'm just curious -- what are the contractors on this list experiencing -- > have you noticed a slow down in Access development? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From tinanfields at torchlake.com Fri Aug 1 06:19:57 2008 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Fri, 01 Aug 2008 07:19:57 -0400 Subject: [AccessD] Almost Friday Humor In-Reply-To: <818FD709E9284F26A584E135365AF21A@danwaters> References: <818FD709E9284F26A584E135365AF21A@danwaters> Message-ID: <4892F15D.6050701@torchlake.com> Okay, maybe I'm just being dense here, but all the See Also offers is the choice to buy Microsoft Office 2007 or a free trial of the Office 2007 system. What am I missing? Tina Dan Waters wrote: > In Access Help, look for 'Configuring the Microsoft Jet Database Engine for > ODBC Access'. > > At the bottom click on See Also. > > I know I just got done saying this one's better, but do you have to put this > in Help? > > :-) > > Dan > > > > From Gustav at cactus.dk Fri Aug 1 07:11:19 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Aug 2008 14:11:19 +0200 Subject: [AccessD] OT: Friday humour. Olympic Games Message-ID: Hi all How to dress and behave - if you are a Chinese expecting thousands of visitors from abroad: http://www.iht.com/articles/ap/2008/07/31/asia/AS-OLY-China-Etiquette.php Wonder what that about V or Y shaped feet positioning is about? /gustav From dwaters at usinternet.com Fri Aug 1 07:24:38 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 1 Aug 2008 07:24:38 -0500 Subject: [AccessD] upsizing In-Reply-To: References: Message-ID: Well, That wasn't what I saw with my testing. In fact, with a bit field, I couldn't even enter a 1 directly in the table. Are you talking about using a smallint field for True or False? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 31, 2008 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing In Access, that's true. In SQL Server, 1 is true and 0 is false. If you throw a -1 at it, it spits up all over you. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, July 31, 2008 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing With the BE I just upsized, all the Yes/No fields became bits. I went through all those fields and set Allow Nulls to False. Now the only to values that can be entered into the bit fields are -1 and 0. I set up a recordset to change iteratively change the value from True to False then True then False, etc, and everything worked just as if I had been using an Access table. I went back and tested one field by setting Allow Nulls to True. My code then displayed the value as False if I set the field to Null in code. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, July 31, 2008 4:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] upsizing Hi Charlotte One way to get around this - if you really need to handle the value as a numeric - is to use Abs(): If Abs([YourYesNoField]) = 1 Then ' something End If Another is to use DataTableAdapters and/or DAL to isolate you from this low-level stuff. I couldn't imagine anything else than this is what you do, but your reply indicates not. Is that really so? /gustav >>> cfoust at infostatsystems.com 31-07-2008 17:25 >>> We have to be careful in our .Net code to always test for 0 or <> 0 because we run against both Access and SQL Server. Trying to test for True crashes on one or the other. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, July 30, 2008 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing oooooooooooooo.... I like that. :) Susan H. > Possiby because Access uses -1 for True and you can't represent that > with a bit? > > What value does SSMA store insert a True record (1 or -1)? > > > On 30 Jul 2008 at 18:45, Susan Harkins wrote: > >> SSMA converts Access Yes/No fields to tinyint, instead of bit -- does >> anyone have an explanation for that? >> >> My guess is it's because SQL Server's bit didn't support NULL's until >> 7.0, but it seems like the wizard would keep up with something like >> that. I really can't recall if Access' Yes/No always supported NULLs >> or not. >> >> 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Aug 1 07:28:24 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 1 Aug 2008 07:28:24 -0500 Subject: [AccessD] Almost Friday Humor In-Reply-To: <4892F15D.6050701@torchlake.com> References: <818FD709E9284F26A584E135365AF21A@danwaters> <4892F15D.6050701@torchlake.com> Message-ID: <3D4C4081EA794BD3A54F8592C8EBCBF8@danwaters> You're not missing anything! What is Microsoft doing putting advertising into the Help file? That's over the top, even for them! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, August 01, 2008 6:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Almost Friday Humor Okay, maybe I'm just being dense here, but all the See Also offers is the choice to buy Microsoft Office 2007 or a free trial of the Office 2007 system. What am I missing? Tina Dan Waters wrote: > In Access Help, look for 'Configuring the Microsoft Jet Database Engine for > ODBC Access'. > > At the bottom click on See Also. > > I know I just got done saying this one's better, but do you have to put this > in Help? > > :-) > > Dan > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Aug 1 07:35:59 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 1 Aug 2008 07:35:59 -0500 Subject: [AccessD] Access development on the wane? In-Reply-To: <8906EAEE185B4FB1BBE4EF5596F77D8B@jislaptopdev> References: <030301c8f319$026a44f0$2f8601c7@SusanOne> <8906EAEE185B4FB1BBE4EF5596F77D8B@jislaptopdev> Message-ID: <79F94E48D3FC4C75AA485D655E00B229@danwaters> Hi William, Could you elaborate on your experience with VS8 vs. Access as a FE development environment? I've been wondering for quite a while if switching would be worthwhile, especially given that I sell the same system (with modifications) to multiple customers. I've been planning to wait for the next release of Access to see where it's going, and then decide. Thanks! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, August 01, 2008 6:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access development on the wane? ...I've moved to focus on the .net development environment and that's what I push to clients now ...there is still plenty of Access work but I'm not starting anything new in it ...had not considered Access so much as declining as just not being the best development environment any longer ...once you have a few controls and a source code library, .net in VS8 is just a lot better to work with than Access, especially A2k7. William -------------------------------------------------- From: "Susan Harkins" Sent: Thursday, July 31, 2008 10:23 AM To: Subject: [AccessD] Access development on the wane? > Although I think Access is still healthy and will be around for a long > time, > readers are contacting me privately with concerns. Some of them aren't > getting as much Access work as they use to. > > I'm just curious -- what are the contractors on this list experiencing -- > have you noticed a slow down in Access development? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Fri Aug 1 07:52:42 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 1 Aug 2008 12:52:42 +0000 Subject: [AccessD] Access development on the wane? Message-ID: I really hate to tell this story...but......this weekend I had a look at Office07, Access specifically. I had just proudly told my girlfriend's father..."No problem, I can just pull that spreadsheet right into Access, Build a form, build a report, and you will be done." (should have taken thess than 5 minutes) Well I opened up and found A2007...I have heard a number of people here complaining...but I mean what the hell did they do?!?!?!?!? I was completely lost. It felt like a really bad job interview...as I'm trying to explain..."No really I get paid to do this stuff, I promise." As I poked around I started to find things...but I can tell this is going to take some time. Anyone thought of writing a translation book? MENU-FILE-SAVE AS now lives "where ever that is".(that might have been an EXCEL issue)...anyway just kidding about the book??? I finally got done what I was attempting...kinda...enough to get my point across...I skated through a potentially very embarrassing moment. Just my opinion...but If you claim to "know access"...make sure you have seen A2007 or they are not talking about it...It was confusing enough to look at...much less discovering the differences with someone watching/judging. Mark A. Matte > Date: Thu, 31 Jul 2008 17:44:22 -0700 > From: cfoust at infostatsystems.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access development on the wane? > > Your glass is half full, Dan. To me, A2007 was the biggest horse laugh > MS has had at our expense. They mostly added UI stuff that does nothing > but frustrate developers like me who have worked with the thing since > 1.0 was released and aren't looking for cosmetic improvements. Frankly, > I can't be bothered with anything but the most lightweight usage of ANY > PART of Office 2007, most especially Access, which I avoid completely. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, July 31, 2008 12:21 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access development on the wane? > > Well . . . . , > > Access 2007 was the largest change between revisions that Access has > seen. > I read that the reason for this was that the Access group within MS had > been taken out from under the SQL Server group. > > In reading between the lines, the SQL Server group believed that without > Access their market would be larger, and so they minimized support > internally and also had their strong marketing arm denigrate Access > whenever they had a chance. This often 'stuck' on IT departments who > often want the latest, best, etc. Thus Access wasn't given the respect > it does deserve, and we all know how IT folks often feel about using > Access. > > I do believe that developers who know both SQL Server and Access can > make a pretty clear recommendation as to which should be used in a > specific situation. Now if we could just get the SQL Server group to > stay in their own pond, Access would have clear sailing! > > So, I believe that the tide turned a few years ago, symbolized by the > release of Access 2007. At least I'm hopeful . . . :-) > > Dan > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, July 31, 2008 1:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access development on the wane? > >>>This isn't what MS wants. > > Well, at least it isn't what they SAY they want. From a developer's > perspective, I'd say the handwriting has been on the wall in very large > letters for years. MS has never given Access any respect as a > development tool themselves, just patted the developers on the head with > a "bless your hearts" attitude and kept pitching the product to end > users and trying to steer developers to sexier development products with > a higher MS profit margin and to SQL Server for everything. > > IMO they've been in total denial about the need for basic relational > understanding because they've been competing with products that appealed > to the DYI end user who wouldn't know relational if it bit him, > basically the same market as for Excel but with a prettier interface. > They've shot themselves in the foot and Access, much as we might love > it, is going to continue to compete with FileMaker, et al for the > foreseeable future. I think it will continue to be diminished in > importance and real meat, regardless of what MS may promise. > > Charlotte Foust > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, July 31, 2008 10:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access development on the wane? > > This isn't what MS wants. VBA will be used in Access 14. And they seem > to be trying hard to make significant improvements from a typical user > perspective. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Thursday, July 31, 2008 9:23 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Access development on the wane? > > Although I think Access is still healthy and will be around for a long > time, > > readers are contacting me privately with concerns. Some of them aren't > getting as much Access work as they use to. > > I'm just curious -- what are the contractors on this list experiencing > -- have you noticed a slow down in Access development? > > 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 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ With Windows Live for mobile, your contacts travel with you. http://www.windowslive.com/mobile/overview.html?ocid=TXT_TAGLM_WL_mobile_072008 From cfoust at infostatsystems.com Fri Aug 1 10:01:23 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Aug 2008 08:01:23 -0700 Subject: [AccessD] Almost Friday Humor In-Reply-To: <4892F15D.6050701@torchlake.com> References: <818FD709E9284F26A584E135365AF21A@danwaters> <4892F15D.6050701@torchlake.com> Message-ID: Hmmn ... Correct me if I'm wrong, but aren't you already *in* 2007?? Why would you need that offer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, August 01, 2008 4:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Almost Friday Humor Okay, maybe I'm just being dense here, but all the See Also offers is the choice to buy Microsoft Office 2007 or a free trial of the Office 2007 system. What am I missing? Tina Dan Waters wrote: > In Access Help, look for 'Configuring the Microsoft Jet Database > Engine for ODBC Access'. > > At the bottom click on See Also. > > I know I just got done saying this one's better, but do you have to > put this in Help? > > :-) > > Dan > > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Fri Aug 1 10:04:24 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 1 Aug 2008 11:04:24 -0400 Subject: [AccessD] old articles Message-ID: <014401c8f3e7$e3f924d0$2f8601c7@SusanOne> >From the accessadvisors.com home page or the newsletter (Gazette) page, I can't find the links to the older articles -- only the new Gazette that Jim puts out. Where are the links to the older articles published in the old many-to-many... or was it one-to-many online publication? Susan H. From cfoust at infostatsystems.com Fri Aug 1 10:06:04 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Aug 2008 08:06:04 -0700 Subject: [AccessD] OT: Friday humour. Olympic Games In-Reply-To: References: Message-ID: In some cultures, it is impolite to point your feet at another person. Of course, feet parallel is also a military posture and China is probably trying to downplay any militaristic signs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 01, 2008 5:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday humour. Olympic Games Hi all How to dress and behave - if you are a Chinese expecting thousands of visitors from abroad: http://www.iht.com/articles/ap/2008/07/31/asia/AS-OLY-China-Etiquette.ph p Wonder what that about V or Y shaped feet positioning is about? /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 1 10:15:38 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Aug 2008 08:15:38 -0700 Subject: [AccessD] Access development on the wane? In-Reply-To: References: Message-ID: LOL! Yeah, fun, isn't it? I tried to migrate one of my demos to 2007 and finally just decided to take up knitting instead!! Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Friday, August 01, 2008 5:53 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access development on the wane? I really hate to tell this story...but......this weekend I had a look at Office07, Access specifically. I had just proudly told my girlfriend's father..."No problem, I can just pull that spreadsheet right into Access, Build a form, build a report, and you will be done." (should have taken thess than 5 minutes) Well I opened up and found A2007...I have heard a number of people here complaining...but I mean what the hell did they do?!?!?!?!? I was completely lost. It felt like a really bad job interview...as I'm trying to explain..."No really I get paid to do this stuff, I promise." As I poked around I started to find things...but I can tell this is going to take some time. Anyone thought of writing a translation book? MENU-FILE-SAVE AS now lives "where ever that is".(that might have been an EXCEL issue)...anyway just kidding about the book??? I finally got done what I was attempting...kinda...enough to get my point across...I skated through a potentially very embarrassing moment. Just my opinion...but If you claim to "know access"...make sure you have seen A2007 or they are not talking about it...It was confusing enough to look at...much less discovering the differences with someone watching/judging. Mark A. Matte > Date: Thu, 31 Jul 2008 17:44:22 -0700 > From: cfoust at infostatsystems.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access development on the wane? > > Your glass is half full, Dan. To me, A2007 was the biggest horse laugh > MS has had at our expense. They mostly added UI stuff that does > nothing but frustrate developers like me who have worked with the > thing since 1.0 was released and aren't looking for cosmetic > improvements. Frankly, I can't be bothered with anything but the most > lightweight usage of ANY PART of Office 2007, most especially Access, which I avoid completely. > > Charlotte Foust > From john at winhaven.net Fri Aug 1 10:25:40 2008 From: john at winhaven.net (John Bartow) Date: Fri, 1 Aug 2008 10:25:40 -0500 Subject: [AccessD] Access with MySQL BE In-Reply-To: <4892C8F4.6020708@mvps.org> Message-ID: <200808011525.m71FPXD3017912@databaseadvisors.com> Steve, Gives me great comfort to know that you are doing this and the example was of great help to get me started. I eventually want to make this an online app with a web interface but I just don't have the time to redo it now so this will be a perfect solution for me! Many Thanks, John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Steve Schapel Sent: Friday, August 01, 2008 3:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access with MySQL BE Hi John, I think using a DSN is simplest. You need to obtain the MySQL ODBC driver from http://dev.mysql.com/downloads/connector/odbc/5.1.html and install on the local machine. Then create a system DSN based on this driver, to point to the MySQL database. You will need to know connection details for the MySQL database. After that, from within your Access application, you will simply be able to link to the MySQL tables, via the File|Get External Data menu. And then you will be able to interact with the data in these tables just the same as any other linked tables. In one of my examples, we have a Scheduled Task that runs daily, runs Delete queries to clear out all the MySQL tables, and then a series of Append queries to re-populate the MySQL tables with current data derived from the Access tables in the main application database. In another example, the MySQL connectivity is required from the main application according to user requirement, which in practice is infrequently, so we connect to the MySQL database in code. Here is a sample snippet of the code I use: Dim dbs As DAO.Database Dim tdf As DAO.TableDef Dim tblName As String Dim srcTblName As String Dim Conn As String Set dbs = CurrentDb tblName = "LocalTable" srcTblName = "MySQL_Table" Conn = "ODBC;DATABASE=;DESCRIPTION=;DSN=;OPTION=0;PORT=33 06;SERVER=;;TABLE=" Set tdf = dbs.CreateTableDef(tblName) tdf.SourceTableName = srcTblName tdf.Connect = Conn dbs.TableDefs.Append tdf dbs.TableDefs.Refresh (. repeated for each applicable MySQL table) In this case, we chose to run this code on the Open event of a form, and on the Close event we have: CurrentDb.TableDefs.Delete "LocalTable" . for each linked MySQL table. Hope that gives you something to go on. Regards Steve From wdhindman at dejpolsystems.com Fri Aug 1 10:28:43 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 1 Aug 2008 11:28:43 -0400 Subject: [AccessD] Access development on the wane? References: <030301c8f319$026a44f0$2f8601c7@SusanOne><8906EAEE185B4FB1BBE4EF5596F77D8B@jislaptopdev> <79F94E48D3FC4C75AA485D655E00B229@danwaters> Message-ID: <973E9234682A408FA3565138C9CE2087@jislaptopdev> Dan ...I was forced to learn .net and asp.net because a good client wanted a web site redone and insisted I do it ...its a learning curve and I won't downplay that ...but once you're over the hump vs8 is in many ways as rad an environment as Access with the advantage of a compiled environment and so many 3rd party controls (lots free) that are just d&d and configure ...and there simply are almost no constraints on what or how you can do something ...and the code resources on the web are overwhelming ...in most cases its a matter of choosing which way you're going to implement something and not a matter of if or how ...and once you've learned one version, the move to another is surprisingly easy ...from web development to a desktop vb.net app was straight forward and yes, if you can do vb.net you can do c# ...really. ...of particular note is that so far my code behind development requirements are probably half of what they are in Access ...with Access I have vba modules behind everything, a lot of it quite involved ...in vs8, the .net framework and controls have so much more built into them that you can use by simply invoking them ...again, a learning curve, but I'm still a baby learning to crawl in .net and yet I'm producing apps that are fast, reliable, and NEVER corrupt ...and no freaking power user can screw with them ...ever! ...and they just install and run ...if the .net framework isn't there, you install it ...no more versioning problems, at least ime ...it just works ...amazing how simple that can be ...and the ties to Office are just as good if not better ...again, a learning curve but you get through it and wonder why it took so long. ...when I work in Access now (a2k3) I feel constrained and am always tempted to just rebuild it using vs and .net ...certainly not always the best answer but it reflects how I feel about the vs toolset and environment ...others mileage may certainly differ. :) William -------------------------------------------------- From: "Dan Waters" Sent: Friday, August 01, 2008 8:35 AM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Access development on the wane? > Hi William, > > Could you elaborate on your experience with VS8 vs. Access as a FE > development environment? I've been wondering for quite a while if > switching > would be worthwhile, especially given that I sell the same system (with > modifications) to multiple customers. I've been planning to wait for the > next release of Access to see where it's going, and then decide. > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, August 01, 2008 6:18 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access development on the wane? > > ...I've moved to focus on the .net development environment and that's what > I > > push to clients now ...there is still plenty of Access work but I'm not > starting anything new in it ...had not considered Access so much as > declining as just not being the best development environment any longer > ...once you have a few controls and a source code library, .net in VS8 is > just a lot better to work with than Access, especially A2k7. > > William > > -------------------------------------------------- > From: "Susan Harkins" > Sent: Thursday, July 31, 2008 10:23 AM > To: > Subject: [AccessD] Access development on the wane? > >> Although I think Access is still healthy and will be around for a long >> time, >> readers are contacting me privately with concerns. Some of them aren't >> getting as much Access work as they use to. >> >> I'm just curious -- what are the contractors on this list experiencing -- >> have you noticed a slow down in Access development? >> >> 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 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 1 10:32:06 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Aug 2008 08:32:06 -0700 Subject: [AccessD] upsizing In-Reply-To: References: Message-ID: No, we use bits. Nobody enters data directly into a table, so I'm not sure what you're doing or which database you're talking about. If you're working with 2007, we aren't even in the same conversation. We stayed with 2002 and use a 2000 data format. We interact with either BE using SQL and/or dataadapters. ADO has problems with evaluating True and False if those values are embedded in the SQL, so we have to use numbers for that or else use OleDbParameters to pass in True and allow ADO to figure out which value to use. Here's a sample of what I mean. We're building the SQL string in code an then executing it. Notice the "CostCodes.CarryForward <> 0" bit. CarryForward is a bit field. ExecuteNonQuery is a wrapper for System.Data.OleDb.OleDbCommand.ExecuteNonQuery. Public Sub CarryForwardDailyCosts(ByVal jobID As String, ByVal reportNo As Short) _ Implements IDailyReportData.CarryForwardDailyCosts Dim strSQL As New Text.StringBuilder strSQL.Append("INSERT INTO DailyCosts (JobID, ReportNo, IDNo, AccountCode, DailyCost, AFENo, Vendor, TransferFlag, Notes)") strSQL.AppendFormat(" SELECT DailyCosts.JobID, {0} As ReportNo, DailyCosts.IDNo, DailyCosts.AccountCode, DailyCosts.DailyCost," , reportNo) strSQL.Append(" DailyCosts.AFENo, DailyCosts.Vendor, 1 as TransferFlag,") 'strSQL.Append(strNote) strSQL.Append(" DailyCosts.Notes") strSQL.Append(" FROM DailyCosts INNER JOIN CostCodes ON DailyCosts.AccountCode = CostCodes.AccountCode") strSQL.AppendFormat(" WHERE DailyCosts.JobID = '{0}' AND DailyCosts.ReportNo = {1} AND CostCodes.CarryForward <> 0", _ jobID, reportNo - 1S) OleDbHelper.ExecuteNonQuery(New OleDbCommand(strSQL.ToString)) End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, August 01, 2008 5:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing Well, That wasn't what I saw with my testing. In fact, with a bit field, I couldn't even enter a 1 directly in the table. Are you talking about using a smallint field for True or False? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 31, 2008 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing In Access, that's true. In SQL Server, 1 is true and 0 is false. If you throw a -1 at it, it spits up all over you. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, July 31, 2008 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing With the BE I just upsized, all the Yes/No fields became bits. I went through all those fields and set Allow Nulls to False. Now the only to values that can be entered into the bit fields are -1 and 0. I set up a recordset to change iteratively change the value from True to False then True then False, etc, and everything worked just as if I had been using an Access table. I went back and tested one field by setting Allow Nulls to True. My code then displayed the value as False if I set the field to Null in code. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, July 31, 2008 4:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] upsizing Hi Charlotte One way to get around this - if you really need to handle the value as a numeric - is to use Abs(): If Abs([YourYesNoField]) = 1 Then ' something End If Another is to use DataTableAdapters and/or DAL to isolate you from this low-level stuff. I couldn't imagine anything else than this is what you do, but your reply indicates not. Is that really so? /gustav >>> cfoust at infostatsystems.com 31-07-2008 17:25 >>> We have to be careful in our .Net code to always test for 0 or <> 0 because we run against both Access and SQL Server. Trying to test for True crashes on one or the other. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, July 30, 2008 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing oooooooooooooo.... I like that. :) Susan H. > Possiby because Access uses -1 for True and you can't represent that > with a bit? > > What value does SSMA store insert a True record (1 or -1)? > > > On 30 Jul 2008 at 18:45, Susan Harkins wrote: > >> SSMA converts Access Yes/No fields to tinyint, instead of bit -- does >> anyone have an explanation for that? >> >> My guess is it's because SQL Server's bit didn't support NULL's until >> 7.0, but it seems like the wizard would keep up with something like >> that. I really can't recall if Access' Yes/No always supported NULLs >> or not. >> >> 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Aug 1 10:37:28 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 1 Aug 2008 11:37:28 -0400 Subject: [AccessD] old articles References: <014401c8f3e7$e3f924d0$2f8601c7@SusanOne> Message-ID: <1E483FB5A9E8418EB16FDCFB2658E235@jislaptopdev> Susan ...just click on the "Newsletters" link itself ...its not intuitive and one of these days Jim might actually fix it :) William -------------------------------------------------- From: "Susan Harkins" Sent: Friday, August 01, 2008 11:04 AM To: Subject: [AccessD] old articles >>From the accessadvisors.com home page or the newsletter (Gazette) page, I > can't find the links to the older articles -- only the new Gazette that > Jim > puts out. Where are the links to the older articles published in the old > many-to-many... or was it one-to-many online publication? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Aug 1 11:00:18 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 1 Aug 2008 11:00:18 -0500 Subject: [AccessD] Access development on the wane? In-Reply-To: <973E9234682A408FA3565138C9CE2087@jislaptopdev> References: <030301c8f319$026a44f0$2f8601c7@SusanOne><8906EAEE185B4FB1BBE4EF5596F77D8B@jislaptopdev><79F94E48D3FC4C75AA485D655E00B229@danwaters> <973E9234682A408FA3565138C9CE2087@jislaptopdev> Message-ID: <365AFBE9F4104FE0BE559611D225A7C1@danwaters> Thanks William, That's the description I was looking for. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, August 01, 2008 10:29 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access development on the wane? Dan ...I was forced to learn .net and asp.net because a good client wanted a web site redone and insisted I do it ...its a learning curve and I won't downplay that ...but once you're over the hump vs8 is in many ways as rad an environment as Access with the advantage of a compiled environment and so many 3rd party controls (lots free) that are just d&d and configure ...and there simply are almost no constraints on what or how you can do something ...and the code resources on the web are overwhelming ...in most cases its a matter of choosing which way you're going to implement something and not a matter of if or how ...and once you've learned one version, the move to another is surprisingly easy ...from web development to a desktop vb.net app was straight forward and yes, if you can do vb.net you can do c# ...really. ...of particular note is that so far my code behind development requirements are probably half of what they are in Access ...with Access I have vba modules behind everything, a lot of it quite involved ...in vs8, the .net framework and controls have so much more built into them that you can use by simply invoking them ...again, a learning curve, but I'm still a baby learning to crawl in .net and yet I'm producing apps that are fast, reliable, and NEVER corrupt ...and no freaking power user can screw with them ...ever! ...and they just install and run ...if the .net framework isn't there, you install it ...no more versioning problems, at least ime ...it just works ...amazing how simple that can be ...and the ties to Office are just as good if not better ...again, a learning curve but you get through it and wonder why it took so long. ...when I work in Access now (a2k3) I feel constrained and am always tempted to just rebuild it using vs and .net ...certainly not always the best answer but it reflects how I feel about the vs toolset and environment ...others mileage may certainly differ. :) William -------------------------------------------------- From: "Dan Waters" Sent: Friday, August 01, 2008 8:35 AM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Access development on the wane? > Hi William, > > Could you elaborate on your experience with VS8 vs. Access as a FE > development environment? I've been wondering for quite a while if > switching > would be worthwhile, especially given that I sell the same system (with > modifications) to multiple customers. I've been planning to wait for the > next release of Access to see where it's going, and then decide. > > Thanks! > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, August 01, 2008 6:18 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access development on the wane? > > ...I've moved to focus on the .net development environment and that's what > I > > push to clients now ...there is still plenty of Access work but I'm not > starting anything new in it ...had not considered Access so much as > declining as just not being the best development environment any longer > ...once you have a few controls and a source code library, .net in VS8 is > just a lot better to work with than Access, especially A2k7. > > William > > -------------------------------------------------- > From: "Susan Harkins" > Sent: Thursday, July 31, 2008 10:23 AM > To: > Subject: [AccessD] Access development on the wane? > >> Although I think Access is still healthy and will be around for a long >> time, >> readers are contacting me privately with concerns. Some of them aren't >> getting as much Access work as they use to. >> >> I'm just curious -- what are the contractors on this list experiencing -- >> have you noticed a slow down in Access development? >> >> 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 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dw-murphy at cox.net Fri Aug 1 11:19:27 2008 From: dw-murphy at cox.net (Doug Murphy) Date: Fri, 1 Aug 2008 09:19:27 -0700 Subject: [AccessD] Access development on the wane? In-Reply-To: <8906EAEE185B4FB1BBE4EF5596F77D8B@jislaptopdev> References: <030301c8f319$026a44f0$2f8601c7@SusanOne> <8906EAEE185B4FB1BBE4EF5596F77D8B@jislaptopdev> Message-ID: <002501c8f3f2$5e8467f0$0200a8c0@murphy3234aaf1> William, What are you using for reporting in your .NET apps? The built in report engine is still one of the great strengths of Access. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, August 01, 2008 4:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access development on the wane? ...I've moved to focus on the .net development environment and that's what I push to clients now ...there is still plenty of Access work but I'm not starting anything new in it ...had not considered Access so much as declining as just not being the best development environment any longer ...once you have a few controls and a source code library, .net in VS8 is just a lot better to work with than Access, especially A2k7. William -------------------------------------------------- From: "Susan Harkins" Sent: Thursday, July 31, 2008 10:23 AM To: Subject: [AccessD] Access development on the wane? > Although I think Access is still healthy and will be around for a long > time, readers are contacting me privately with concerns. Some of them > aren't getting as much Access work as they use to. > > I'm just curious -- what are the contractors on this list experiencing > -- have you noticed a slow down in Access development? > > Susan H. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 1 11:37:03 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Aug 2008 09:37:03 -0700 Subject: [AccessD] Access development on the wane? In-Reply-To: <002501c8f3f2$5e8467f0$0200a8c0@murphy3234aaf1> References: <030301c8f319$026a44f0$2f8601c7@SusanOne><8906EAEE185B4FB1BBE4EF5596F77D8B@jislaptopdev> <002501c8f3f2$5e8467f0$0200a8c0@murphy3234aaf1> Message-ID: We use DataDynamics' ActiveReports, which are very similar to Access reports in design and layout. There's even a wizard to migrate Access reports to .Net. It does a fairly good job, but very complex nested subreports need a lot of hand tweaking. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Murphy Sent: Friday, August 01, 2008 9:19 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access development on the wane? William, What are you using for reporting in your .NET apps? The built in report engine is still one of the great strengths of Access. Doug -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, August 01, 2008 4:18 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access development on the wane? ...I've moved to focus on the .net development environment and that's what I push to clients now ...there is still plenty of Access work but I'm not starting anything new in it ...had not considered Access so much as declining as just not being the best development environment any longer ...once you have a few controls and a source code library, .net in VS8 is just a lot better to work with than Access, especially A2k7. William -------------------------------------------------- From: "Susan Harkins" Sent: Thursday, July 31, 2008 10:23 AM To: Subject: [AccessD] Access development on the wane? > Although I think Access is still healthy and will be around for a long > time, readers are contacting me privately with concerns. Some of them > aren't getting as much Access work as they use to. > > I'm just curious -- what are the contractors on this list experiencing > -- have you noticed a slow down in Access development? > > 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Fri Aug 1 11:47:19 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Fri, 1 Aug 2008 12:47:19 -0400 Subject: [AccessD] Access development on the wane? References: <030301c8f319$026a44f0$2f8601c7@SusanOne><8906EAEE185B4FB1BBE4EF5596F77D8B@jislaptopdev> <002501c8f3f2$5e8467f0$0200a8c0@murphy3234aaf1> Message-ID: ...so far I'm using the native Report Viewer Control that comes with vs8 ...its not as flexible as Access Reports but as yet I've not found anything I can't do one way or the other ...its a typical MS first edition, you have to hunt for code to make it play nice ...there are 3rd party controls that purport to do better reports but I've not felt the need to try any of them yet. William -------------------------------------------------- From: "Doug Murphy" Sent: Friday, August 01, 2008 12:19 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Access development on the wane? > William, > > What are you using for reporting in your .NET apps? The built in report > engine is still one of the great strengths of Access. > > Doug > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Friday, August 01, 2008 4:18 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access development on the wane? > > ...I've moved to focus on the .net development environment and that's what > I > push to clients now ...there is still plenty of Access work but I'm not > starting anything new in it ...had not considered Access so much as > declining as just not being the best development environment any longer > ...once you have a few controls and a source code library, .net in VS8 is > just a lot better to work with than Access, especially A2k7. > > William > > -------------------------------------------------- > From: "Susan Harkins" > Sent: Thursday, July 31, 2008 10:23 AM > To: > Subject: [AccessD] Access development on the wane? > >> Although I think Access is still healthy and will be around for a long >> time, readers are contacting me privately with concerns. Some of them >> aren't getting as much Access work as they use to. >> >> I'm just curious -- what are the contractors on this list experiencing >> -- have you noticed a slow down in Access development? >> >> 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 > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Fri Aug 1 12:41:29 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Fri, 1 Aug 2008 21:41:29 +0400 Subject: [AccessD] Access development on the wane? In-Reply-To: Message-ID: <000f01c8f3fd$d5de72e0$6401a8c0@nant> Yes, I'd second William on that issue of using native Report Viewer Control - the great additional stuff/set of features to note about it: - it can be used in both ASP.NET and WinForms similar way; - it supports .PDF view/export out of the box... - it supports XLS view/export out of the box... - one can even generate reports on-the-fly and them render using this control as reports are in fact text XML files prepared using Report Definition Language - http://en.wikipedia.org/wiki/Report_Definition_Language ... Etc. Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Friday, August 01, 2008 8:47 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access development on the wane? ...so far I'm using the native Report Viewer Control that comes with vs8 ...its not as flexible as Access Reports but as yet I've not found anything I can't do one way or the other ...its a typical MS first edition, you have to hunt for code to make it play nice ...there are 3rd party controls that purport to do better reports but I've not felt the need to try any of them yet. William <<< tail skipped>>> From dwaters at usinternet.com Fri Aug 1 13:16:24 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 1 Aug 2008 13:16:24 -0500 Subject: [AccessD] upsizing In-Reply-To: References: Message-ID: <155B7520CDE64669A19D0C69B91989AC@danwaters> Hi Charlotte, I entered data directly into a SQL Server 2005 table bit field. I was just testing to see what information it would even take. The only data that field would take was a -1 or a 0. I turned off Allow Nulls. Then, using a recordset in Access 2003, I was able to read the -1 as True and the 0 as False. Given that, your code will work. But you might be able to test for True and False instead, IF you disallow nulls for the bit fields that are expected to be either True or False. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 01, 2008 10:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing No, we use bits. Nobody enters data directly into a table, so I'm not sure what you're doing or which database you're talking about. If you're working with 2007, we aren't even in the same conversation. We stayed with 2002 and use a 2000 data format. We interact with either BE using SQL and/or dataadapters. ADO has problems with evaluating True and False if those values are embedded in the SQL, so we have to use numbers for that or else use OleDbParameters to pass in True and allow ADO to figure out which value to use. Here's a sample of what I mean. We're building the SQL string in code an then executing it. Notice the "CostCodes.CarryForward <> 0" bit. CarryForward is a bit field. ExecuteNonQuery is a wrapper for System.Data.OleDb.OleDbCommand.ExecuteNonQuery. Public Sub CarryForwardDailyCosts(ByVal jobID As String, ByVal reportNo As Short) _ Implements IDailyReportData.CarryForwardDailyCosts Dim strSQL As New Text.StringBuilder strSQL.Append("INSERT INTO DailyCosts (JobID, ReportNo, IDNo, AccountCode, DailyCost, AFENo, Vendor, TransferFlag, Notes)") strSQL.AppendFormat(" SELECT DailyCosts.JobID, {0} As ReportNo, DailyCosts.IDNo, DailyCosts.AccountCode, DailyCosts.DailyCost," , reportNo) strSQL.Append(" DailyCosts.AFENo, DailyCosts.Vendor, 1 as TransferFlag,") 'strSQL.Append(strNote) strSQL.Append(" DailyCosts.Notes") strSQL.Append(" FROM DailyCosts INNER JOIN CostCodes ON DailyCosts.AccountCode = CostCodes.AccountCode") strSQL.AppendFormat(" WHERE DailyCosts.JobID = '{0}' AND DailyCosts.ReportNo = {1} AND CostCodes.CarryForward <> 0", _ jobID, reportNo - 1S) OleDbHelper.ExecuteNonQuery(New OleDbCommand(strSQL.ToString)) End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, August 01, 2008 5:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing Well, That wasn't what I saw with my testing. In fact, with a bit field, I couldn't even enter a 1 directly in the table. Are you talking about using a smallint field for True or False? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 31, 2008 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing In Access, that's true. In SQL Server, 1 is true and 0 is false. If you throw a -1 at it, it spits up all over you. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, July 31, 2008 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing With the BE I just upsized, all the Yes/No fields became bits. I went through all those fields and set Allow Nulls to False. Now the only to values that can be entered into the bit fields are -1 and 0. I set up a recordset to change iteratively change the value from True to False then True then False, etc, and everything worked just as if I had been using an Access table. I went back and tested one field by setting Allow Nulls to True. My code then displayed the value as False if I set the field to Null in code. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, July 31, 2008 4:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] upsizing Hi Charlotte One way to get around this - if you really need to handle the value as a numeric - is to use Abs(): If Abs([YourYesNoField]) = 1 Then ' something End If Another is to use DataTableAdapters and/or DAL to isolate you from this low-level stuff. I couldn't imagine anything else than this is what you do, but your reply indicates not. Is that really so? /gustav >>> cfoust at infostatsystems.com 31-07-2008 17:25 >>> We have to be careful in our .Net code to always test for 0 or <> 0 because we run against both Access and SQL Server. Trying to test for True crashes on one or the other. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, July 30, 2008 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing oooooooooooooo.... I like that. :) Susan H. > Possiby because Access uses -1 for True and you can't represent that > with a bit? > > What value does SSMA store insert a True record (1 or -1)? > > > On 30 Jul 2008 at 18:45, Susan Harkins wrote: > >> SSMA converts Access Yes/No fields to tinyint, instead of bit -- does >> anyone have an explanation for that? >> >> My guess is it's because SQL Server's bit didn't support NULL's until >> 7.0, but it seems like the wizard would keep up with something like >> that. I really can't recall if Access' Yes/No always supported NULLs >> or not. >> >> 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Fri Aug 1 14:05:52 2008 From: RRANTHON at sentara.com (RANDALL R ANTHONY) Date: Fri, 01 Aug 2008 15:05:52 -0400 Subject: [AccessD] Database Corruption? (Resolved) In-Reply-To: <002401c8f368$15c835d0$1d21650a@DF2PJY11> References: <056901c8f352$b6c3c410$0301a8c0@HAL9005> <002401c8f368$15c835d0$1d21650a@DF2PJY11> Message-ID: <200808011906.m71J6HYB015631@databaseadvisors.com> Another D'OH! moment... That simple Dcount statement using a query is actually calling the function (after I dug through every field in the query) and apparently the addition of a second query has slowed it down to a crawl. So, problem found, now I just need to fix it. Thanks to everyone who took a look. Have nice weekend. >>> "Randall Anthony" 7/31/2008 7:49 PM >>> Just parameter stuff, for instance: Datefield between #7/1/08# and #7/28/08# and AuditType = 1 and BusUnit = 2 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, July 31, 2008 5:17 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Database Corruption? If you display CRITERIA in a MsgBox what does it have? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Thursday, July 31, 2008 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Database Corruption? Grasping at straws, I added that code Don. No go. Just to reiterate, it's not the that line of code, but that fact that it's jumping to a function that is not being called from there. It's as if seeing "Claim ID" in the first line, it's thinking it needs to call that function. >>> "McGillivray, Don [IT]" 7/31/2008 >>> 2:59 PM >>> Dunno if this will help . . . Sometimes unexpected values in the table being aggregated will cause the domain aggregate function to puke, so I often wrap them in an Nz() function to ensure that a valid value is returned. Something like: If Nz(DCount("ClaimId", "Audit Detail", Criteria), 0) = 0 Then Might be worth a try . . . -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of RANDALL R ANTHONY Sent: Thursday, July 31, 2008 11:31 AM To: accessd at databaseadvisors.com Subject: [AccessD] Database Corruption? A97, FE and BE Hey everyone, I've got another one of those bizarre problems that just cropped up. Made some extensive changes to a db. During some regression testing a user reported a problem that the db was getting hung up. Stepping through the code I found this anomaly: When the code hits this line If DCount("ClaimId", "Audit Detail", Criteria) = 0 Then it jumps to this public function (which is not supposed to be invoked until way down the line) Public Function ErrorCodeList(ClaimID As String) As String When it does this, a) it hangs up because there's a boatload of records, b) shouldn't be happening. I finally resolved it (or so I thought) by doing the ol' /decompile switch on my frontend. Now my test FE and BE work. However, when I connect my clean FE to the production BE, the same thing happens. I've created a new db and imported all the tables into a new container, no go. Any clues would be sincerely appreciated. Thanks! -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Aug 1 15:56:25 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Aug 2008 22:56:25 +0200 Subject: [AccessD] Access development on the wane? Message-ID: Hi Mark I had the same feeling. Felt really stupid - which is a big no-no for any application - until I found out that the tiny quick access toolbar top-left is the most important one and it can be expanded, and that many of the well known topics are buried somewhere under the big non-button aimed at stupidos, the Office button. And at left all the useless options mock up the choice from and grouping of the well known objects from the good old database window, now gone. Now, who feel tempted to develop in an environment that makes you feel stupid and obviously is targeted at others than developers? Shamil, William, Charlotte and other fellow listers had no hard time convincing me to turn to Visual Studio ... /gustav >>> markamatte at hotmail.com 01-08-2008 14:52 >>> I really hate to tell this story...but......this weekend I had a look at Office07, Access specifically. I had just proudly told my girlfriend's father..."No problem, I can just pull that spreadsheet right into Access, Build a form, build a report, and you will be done." (should have taken thess than 5 minutes) Well I opened up and found A2007...I have heard a number of people here complaining...but I mean what the hell did they do?!?!?!?!? I was completely lost. It felt like a really bad job interview...as I'm trying to explain..."No really I get paid to do this stuff, I promise." As I poked around I started to find things...but I can tell this is going to take some time. Anyone thought of writing a translation book? MENU-FILE-SAVE AS now lives "where ever that is".(that might have been an EXCEL issue)...anyway just kidding about the book??? I finally got done what I was attempting...kinda...enough to get my point across...I skated through a potentially very embarrassing moment. Just my opinion...but If you claim to "know access"...make sure you have seen A2007 or they are not talking about it...It was confusing enough to look at...much less discovering the differences with someone watching/judging. Mark A. Matte > Date: Thu, 31 Jul 2008 17:44:22 -0700 > From: cfoust at infostatsystems.com > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Access development on the wane? > > Your glass is half full, Dan. To me, A2007 was the biggest horse laugh > MS has had at our expense. They mostly added UI stuff that does nothing > but frustrate developers like me who have worked with the thing since > 1.0 was released and aren't looking for cosmetic improvements. Frankly, > I can't be bothered with anything but the most lightweight usage of ANY > PART of Office 2007, most especially Access, which I avoid completely. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, July 31, 2008 12:21 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access development on the wane? > > Well . . . . , > > Access 2007 was the largest change between revisions that Access has > seen. > I read that the reason for this was that the Access group within MS had > been taken out from under the SQL Server group. > > In reading between the lines, the SQL Server group believed that without > Access their market would be larger, and so they minimized support > internally and also had their strong marketing arm denigrate Access > whenever they had a chance. This often 'stuck' on IT departments who > often want the latest, best, etc. Thus Access wasn't given the respect > it does deserve, and we all know how IT folks often feel about using > Access. > > I do believe that developers who know both SQL Server and Access can > make a pretty clear recommendation as to which should be used in a > specific situation. Now if we could just get the SQL Server group to > stay in their own pond, Access would have clear sailing! > > So, I believe that the tide turned a few years ago, symbolized by the > release of Access 2007. At least I'm hopeful . . . :-) > > Dan > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte > Foust > Sent: Thursday, July 31, 2008 1:23 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access development on the wane? > >>>This isn't what MS wants. > > Well, at least it isn't what they SAY they want. From a developer's > perspective, I'd say the handwriting has been on the wall in very large > letters for years. MS has never given Access any respect as a > development tool themselves, just patted the developers on the head with > a "bless your hearts" attitude and kept pitching the product to end > users and trying to steer developers to sexier development products with > a higher MS profit margin and to SQL Server for everything. > > IMO they've been in total denial about the need for basic relational > understanding because they've been competing with products that appealed > to the DYI end user who wouldn't know relational if it bit him, > basically the same market as for Excel but with a prettier interface. > They've shot themselves in the foot and Access, much as we might love > it, is going to continue to compete with FileMaker, et al for the > foreseeable future. I think it will continue to be diminished in > importance and real meat, regardless of what MS may promise. > > Charlotte Foust > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters > Sent: Thursday, July 31, 2008 10:50 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access development on the wane? > > This isn't what MS wants. VBA will be used in Access 14. And they seem > to be trying hard to make significant improvements from a typical user > perspective. > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Thursday, July 31, 2008 9:23 AM > To: AccessD at databaseadvisors.com > Subject: [AccessD] Access development on the wane? > > Although I think Access is still healthy and will be around for a long > time, > > readers are contacting me privately with concerns. Some of them aren't > getting as much Access work as they use to. > > I'm just curious -- what are the contractors on this list experiencing > -- have you noticed a slow down in Access development? > > Susan H. From Gustav at cactus.dk Fri Aug 1 16:03:21 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Aug 2008 23:03:21 +0200 Subject: [AccessD] Almost Friday Humor Message-ID: Hi Charlotte and Tina I think that's exactly why Dan had a laugh. /gustav >>> cfoust at infostatsystems.com 01-08-2008 17:01 >>> Hmmn ... Correct me if I'm wrong, but aren't you already *in* 2007?? Why would you need that offer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, August 01, 2008 4:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Almost Friday Humor Okay, maybe I'm just being dense here, but all the See Also offers is the choice to buy Microsoft Office 2007 or a free trial of the Office 2007 system. What am I missing? Tina Dan Waters wrote: > In Access Help, look for 'Configuring the Microsoft Jet Database > Engine for ODBC Access'. > > At the bottom click on See Also. > > I know I just got done saying this one's better, but do you have to > put this in Help? > > :-) > > Dan From Gustav at cactus.dk Fri Aug 1 16:07:44 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 01 Aug 2008 23:07:44 +0200 Subject: [AccessD] OT: Friday humour. Olympic Games Message-ID: Hi Charlotte I see. Thanks. That somehow makes a little sense, still surprised though. /gustav >>> cfoust at infostatsystems.com 01-08-2008 17:06 >>> In some cultures, it is impolite to point your feet at another person. Of course, feet parallel is also a military posture and China is probably trying to downplay any militaristic signs. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 01, 2008 5:11 AM To: accessd at databaseadvisors.com Subject: [AccessD] OT: Friday humour. Olympic Games Hi all How to dress and behave - if you are a Chinese expecting thousands of visitors from abroad: http://www.iht.com/articles/ap/2008/07/31/asia/AS-OLY-China-Etiquette.php Wonder what that about V or Y shaped feet positioning is about? /gustav From cfoust at infostatsystems.com Fri Aug 1 16:50:43 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Aug 2008 14:50:43 -0700 Subject: [AccessD] upsizing In-Reply-To: <155B7520CDE64669A19D0C69B91989AC@danwaters> References: <155B7520CDE64669A19D0C69B91989AC@danwaters> Message-ID: No, Dan. Access handles -1 and 0 just fine, but not SQL Server. As far as entering data directly into the table, how are you accessing the table? I'm looking at it in SQL Server, which is quite different from looking at a linked table in Access. If you're looking at a linked table, we aren't in the same conversation. When you link a table to Access, some stuff gets translated into "Access" even if it starts out as Excel, SQL Server or text. It has nothing to do with allowing nulls on the field. Furthermore, although we have defaults for bit fields, that only applies to new data, so legacy data, where we might not have captured the value at all, could be null. In that case, Null is a legitimate piece of data since we can't guess at what the value should be. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, August 01, 2008 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing Hi Charlotte, I entered data directly into a SQL Server 2005 table bit field. I was just testing to see what information it would even take. The only data that field would take was a -1 or a 0. I turned off Allow Nulls. Then, using a recordset in Access 2003, I was able to read the -1 as True and the 0 as False. Given that, your code will work. But you might be able to test for True and False instead, IF you disallow nulls for the bit fields that are expected to be either True or False. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 01, 2008 10:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing No, we use bits. Nobody enters data directly into a table, so I'm not sure what you're doing or which database you're talking about. If you're working with 2007, we aren't even in the same conversation. We stayed with 2002 and use a 2000 data format. We interact with either BE using SQL and/or dataadapters. ADO has problems with evaluating True and False if those values are embedded in the SQL, so we have to use numbers for that or else use OleDbParameters to pass in True and allow ADO to figure out which value to use. Here's a sample of what I mean. We're building the SQL string in code an then executing it. Notice the "CostCodes.CarryForward <> 0" bit. CarryForward is a bit field. ExecuteNonQuery is a wrapper for System.Data.OleDb.OleDbCommand.ExecuteNonQuery. Public Sub CarryForwardDailyCosts(ByVal jobID As String, ByVal reportNo As Short) _ Implements IDailyReportData.CarryForwardDailyCosts Dim strSQL As New Text.StringBuilder strSQL.Append("INSERT INTO DailyCosts (JobID, ReportNo, IDNo, AccountCode, DailyCost, AFENo, Vendor, TransferFlag, Notes)") strSQL.AppendFormat(" SELECT DailyCosts.JobID, {0} As ReportNo, DailyCosts.IDNo, DailyCosts.AccountCode, DailyCosts.DailyCost," , reportNo) strSQL.Append(" DailyCosts.AFENo, DailyCosts.Vendor, 1 as TransferFlag,") 'strSQL.Append(strNote) strSQL.Append(" DailyCosts.Notes") strSQL.Append(" FROM DailyCosts INNER JOIN CostCodes ON DailyCosts.AccountCode = CostCodes.AccountCode") strSQL.AppendFormat(" WHERE DailyCosts.JobID = '{0}' AND DailyCosts.ReportNo = {1} AND CostCodes.CarryForward <> 0", _ jobID, reportNo - 1S) OleDbHelper.ExecuteNonQuery(New OleDbCommand(strSQL.ToString)) End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, August 01, 2008 5:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing Well, That wasn't what I saw with my testing. In fact, with a bit field, I couldn't even enter a 1 directly in the table. Are you talking about using a smallint field for True or False? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 31, 2008 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing In Access, that's true. In SQL Server, 1 is true and 0 is false. If you throw a -1 at it, it spits up all over you. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, July 31, 2008 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing With the BE I just upsized, all the Yes/No fields became bits. I went through all those fields and set Allow Nulls to False. Now the only to values that can be entered into the bit fields are -1 and 0. I set up a recordset to change iteratively change the value from True to False then True then False, etc, and everything worked just as if I had been using an Access table. I went back and tested one field by setting Allow Nulls to True. My code then displayed the value as False if I set the field to Null in code. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, July 31, 2008 4:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] upsizing Hi Charlotte One way to get around this - if you really need to handle the value as a numeric - is to use Abs(): If Abs([YourYesNoField]) = 1 Then ' something End If Another is to use DataTableAdapters and/or DAL to isolate you from this low-level stuff. I couldn't imagine anything else than this is what you do, but your reply indicates not. Is that really so? /gustav >>> cfoust at infostatsystems.com 31-07-2008 17:25 >>> We have to be careful in our .Net code to always test for 0 or <> 0 because we run against both Access and SQL Server. Trying to test for True crashes on one or the other. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, July 30, 2008 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing oooooooooooooo.... I like that. :) Susan H. > Possiby because Access uses -1 for True and you can't represent that > with a bit? > > What value does SSMA store insert a True record (1 or -1)? > > > On 30 Jul 2008 at 18:45, Susan Harkins wrote: > >> SSMA converts Access Yes/No fields to tinyint, instead of bit -- does >> anyone have an explanation for that? >> >> My guess is it's because SQL Server's bit didn't support NULL's until >> 7.0, but it seems like the wizard would keep up with something like >> that. I really can't recall if Access' Yes/No always supported NULLs >> or not. >> >> 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Aug 1 17:19:08 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 1 Aug 2008 17:19:08 -0500 Subject: [AccessD] Almost Friday Humor In-Reply-To: References: Message-ID: Actually, I was in 2003. Still, it takes a lot of audacity to put a sales pitch behind a See Also link in Help! Only Microsoft . . . ! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 01, 2008 4:03 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Almost Friday Humor Hi Charlotte and Tina I think that's exactly why Dan had a laugh. /gustav >>> cfoust at infostatsystems.com 01-08-2008 17:01 >>> Hmmn ... Correct me if I'm wrong, but aren't you already *in* 2007?? Why would you need that offer? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris Fields Sent: Friday, August 01, 2008 4:20 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Almost Friday Humor Okay, maybe I'm just being dense here, but all the See Also offers is the choice to buy Microsoft Office 2007 or a free trial of the Office 2007 system. What am I missing? Tina Dan Waters wrote: > In Access Help, look for 'Configuring the Microsoft Jet Database > Engine for ODBC Access'. > > At the bottom click on See Also. > > I know I just got done saying this one's better, but do you have to > put this in Help? > > :-) > > Dan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Fri Aug 1 17:25:37 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 1 Aug 2008 17:25:37 -0500 Subject: [AccessD] upsizing In-Reply-To: References: <155B7520CDE64669A19D0C69B91989AC@danwaters> Message-ID: <316268DC778945808431F48FAF8DF251@danwaters> When I was entering data directly into the table, I had the table open in SQL Server Management Studio. Then, in Access, which was linked to that same table in SQL Server, I could detect and change the value using True and False via a recordset. I really did do this! Try it yourself - create a new SQL Server table, create a bit type field, and see what you can type into it. Then in Access link to that table, and see what values you get out of it. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 01, 2008 4:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing No, Dan. Access handles -1 and 0 just fine, but not SQL Server. As far as entering data directly into the table, how are you accessing the table? I'm looking at it in SQL Server, which is quite different from looking at a linked table in Access. If you're looking at a linked table, we aren't in the same conversation. When you link a table to Access, some stuff gets translated into "Access" even if it starts out as Excel, SQL Server or text. It has nothing to do with allowing nulls on the field. Furthermore, although we have defaults for bit fields, that only applies to new data, so legacy data, where we might not have captured the value at all, could be null. In that case, Null is a legitimate piece of data since we can't guess at what the value should be. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, August 01, 2008 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing Hi Charlotte, I entered data directly into a SQL Server 2005 table bit field. I was just testing to see what information it would even take. The only data that field would take was a -1 or a 0. I turned off Allow Nulls. Then, using a recordset in Access 2003, I was able to read the -1 as True and the 0 as False. Given that, your code will work. But you might be able to test for True and False instead, IF you disallow nulls for the bit fields that are expected to be either True or False. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 01, 2008 10:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing No, we use bits. Nobody enters data directly into a table, so I'm not sure what you're doing or which database you're talking about. If you're working with 2007, we aren't even in the same conversation. We stayed with 2002 and use a 2000 data format. We interact with either BE using SQL and/or dataadapters. ADO has problems with evaluating True and False if those values are embedded in the SQL, so we have to use numbers for that or else use OleDbParameters to pass in True and allow ADO to figure out which value to use. Here's a sample of what I mean. We're building the SQL string in code an then executing it. Notice the "CostCodes.CarryForward <> 0" bit. CarryForward is a bit field. ExecuteNonQuery is a wrapper for System.Data.OleDb.OleDbCommand.ExecuteNonQuery. Public Sub CarryForwardDailyCosts(ByVal jobID As String, ByVal reportNo As Short) _ Implements IDailyReportData.CarryForwardDailyCosts Dim strSQL As New Text.StringBuilder strSQL.Append("INSERT INTO DailyCosts (JobID, ReportNo, IDNo, AccountCode, DailyCost, AFENo, Vendor, TransferFlag, Notes)") strSQL.AppendFormat(" SELECT DailyCosts.JobID, {0} As ReportNo, DailyCosts.IDNo, DailyCosts.AccountCode, DailyCosts.DailyCost," , reportNo) strSQL.Append(" DailyCosts.AFENo, DailyCosts.Vendor, 1 as TransferFlag,") 'strSQL.Append(strNote) strSQL.Append(" DailyCosts.Notes") strSQL.Append(" FROM DailyCosts INNER JOIN CostCodes ON DailyCosts.AccountCode = CostCodes.AccountCode") strSQL.AppendFormat(" WHERE DailyCosts.JobID = '{0}' AND DailyCosts.ReportNo = {1} AND CostCodes.CarryForward <> 0", _ jobID, reportNo - 1S) OleDbHelper.ExecuteNonQuery(New OleDbCommand(strSQL.ToString)) End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, August 01, 2008 5:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing Well, That wasn't what I saw with my testing. In fact, with a bit field, I couldn't even enter a 1 directly in the table. Are you talking about using a smallint field for True or False? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 31, 2008 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing In Access, that's true. In SQL Server, 1 is true and 0 is false. If you throw a -1 at it, it spits up all over you. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, July 31, 2008 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing With the BE I just upsized, all the Yes/No fields became bits. I went through all those fields and set Allow Nulls to False. Now the only to values that can be entered into the bit fields are -1 and 0. I set up a recordset to change iteratively change the value from True to False then True then False, etc, and everything worked just as if I had been using an Access table. I went back and tested one field by setting Allow Nulls to True. My code then displayed the value as False if I set the field to Null in code. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, July 31, 2008 4:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] upsizing Hi Charlotte One way to get around this - if you really need to handle the value as a numeric - is to use Abs(): If Abs([YourYesNoField]) = 1 Then ' something End If Another is to use DataTableAdapters and/or DAL to isolate you from this low-level stuff. I couldn't imagine anything else than this is what you do, but your reply indicates not. Is that really so? /gustav >>> cfoust at infostatsystems.com 31-07-2008 17:25 >>> We have to be careful in our .Net code to always test for 0 or <> 0 because we run against both Access and SQL Server. Trying to test for True crashes on one or the other. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, July 30, 2008 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing oooooooooooooo.... I like that. :) Susan H. > Possiby because Access uses -1 for True and you can't represent that > with a bit? > > What value does SSMA store insert a True record (1 or -1)? > > > On 30 Jul 2008 at 18:45, Susan Harkins wrote: > >> SSMA converts Access Yes/No fields to tinyint, instead of bit -- does >> anyone have an explanation for that? >> >> My guess is it's because SQL Server's bit didn't support NULL's until >> 7.0, but it seems like the wizard would keep up with something like >> that. I really can't recall if Access' Yes/No always supported NULLs >> or not. >> >> 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Fri Aug 1 17:39:01 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Fri, 1 Aug 2008 15:39:01 -0700 Subject: [AccessD] upsizing In-Reply-To: <316268DC778945808431F48FAF8DF251@danwaters> References: <155B7520CDE64669A19D0C69B91989AC@danwaters> <316268DC778945808431F48FAF8DF251@danwaters> Message-ID: I work in a controlled production environment, Dan. I can't just create a new SQL Server table. Our tables (through Management Studio) won't let me enter a zero or minus one, no matter how sweetly I talk to them. We may have set up triggers, but I haven't located them yet, and I don't have time to search. Linking in Access is irrelevant. Access "translates" the values in a linked table. We're working in VB.Net, so we have to deal with the native peculiarities of ADO.Net, SQL Server and Jet. There really isn't any such thing as a linked table in .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, August 01, 2008 3:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing When I was entering data directly into the table, I had the table open in SQL Server Management Studio. Then, in Access, which was linked to that same table in SQL Server, I could detect and change the value using True and False via a recordset. I really did do this! Try it yourself - create a new SQL Server table, create a bit type field, and see what you can type into it. Then in Access link to that table, and see what values you get out of it. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 01, 2008 4:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing No, Dan. Access handles -1 and 0 just fine, but not SQL Server. As far as entering data directly into the table, how are you accessing the table? I'm looking at it in SQL Server, which is quite different from looking at a linked table in Access. If you're looking at a linked table, we aren't in the same conversation. When you link a table to Access, some stuff gets translated into "Access" even if it starts out as Excel, SQL Server or text. It has nothing to do with allowing nulls on the field. Furthermore, although we have defaults for bit fields, that only applies to new data, so legacy data, where we might not have captured the value at all, could be null. In that case, Null is a legitimate piece of data since we can't guess at what the value should be. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, August 01, 2008 11:16 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing Hi Charlotte, I entered data directly into a SQL Server 2005 table bit field. I was just testing to see what information it would even take. The only data that field would take was a -1 or a 0. I turned off Allow Nulls. Then, using a recordset in Access 2003, I was able to read the -1 as True and the 0 as False. Given that, your code will work. But you might be able to test for True and False instead, IF you disallow nulls for the bit fields that are expected to be either True or False. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Friday, August 01, 2008 10:32 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing No, we use bits. Nobody enters data directly into a table, so I'm not sure what you're doing or which database you're talking about. If you're working with 2007, we aren't even in the same conversation. We stayed with 2002 and use a 2000 data format. We interact with either BE using SQL and/or dataadapters. ADO has problems with evaluating True and False if those values are embedded in the SQL, so we have to use numbers for that or else use OleDbParameters to pass in True and allow ADO to figure out which value to use. Here's a sample of what I mean. We're building the SQL string in code an then executing it. Notice the "CostCodes.CarryForward <> 0" bit. CarryForward is a bit field. ExecuteNonQuery is a wrapper for System.Data.OleDb.OleDbCommand.ExecuteNonQuery. Public Sub CarryForwardDailyCosts(ByVal jobID As String, ByVal reportNo As Short) _ Implements IDailyReportData.CarryForwardDailyCosts Dim strSQL As New Text.StringBuilder strSQL.Append("INSERT INTO DailyCosts (JobID, ReportNo, IDNo, AccountCode, DailyCost, AFENo, Vendor, TransferFlag, Notes)") strSQL.AppendFormat(" SELECT DailyCosts.JobID, {0} As ReportNo, DailyCosts.IDNo, DailyCosts.AccountCode, DailyCosts.DailyCost," , reportNo) strSQL.Append(" DailyCosts.AFENo, DailyCosts.Vendor, 1 as TransferFlag,") 'strSQL.Append(strNote) strSQL.Append(" DailyCosts.Notes") strSQL.Append(" FROM DailyCosts INNER JOIN CostCodes ON DailyCosts.AccountCode = CostCodes.AccountCode") strSQL.AppendFormat(" WHERE DailyCosts.JobID = '{0}' AND DailyCosts.ReportNo = {1} AND CostCodes.CarryForward <> 0", _ jobID, reportNo - 1S) OleDbHelper.ExecuteNonQuery(New OleDbCommand(strSQL.ToString)) End Sub Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Friday, August 01, 2008 5:25 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing Well, That wasn't what I saw with my testing. In fact, with a bit field, I couldn't even enter a 1 directly in the table. Are you talking about using a smallint field for True or False? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust Sent: Thursday, July 31, 2008 7:51 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing In Access, that's true. In SQL Server, 1 is true and 0 is false. If you throw a -1 at it, it spits up all over you. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, July 31, 2008 3:03 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] upsizing With the BE I just upsized, all the Yes/No fields became bits. I went through all those fields and set Allow Nulls to False. Now the only to values that can be entered into the bit fields are -1 and 0. I set up a recordset to change iteratively change the value from True to False then True then False, etc, and everything worked just as if I had been using an Access table. I went back and tested one field by setting Allow Nulls to True. My code then displayed the value as False if I set the field to Null in code. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Thursday, July 31, 2008 4:37 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] upsizing Hi Charlotte One way to get around this - if you really need to handle the value as a numeric - is to use Abs(): If Abs([YourYesNoField]) = 1 Then ' something End If Another is to use DataTableAdapters and/or DAL to isolate you from this low-level stuff. I couldn't imagine anything else than this is what you do, but your reply indicates not. Is that really so? /gustav >>> cfoust at infostatsystems.com 31-07-2008 17:25 >>> We have to be careful in our .Net code to always test for 0 or <> 0 because we run against both Access and SQL Server. Trying to test for True crashes on one or the other. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, July 30, 2008 4:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] upsizing oooooooooooooo.... I like that. :) Susan H. > Possiby because Access uses -1 for True and you can't represent that > with a bit? > > What value does SSMA store insert a True record (1 or -1)? > > > On 30 Jul 2008 at 18:45, Susan Harkins wrote: > >> SSMA converts Access Yes/No fields to tinyint, instead of bit -- does >> anyone have an explanation for that? >> >> My guess is it's because SQL Server's bit didn't support NULL's until >> 7.0, but it seems like the wizard would keep up with something like >> that. I really can't recall if Access' Yes/No always supported NULLs >> or not. >> >> 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 smsconsulting.spb.ru Sat Aug 2 00:41:17 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Aug 2008 09:41:17 +0400 Subject: [AccessD] Weekend Humor: "We do windows." and "I'll tell you everything you need to know about tactics..." :) Message-ID: <000001c8f462$639b3eb0$6401a8c0@nant> Hi All, "We do windows." [p19] "The 30 Management Principles of the U.S. Marines" http://www.vincehuston.org/books/marines_30.html -- Shamil P.S. The subject principles are great and most of them are very effective in many real life and business situations in my opinion/experience, but the above sentence somehow produced some (optimistic and lovely) grin here after my having getting instant association with the technology AccessD members are using every working day :) P.P.S. That quote is great also: "I'll tell you everything you need to know about tactics - hit the other guy as hard as you can when he's not looking." [p167] P.P.P.S: "We do windows." [p19] (Do we? Or they do us (everyday)? :)) P.P.P.P.S: You know there is a very popular since Soviet times (60-ies) TV game here mainly for students, everybody here likes it, it's not anyhow linked to the Red Army or KGB(:)) - it's a civilian and an intelligent game, and it's called: "A Club of joyful and able to act quickly and effectively (and humorous way) people", sorry for my English I can't get proper brief translation of the title of this game - it's just abbreviated KVN here in Russia - and there is an American League you know :) -(http://www.kabh.org/english.html ) - many "joyful and able to act quickly, effectively (and humorous)" Russians left Russia for The States since 80-ies (what a pity!). Anyway in this game there is so called "Captains Competitions" it's when the Captain (Manager:)) of one team poses a question to the Captain of another team(s) - and the latter should answer as humorous as possible to laugh loudly the audience - and here is my question: "We do windows"? From fuller.artful at gmail.com Sat Aug 2 07:21:05 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 2 Aug 2008 09:21:05 -0300 Subject: [AccessD] Weekend Humor: "We do windows." and "I'll tell you everything you need to know about tactics..." :) In-Reply-To: <000001c8f462$639b3eb0$6401a8c0@nant> References: <000001c8f462$639b3eb0$6401a8c0@nant> Message-ID: <29f585dd0808020521y3695f42bw51abbeae1ff1005b@mail.gmail.com> V do Linux. From tinanfields at torchlake.com Sat Aug 2 07:33:54 2008 From: tinanfields at torchlake.com (Tina Norris Fields) Date: Sat, 02 Aug 2008 08:33:54 -0400 Subject: [AccessD] Almost Friday Humor In-Reply-To: <3D4C4081EA794BD3A54F8592C8EBCBF8@danwaters> References: <818FD709E9284F26A584E135365AF21A@danwaters><4892F15D.6050701@torchlake.com> <3D4C4081EA794BD3A54F8592C8EBCBF8@danwaters> Message-ID: <48945432.3000004@torchlake.com> Hi Dan, Okay, I get it. But, Microsoft has been putting those ads for 2007 in the Help items for long enough that I expected it and didn't get the joke. It's annoying and disappointing that they do that, but it isn't new to me. Yours is a perfect question: what are they doing putting advertising into the Help file? I would also like them to stop. Tina Dan Waters wrote: > You're not missing anything! > > What is Microsoft doing putting advertising into the Help file? That's over > the top, even for them! > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris > Fields > Sent: Friday, August 01, 2008 6:20 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Almost Friday Humor > > Okay, maybe I'm just being dense here, but all the See Also offers is > the choice to buy Microsoft Office 2007 or a free trial of the Office > 2007 system. What am I missing? > Tina > > Dan Waters wrote: > >> In Access Help, look for 'Configuring the Microsoft Jet Database Engine >> > for > >> ODBC Access'. >> >> At the bottom click on See Also. >> >> I know I just got done saying this one's better, but do you have to put >> > this > >> in Help? >> >> :-) >> >> Dan >> >> >> >> >> From rockysmolin at bchacc.com Sat Aug 2 08:06:20 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 2 Aug 2008 06:06:20 -0700 Subject: [AccessD] Weekend Humor: "We do windows." and "I'll tell youeverything you need to know about tactics..." :) In-Reply-To: <000001c8f462$639b3eb0$6401a8c0@nant> References: <000001c8f462$639b3eb0$6401a8c0@nant> Message-ID: <064801c8f4a0$8eb54c10$0301a8c0@HAL9005> Shamil: On an unrelated topic - did you see the eclipse yesterday? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Friday, August 01, 2008 10:41 PM To: 'Access-D' Subject: [AccessD] Weekend Humor: "We do windows." and "I'll tell youeverything you need to know about tactics..." :) Hi All, "We do windows." [p19] "The 30 Management Principles of the U.S. Marines" http://www.vincehuston.org/books/marines_30.html -- Shamil P.S. The subject principles are great and most of them are very effective in many real life and business situations in my opinion/experience, but the above sentence somehow produced some (optimistic and lovely) grin here after my having getting instant association with the technology AccessD members are using every working day :) P.P.S. That quote is great also: "I'll tell you everything you need to know about tactics - hit the other guy as hard as you can when he's not looking." [p167] P.P.P.S: "We do windows." [p19] (Do we? Or they do us (everyday)? :)) P.P.P.P.S: You know there is a very popular since Soviet times (60-ies) TV game here mainly for students, everybody here likes it, it's not anyhow linked to the Red Army or KGB(:)) - it's a civilian and an intelligent game, and it's called: "A Club of joyful and able to act quickly and effectively (and humorous way) people", sorry for my English I can't get proper brief translation of the title of this game - it's just abbreviated KVN here in Russia - and there is an American League you know :) -(http://www.kabh.org/english.html ) - many "joyful and able to act quickly, effectively (and humorous)" Russians left Russia for The States since 80-ies (what a pity!). Anyway in this game there is so called "Captains Competitions" it's when the Captain (Manager:)) of one team poses a question to the Captain of another team(s) - and the latter should answer as humorous as possible to laugh loudly the audience - and here is my question: "We do windows"? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Aug 2 09:26:20 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 2 Aug 2008 10:26:20 -0400 Subject: [AccessD] OT: Informal poll Message-ID: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> I received this press release on a new book -- you can read the whole thing below, but I've copied the main crux just below: Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Now, I'm wondering -- this sounds a bit ... goofy to me -- do any of you really think social networking in business has a future? I confess, I don't really get it. What kind of "business" would want to offer this to its customers, vendoers, and the like? I see this AS a business, but I don't see how an existing small business would benefit. Help me???? Susan H. PRESS RELEASE FOR IMMEDIATE RELEASE DOTSTER ANNOUNCES DOTSTER CONNECTSM, FIRST ALL-IN-ONE SOCIAL NETWORKING SOLUTION FOR BUSINESSES OF ALL SIZES Web Hosting Leader Unveils Powerful Way For Companies To Connect With Customers Where Social Networking Does Business-Tailored For Small, Mid-Size and Enterprise Vancouver, WA - Dotster, Inc. (www.dotster.com ), a leading provider of Internet business services, announces Dotster ConnectSM: www.dotster.com/connect a powerful and affordable way for businesses to better attract, connect with, involve and retain their customers. Dotster Connect is a complete suite of social networking and media sharing capabilities that allows any company, small or large, to engage users via community forums, blogs, polls, real-time interaction and much more. For small businesses, Dotster Connect is the first all-in-one product that lets them tap into the power of social networking quickly and affordably with a platform that's been specifically tailored for them. For enterprise customers, Dotster Connect's robust feature set, dedicated managers, scalability and customized solutions give big business a powerful new option for tapping the power of community. For all businesses, Dotster Connect is offered at an affordable price with multiple plans to choose from. Clint Page, CEO of Dotster, said, "If a business is serious about building its customer base and web presence, social networking needs to be a cornerstone of its marketing strategy. We are in a new era of brand building where traditional media and one-way marketing communications aren't working the way they once did. Customers are now relying on their communities to help them make purchasing decisions, and the companies who best understand and facilitate this are the ones who will emerge the winners. Dotster Connect, in conjunction with our web hosting expertise and product suite, allows a company to do this as never before." Dotster Connect is where social networking gets down to business. It lets companies quickly and easily create communities of purpose where customers, vendors, employees, partners, event attendees, developers - anyone - can meet, build relationships, share ideas, contribute content, and learn from one another. A robust community builds loyalty, gives companies a way to quickly understand customer values, needs, and opinions so they can better manage and drive their business. Other valuable applications for Dotster Connect include intranets, extranets, training portals, and online conferencing. Key Dotster Connect capabilities include: Forums & Polls, Events Management, Submittal Processing, User Profiles and Awards, Commenting, Posting Articles, Media Sharing, Groups, Newsletters and more. Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Dotster Connect is the perfect solution for existing online businesses, offline businesses that want to make the break to online, and start ups. For established businesses, Dotster Connect offers seamless integration with existing websites and brands. All customers enjoy the same level of reliability and service ensured by the robust and stable platform that services Dotster's enterprise customers. Dotster Connect offers free consultations and hands-on web designers who will work with you to build your site. For more Small Business information, visit: www.dotster.com/connect/smb/ Dotster Connects The Enterprise Dotster Connect provides enterprise customers with a new level of "white label, white glove" service. Enterprise http://www.dotster.com/connect/enterprise customers work with Dotster's dedicated engagement managers who guide them through each step of the process to help them customize and maximize their social network to meet all of their business needs. Dotster Connect's enterprise-level offering provides over 400 features in 26 languages. The level of advanced technology employed surpasses that of MySpace, Friendster, Facebook and YouTube combined. The Dotster Connect platform is fully scalable and extendable to handle companies' current needs and future growth. Dotster's customer-hosted platform guarantees data is fully secure and allows for existing data and users to be fully integrated. For a free consultation and for more information, enterprise customers can visit: www.dotster.com/connect/enterprise/ Clint Page noted, "Dotster Connect delivers a whole new level of power to social networking. While social networking 1.0 emphasized 'social,' Dotster Connect emphasizes 'networking' and all of its benefits for businesses of any size. This includes direct revenue benefits such as lead generation, cross-selling, advertising, and e-commerce as well as cost savings such as reduced customer support, communications and research expenses. Dotster's full-service approach helps companies unlock for themselves the value of their communities." About Dotster, Inc. Dotster is a leading full service provider of essential resources for businesses to get online and grow online. It has helped nearly 1 million businesses and individuals establish their web presence, build their Web sites, and drive revenue. It is also the provider of 100% reliable domain name services to federal and state governments. With millions of domain names under management, Dotster is one of the world's largest ICANN-accredited domain registration and Web hosting companies. Dotster's mission is to provide the widest range of innovative and easy-to-use Internet solutions and back them with the unprecedented, personalized support that has earned the company superior customer loyalty rates. Dotster's expansive lineup of intuitive online offerings allows customers to quickly get on the Internet and get started with maximum visibility. Dotster's specialized team of Internet experts understand the online marketplace and the needs of small and medium sized businesses. Dotster offers its customers a complete set of services including the ability to get online with a domain name and e-mail address; build a major Web presence with hosting and a custom Web site; and generate traffic with Search Engine Optimization (SEO) and local site promotion. For more information, please visit www.dotster.com or call (360) 449-5900. # # # If you no longer wish to receive emails regarding HWH Client News, please reply with "REMOVE" in the subject line and you will be removed from all of our press lists. From rockysmolin at bchacc.com Sat Aug 2 09:42:00 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 2 Aug 2008 07:42:00 -0700 Subject: [AccessD] OT: Informal poll In-Reply-To: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> References: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> Message-ID: <065b01c8f4ad$ec571a30$0301a8c0@HAL9005> I think it's a stretch but then I'm not in that arena. I don't think my customers will take the time to read my blogs and I'm not sure that social networking via the internet works. Shouldn't social networking with customers be done face to face? Maybe it'll work for retail. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, August 02, 2008 7:26 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Informal poll I received this press release on a new book -- you can read the whole thing below, but I've copied the main crux just below: Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Now, I'm wondering -- this sounds a bit ... goofy to me -- do any of you really think social networking in business has a future? I confess, I don't really get it. What kind of "business" would want to offer this to its customers, vendoers, and the like? I see this AS a business, but I don't see how an existing small business would benefit. Help me???? Susan H. PRESS RELEASE FOR IMMEDIATE RELEASE DOTSTER ANNOUNCES DOTSTER CONNECTSM, FIRST ALL-IN-ONE SOCIAL NETWORKING SOLUTION FOR BUSINESSES OF ALL SIZES Web Hosting Leader Unveils Powerful Way For Companies To Connect With Customers Where Social Networking Does Business-Tailored For Small, Mid-Size and Enterprise Vancouver, WA - Dotster, Inc. (www.dotster.com ), a leading provider of Internet business services, announces Dotster ConnectSM: www.dotster.com/connect a powerful and affordable way for businesses to better attract, connect with, involve and retain their customers. Dotster Connect is a complete suite of social networking and media sharing capabilities that allows any company, small or large, to engage users via community forums, blogs, polls, real-time interaction and much more. For small businesses, Dotster Connect is the first all-in-one product that lets them tap into the power of social networking quickly and affordably with a platform that's been specifically tailored for them. For enterprise customers, Dotster Connect's robust feature set, dedicated managers, scalability and customized solutions give big business a powerful new option for tapping the power of community. For all businesses, Dotster Connect is offered at an affordable price with multiple plans to choose from. Clint Page, CEO of Dotster, said, "If a business is serious about building its customer base and web presence, social networking needs to be a cornerstone of its marketing strategy. We are in a new era of brand building where traditional media and one-way marketing communications aren't working the way they once did. Customers are now relying on their communities to help them make purchasing decisions, and the companies who best understand and facilitate this are the ones who will emerge the winners. Dotster Connect, in conjunction with our web hosting expertise and product suite, allows a company to do this as never before." Dotster Connect is where social networking gets down to business. It lets companies quickly and easily create communities of purpose where customers, vendors, employees, partners, event attendees, developers - anyone - can meet, build relationships, share ideas, contribute content, and learn from one another. A robust community builds loyalty, gives companies a way to quickly understand customer values, needs, and opinions so they can better manage and drive their business. Other valuable applications for Dotster Connect include intranets, extranets, training portals, and online conferencing. Key Dotster Connect capabilities include: Forums & Polls, Events Management, Submittal Processing, User Profiles and Awards, Commenting, Posting Articles, Media Sharing, Groups, Newsletters and more. Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Dotster Connect is the perfect solution for existing online businesses, offline businesses that want to make the break to online, and start ups. For established businesses, Dotster Connect offers seamless integration with existing websites and brands. All customers enjoy the same level of reliability and service ensured by the robust and stable platform that services Dotster's enterprise customers. Dotster Connect offers free consultations and hands-on web designers who will work with you to build your site. For more Small Business information, visit: www.dotster.com/connect/smb/ Dotster Connects The Enterprise Dotster Connect provides enterprise customers with a new level of "white label, white glove" service. Enterprise http://www.dotster.com/connect/enterprise customers work with Dotster's dedicated engagement managers who guide them through each step of the process to help them customize and maximize their social network to meet all of their business needs. Dotster Connect's enterprise-level offering provides over 400 features in 26 languages. The level of advanced technology employed surpasses that of MySpace, Friendster, Facebook and YouTube combined. The Dotster Connect platform is fully scalable and extendable to handle companies' current needs and future growth. Dotster's customer-hosted platform guarantees data is fully secure and allows for existing data and users to be fully integrated. For a free consultation and for more information, enterprise customers can visit: www.dotster.com/connect/enterprise/ Clint Page noted, "Dotster Connect delivers a whole new level of power to social networking. While social networking 1.0 emphasized 'social,' Dotster Connect emphasizes 'networking' and all of its benefits for businesses of any size. This includes direct revenue benefits such as lead generation, cross-selling, advertising, and e-commerce as well as cost savings such as reduced customer support, communications and research expenses. Dotster's full-service approach helps companies unlock for themselves the value of their communities." About Dotster, Inc. Dotster is a leading full service provider of essential resources for businesses to get online and grow online. It has helped nearly 1 million businesses and individuals establish their web presence, build their Web sites, and drive revenue. It is also the provider of 100% reliable domain name services to federal and state governments. With millions of domain names under management, Dotster is one of the world's largest ICANN-accredited domain registration and Web hosting companies. Dotster's mission is to provide the widest range of innovative and easy-to-use Internet solutions and back them with the unprecedented, personalized support that has earned the company superior customer loyalty rates. Dotster's expansive lineup of intuitive online offerings allows customers to quickly get on the Internet and get started with maximum visibility. Dotster's specialized team of Internet experts understand the online marketplace and the needs of small and medium sized businesses. Dotster offers its customers a complete set of services including the ability to get online with a domain name and e-mail address; build a major Web presence with hosting and a custom Web site; and generate traffic with Search Engine Optimization (SEO) and local site promotion. For more information, please visit www.dotster.com or call (360) 449-5900. # # # If you no longer wish to receive emails regarding HWH Client News, please reply with "REMOVE" in the subject line and you will be removed from all of our press lists. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Aug 2 10:49:16 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Aug 2008 19:49:16 +0400 Subject: [AccessD] Weekend Humor: "We do windows." and "I'll tellyoueverything you need to know about tactics..." :) In-Reply-To: <064801c8f4a0$8eb54c10$0301a8c0@HAL9005> Message-ID: <001801c8f4b7$52a53390$6401a8c0@nant> <<< On an unrelated topic - did you see the eclipse yesterday? >>> Hi Rocky, Yes, I did watch Eclipse here yesterday. It started at 1 p.m. and ended at 3 p.m. (GMT+3). Although it was just 50% here - full Eclipse was yesterday in Russia in Novosibirsk area... ... I have got opportunity to look at it around 2 p.m. when it was exactly around 50%... ...the movie/video clip about this 50% Eclipse to be developed by my son is expected to be released on YouTube in the beginning of this or the next week - stay tuned :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 02, 2008 5:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Weekend Humor: "We do windows." and "I'll tellyoueverything you need to know about tactics..." :) Shamil: On an unrelated topic - did you see the eclipse yesterday? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com <<< tail skipped >>> From wdhindman at dejpolsystems.com Sat Aug 2 10:55:32 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 2 Aug 2008 11:55:32 -0400 Subject: [AccessD] Almost Friday Humor References: <818FD709E9284F26A584E135365AF21A@danwaters><4892F15D.6050701@torchlake.com><3D4C4081EA794BD3A54F8592C8EBCBF8@danwaters> <48945432.3000004@torchlake.com> Message-ID: ...hey! ...its as good or better than 70% of the rest of what's in the "help" files ...imnsho, of course :) William -------------------------------------------------- From: "Tina Norris Fields" Sent: Saturday, August 02, 2008 8:33 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Almost Friday Humor > Hi Dan, > > Okay, I get it. But, Microsoft has been putting those ads for 2007 in > the Help items for long enough that I expected it and didn't get the > joke. It's annoying and disappointing that they do that, but it isn't > new to me. > > Yours is a perfect question: what are they doing putting advertising > into the Help file? I would also like them to stop. > > Tina > > Dan Waters wrote: >> You're not missing anything! >> >> What is Microsoft doing putting advertising into the Help file? That's >> over >> the top, even for them! >> >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >> Fields >> Sent: Friday, August 01, 2008 6:20 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Almost Friday Humor >> >> Okay, maybe I'm just being dense here, but all the See Also offers is >> the choice to buy Microsoft Office 2007 or a free trial of the Office >> 2007 system. What am I missing? >> Tina >> >> Dan Waters wrote: >> >>> In Access Help, look for 'Configuring the Microsoft Jet Database Engine >>> >> for >> >>> ODBC Access'. >>> >>> At the bottom click on See Also. >>> >>> I know I just got done saying this one's better, but do you have to put >>> >> this >> >>> in Help? >>> >>> :-) >>> >>> Dan >>> >>> >>> >>> >>> > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sat Aug 2 11:10:13 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 2 Aug 2008 12:10:13 -0400 Subject: [AccessD] OT: Informal poll References: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> Message-ID: ...we're old fogies Susan ...whole new generations are growing up with social networking as a normal way of doing things ...for them, its almost certain to extend into their business life ...me, I'll watch :) William -------------------------------------------------- From: "Susan Harkins" Sent: Saturday, August 02, 2008 10:26 AM To: Subject: [AccessD] OT: Informal poll > I received this press release on a new book -- you can read the whole > thing > below, but I've copied the main crux just below: > > Dotster Connects Small Business > > Dotster Connect is the first all-in-one social networking product that > gives small businesses http://www.dotster.com/connect/smb the full > service capabilities and affordable pricing options that they demand. As > a worldwide web services provider, Dotster is also the first to offer a > complete one-stop opportunity. Using Dotster Connect, a customer can > choose his or her own domain name and build the social network, or even > the entire website, made to order. > > Now, I'm wondering -- this sounds a bit ... goofy to me -- do any of you > really think social networking in business has a future? I confess, I > don't > really get it. What kind of "business" would want to offer this to its > customers, vendoers, and the like? I see this AS a business, but I don't > see > how an existing small business would benefit. Help me???? > > Susan H. > > PRESS RELEASE > > FOR IMMEDIATE RELEASE > > > > DOTSTER ANNOUNCES DOTSTER CONNECTSM, > > FIRST ALL-IN-ONE SOCIAL NETWORKING SOLUTION > > FOR BUSINESSES OF ALL SIZES > > > > Web Hosting Leader Unveils Powerful Way For Companies > > To Connect With Customers > > > > Where Social Networking Does Business-Tailored For Small, Mid-Size and > Enterprise > > > > Vancouver, WA - Dotster, Inc. > (www.dotster.com ), a leading provider of > Internet business services, announces Dotster ConnectSM: > www.dotster.com/connect a powerful and affordable way for businesses to > better attract, connect with, involve and retain their customers. > Dotster Connect is a complete suite of social networking and media > sharing capabilities that allows any company, small or large, to engage > users via community forums, blogs, polls, real-time interaction and much > more. > > > > For small businesses, Dotster Connect is the first all-in-one product > that lets them tap into the power of social networking quickly and > affordably with a platform that's been specifically tailored for them. > For enterprise customers, Dotster Connect's robust feature set, > dedicated managers, scalability and customized solutions give big > business a powerful new option for tapping the power of community. For > all businesses, Dotster Connect is offered at an affordable price with > multiple plans to choose from. > > > > Clint Page, CEO of Dotster, said, "If a business is serious about > building its customer base and web presence, social networking needs to > be a cornerstone of its marketing strategy. We are in a new era of > brand building where traditional media and one-way marketing > communications aren't working the way they once did. Customers are now > relying on their communities to help them make purchasing decisions, and > the companies who best understand and facilitate this are the ones who > will emerge the winners. Dotster Connect, in conjunction with our web > hosting expertise and product suite, allows a company to do this as > never before." > > > > Dotster Connect is where social networking gets down to business. It > lets companies quickly and easily create communities of purpose where > customers, vendors, employees, partners, event attendees, developers - > anyone - can meet, build relationships, share ideas, contribute content, > and learn from one another. A robust community builds loyalty, gives > companies a way to quickly understand customer values, needs, and > opinions so they can better manage and drive their business. Other > valuable applications for Dotster Connect include intranets, extranets, > training portals, and online conferencing. Key Dotster Connect > capabilities include: Forums & Polls, Events Management, Submittal > Processing, User Profiles and Awards, Commenting, Posting Articles, > Media Sharing, Groups, Newsletters and more. > > > > Dotster Connects Small Business > > Dotster Connect is the first all-in-one social networking product that > gives small businesses http://www.dotster.com/connect/smb the full > service capabilities and affordable pricing options that they demand. As > a worldwide web services provider, Dotster is also the first to offer a > complete one-stop opportunity. Using Dotster Connect, a customer can > choose his or her own domain name and build the social network, or even > the entire website, made to order. > > > > Dotster Connect is the perfect solution for existing online businesses, > offline businesses that want to make the break to online, and start ups. > For established businesses, Dotster Connect offers seamless integration > with existing websites and brands. All customers enjoy the same level > of reliability and service ensured by the robust and stable platform > that services Dotster's enterprise customers. Dotster Connect offers > free consultations and hands-on web designers who will work with you to > build your site. For more Small Business information, visit: > www.dotster.com/connect/smb/ > > > > Dotster Connects The Enterprise > > Dotster Connect provides enterprise customers with a new level of "white > label, white glove" service. Enterprise > http://www.dotster.com/connect/enterprise > customers work with > Dotster's dedicated engagement managers who guide them through each step > of the process to help them customize and maximize their social network > to meet all of their business needs. Dotster Connect's enterprise-level > offering provides over 400 features in 26 languages. The level of > advanced technology employed surpasses that of MySpace, Friendster, > Facebook and YouTube combined. The Dotster Connect platform is fully > scalable and extendable to handle companies' current needs and future > growth. Dotster's customer-hosted platform guarantees data is fully > secure and allows for existing data and users to be fully integrated. > For a free consultation and for more information, enterprise customers > can visit: www.dotster.com/connect/enterprise/ > > > > > Clint Page noted, "Dotster Connect delivers a whole new level of power > to social networking. While social networking 1.0 emphasized 'social,' > Dotster Connect emphasizes 'networking' and all of its benefits for > businesses of any size. This includes direct revenue benefits such as > lead generation, cross-selling, advertising, and e-commerce as well as > cost savings such as reduced customer support, communications and > research expenses. Dotster's full-service approach helps companies > unlock for themselves the value of their communities." > > > > About Dotster, Inc. > > Dotster is a leading full service provider of essential resources for > businesses to get online and grow online. It has helped nearly 1 million > businesses and individuals establish their web presence, build their Web > sites, and drive revenue. It is also the provider of 100% reliable > domain name services to federal and state governments. With millions of > domain names under management, Dotster is one of the world's largest > ICANN-accredited domain registration and Web hosting companies. > Dotster's mission is to provide the widest range of innovative and > easy-to-use Internet solutions and back them with the unprecedented, > personalized support that has earned the company superior customer > loyalty rates. > > > > Dotster's expansive lineup of intuitive online offerings allows > customers to quickly get on the Internet and get started with maximum > visibility. Dotster's specialized team of Internet experts understand > the online marketplace and the needs of small and medium sized > businesses. Dotster offers its customers a complete set of services > including the ability to get online with a domain name and e-mail > address; build a major Web presence with hosting and a custom Web site; > and generate traffic with Search Engine Optimization (SEO) and local > site promotion. For more information, please visit www.dotster.com > or call (360) 449-5900. > > > > > > # # # > > > > > > > > > > If you no longer wish to receive emails regarding HWH Client News, > please reply with "REMOVE" in the subject line and you will be removed > from all of our press lists. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Aug 2 11:27:33 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 2 Aug 2008 12:27:33 -0400 Subject: [AccessD] OT: Informal poll References: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> Message-ID: <05e501c8f4bc$ac3ac1e0$2f8601c7@SusanOne> But how? I guess I just need an example -- I'm example oriented you know. :) The closest I can come is online shopping where people review/rate products -- I do pay attention to those -- but that's not really social networking, is it? Susan H. > ...we're old fogies Susan ...whole new generations are growing up with > social networking as a normal way of doing things ...for them, its almost > certain to extend into their business life ...me, I'll watch :) From shamil at smsconsulting.spb.ru Sat Aug 2 12:09:56 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 2 Aug 2008 21:09:56 +0400 Subject: [AccessD] OT: Informal poll In-Reply-To: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> Message-ID: <002001c8f4c2$985ddc60$6401a8c0@nant> Susan, In my understanding social networks create new opportunities for new and old(/existing) businesses by helping people with the same interests, same or close worldviews and life and business experiences to find each other quickly - at least much quicker than it was possible before without using modern communication technologies - that's a positive side... ...although it's well known that social networks' owners are becoming more and more as our "multi-headed Big Brother" - I mean there is a lot of marketing and marketing research, and advertisement and online shopping businesses, which are "parasitizing" on "free" social networks, which do use private information exposed in such networks for the social networks owners' business interests - that's a negative side... ...I think positive side/effect of social networks is currently overweighting its negative side - and will always be... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, August 02, 2008 6:26 PM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Informal poll I received this press release on a new book -- you can read the whole thing below, but I've copied the main crux just below: Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Now, I'm wondering -- this sounds a bit ... goofy to me -- do any of you really think social networking in business has a future? I confess, I don't really get it. What kind of "business" would want to offer this to its customers, vendoers, and the like? I see this AS a business, but I don't see how an existing small business would benefit. Help me???? Susan H. PRESS RELEASE FOR IMMEDIATE RELEASE DOTSTER ANNOUNCES DOTSTER CONNECTSM, FIRST ALL-IN-ONE SOCIAL NETWORKING SOLUTION FOR BUSINESSES OF ALL SIZES Web Hosting Leader Unveils Powerful Way For Companies To Connect With Customers Where Social Networking Does Business-Tailored For Small, Mid-Size and Enterprise Vancouver, WA - Dotster, Inc. (www.dotster.com ), a leading provider of Internet business services, announces Dotster ConnectSM: www.dotster.com/connect a powerful and affordable way for businesses to better attract, connect with, involve and retain their customers. Dotster Connect is a complete suite of social networking and media sharing capabilities that allows any company, small or large, to engage users via community forums, blogs, polls, real-time interaction and much more. For small businesses, Dotster Connect is the first all-in-one product that lets them tap into the power of social networking quickly and affordably with a platform that's been specifically tailored for them. For enterprise customers, Dotster Connect's robust feature set, dedicated managers, scalability and customized solutions give big business a powerful new option for tapping the power of community. For all businesses, Dotster Connect is offered at an affordable price with multiple plans to choose from. Clint Page, CEO of Dotster, said, "If a business is serious about building its customer base and web presence, social networking needs to be a cornerstone of its marketing strategy. We are in a new era of brand building where traditional media and one-way marketing communications aren't working the way they once did. Customers are now relying on their communities to help them make purchasing decisions, and the companies who best understand and facilitate this are the ones who will emerge the winners. Dotster Connect, in conjunction with our web hosting expertise and product suite, allows a company to do this as never before." Dotster Connect is where social networking gets down to business. It lets companies quickly and easily create communities of purpose where customers, vendors, employees, partners, event attendees, developers - anyone - can meet, build relationships, share ideas, contribute content, and learn from one another. A robust community builds loyalty, gives companies a way to quickly understand customer values, needs, and opinions so they can better manage and drive their business. Other valuable applications for Dotster Connect include intranets, extranets, training portals, and online conferencing. Key Dotster Connect capabilities include: Forums & Polls, Events Management, Submittal Processing, User Profiles and Awards, Commenting, Posting Articles, Media Sharing, Groups, Newsletters and more. Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Dotster Connect is the perfect solution for existing online businesses, offline businesses that want to make the break to online, and start ups. For established businesses, Dotster Connect offers seamless integration with existing websites and brands. All customers enjoy the same level of reliability and service ensured by the robust and stable platform that services Dotster's enterprise customers. Dotster Connect offers free consultations and hands-on web designers who will work with you to build your site. For more Small Business information, visit: www.dotster.com/connect/smb/ Dotster Connects The Enterprise Dotster Connect provides enterprise customers with a new level of "white label, white glove" service. Enterprise http://www.dotster.com/connect/enterprise customers work with Dotster's dedicated engagement managers who guide them through each step of the process to help them customize and maximize their social network to meet all of their business needs. Dotster Connect's enterprise-level offering provides over 400 features in 26 languages. The level of advanced technology employed surpasses that of MySpace, Friendster, Facebook and YouTube combined. The Dotster Connect platform is fully scalable and extendable to handle companies' current needs and future growth. Dotster's customer-hosted platform guarantees data is fully secure and allows for existing data and users to be fully integrated. For a free consultation and for more information, enterprise customers can visit: www.dotster.com/connect/enterprise/ Clint Page noted, "Dotster Connect delivers a whole new level of power to social networking. While social networking 1.0 emphasized 'social,' Dotster Connect emphasizes 'networking' and all of its benefits for businesses of any size. This includes direct revenue benefits such as lead generation, cross-selling, advertising, and e-commerce as well as cost savings such as reduced customer support, communications and research expenses. Dotster's full-service approach helps companies unlock for themselves the value of their communities." About Dotster, Inc. Dotster is a leading full service provider of essential resources for businesses to get online and grow online. It has helped nearly 1 million businesses and individuals establish their web presence, build their Web sites, and drive revenue. It is also the provider of 100% reliable domain name services to federal and state governments. With millions of domain names under management, Dotster is one of the world's largest ICANN-accredited domain registration and Web hosting companies. Dotster's mission is to provide the widest range of innovative and easy-to-use Internet solutions and back them with the unprecedented, personalized support that has earned the company superior customer loyalty rates. Dotster's expansive lineup of intuitive online offerings allows customers to quickly get on the Internet and get started with maximum visibility. Dotster's specialized team of Internet experts understand the online marketplace and the needs of small and medium sized businesses. Dotster offers its customers a complete set of services including the ability to get online with a domain name and e-mail address; build a major Web presence with hosting and a custom Web site; and generate traffic with Search Engine Optimization (SEO) and local site promotion. For more information, please visit www.dotster.com or call (360) 449-5900. # # # If you no longer wish to receive emails regarding HWH Client News, please reply with "REMOVE" in the subject line and you will be removed from all of our press lists. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Aug 2 12:17:11 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 2 Aug 2008 13:17:11 -0400 Subject: [AccessD] OT: Informal poll References: <002001c8f4c2$985ddc60$6401a8c0@nant> Message-ID: <064201c8f4c3$9e56ae20$2f8601c7@SusanOne> > In my understanding social networks create new opportunities for new and > old(/existing) businesses by helping people with the same interests, same > or > close worldviews and life and business experiences to find each other > quickly - at least much quicker than it was possible before without using > modern communication technologies - that's a positive side... =======How so? I'm having trouble visualizing how I might benefit from such a network -- as a consumer. Susan H. From rockysmolin at bchacc.com Sat Aug 2 12:23:38 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 2 Aug 2008 10:23:38 -0700 Subject: [AccessD] Weekend Humor: "We do windows." and "I'lltellyoueverything you need to know about tactics..." :) In-Reply-To: <001801c8f4b7$52a53390$6401a8c0@nant> References: <064801c8f4a0$8eb54c10$0301a8c0@HAL9005> <001801c8f4b7$52a53390$6401a8c0@nant> Message-ID: <065c01c8f4c4$8095afc0$0301a8c0@HAL9005> COOL! Let us know when it's posted. We've had a couple of eclipses here. It's weird. I can see why primitive people freaked out. It makes you very uneasy. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 02, 2008 8:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Weekend Humor: "We do windows." and "I'lltellyoueverything you need to know about tactics..." :) <<< On an unrelated topic - did you see the eclipse yesterday? >>> Hi Rocky, Yes, I did watch Eclipse here yesterday. It started at 1 p.m. and ended at 3 p.m. (GMT+3). Although it was just 50% here - full Eclipse was yesterday in Russia in Novosibirsk area... ... I have got opportunity to look at it around 2 p.m. when it was exactly around 50%... ...the movie/video clip about this 50% Eclipse to be developed by my son is expected to be released on YouTube in the beginning of this or the next week - stay tuned :) -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 02, 2008 5:06 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Weekend Humor: "We do windows." and "I'll tellyoueverything you need to know about tactics..." :) Shamil: On an unrelated topic - did you see the eclipse yesterday? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com <<< tail skipped >>> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 2 12:36:35 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 2 Aug 2008 10:36:35 -0700 Subject: [AccessD] OT: Informal poll In-Reply-To: <064201c8f4c3$9e56ae20$2f8601c7@SusanOne> References: <002001c8f4c2$985ddc60$6401a8c0@nant> <064201c8f4c3$9e56ae20$2f8601c7@SusanOne> Message-ID: <065e01c8f4c6$4ffb9990$0301a8c0@HAL9005> Could it benefit you as a writer? On line networking with people who might need writing done? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, August 02, 2008 10:17 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Informal poll > In my understanding social networks create new opportunities for new > and > old(/existing) businesses by helping people with the same interests, > same or close worldviews and life and business experiences to find > each other quickly - at least much quicker than it was possible before > without using modern communication technologies - that's a positive > side... =======How so? I'm having trouble visualizing how I might benefit from such a network -- as a consumer. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Aug 2 12:58:31 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 2 Aug 2008 13:58:31 -0400 Subject: [AccessD] OT: Informal poll References: <002001c8f4c2$985ddc60$6401a8c0@nant><064201c8f4c3$9e56ae20$2f8601c7@SusanOne> <065e01c8f4c6$4ffb9990$0301a8c0@HAL9005> Message-ID: <066f01c8f4c9$610aa2f0$2f8601c7@SusanOne> > Could it benefit you as a writer? On line networking with people who > might > need writing done? ==========It might, but like any site, getting people there would be the problem. I'm really trying to understand how this type of outreach would benefit a small to medium sized company -- I feel pretty dense right now. :) The company would offer this network to its customers, vendors, and so on as some kind of value-added product. For a company like TechRepublic.com, of course, I see the benefit, but it's an online community to begin with. I fail to see how a more traditional company would benefit from creating an online network. Susan H. Susan H. From rockysmolin at bchacc.com Sat Aug 2 13:13:53 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 2 Aug 2008 11:13:53 -0700 Subject: [AccessD] OT: Informal poll In-Reply-To: <066f01c8f4c9$610aa2f0$2f8601c7@SusanOne> References: <002001c8f4c2$985ddc60$6401a8c0@nant><064201c8f4c3$9e56ae20$2f8601c7@SusanOne><065e01c8f4c6$4ffb9990$0301a8c0@HAL9005> <066f01c8f4c9$610aa2f0$2f8601c7@SusanOne> Message-ID: <066001c8f4cb$85ea91a0$0301a8c0@HAL9005> Have you seen LinkedIn.com? This looks like the same idea. Linked In has become huge. I've gotten a few invites from people to link in to them. I'm not sure what the business model is with Linked In either. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, August 02, 2008 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Informal poll > Could it benefit you as a writer? On line networking with people who > might need writing done? ==========It might, but like any site, getting people there would be the problem. I'm really trying to understand how this type of outreach would benefit a small to medium sized company -- I feel pretty dense right now. :) The company would offer this network to its customers, vendors, and so on as some kind of value-added product. For a company like TechRepublic.com, of course, I see the benefit, but it's an online community to begin with. I fail to see how a more traditional company would benefit from creating an online network. Susan H. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Aug 2 13:18:59 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 2 Aug 2008 14:18:59 -0400 Subject: [AccessD] OT: Informal poll References: <002001c8f4c2$985ddc60$6401a8c0@nant><064201c8f4c3$9e56ae20$2f8601c7@SusanOne><065e01c8f4c6$4ffb9990$0301a8c0@HAL9005><066f01c8f4c9$610aa2f0$2f8601c7@SusanOne> <066001c8f4cb$85ea91a0$0301a8c0@HAL9005> Message-ID: <067d01c8f4cc$3d29bb70$2f8601c7@SusanOne> But like myspace and all the others, LinkedIn IS the business... see what I mean? Susan H. > Have you seen LinkedIn.com? This looks like the same idea. Linked In has > become huge. I've gotten a few invites from people to link in to them. I'm > not sure what the business model is with Linked In either. From wdhindman at dejpolsystems.com Sat Aug 2 13:58:28 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 2 Aug 2008 14:58:28 -0400 Subject: [AccessD] OT: Informal poll References: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> <05e501c8f4bc$ac3ac1e0$2f8601c7@SusanOne> Message-ID: ...ok ...real world example ...major client produces trade shows with buyers and exhibitors from all over the world ...they want to know who is coming, where they are staying, what they are doing after the show, where the best party and food is, etc. ...client can't possibly devote the resources to build and maintain such a database ...but if he ties into a limited access social networking site where his clients can talk directly to each other without requiring anything more than initial access setup from him, it becomes an entirely different story that could bring my client real value and give his customers ever more incentives to attend his trade shows. ...note that I will be looking hard into this for him. William -------------------------------------------------- From: "Susan Harkins" Sent: Saturday, August 02, 2008 12:27 PM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] OT: Informal poll > But how? I guess I just need an example -- I'm example oriented you know. > :) > The closest I can come is online shopping where people review/rate > products -- I do pay attention to those -- but that's not really social > networking, is it? > > Susan H. > > >> ...we're old fogies Susan ...whole new generations are growing up with >> social networking as a normal way of doing things ...for them, its almost >> certain to extend into their business life ...me, I'll watch :) > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From wdhindman at dejpolsystems.com Sat Aug 2 14:16:28 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 2 Aug 2008 15:16:28 -0400 Subject: [AccessD] Weekend Humor: "We do windows." and"I'lltellyoueverything you need to know about tactics..." :) References: <064801c8f4a0$8eb54c10$0301a8c0@HAL9005><001801c8f4b7$52a53390$6401a8c0@nant> <065c01c8f4c4$8095afc0$0301a8c0@HAL9005> Message-ID: Shamil ...considering the job Damir did on the last video he made, I'm really looking forward to this one. William -------------------------------------------------- From: "Rocky Smolin at Beach Access Software" Sent: Saturday, August 02, 2008 1:23 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Weekend Humor: "We do windows." and"I'lltellyoueverything you need to know about tactics..." :) > COOL! Let us know when it's posted. We've had a couple of eclipses here. > It's weird. I can see why primitive people freaked out. It makes you very > uneasy. > > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > www.bchacc.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, August 02, 2008 8:49 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Weekend Humor: "We do windows." and > "I'lltellyoueverything you need to know about tactics..." :) > > <<< > On an unrelated topic - did you see the eclipse yesterday? >>>> > Hi Rocky, > > Yes, I did watch Eclipse here yesterday. It started at 1 p.m. and ended at > 3 > p.m. (GMT+3). Although it was just 50% here - full Eclipse was yesterday > in > Russia in Novosibirsk area... > > ... I have got opportunity to look at it around 2 p.m. when it was exactly > around 50%... > > ...the movie/video clip about this 50% Eclipse to be developed by my son > is > expected to be released on YouTube in the beginning of this or the next > week > - stay tuned :) > > -- > Shamil > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Saturday, August 02, 2008 5:06 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Weekend Humor: "We do windows." and "I'll > tellyoueverything you need to know about tactics..." :) > > Shamil: > > On an unrelated topic - did you see the eclipse yesterday? > > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > www.bchacc.com > > > <<< tail skipped >>> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Sat Aug 2 17:13:17 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 2 Aug 2008 17:13:17 -0500 Subject: [AccessD] Almost Friday Humor In-Reply-To: References: <818FD709E9284F26A584E135365AF21A@danwaters><4892F15D.6050701@torchlake.com><3D4C4081EA794BD3A54F8592C8EBCBF8@danwaters><48945432.3000004@torchlake.com> Message-ID: <6D4374C79DFC4352BC2F73E35DFD3832@danwaters> Aaaaargh! That made me laugh too! Thanks William :-) Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Saturday, August 02, 2008 10:56 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Almost Friday Humor ...hey! ...its as good or better than 70% of the rest of what's in the "help" files ...imnsho, of course :) William -------------------------------------------------- From: "Tina Norris Fields" Sent: Saturday, August 02, 2008 8:33 AM To: "Access Developers discussion and problem solving" Subject: Re: [AccessD] Almost Friday Humor > Hi Dan, > > Okay, I get it. But, Microsoft has been putting those ads for 2007 in > the Help items for long enough that I expected it and didn't get the > joke. It's annoying and disappointing that they do that, but it isn't > new to me. > > Yours is a perfect question: what are they doing putting advertising > into the Help file? I would also like them to stop. > > Tina > > Dan Waters wrote: >> You're not missing anything! >> >> What is Microsoft doing putting advertising into the Help file? That's >> over >> the top, even for them! >> >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >> Fields >> Sent: Friday, August 01, 2008 6:20 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Almost Friday Humor >> >> Okay, maybe I'm just being dense here, but all the See Also offers is >> the choice to buy Microsoft Office 2007 or a free trial of the Office >> 2007 system. What am I missing? >> Tina >> >> Dan Waters wrote: >> >>> In Access Help, look for 'Configuring the Microsoft Jet Database Engine >>> >> for >> >>> ODBC Access'. >>> >>> At the bottom click on See Also. >>> >>> I know I just got done saying this one's better, but do you have to put >>> >> this >> >>> in Help? >>> >>> :-) >>> >>> 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 wdhindman at dejpolsystems.com Sat Aug 2 17:46:12 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 2 Aug 2008 18:46:12 -0400 Subject: [AccessD] Almost Friday Humor References: <818FD709E9284F26A584E135365AF21A@danwaters><4892F15D.6050701@torchlake.com><3D4C4081EA794BD3A54F8592C8EBCBF8@danwaters><48945432.3000004@torchlake.com> <6D4374C79DFC4352BC2F73E35DFD3832@danwaters> Message-ID: <6AB097373CD64FFDB3D164227B6FCD31@jislaptopdev> ...its funny but its not funny at the same time ...I still run a copy of the A97 help files simply because they are better than anything since ...MUCH better ...every once in a while you hear the MS Access team ask what we want to see in the next revision ...there is an entire site dedicated to a list of long standing bugs in Access, the help file prominent among them ...but what did we get in A2k7? ...the RIBBON from hell! ...and the bugs and no-help files are still with us :( William -------------------------------------------------- From: "Dan Waters" Sent: Saturday, August 02, 2008 6:13 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Almost Friday Humor > Aaaaargh! That made me laugh too! > > Thanks William :-) > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Saturday, August 02, 2008 10:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Almost Friday Humor > > ...hey! ...its as good or better than 70% of the rest of what's in the > "help" files ...imnsho, of course :) > William > -------------------------------------------------- > From: "Tina Norris Fields" > Sent: Saturday, August 02, 2008 8:33 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Almost Friday Humor > >> Hi Dan, >> >> Okay, I get it. But, Microsoft has been putting those ads for 2007 in >> the Help items for long enough that I expected it and didn't get the >> joke. It's annoying and disappointing that they do that, but it isn't >> new to me. >> >> Yours is a perfect question: what are they doing putting advertising >> into the Help file? I would also like them to stop. >> >> Tina >> >> Dan Waters wrote: >>> You're not missing anything! >>> >>> What is Microsoft doing putting advertising into the Help file? That's >>> over >>> the top, even for them! >>> >>> Dan >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >>> Fields >>> Sent: Friday, August 01, 2008 6:20 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Almost Friday Humor >>> >>> Okay, maybe I'm just being dense here, but all the See Also offers is >>> the choice to buy Microsoft Office 2007 or a free trial of the Office >>> 2007 system. What am I missing? >>> Tina >>> >>> Dan Waters wrote: >>> >>>> In Access Help, look for 'Configuring the Microsoft Jet Database Engine >>>> >>> for >>> >>>> ODBC Access'. >>>> >>>> At the bottom click on See Also. >>>> >>>> I know I just got done saying this one's better, but do you have to put >>>> >>> this >>> >>>> in Help? >>>> >>>> :-) >>>> >>>> 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 Darryl.Collins at coles.com.au Sun Aug 3 05:48:49 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Sun, 3 Aug 2008 20:48:49 +1000 Subject: [AccessD] Almost Friday Humor In-Reply-To: <6AB097373CD64FFDB3D164227B6FCD31@jislaptopdev> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076BF12E3F@WPEXCH22.retail.ad.cmltd.net.au> Personally I liked it when you used to get a great fat box that included a manual the size of a phone book when you purchased your software. I can see lots of good reasons why they don't do this anymore, but even so, I used to like reading those manuals in paper form. I am not a big fan of 'on screen' or PDF help - even though it makes total economic and environmental sense not to provide the manuals anymore. oh well... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William Hindman Sent: Sunday, 3 August 2008 8:46 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Almost Friday Humor ...its funny but its not funny at the same time ...I still run a copy of the A97 help files simply because they are better than anything since ...MUCH better ...every once in a while you hear the MS Access team ask what we want to see in the next revision ...there is an entire site dedicated to a list of long standing bugs in Access, the help file prominent among them ...but what did we get in A2k7? ...the RIBBON from hell! ...and the bugs and no-help files are still with us :( William -------------------------------------------------- From: "Dan Waters" Sent: Saturday, August 02, 2008 6:13 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Almost Friday Humor > Aaaaargh! That made me laugh too! > > Thanks William :-) > > Dan > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Saturday, August 02, 2008 10:56 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Almost Friday Humor > > ...hey! ...its as good or better than 70% of the rest of what's in the > "help" files ...imnsho, of course :) > William > -------------------------------------------------- > From: "Tina Norris Fields" > Sent: Saturday, August 02, 2008 8:33 AM > To: "Access Developers discussion and problem solving" > > Subject: Re: [AccessD] Almost Friday Humor > >> Hi Dan, >> >> Okay, I get it. But, Microsoft has been putting those ads for 2007 in >> the Help items for long enough that I expected it and didn't get the >> joke. It's annoying and disappointing that they do that, but it isn't >> new to me. >> >> Yours is a perfect question: what are they doing putting advertising >> into the Help file? I would also like them to stop. >> >> Tina >> >> Dan Waters wrote: >>> You're not missing anything! >>> >>> What is Microsoft doing putting advertising into the Help file? That's >>> over >>> the top, even for them! >>> >>> Dan >>> >>> -----Original Message----- >>> From: accessd-bounces at databaseadvisors.com >>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >>> Fields >>> Sent: Friday, August 01, 2008 6:20 AM >>> To: Access Developers discussion and problem solving >>> Subject: Re: [AccessD] Almost Friday Humor >>> >>> Okay, maybe I'm just being dense here, but all the See Also offers is >>> the choice to buy Microsoft Office 2007 or a free trial of the Office >>> 2007 system. What am I missing? >>> Tina >>> >>> Dan Waters wrote: >>> >>>> In Access Help, look for 'Configuring the Microsoft Jet Database Engine >>>> >>> for >>> >>>> ODBC Access'. >>>> >>>> At the bottom click on See Also. >>>> >>>> I know I just got done saying this one's better, but do you have to put >>>> >>> this >>> >>>> in Help? >>>> >>>> :-) >>>> >>>> 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 This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From ssharkins at gmail.com Sun Aug 3 07:35:35 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 3 Aug 2008 08:35:35 -0400 Subject: [AccessD] Almost Friday Humor References: <57E6E6CA42105A48B977303A2CDC2720076BF12E3F@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <008001c8f565$745a8310$2f8601c7@SusanOne> I'm the same way. For a long time, you could purchase the manual for a reasonable shipping fee, but I haven't even seen that offer in a while. Susan H. > > Personally I liked it when you used to get a great fat box that included a > manual the size of a phone book when you purchased your software. I can > see lots of good reasons why they don't do this anymore, but even so, I > used to like reading those manuals in paper form. I am not a big fan of > 'on screen' or PDF help - even though it makes total economic and > environmental sense not to provide the manuals anymore. > > oh well... > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of William > Hindman > Sent: Sunday, 3 August 2008 8:46 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Almost Friday Humor > > > ...its funny but its not funny at the same time ...I still run a copy of > the > A97 help files simply because they are better than anything since ...MUCH > better ...every once in a while you hear the MS Access team ask what we > want > to see in the next revision ...there is an entire site dedicated to a list > of long standing bugs in Access, the help file prominent among them ...but > what did we get in A2k7? > > ...the RIBBON from hell! ...and the bugs and no-help files are still with > us > :( > > William > > -------------------------------------------------- > From: "Dan Waters" > Sent: Saturday, August 02, 2008 6:13 PM > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] Almost Friday Humor > >> Aaaaargh! That made me laugh too! >> >> Thanks William :-) >> >> Dan >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William >> Hindman >> Sent: Saturday, August 02, 2008 10:56 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Almost Friday Humor >> >> ...hey! ...its as good or better than 70% of the rest of what's in the >> "help" files ...imnsho, of course :) >> William >> -------------------------------------------------- >> From: "Tina Norris Fields" >> Sent: Saturday, August 02, 2008 8:33 AM >> To: "Access Developers discussion and problem solving" >> >> Subject: Re: [AccessD] Almost Friday Humor >> >>> Hi Dan, >>> >>> Okay, I get it. But, Microsoft has been putting those ads for 2007 in >>> the Help items for long enough that I expected it and didn't get the >>> joke. It's annoying and disappointing that they do that, but it isn't >>> new to me. >>> >>> Yours is a perfect question: what are they doing putting advertising >>> into the Help file? I would also like them to stop. >>> >>> Tina >>> >>> Dan Waters wrote: >>>> You're not missing anything! >>>> >>>> What is Microsoft doing putting advertising into the Help file? That's >>>> over >>>> the top, even for them! >>>> >>>> Dan >>>> >>>> -----Original Message----- >>>> From: accessd-bounces at databaseadvisors.com >>>> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Tina Norris >>>> Fields >>>> Sent: Friday, August 01, 2008 6:20 AM >>>> To: Access Developers discussion and problem solving >>>> Subject: Re: [AccessD] Almost Friday Humor >>>> >>>> Okay, maybe I'm just being dense here, but all the See Also offers is >>>> the choice to buy Microsoft Office 2007 or a free trial of the Office >>>> 2007 system. What am I missing? >>>> Tina >>>> >>>> Dan Waters wrote: >>>> >>>>> In Access Help, look for 'Configuring the Microsoft Jet Database >>>>> Engine >>>>> >>>> for >>>> >>>>> ODBC Access'. >>>>> >>>>> At the bottom click on See Also. >>>>> >>>>> I know I just got done saying this one's better, but do you have to >>>>> put >>>>> >>>> this >>>> >>>>> in Help? >>>>> >>>>> :-) >>>>> >>>>> 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 > > > > This email and any attachments may contain privileged and confidential > information > and are intended for the named addressee only. If you have received this > e-mail in > error, please notify the sender and delete this e-mail immediately. Any > confidentiality, privilege or copyright is not waived or lost because this > e-mail > has been sent to you in error. It is your responsibility to check this > e-mail and > any attachments for viruses. No warranty is made that this material is > free from > computer virus or any other defect or error. Any loss/damage incurred by > using this > material is not the sender's responsibility. The sender's entire > liability will be > limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 4 10:22:33 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2008 08:22:33 -0700 Subject: [AccessD] OT: Informal poll In-Reply-To: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> References: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> Message-ID: I'm clueless on the whole thing. I've never knowingly visited a social networking site, and I generally avoid blogs except for a few journalists's blogs. The only reason I can see for a business to use it is for support. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, August 02, 2008 7:26 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Informal poll I received this press release on a new book -- you can read the whole thing below, but I've copied the main crux just below: Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Now, I'm wondering -- this sounds a bit ... goofy to me -- do any of you really think social networking in business has a future? I confess, I don't really get it. What kind of "business" would want to offer this to its customers, vendoers, and the like? I see this AS a business, but I don't see how an existing small business would benefit. Help me???? Susan H. PRESS RELEASE FOR IMMEDIATE RELEASE DOTSTER ANNOUNCES DOTSTER CONNECTSM, FIRST ALL-IN-ONE SOCIAL NETWORKING SOLUTION FOR BUSINESSES OF ALL SIZES Web Hosting Leader Unveils Powerful Way For Companies To Connect With Customers Where Social Networking Does Business-Tailored For Small, Mid-Size and Enterprise Vancouver, WA - Dotster, Inc. (www.dotster.com ), a leading provider of Internet business services, announces Dotster ConnectSM: www.dotster.com/connect a powerful and affordable way for businesses to better attract, connect with, involve and retain their customers. Dotster Connect is a complete suite of social networking and media sharing capabilities that allows any company, small or large, to engage users via community forums, blogs, polls, real-time interaction and much more. For small businesses, Dotster Connect is the first all-in-one product that lets them tap into the power of social networking quickly and affordably with a platform that's been specifically tailored for them. For enterprise customers, Dotster Connect's robust feature set, dedicated managers, scalability and customized solutions give big business a powerful new option for tapping the power of community. For all businesses, Dotster Connect is offered at an affordable price with multiple plans to choose from. Clint Page, CEO of Dotster, said, "If a business is serious about building its customer base and web presence, social networking needs to be a cornerstone of its marketing strategy. We are in a new era of brand building where traditional media and one-way marketing communications aren't working the way they once did. Customers are now relying on their communities to help them make purchasing decisions, and the companies who best understand and facilitate this are the ones who will emerge the winners. Dotster Connect, in conjunction with our web hosting expertise and product suite, allows a company to do this as never before." Dotster Connect is where social networking gets down to business. It lets companies quickly and easily create communities of purpose where customers, vendors, employees, partners, event attendees, developers - anyone - can meet, build relationships, share ideas, contribute content, and learn from one another. A robust community builds loyalty, gives companies a way to quickly understand customer values, needs, and opinions so they can better manage and drive their business. Other valuable applications for Dotster Connect include intranets, extranets, training portals, and online conferencing. Key Dotster Connect capabilities include: Forums & Polls, Events Management, Submittal Processing, User Profiles and Awards, Commenting, Posting Articles, Media Sharing, Groups, Newsletters and more. Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Dotster Connect is the perfect solution for existing online businesses, offline businesses that want to make the break to online, and start ups. For established businesses, Dotster Connect offers seamless integration with existing websites and brands. All customers enjoy the same level of reliability and service ensured by the robust and stable platform that services Dotster's enterprise customers. Dotster Connect offers free consultations and hands-on web designers who will work with you to build your site. For more Small Business information, visit: www.dotster.com/connect/smb/ Dotster Connects The Enterprise Dotster Connect provides enterprise customers with a new level of "white label, white glove" service. Enterprise http://www.dotster.com/connect/enterprise customers work with Dotster's dedicated engagement managers who guide them through each step of the process to help them customize and maximize their social network to meet all of their business needs. Dotster Connect's enterprise-level offering provides over 400 features in 26 languages. The level of advanced technology employed surpasses that of MySpace, Friendster, Facebook and YouTube combined. The Dotster Connect platform is fully scalable and extendable to handle companies' current needs and future growth. Dotster's customer-hosted platform guarantees data is fully secure and allows for existing data and users to be fully integrated. For a free consultation and for more information, enterprise customers can visit: www.dotster.com/connect/enterprise/ Clint Page noted, "Dotster Connect delivers a whole new level of power to social networking. While social networking 1.0 emphasized 'social,' Dotster Connect emphasizes 'networking' and all of its benefits for businesses of any size. This includes direct revenue benefits such as lead generation, cross-selling, advertising, and e-commerce as well as cost savings such as reduced customer support, communications and research expenses. Dotster's full-service approach helps companies unlock for themselves the value of their communities." About Dotster, Inc. Dotster is a leading full service provider of essential resources for businesses to get online and grow online. It has helped nearly 1 million businesses and individuals establish their web presence, build their Web sites, and drive revenue. It is also the provider of 100% reliable domain name services to federal and state governments. With millions of domain names under management, Dotster is one of the world's largest ICANN-accredited domain registration and Web hosting companies. Dotster's mission is to provide the widest range of innovative and easy-to-use Internet solutions and back them with the unprecedented, personalized support that has earned the company superior customer loyalty rates. Dotster's expansive lineup of intuitive online offerings allows customers to quickly get on the Internet and get started with maximum visibility. Dotster's specialized team of Internet experts understand the online marketplace and the needs of small and medium sized businesses. Dotster offers its customers a complete set of services including the ability to get online with a domain name and e-mail address; build a major Web presence with hosting and a custom Web site; and generate traffic with Search Engine Optimization (SEO) and local site promotion. For more information, please visit www.dotster.com or call (360) 449-5900. # # # If you no longer wish to receive emails regarding HWH Client News, please reply with "REMOVE" in the subject line and you will be removed from all of our press lists. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Mon Aug 4 10:25:37 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2008 08:25:37 -0700 Subject: [AccessD] OT: Informal poll In-Reply-To: <066001c8f4cb$85ea91a0$0301a8c0@HAL9005> References: <002001c8f4c2$985ddc60$6401a8c0@nant><064201c8f4c3$9e56ae20$2f8601c7@SusanOne><065e01c8f4c6$4ffb9990$0301a8c0@HAL9005><066f01c8f4c9$610aa2f0$2f8601c7@SusanOne> <066001c8f4cb$85ea91a0$0301a8c0@HAL9005> Message-ID: I've had invites and actually linked in, and that's the last I've heard of it. I have enough stuff going on in my actual life (like Access-D) to take up the time I might otherwise spend in virtual socialization. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 02, 2008 11:14 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] OT: Informal poll Have you seen LinkedIn.com? This looks like the same idea. Linked In has become huge. I've gotten a few invites from people to link in to them. I'm not sure what the business model is with Linked In either. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, August 02, 2008 10:59 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Informal poll > Could it benefit you as a writer? On line networking with people who > might need writing done? ==========It might, but like any site, getting people there would be the problem. I'm really trying to understand how this type of outreach would benefit a small to medium sized company -- I feel pretty dense right now. :) The company would offer this network to its customers, vendors, and so on as some kind of value-added product. For a company like TechRepublic.com, of course, I see the benefit, but it's an online community to begin with. I fail to see how a more traditional company would benefit from creating an online network. Susan H. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Mon Aug 4 10:34:09 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Mon, 4 Aug 2008 11:34:09 -0400 Subject: [AccessD] OT: Informal poll References: <002001c8f4c2$985ddc60$6401a8c0@nant><064201c8f4c3$9e56ae20$2f8601c7@SusanOne><065e01c8f4c6$4ffb9990$0301a8c0@HAL9005><066f01c8f4c9$610aa2f0$2f8601c7@SusanOne><066001c8f4cb$85ea91a0$0301a8c0@HAL9005> Message-ID: <059601c8f647$8b872560$2f8601c7@SusanOne> > I've had invites and actually linked in, and that's the last I've heard > of it. I have enough stuff going on in my actual life (like Access-D) > to take up the time I might otherwise spend in virtual socialization. ======I signed up with LinkedIn and although I have a ton of connections, I don't know how they're helping me. I suppose it's a matter of reaping what you sow -- problem is, I don't know how to sow anything in there. :) After I connect, just what do I do with all those connections? I haven't figured that out yet. :) So, I'm with you Charlotte -- I don't get it. However, as a freelancer, if I thought there was something to be gained, I'd be trying to figure it all out. Susan H. From Gustav at cactus.dk Mon Aug 4 10:47:57 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 04 Aug 2008 17:47:57 +0200 Subject: [AccessD] OT: Informal poll Message-ID: Hi Susan and Charlotte Same here. If you wish to exploit such communities to locate those few percent you might have something in common with, you can spend days. Where is the time for that? Most of what these sites offer is hype or aimed at people with too much time. AccessD, on the other hand, is a nice social network without the hype where I gain a lot because all the noise is cut away (that may include JC for the moment but I miss that noise. Where has he gone? Hasn't he been forgiven yet?) /gustav >>> ssharkins at gmail.com 04-08-2008 17:34 >>> > I've had invites and actually linked in, and that's the last I've heard > of it. I have enough stuff going on in my actual life (like Access-D) > to take up the time I might otherwise spend in virtual socialization. ======I signed up with LinkedIn and although I have a ton of connections, I don't know how they're helping me. I suppose it's a matter of reaping what you sow -- problem is, I don't know how to sow anything in there. :) After I connect, just what do I do with all those connections? I haven't figured that out yet. :) So, I'm with you Charlotte -- I don't get it. However, as a freelancer, if I thought there was something to be gained, I'd be trying to figure it all out. Susan H. From wdhindman at dejpolsystems.com Mon Aug 4 10:57:58 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Mon, 4 Aug 2008 11:57:58 -0400 Subject: [AccessD] OT: Informal poll References: Message-ID: <8A5B332D891949A39EA24FD2D93512BC@jislaptopdev> Gustav ...JC is alive and well and working ...just pissed off at AccessD at the moment and punishing us with his absence ...I chatted with him this past week on getting an Access FTP client working for him :) William -------------------------------------------------- From: "Gustav Brock" Sent: Monday, August 04, 2008 11:47 AM To: Subject: Re: [AccessD] OT: Informal poll > Hi Susan and Charlotte > > Same here. If you wish to exploit such communities to locate those few > percent you might have something in common with, you can spend days. Where > is the time for that? > Most of what these sites offer is hype or aimed at people with too much > time. AccessD, on the other hand, is a nice social network without the > hype where I gain a lot because all the noise is cut away (that may > include JC for the moment but I miss that noise. Where has he gone? Hasn't > he been forgiven yet?) > > /gustav > >>>> ssharkins at gmail.com 04-08-2008 17:34 >>> > > >> I've had invites and actually linked in, and that's the last I've heard >> of it. I have enough stuff going on in my actual life (like Access-D) >> to take up the time I might otherwise spend in virtual socialization. > > ======I signed up with LinkedIn and although I have a ton of connections, > I > don't know how they're helping me. I suppose it's a matter of reaping what > you sow -- problem is, I don't know how to sow anything in there. :) After > I > connect, just what do I do with all those connections? I haven't figured > that out yet. :) So, I'm with you Charlotte -- I don't get it. However, as > a > freelancer, if I thought there was something to be gained, I'd be trying > to > figure it all out. > > Susan H. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From jimdettman at verizon.net Mon Aug 4 10:57:52 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Mon, 04 Aug 2008 11:57:52 -0400 Subject: [AccessD] OT: Informal poll In-Reply-To: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> References: <054601c8f4ab$bcd6d540$2f8601c7@SusanOne> Message-ID: <001701c8f64a$da2575c0$8abea8c0@XPS> Well look at this list and the other lists owned by Database Advisors; priced right I could see something like that flying. Another example; I have a client in the scrap booking/craft industry. Something like this would have been of great interest to them when they started up. They currently have a site where users join, communicate through forums, have a library of how to videos, etc. All which was developed from scratch for their current site. Yes, I can see where it would fit with a lot of SMB's. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, August 02, 2008 10:26 AM To: AccessD at databaseadvisors.com Subject: [AccessD] OT: Informal poll I received this press release on a new book -- you can read the whole thing below, but I've copied the main crux just below: Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Now, I'm wondering -- this sounds a bit ... goofy to me -- do any of you really think social networking in business has a future? I confess, I don't really get it. What kind of "business" would want to offer this to its customers, vendoers, and the like? I see this AS a business, but I don't see how an existing small business would benefit. Help me???? Susan H. PRESS RELEASE FOR IMMEDIATE RELEASE DOTSTER ANNOUNCES DOTSTER CONNECTSM, FIRST ALL-IN-ONE SOCIAL NETWORKING SOLUTION FOR BUSINESSES OF ALL SIZES Web Hosting Leader Unveils Powerful Way For Companies To Connect With Customers Where Social Networking Does Business-Tailored For Small, Mid-Size and Enterprise Vancouver, WA - Dotster, Inc. (www.dotster.com ), a leading provider of Internet business services, announces Dotster ConnectSM: www.dotster.com/connect a powerful and affordable way for businesses to better attract, connect with, involve and retain their customers. Dotster Connect is a complete suite of social networking and media sharing capabilities that allows any company, small or large, to engage users via community forums, blogs, polls, real-time interaction and much more. For small businesses, Dotster Connect is the first all-in-one product that lets them tap into the power of social networking quickly and affordably with a platform that's been specifically tailored for them. For enterprise customers, Dotster Connect's robust feature set, dedicated managers, scalability and customized solutions give big business a powerful new option for tapping the power of community. For all businesses, Dotster Connect is offered at an affordable price with multiple plans to choose from. Clint Page, CEO of Dotster, said, "If a business is serious about building its customer base and web presence, social networking needs to be a cornerstone of its marketing strategy. We are in a new era of brand building where traditional media and one-way marketing communications aren't working the way they once did. Customers are now relying on their communities to help them make purchasing decisions, and the companies who best understand and facilitate this are the ones who will emerge the winners. Dotster Connect, in conjunction with our web hosting expertise and product suite, allows a company to do this as never before." Dotster Connect is where social networking gets down to business. It lets companies quickly and easily create communities of purpose where customers, vendors, employees, partners, event attendees, developers - anyone - can meet, build relationships, share ideas, contribute content, and learn from one another. A robust community builds loyalty, gives companies a way to quickly understand customer values, needs, and opinions so they can better manage and drive their business. Other valuable applications for Dotster Connect include intranets, extranets, training portals, and online conferencing. Key Dotster Connect capabilities include: Forums & Polls, Events Management, Submittal Processing, User Profiles and Awards, Commenting, Posting Articles, Media Sharing, Groups, Newsletters and more. Dotster Connects Small Business Dotster Connect is the first all-in-one social networking product that gives small businesses http://www.dotster.com/connect/smb the full service capabilities and affordable pricing options that they demand. As a worldwide web services provider, Dotster is also the first to offer a complete one-stop opportunity. Using Dotster Connect, a customer can choose his or her own domain name and build the social network, or even the entire website, made to order. Dotster Connect is the perfect solution for existing online businesses, offline businesses that want to make the break to online, and start ups. For established businesses, Dotster Connect offers seamless integration with existing websites and brands. All customers enjoy the same level of reliability and service ensured by the robust and stable platform that services Dotster's enterprise customers. Dotster Connect offers free consultations and hands-on web designers who will work with you to build your site. For more Small Business information, visit: www.dotster.com/connect/smb/ Dotster Connects The Enterprise Dotster Connect provides enterprise customers with a new level of "white label, white glove" service. Enterprise http://www.dotster.com/connect/enterprise customers work with Dotster's dedicated engagement managers who guide them through each step of the process to help them customize and maximize their social network to meet all of their business needs. Dotster Connect's enterprise-level offering provides over 400 features in 26 languages. The level of advanced technology employed surpasses that of MySpace, Friendster, Facebook and YouTube combined. The Dotster Connect platform is fully scalable and extendable to handle companies' current needs and future growth. Dotster's customer-hosted platform guarantees data is fully secure and allows for existing data and users to be fully integrated. For a free consultation and for more information, enterprise customers can visit: www.dotster.com/connect/enterprise/ Clint Page noted, "Dotster Connect delivers a whole new level of power to social networking. While social networking 1.0 emphasized 'social,' Dotster Connect emphasizes 'networking' and all of its benefits for businesses of any size. This includes direct revenue benefits such as lead generation, cross-selling, advertising, and e-commerce as well as cost savings such as reduced customer support, communications and research expenses. Dotster's full-service approach helps companies unlock for themselves the value of their communities." About Dotster, Inc. Dotster is a leading full service provider of essential resources for businesses to get online and grow online. It has helped nearly 1 million businesses and individuals establish their web presence, build their Web sites, and drive revenue. It is also the provider of 100% reliable domain name services to federal and state governments. With millions of domain names under management, Dotster is one of the world's largest ICANN-accredited domain registration and Web hosting companies. Dotster's mission is to provide the widest range of innovative and easy-to-use Internet solutions and back them with the unprecedented, personalized support that has earned the company superior customer loyalty rates. Dotster's expansive lineup of intuitive online offerings allows customers to quickly get on the Internet and get started with maximum visibility. Dotster's specialized team of Internet experts understand the online marketplace and the needs of small and medium sized businesses. Dotster offers its customers a complete set of services including the ability to get online with a domain name and e-mail address; build a major Web presence with hosting and a custom Web site; and generate traffic with Search Engine Optimization (SEO) and local site promotion. For more information, please visit www.dotster.com or call (360) 449-5900. # # # If you no longer wish to receive emails regarding HWH Client News, please reply with "REMOVE" in the subject line and you will be removed from all of our press lists. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joeo at appoli.com Mon Aug 4 10:59:19 2008 From: joeo at appoli.com (Joe O'Connell) Date: Mon, 4 Aug 2008 11:59:19 -0400 Subject: [AccessD] Compare code in two databases In-Reply-To: <000f01c8f3fd$d5de72e0$6401a8c0@nant> References: <000f01c8f3fd$d5de72e0$6401a8c0@nant> Message-ID: A client has a database that has been used by a department for a long time. Last month, the database was given to another department which made a few minor modifications to several of the modules. Now the client wants to put the two versions back together so that both departments will operate the exact same way by sharing the same front end. Is there a tool that can compare modules from different databases and highlight the differences in the code? Joe O'Connell From Gustav at cactus.dk Mon Aug 4 10:59:10 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 04 Aug 2008 17:59:10 +0200 Subject: [AccessD] OT: Informal poll Message-ID: Oops, _explore_ ... /gustav >>> Gustav at cactus.dk 04-08-2008 17:47 >>> Hi Susan and Charlotte Same here. If you wish to exploit .. From cfoust at infostatsystems.com Mon Aug 4 11:01:43 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 4 Aug 2008 09:01:43 -0700 Subject: [AccessD] OT: Informal poll In-Reply-To: References: Message-ID: I think he may be keeping a low profile. He should know we've all forgiven anything that needed forgiving, but maybe he isn't ready to forgive the rest of us. I too hope he returns soon. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 04, 2008 8:48 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] OT: Informal poll Hi Susan and Charlotte Same here. If you wish to exploit such communities to locate those few percent you might have something in common with, you can spend days. Where is the time for that? Most of what these sites offer is hype or aimed at people with too much time. AccessD, on the other hand, is a nice social network without the hype where I gain a lot because all the noise is cut away (that may include JC for the moment but I miss that noise. Where has he gone? Hasn't he been forgiven yet?) /gustav >>> ssharkins at gmail.com 04-08-2008 17:34 >>> > I've had invites and actually linked in, and that's the last I've > heard of it. I have enough stuff going on in my actual life (like > Access-D) to take up the time I might otherwise spend in virtual socialization. ======I signed up with LinkedIn and although I have a ton of connections, I don't know how they're helping me. I suppose it's a matter of reaping what you sow -- problem is, I don't know how to sow anything in there. :) After I connect, just what do I do with all those connections? I haven't figured that out yet. :) So, I'm with you Charlotte -- I don't get it. However, as a freelancer, if I thought there was something to be gained, I'd be trying to figure it all out. Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Mon Aug 4 11:09:49 2008 From: dwaters at usinternet.com (Dan Waters) Date: Mon, 4 Aug 2008 11:09:49 -0500 Subject: [AccessD] Compare code in two databases In-Reply-To: References: <000f01c8f3fd$d5de72e0$6401a8c0@nant> Message-ID: Joe, FMS has a utility called Detective. I think it's about $200. http://www.fmsinc.com/MicrosoftAccess/DatabaseCompare.html Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe O'Connell Sent: Monday, August 04, 2008 10:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Compare code in two databases A client has a database that has been used by a department for a long time. Last month, the database was given to another department which made a few minor modifications to several of the modules. Now the client wants to put the two versions back together so that both departments will operate the exact same way by sharing the same front end. Is there a tool that can compare modules from different databases and highlight the differences in the code? Joe O'Connell -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From joeo at appoli.com Mon Aug 4 11:36:04 2008 From: joeo at appoli.com (Joe O'Connell) Date: Mon, 4 Aug 2008 12:36:04 -0400 Subject: [AccessD] Compare code in two databases In-Reply-To: References: <000f01c8f3fd$d5de72e0$6401a8c0@nant> Message-ID: Dan, Just what I need. Thank you. Joe -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Monday, August 04, 2008 12:10 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Compare code in two databases Joe, FMS has a utility called Detective. I think it's about $200. http://www.fmsinc.com/MicrosoftAccess/DatabaseCompare.html Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Joe O'Connell Sent: Monday, August 04, 2008 10:59 AM To: Access Developers discussion and problem solving Subject: [AccessD] Compare code in two databases A client has a database that has been used by a department for a long time. Last month, the database was given to another department which made a few minor modifications to several of the modules. Now the client wants to put the two versions back together so that both departments will operate the exact same way by sharing the same front end. Is there a tool that can compare modules from different databases and highlight the differences in the code? Joe O'Connell -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Mon Aug 4 12:28:07 2008 From: garykjos at gmail.com (Gary Kjos) Date: Mon, 4 Aug 2008 12:28:07 -0500 Subject: [AccessD] OT: Informal poll In-Reply-To: References: Message-ID: JC actively participated in the Shareholders Meeting for Database Advisors which ran through last week and he is once again on the Board of Directors of the company. So he is alive and well. No doubt he will be back with AccessD at some point. Hopefully soon. GK On 8/4/08, Charlotte Foust wrote: > I think he may be keeping a low profile. He should know we've all > forgiven anything that needed forgiving, but maybe he isn't ready to > forgive the rest of us. I too hope he returns soon. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock > Sent: Monday, August 04, 2008 8:48 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Informal poll > > Hi Susan and Charlotte > > Same here. If you wish to exploit such communities to locate those few > percent you might have something in common with, you can spend days. > Where is the time for that? > Most of what these sites offer is hype or aimed at people with too much > time. AccessD, on the other hand, is a nice social network without the > hype where I gain a lot because all the noise is cut away (that may > include JC for the moment but I miss that noise. Where has he gone? > Hasn't he been forgiven yet?) > > /gustav > -- Gary Kjos garykjos at gmail.com From Gustav at cactus.dk Mon Aug 4 14:21:17 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 04 Aug 2008 21:21:17 +0200 Subject: [AccessD] OT: Informal poll Message-ID: Hi William Thanks. Reminds me of my mother. She never ever hit neither me nor my sister. But her ultimate punishment was to ignore us, not talking to us. It was awful and effective, and quickly we turned into nice kids again. Now, problem is that JC is not my mother. /gustav >>> wdhindman at dejpolsystems.com 04-08-2008 17:57 >>> Gustav ...JC is alive and well and working ...just pissed off at AccessD at the moment and punishing us with his absence ...I chatted with him this past week on getting an Access FTP client working for him :) William -------------------------------------------------- From: "Gustav Brock" Sent: Monday, August 04, 2008 11:47 AM To: Subject: Re: [AccessD] OT: Informal poll > Hi Susan and Charlotte > > Same here. If you wish to exploit such communities to locate those few > percent you might have something in common with, you can spend days. Where > is the time for that? > Most of what these sites offer is hype or aimed at people with too much > time. AccessD, on the other hand, is a nice social network without the > hype where I gain a lot because all the noise is cut away (that may > include JC for the moment but I miss that noise. Where has he gone? Hasn't > he been forgiven yet?) > > /gustav > >>>> ssharkins at gmail.com 04-08-2008 17:34 >>> > > >> I've had invites and actually linked in, and that's the last I've heard >> of it. I have enough stuff going on in my actual life (like Access-D) >> to take up the time I might otherwise spend in virtual socialization. > > ======I signed up with LinkedIn and although I have a ton of connections, I > don't know how they're helping me. I suppose it's a matter of reaping what > you sow -- problem is, I don't know how to sow anything in there. :) After I > connect, just what do I do with all those connections? I haven't figured > that out yet. :) So, I'm with you Charlotte -- I don't get it. However, as a > freelancer, if I thought there was something to be gained, I'd be trying to > figure it all out. > > Susan H. From nd500_lo at charter.net Mon Aug 4 14:55:03 2008 From: nd500_lo at charter.net (Dian) Date: Mon, 4 Aug 2008 12:55:03 -0700 Subject: [AccessD] OT: Informal poll In-Reply-To: References: Message-ID: <000001c8f66b$fd16c2c0$6500a8c0@dsunit1> May we dare to hope that it will be sooner than soon...you guys are very nice and I like and respect each and every one of you, but JC is more fun to read. If any one of us can say that he/she has never ever been frustrated enough to yell, scream and throw things...please let me know and I'll set up a shrine to your sainthood... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Monday, August 04, 2008 10:28 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] OT: Informal poll JC actively participated in the Shareholders Meeting for Database Advisors which ran through last week and he is once again on the Board of Directors of the company. So he is alive and well. No doubt he will be back with AccessD at some point. Hopefully soon. GK On 8/4/08, Charlotte Foust wrote: > I think he may be keeping a low profile. He should know we've all > forgiven anything that needed forgiving, but maybe he isn't ready to > forgive the rest of us. I too hope he returns soon. > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav > Brock > Sent: Monday, August 04, 2008 8:48 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] OT: Informal poll > > Hi Susan and Charlotte > > Same here. If you wish to exploit such communities to locate those few > percent you might have something in common with, you can spend days. > Where is the time for that? > Most of what these sites offer is hype or aimed at people with too > much time. AccessD, on the other hand, is a nice social network > without the hype where I gain a lot because all the noise is cut away > (that may include JC for the moment but I miss that noise. Where has he gone? > Hasn't he been forgiven yet?) > > /gustav > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Mon Aug 4 18:46:14 2008 From: darren at activebilling.com.au (Darren D) Date: Tue, 5 Aug 2008 09:46:14 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files and so on Message-ID: <200808042346.m74NkPI2013373@databaseadvisors.com> Hi Team >From approx 5000 files I need to create approx 10 'blocks' of 50 files in each block I want to be able to get say the first 50 files in a folder - merging those 50 files into one file Then getting the next 50 and merging that lot into a second merged file etc and so on I can do the merge bit OK Does anyone have a clue on how to get the first 50 then the next 50 and so on until all files have been merged into a handful of larger merged files? FYI - they will all be individual XML files being merged into larger XML files to speed up internal processes here MTIA Darren From rockysmolin at bchacc.com Mon Aug 4 19:50:56 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 4 Aug 2008 17:50:56 -0700 Subject: [AccessD] A2003: Merging top 50 files then next 50 files and so on In-Reply-To: <200808042346.m74NkPI2013373@databaseadvisors.com> References: <200808042346.m74NkPI2013373@databaseadvisors.com> Message-ID: <07ce01c8f695$522ba090$0301a8c0@HAL9005> Get all the files names into an array or a table and use a counter to know when to switch to a new file as you iterate the array or table? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, August 04, 2008 4:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003: Merging top 50 files then next 50 files and so on Hi Team >From approx 5000 files I need to create approx 10 'blocks' of 50 files >in each block I want to be able to get say the first 50 files in a folder - merging those 50 files into one file Then getting the next 50 and merging that lot into a second merged file etc and so on I can do the merge bit OK Does anyone have a clue on how to get the first 50 then the next 50 and so on until all files have been merged into a handful of larger merged files? FYI - they will all be individual XML files being merged into larger XML files to speed up internal processes here MTIA Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Mon Aug 4 20:05:02 2008 From: darren at activebilling.com.au (Darren D) Date: Tue, 5 Aug 2008 11:05:02 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files and soon In-Reply-To: <07ce01c8f695$522ba090$0301a8c0@HAL9005> Message-ID: <200808050105.m7515B2i018204@databaseadvisors.com> Brilliant - how do I do that? (Remember you are dealing with a luddite-Be quiet Andy) Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, 5 August 2008 10:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files and soon Get all the files names into an array or a table and use a counter to know when to switch to a new file as you iterate the array or table? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, August 04, 2008 4:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003: Merging top 50 files then next 50 files and so on Hi Team >From approx 5000 files I need to create approx 10 'blocks' of 50 files >in each block I want to be able to get say the first 50 files in a folder - merging those 50 files into one file Then getting the next 50 and merging that lot into a second merged file etc and so on I can do the merge bit OK Does anyone have a clue on how to get the first 50 then the next 50 and so on until all files have been merged into a handful of larger merged files? FYI - they will all be individual XML files being merged into larger XML files to speed up internal processes here MTIA 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 stuart at lexacorp.com.pg Mon Aug 4 20:35:19 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Aug 2008 11:35:19 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files and so on In-Reply-To: <200808042346.m74NkPI2013373@databaseadvisors.com> Message-ID: <48983AF7.7741.24A84BD2@stuart.lexacorp.com.pg> Something like this? (Aircode so will probably need a fair of checking/cleaning up) Dim lngCounter as Long Dim lngFileCounter as Long Dim strFile as String DIm strMergeFile as String strMergeFile = "MergeFile01" open strMergeFile for Output as #1 strFile = Dir$("*.*") Do open strFile for Input as #2 While not eof(2) line input #2, strtemp Print #1, strtemp Wend close #2 lngCOunter = lngCounter + 1 if lngCounter = 50 then lngFileCounter = lngFileCounter +1 lngCounter = 0 close #1 strMergeFile = "MergeFile" & Format(lngCounter,"00") open strMergeFile for Output as #1 end if strFile = Dir$ Loop until strFile ="" On 5 Aug 2008 at 9:46, Darren D wrote: > Hi Team > > > > >From approx 5000 files I need to create approx 10 'blocks' of 50 files in each > block > > I want to be able to get say the first 50 files in a folder - merging those 50 > files into one file > > Then getting the next 50 and merging that lot into a second merged file etc and > so on > > I can do the merge bit OK > > Does anyone have a clue on how to get the first 50 then the next 50 and so on > until all files have been merged into a handful of larger merged files? > > > > FYI - they will all be individual XML files being merged into larger XML files > to speed up internal processes here > > > > MTIA > > > Darren > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 4 22:34:41 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 4 Aug 2008 20:34:41 -0700 Subject: [AccessD] A2003: Merging top 50 files then next 50 files andsoon In-Reply-To: <200808050105.m7515B2i018204@databaseadvisors.com> References: <07ce01c8f695$522ba090$0301a8c0@HAL9005> <200808050105.m7515B2i018204@databaseadvisors.com> Message-ID: <07d201c8f6ac$324eec20$0301a8c0@HAL9005> Well, I'm not sure how much detail to get into here. So I'll just take the high level view and let me know if you need more detail. Table is probably easier if you're not familiar with arrays. Since you say you can do the merges, I'll assume you have some way to get the file names one by one and merge the files. So create a table - one field - text - stash all the files names in there one by one (use DAO). Set the recordset pointer back to the first record. Open your first output file. Initialize a counter to 0. Use a Do While rs.EOF = False fetching each file name in turn. Open it and merge it into the output file. Bump your counter. If the counter=50 then close the output file, open the next output file, and set the counter back to 0. Stuart just posted something that looks like a real good framework. Will this work for you? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, August 04, 2008 6:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon Brilliant - how do I do that? (Remember you are dealing with a luddite-Be quiet Andy) Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Tuesday, 5 August 2008 10:51 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files and soon Get all the files names into an array or a table and use a counter to know when to switch to a new file as you iterate the array or table? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darren D Sent: Monday, August 04, 2008 4:46 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] A2003: Merging top 50 files then next 50 files and so on Hi Team >From approx 5000 files I need to create approx 10 'blocks' of 50 files >in each block I want to be able to get say the first 50 files in a folder - merging those 50 files into one file Then getting the next 50 and merging that lot into a second merged file etc and so on I can do the merge bit OK Does anyone have a clue on how to get the first 50 then the next 50 and so on until all files have been merged into a handful of larger merged files? FYI - they will all be individual XML files being merged into larger XML files to speed up internal processes here MTIA 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 -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Mon Aug 4 23:17:15 2008 From: darren at activebilling.com.au (Darren D) Date: Tue, 5 Aug 2008 14:17:15 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files and soon In-Reply-To: <48983AF7.7741.24A84BD2@stuart.lexacorp.com.pg> Message-ID: <200808050417.m754HOLV004689@databaseadvisors.com> Hi Rocky and Stuart Stuart I have copied and pasted the code below Maybe air code but it's beyond my limited understanding :-) I ran it and it errored I have forced it to resume on error I can see an output file ending in 00 but I can't delete it whilst the dB is open I can also see an output file ending in 01 with some of the xml in it What happens if there is more that 50 XML Should it create a new 02 file? Way beyond me - Sorry Many many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 5 August 2008 11:35 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files and soon Something like this? (Aircode so will probably need a fair of checking/cleaning up) Dim lngCounter as Long Dim lngFileCounter as Long Dim strFile as String DIm strMergeFile as String strMergeFile = "MergeFile01" open strMergeFile for Output as #1 strFile = Dir$("*.*") Do open strFile for Input as #2 While not eof(2) line input #2, strtemp Print #1, strtemp Wend close #2 lngCOunter = lngCounter + 1 if lngCounter = 50 then lngFileCounter = lngFileCounter +1 lngCounter = 0 close #1 strMergeFile = "MergeFile" & Format(lngCounter,"00") open strMergeFile for Output as #1 end if strFile = Dir$ Loop until strFile ="" On 5 Aug 2008 at 9:46, Darren D wrote: > Hi Team > > > > >From approx 5000 files I need to create approx 10 'blocks' of 50 files in each > block > > I want to be able to get say the first 50 files in a folder - merging those 50 > files into one file > > Then getting the next 50 and merging that lot into a second merged file etc and > so on > > I can do the merge bit OK > > Does anyone have a clue on how to get the first 50 then the next 50 and so on > until all files have been merged into a handful of larger merged files? > > > > FYI - they will all be individual XML files being merged into larger XML files > to speed up internal processes here > > > > MTIA > > > 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 stuart at lexacorp.com.pg Mon Aug 4 23:54:53 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Tue, 05 Aug 2008 14:54:53 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files and soon In-Reply-To: <200808050417.m754HOLV004689@databaseadvisors.com> References: <48983AF7.7741.24A84BD2@stuart.lexacorp.com.pg> Message-ID: <489869BD.23538.255EFF0F@stuart.lexacorp.com.pg> I made at least one error :-) strMergeFile = "MergeFile" & Format(lngCounter,"00") should be strMergeFile = "MergeFile" & Format(lngFileCounter,"00") (lngCounter is used to count the original files in the directory, lngFileCounter is used to name the MergeFiles automatically) Now you should get (unless there are other bugs): Files 1 - 50 in MergeFile01 Files 51-100 in MergeFile02 Files101-150 in MergeFile03 etc. On 5 Aug 2008 at 14:17, Darren D wrote: > Hi Rocky and Stuart > > Stuart I have copied and pasted the code below > Maybe air code but it's beyond my limited understanding :-) > I ran it and it errored I have forced it to resume on error > I can see an output file ending in 00 but I can't delete it whilst the dB is > open > I can also see an output file ending in 01 with some of the xml in it > What happens if there is more that 50 XML Should it create a new 02 file? > Way beyond me - Sorry > > Many many thanks > > Darren > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Tuesday, 5 August 2008 11:35 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files and soon > > Something like this? (Aircode so will probably need a fair of checking/cleaning > up) > > Dim lngCounter as Long > Dim lngFileCounter as Long > Dim strFile as String > DIm strMergeFile as String > > strMergeFile = "MergeFile01" > open strMergeFile for Output as #1 > strFile = Dir$("*.*") > Do > open strFile for Input as #2 > While not eof(2) > line input #2, strtemp > Print #1, strtemp > Wend > close #2 > lngCOunter = lngCounter + 1 > if lngCounter = 50 then > lngFileCounter = lngFileCounter +1 > lngCounter = 0 > close #1 > strMergeFile = "MergeFile" & Format(lngCounter,"00") > open strMergeFile for Output as #1 > end if > strFile = Dir$ > Loop until strFile ="" From darren at activebilling.com.au Tue Aug 5 00:22:00 2008 From: darren at activebilling.com.au (Darren D) Date: Tue, 5 Aug 2008 15:22:00 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files andsoon In-Reply-To: <489869BD.23538.255EFF0F@stuart.lexacorp.com.pg> Message-ID: <200808050522.m755MBq3002015@databaseadvisors.com> Stuart - Fantastic Works an absolute treat many many thanks - you are a legend What is the standard code bits to get it to release the file whilst the dB is open? I also assume there are objects to be closed or set to nothing - yes? Code working nicely below ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Private Sub ps_CopyBlocks() On Error Resume Next Dim lngCounter As Long Dim lngFileCounter As Long Dim strFile As String Dim strMergeFile As String strMergeFile = "MergeFile00.txt" Open strMergeFile For Output As #1 strFile = Dir$("*.xml") Do Open strFile For Input As #2 While Not EOF(2) Line Input #2, strtemp Print #1, strtemp Wend Close #2 lngCounter = lngCounter + 1 If lngCounter = 10 Then lngFileCounter = lngFileCounter + 1 lngCounter = 0 Close #1 strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") Open strMergeFile For Output As #1 End If strFile = Dir$ Loop Until strFile = "" End Sub ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Tuesday, 5 August 2008 2:55 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon I made at least one error :-) strMergeFile = "MergeFile" & Format(lngCounter,"00") should be strMergeFile = "MergeFile" & Format(lngFileCounter,"00") (lngCounter is used to count the original files in the directory, lngFileCounter is used to name the MergeFiles automatically) Now you should get (unless there are other bugs): Files 1 - 50 in MergeFile01 Files 51-100 in MergeFile02 Files101-150 in MergeFile03 etc. On 5 Aug 2008 at 14:17, Darren D wrote: > Hi Rocky and Stuart > > Stuart I have copied and pasted the code below > Maybe air code but it's beyond my limited understanding :-) > I ran it and it errored I have forced it to resume on error > I can see an output file ending in 00 but I can't delete it whilst the dB is > open > I can also see an output file ending in 01 with some of the xml in it > What happens if there is more that 50 XML Should it create a new 02 file? > Way beyond me - Sorry > > Many many thanks > > Darren > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Tuesday, 5 August 2008 11:35 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files and soon > > Something like this? (Aircode so will probably need a fair of checking/cleaning > up) > > Dim lngCounter as Long > Dim lngFileCounter as Long > Dim strFile as String > DIm strMergeFile as String > > strMergeFile = "MergeFile01" > open strMergeFile for Output as #1 > strFile = Dir$("*.*") > Do > open strFile for Input as #2 > While not eof(2) > line input #2, strtemp > Print #1, strtemp > Wend > close #2 > lngCOunter = lngCounter + 1 > if lngCounter = 50 then > lngFileCounter = lngFileCounter +1 > lngCounter = 0 > close #1 > strMergeFile = "MergeFile" & Format(lngCounter,"00") > open strMergeFile for Output as #1 > end if > strFile = Dir$ > Loop until strFile ="" -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Tue Aug 5 12:16:32 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Tue, 5 Aug 2008 17:16:32 +0000 Subject: [AccessD] OT: Informal poll Message-ID: I actually joined 1 or 2 of these at the request of some past co-workers...but my true feellings: Big Brother or marketing is probably behind it...but the allure is just more of that 'status crap' people want to be able to flaunt: "I have this many people in my list...and some have recommended me as a good person." You get a a few people on there...then every yuppie candy a$$ and corporate face person is on the band wagon because it is the 'new cool' thing to do. I am sure I am ignorant on the true purpose/value of these sites...but so far I've seen them as a popularity contest. Just my 2 cents. Mark > From: rockysmolin at bchacc.com > To: accessd at databaseadvisors.com > Date: Sat, 2 Aug 2008 11:13:53 -0700 > Subject: Re: [AccessD] OT: Informal poll > > Have you seen LinkedIn.com? This looks like the same idea. Linked In has > become huge. I've gotten a few invites from people to link in to them. I'm > not sure what the business model is with Linked In either. > > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > www.bchacc.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Saturday, August 02, 2008 10:59 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] OT: Informal poll > > > >> Could it benefit you as a writer? On line networking with people who >> might need writing done? > > > ==========It might, but like any site, getting people there would be the > problem. I'm really trying to understand how this type of outreach would > benefit a small to medium sized company -- I feel pretty dense right now. :) > The company would offer this network to its customers, vendors, and so on as > some kind of value-added product. For a company like TechRepublic.com, of > course, I see the benefit, but it's an online community to begin with. I > fail to see how a more traditional company would benefit from creating an > online network. > > Susan H. > > 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 _________________________________________________________________ Your PC, mobile phone, and online services work together like never before. http://clk.atdmt.com/MRT/go/108587394/direct/01/ From fuller.artful at gmail.com Tue Aug 5 13:52:49 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Tue, 5 Aug 2008 15:52:49 -0300 Subject: [AccessD] OT: Informal poll In-Reply-To: References: Message-ID: <29f585dd0808051152h666b7a87p64468ac89116563d@mail.gmail.com> Thanks to LinkedIn I have got back in touch with some long-lost colleagues, two or three of which date back to the days of Clipper development. A. On Tue, Aug 5, 2008 at 2:16 PM, Mark A Matte wrote: > > > I actually joined 1 or 2 of these at the request of some past > co-workers...but my true feellings: > > Big Brother or marketing is probably behind it...but the allure is just > more of that 'status crap' people want to be able to flaunt: "I have this > many people in my list...and some have recommended me as a good person." > > From stuart at lexacorp.com.pg Tue Aug 5 17:05:37 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 06 Aug 2008 08:05:37 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files andsoon In-Reply-To: <200808050522.m755MBq3002015@databaseadvisors.com> References: <489869BD.23538.255EFF0F@stuart.lexacorp.com.pg> Message-ID: <48995B51.18311.290EAA87@stuart.lexacorp.com.pg> Yep, another ommission on my part ( I did warn you ) You need to do a Close #1 after Loop Until strFile = "" to close the last merge file. It's not using any objects, so there is no need to do anything else. On 5 Aug 2008 at 15:22, Darren D wrote: > > Stuart - Fantastic > > Works an absolute treat many many thanks - you are a legend > > What is the standard code bits to get it to release the file whilst the dB is > open? I also assume there are objects to be closed or set to nothing - yes? > > Code working nicely below > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Private Sub ps_CopyBlocks() > > On Error Resume Next > > Dim lngCounter As Long > Dim lngFileCounter As Long > Dim strFile As String > Dim strMergeFile As String > > strMergeFile = "MergeFile00.txt" > Open strMergeFile For Output As #1 > strFile = Dir$("*.xml") > Do > Open strFile For Input As #2 > While Not EOF(2) > Line Input #2, strtemp > Print #1, strtemp > Wend > Close #2 > lngCounter = lngCounter + 1 > If lngCounter = 10 Then > lngFileCounter = lngFileCounter + 1 > lngCounter = 0 > Close #1 > strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") > Open strMergeFile For Output As #1 > End If > strFile = Dir$ > Loop Until strFile = "" > > End Sub From dwaters at usinternet.com Tue Aug 5 20:36:58 2008 From: dwaters at usinternet.com (Dan Waters) Date: Tue, 5 Aug 2008 20:36:58 -0500 Subject: [AccessD] Book Recommendation? (Cross-Posted VB + Access) Message-ID: I want to get a book on VS 2008 and a book on VB 2008. I am new to both, with significant Access experience. Does anyone have recommendations for or against? Thanks! Dan From Darryl.Collins at coles.com.au Wed Aug 6 00:30:57 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 6 Aug 2008 15:30:57 +1000 Subject: [AccessD] Report to JPG... In-Reply-To: Message-ID: <57E6E6CA42105A48B977303A2CDC2720076BF12E6D@WPEXCH22.retail.ad.cmltd.net.au> Hi folks, Super busy today, so sorry if this has been asked before - actually I think that i might have asked this before even!! Can you output a report as a JPEG or GIF rather a Snapshot or PDF. From memory it is not easy (or even possible) to do this from Access, but if it can be done, one of you gurus are likely to know. Hopefully someone has something simple. cheers Darryl.. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From stuart at lexacorp.com.pg Wed Aug 6 00:48:14 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 06 Aug 2008 15:48:14 +1000 Subject: [AccessD] Report to JPG... In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076BF12E6D@WPEXCH22.retail.ad.cmltd.net.au> References: , <57E6E6CA42105A48B977303A2CDC2720076BF12E6D@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <48993B1E.13257.2AB63394@stuart.lexacorp.com.pg> How about printing the report to one of the various "PrintToPicture" virtual printer drivers? Try http://sourceforge.net/projects/imageprinter for one. On 6 Aug 2008 at 15:30, Darryl Collins wrote: > Hi folks, > > Super busy today, so sorry if this has been asked before - actually I > think that i might have asked this before even!! Can you output a > report as a JPEG or GIF rather a Snapshot or PDF. From memory it is > not easy (or even possible) to do this from Access, but if it can be > done, one of you gurus are likely to know. > -- Stuart Mclachlan From Darryl.Collins at coles.com.au Wed Aug 6 00:54:07 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 6 Aug 2008 15:54:07 +1000 Subject: [AccessD] Report to JPG... In-Reply-To: <48993B1E.13257.2AB63394@stuart.lexacorp.com.pg> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076BF12E6F@WPEXCH22.retail.ad.cmltd.net.au> Hi Stuart, Am on a corporate network, but I can ask the Security folks if they will install something like this or similar. cheers Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Stuart McLachlan Sent: Wednesday, 6 August 2008 3:48 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Report to JPG... How about printing the report to one of the various "PrintToPicture" virtual printer drivers? Try http://sourceforge.net/projects/imageprinter for one. On 6 Aug 2008 at 15:30, Darryl Collins wrote: > Hi folks, > > Super busy today, so sorry if this has been asked before - actually I > think that i might have asked this before even!! Can you output a > report as a JPEG or GIF rather a Snapshot or PDF. From memory it is > not easy (or even possible) to do this from Access, but if it can be > done, one of you gurus are likely to know. > -- Stuart Mclachlan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From phpons at gmail.com Wed Aug 6 03:56:21 2008 From: phpons at gmail.com (philippe pons) Date: Wed, 6 Aug 2008 10:56:21 +0200 Subject: [AccessD] How to copy and convert a db to a previous version? Message-ID: <57144ced0808060156p4e4e477cl4a1bc3a407dfdfdb@mail.gmail.com> Hi all, I have an application under Access 2007. There is a back end and a front end. It is needed to make a copy of the back end, but this copy must be in a mdb format, not accdb. I need to have a button on the front end to do that automatically: make a copy of the back end and convert it to Access2003. I'm looking for a docmd or runcommand that could do that in one shot! but with no success. Do you know if there is such a command? Best regards, Philippe Pons From fuller.artful at gmail.com Wed Aug 6 07:29:46 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Wed, 6 Aug 2008 09:29:46 -0300 Subject: [AccessD] How to copy and convert a db to a previous version? In-Reply-To: <57144ced0808060156p4e4e477cl4a1bc3a407dfdfdb@mail.gmail.com> References: <57144ced0808060156p4e4e477cl4a1bc3a407dfdfdb@mail.gmail.com> Message-ID: <29f585dd0808060529g599be1fh1ad73aa819555ba7@mail.gmail.com> The command you want is hidden cleverly under the big button on the upper left. Click it once and then click Save As. You can save the file to a retro format from there. hth, Arthur From krosenstiel at comcast.net Wed Aug 6 14:03:58 2008 From: krosenstiel at comcast.net (krosenstiel at comcast.net) Date: Wed, 06 Aug 2008 19:03:58 +0000 Subject: [AccessD] Unbound box question Message-ID: <080620081903.7062.4899F59E0008887B00001B962216525806040A079B9C020A9C019D05@comcast.net> I have the following behind an unbound box in a form (Yeah, I know. Don't Start!). I also have a checkbox field called Inactivated on the form. How could this be rewritten to have a record turn color (for example, light yellow) when Inactivated is checked? Can I even do that in an unbound box? SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]); TIA -- Karen Rosenstiel Seattle WA USA From Lambert.Heenan at AIG.com Wed Aug 6 14:24:20 2008 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 6 Aug 2008 14:24:20 -0500 Subject: [AccessD] Unbound box question Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E637C2@XLIVMBX35bkup.aig.com> Open you form in design mode and go to the Format menu. There you will find the magical world of 'Conditional Formatting' where what you want can be achieved with no code. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of krosenstiel at comcast.net Sent: Wednesday, August 06, 2008 3:04 PM To: accessd at databaseadvisors.com Subject: [AccessD] Unbound box question I have the following behind an unbound box in a form (Yeah, I know. Don't Start!). I also have a checkbox field called Inactivated on the form. How could this be rewritten to have a record turn color (for example, light yellow) when Inactivated is checked? Can I even do that in an unbound box? SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]); TIA -- Karen Rosenstiel Seattle WA USA -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Wed Aug 6 14:45:54 2008 From: krosenstiel at comcast.net (krosenstiel at comcast.net) Date: Wed, 06 Aug 2008 19:45:54 +0000 Subject: [AccessD] Unbound box question Message-ID: <080620081945.768.4899FF7200098812000003002216525856040A079B9C020A9C019D05@comcast.net> When I click on the unbound box to select it, the item "Conditional Formatting" is grayed out on the menu???? -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Heenan, Lambert" > Open you form in design mode and go to the Format menu. There you will find > the magical world of 'Conditional Formatting' where what you want can be > achieved with no code. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > krosenstiel at comcast.net > Sent: Wednesday, August 06, 2008 3:04 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Unbound box question > > I have the following behind an unbound box in a form (Yeah, I know. Don't > Start!). I also have a checkbox field called Inactivated on the form. How > could this be rewritten to have a record turn color (for example, light > yellow) when Inactivated is checked? Can I even do that in an unbound box? > > SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " & > [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY [LastName] > & IIf(IsNull([FirstName]),"",", " & [FirstName]); > > TIA > > -- > Karen Rosenstiel > Seattle WA USA > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Aug 6 14:56:02 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 6 Aug 2008 14:56:02 -0500 Subject: [AccessD] Unbound box question In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E637C2@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E637C2@XLIVMBX35bkup.aig.com> Message-ID: <667E9A20A5D0482DB6AF6052A5482408@danwaters> Ummm. I haven't had good luck using conditional formatting in unbound controls. Seems to work sometimes and not others - don't know why. How about just changing the backcolor of the control based the value of the checkbox? If chkInactivate = true then cboList.BackColor = 'Yellow' else cboList.BackColor = 'White' endif Put this code into any appropriate events - and you'll need to figure out what numbers correspond to the colors you want. Dan -----Original Message----- Open you form in design mode and go to the Format menu. There you will find the magical world of 'Conditional Formatting' where what you want can be achieved with no code. Lambert -----Original Message----- I have the following behind an unbound box in a form (Yeah, I know. Don't Start!). I also have a checkbox field called Inactivated on the form. How could this be rewritten to have a record turn color (for example, light yellow) when Inactivated is checked? Can I even do that in an unbound box? SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]); TIA -- Karen Rosenstiel Seattle WA USA From krosenstiel at comcast.net Wed Aug 6 16:10:38 2008 From: krosenstiel at comcast.net (krosenstiel at comcast.net) Date: Wed, 06 Aug 2008 21:10:38 +0000 Subject: [AccessD] Unbound box question Message-ID: <080620082110.14485.489A134E000332FF000038952216527966040A079B9C020A9C019D05@comcast.net> I was hoping for a color highlight in the unbound list box, which is the index for the database, to tag the inactive staff in an obvious way so that they can be skipped, if the user doesn't really want to see their records. Thanks anyway though. -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Dan Waters" > Ummm. I haven't had good luck using conditional formatting in unbound > controls. Seems to work sometimes and not others - don't know why. > > How about just changing the backcolor of the control based the value of the > checkbox? > > If chkInactivate = true then > cboList.BackColor = 'Yellow' > else > cboList.BackColor = 'White' > endif > > Put this code into any appropriate events - and you'll need to figure out > what numbers correspond to the colors you want. > > Dan > > -----Original Message----- > > Open you form in design mode and go to the Format menu. There you will find > the magical world of 'Conditional Formatting' where what you want can be > achieved with no code. > > Lambert > > -----Original Message----- > > I have the following behind an unbound box in a form (Yeah, I know. Don't > Start!). I also have a checkbox field called Inactivated on the form. How > could this be rewritten to have a record turn color (for example, light > yellow) when Inactivated is checked? Can I even do that in an unbound box? > > SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " & > [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY [LastName] > & IIf(IsNull([FirstName]),"",", " & [FirstName]); > > TIA > > -- > Karen Rosenstiel > Seattle WA USA > > -- > 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 Aug 6 16:10:57 2008 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 6 Aug 2008 16:10:57 -0500 Subject: [AccessD] Unbound box question Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E63869@XLIVMBX35bkup.aig.com> ??? Works in Access 2002 with unbound forms. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of krosenstiel at comcast.net Sent: Wednesday, August 06, 2008 3:46 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound box question When I click on the unbound box to select it, the item "Conditional Formatting" is grayed out on the menu???? -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Heenan, Lambert" > Open you form in design mode and go to the Format menu. There you will > find the magical world of 'Conditional Formatting' where what you want > can be achieved with no code. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > krosenstiel at comcast.net > Sent: Wednesday, August 06, 2008 3:04 PM > To: accessd at databaseadvisors.com > Subject: [AccessD] Unbound box question > > I have the following behind an unbound box in a form (Yeah, I know. > Don't Start!). I also have a checkbox field called Inactivated on the > form. How could this be rewritten to have a record turn color (for > example, light > yellow) when Inactivated is checked? Can I even do that in an unbound box? > > SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " & > [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY > [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]); > > TIA > > -- > Karen Rosenstiel > Seattle WA USA > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From krosenstiel at comcast.net Wed Aug 6 16:15:51 2008 From: krosenstiel at comcast.net (krosenstiel at comcast.net) Date: Wed, 06 Aug 2008 21:15:51 +0000 Subject: [AccessD] Unbound box question Message-ID: <080620082115.1297.489A148700000EB7000005112216527966040A079B9C020A9C019D05@comcast.net> I'm using Acess 2003/SP 3. Maybe it's been "fixed." -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Heenan, Lambert" > ??? Works in Access 2002 with unbound forms. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > krosenstiel at comcast.net > Sent: Wednesday, August 06, 2008 3:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound box question > > When I click on the unbound box to select it, the item "Conditional > Formatting" is grayed out on the menu???? > > -- > Karen Rosenstiel > Seattle WA USA > > -------------- Original message ---------------------- > From: "Heenan, Lambert" > > Open you form in design mode and go to the Format menu. There you will > > find the magical world of 'Conditional Formatting' where what you want > > can be achieved with no code. > > > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > krosenstiel at comcast.net > > Sent: Wednesday, August 06, 2008 3:04 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Unbound box question > > > > I have the following behind an unbound box in a form (Yeah, I know. > > Don't Start!). I also have a checkbox field called Inactivated on the > > form. How could this be rewritten to have a record turn color (for > > example, light > > yellow) when Inactivated is checked? Can I even do that in an unbound box? > > > > SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " & > > [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY > > [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]); > > > > TIA > > > > -- > > Karen Rosenstiel > > Seattle WA USA > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Aug 6 16:17:54 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 6 Aug 2008 17:17:54 -0400 Subject: [AccessD] Report to JPG... References: <57E6E6CA42105A48B977303A2CDC2720076BF12E6D@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <2EA28C040B054AEBB968F4B9988B64E6@jislaptopdev> ...you can output it directly as an EMF using native access code from Lebans, then use any number of image conversion utilities to produce a high quality jpg or gif. ...there are a number of print drivers on the net that do conversions on the fly, some will produce a jpg but the quality can vary quite a bit. William "Andy Warhol said we all get our 15 minutes of fame, I've already had an hour and a half. I mean, I'm so overexposed, I'm making Paris Hilton look like a recluse." Barrack Obama, 2005 -------------------------------------------------- From: "Darryl Collins" Sent: Wednesday, August 06, 2008 1:30 AM To: "'Access Developers discussion and problemsolving'" Subject: [AccessD] Report to JPG... > Hi folks, > > Super busy today, so sorry if this has been asked before - actually I > think that i might have asked this before even!! Can you output a report > as a JPEG or GIF rather a Snapshot or PDF. From memory it is not easy (or > even possible) to do this from Access, but if it can be done, one of you > gurus are likely to know. > > Hopefully someone has something simple. > > cheers > Darryl.. > > This email and any attachments may contain privileged and confidential > information > and are intended for the named addressee only. If you have received this > e-mail in > error, please notify the sender and delete this e-mail immediately. Any > confidentiality, privilege or copyright is not waived or lost because this > e-mail > has been sent to you in error. It is your responsibility to check this > e-mail and > any attachments for viruses. No warranty is made that this material is > free from > computer virus or any other defect or error. Any loss/damage incurred by > using this > material is not the sender's responsibility. The sender's entire > liability will be > limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Aug 6 16:22:47 2008 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 6 Aug 2008 17:22:47 -0400 Subject: [AccessD] Unbound box question Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E6386E@XLIVMBX35bkup.aig.com> "fixed" as in "neutered" or "spayed"? :-) Perhaps SP3 did this. I've not heard much that's good about SP3. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of krosenstiel at comcast.net Sent: Wednesday, August 06, 2008 5:16 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound box question I'm using Acess 2003/SP 3. Maybe it's been "fixed." -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Heenan, Lambert" > ??? Works in Access 2002 with unbound forms. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > krosenstiel at comcast.net > Sent: Wednesday, August 06, 2008 3:46 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Unbound box question > > When I click on the unbound box to select it, the item "Conditional > Formatting" is grayed out on the menu???? > > -- > Karen Rosenstiel > Seattle WA USA > > -------------- Original message ---------------------- > From: "Heenan, Lambert" > > Open you form in design mode and go to the Format menu. There you > > will find the magical world of 'Conditional Formatting' where what > > you want can be achieved with no code. > > > > Lambert > > > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > > krosenstiel at comcast.net > > Sent: Wednesday, August 06, 2008 3:04 PM > > To: accessd at databaseadvisors.com > > Subject: [AccessD] Unbound box question > > > > I have the following behind an unbound box in a form (Yeah, I know. > > Don't Start!). I also have a checkbox field called Inactivated on > > the form. How could this be rewritten to have a record turn color > > (for example, light > > yellow) when Inactivated is checked? Can I even do that in an unbound box? > > > > SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " > > & > > [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY > > [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]); > > > > TIA > > > > -- > > Karen Rosenstiel > > Seattle WA USA > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Aug 6 17:19:57 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 6 Aug 2008 17:19:57 -0500 Subject: [AccessD] Unbound box question In-Reply-To: <080620082110.14485.489A134E000332FF000038952216527966040A079B9C020A9C019D05@comcast.net> References: <080620082110.14485.489A134E000332FF000038952216527966040A079B9C020A9C019D05@comcast.net> Message-ID: Yup - that's different. How about having two columns show when the dropdown list is selected? The left column will be the name, and the right column will say Active or Inactive. I do this to indicate if an employee is still employed or not. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of krosenstiel at comcast.net Sent: Wednesday, August 06, 2008 4:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Unbound box question I was hoping for a color highlight in the unbound list box, which is the index for the database, to tag the inactive staff in an obvious way so that they can be skipped, if the user doesn't really want to see their records. Thanks anyway though. -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Dan Waters" > Ummm. I haven't had good luck using conditional formatting in unbound > controls. Seems to work sometimes and not others - don't know why. > > How about just changing the backcolor of the control based the value of the > checkbox? > > If chkInactivate = true then > cboList.BackColor = 'Yellow' > else > cboList.BackColor = 'White' > endif > > Put this code into any appropriate events - and you'll need to figure out > what numbers correspond to the colors you want. > > Dan > > -----Original Message----- > > Open you form in design mode and go to the Format menu. There you will find > the magical world of 'Conditional Formatting' where what you want can be > achieved with no code. > > Lambert > > -----Original Message----- > > I have the following behind an unbound box in a form (Yeah, I know. Don't > Start!). I also have a checkbox field called Inactivated on the form. How > could this be rewritten to have a record turn color (for example, light > yellow) when Inactivated is checked? Can I even do that in an unbound box? > > SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " & > [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY [LastName] > & IIf(IsNull([FirstName]),"",", " & [FirstName]); > > TIA > > -- > Karen Rosenstiel > Seattle WA USA > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Wed Aug 6 17:37:01 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 6 Aug 2008 17:37:01 -0500 Subject: [AccessD] Unbound box question In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E6386E@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E6386E@XLIVMBX35bkup.aig.com> Message-ID: <127CC33B387347F487090F2B4F2F7923@danwaters> I'm using SP3, but it's not greyed out for me. -----Original Message----- "fixed" as in "neutered" or "spayed"? :-) Perhaps SP3 did this. I've not heard much that's good about SP3. Lambert -----Original Message----- I'm using Acess 2003/SP 3. Maybe it's been "fixed." -- Karen Rosenstiel Seattle WA USA -------------- Original message ---------------------- From: "Heenan, Lambert" > ??? Works in Access 2002 with unbound forms. > > Lambert > > -----Original Message----- > > When I click on the unbound box to select it, the item "Conditional > Formatting" is grayed out on the menu???? > > -- > Karen Rosenstiel > Seattle WA USA > > -------------- Original message ---------------------- > From: "Heenan, Lambert" > > Open you form in design mode and go to the Format menu. There you > > will find the magical world of 'Conditional Formatting' where what > > you want can be achieved with no code. > > > > Lambert > > > > -----Original Message----- > > > > I have the following behind an unbound box in a form (Yeah, I know. > > Don't Start!). I also have a checkbox field called Inactivated on > > the form. How could this be rewritten to have a record turn color > > (for example, light > > yellow) when Inactivated is checked? Can I even do that in an unbound box? > > > > SELECT tStaff.StaffID, [LastName] & IIf(IsNull([FirstName]),"",", " > > & > > [FirstName]) & " -- " & [LanierID] AS Staff FROM tStaff ORDER BY > > [LastName] & IIf(IsNull([FirstName]),"",", " & [FirstName]); > > > > TIA > > > > -- > > Karen Rosenstiel > > Seattle WA USA > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Aug 6 23:51:39 2008 From: darren at activebilling.com.au (Darren D) Date: Thu, 7 Aug 2008 14:51:39 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files andsoon In-Reply-To: <48995B51.18311.290EAA87@stuart.lexacorp.com.pg> Message-ID: <200808070451.m774pdS3015238@databaseadvisors.com> Hi Stuart You are a legend this is way cool Now, I have a strange issue with this. When I drop say 20 or 30 xml files in the My Documents folder and run the dB, from My Documents as well, it runs lovely Drop those same XML into another folder and the dB into that same folder it seems to get stuck in some monstrous loop that never ends and the new destination merge file just grows and grows and does not stop until I do a 3 finger salute Any reason why it would work in the My Documents folder and not in another folder? Many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 6 August 2008 8:06 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon Yep, another ommission on my part ( I did warn you ) You need to do a Close #1 after Loop Until strFile = "" to close the last merge file. It's not using any objects, so there is no need to do anything else. On 5 Aug 2008 at 15:22, Darren D wrote: > > Stuart - Fantastic > > Works an absolute treat many many thanks - you are a legend > > What is the standard code bits to get it to release the file whilst the dB is > open? I also assume there are objects to be closed or set to nothing - yes? > > Code working nicely below > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > Private Sub ps_CopyBlocks() > > On Error Resume Next > > Dim lngCounter As Long > Dim lngFileCounter As Long > Dim strFile As String > Dim strMergeFile As String > > strMergeFile = "MergeFile00.txt" > Open strMergeFile For Output As #1 > strFile = Dir$("*.xml") > Do > Open strFile For Input As #2 > While Not EOF(2) > Line Input #2, strtemp > Print #1, strtemp > Wend > Close #2 > lngCounter = lngCounter + 1 > If lngCounter = 10 Then > lngFileCounter = lngFileCounter + 1 > lngCounter = 0 > Close #1 > strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") > Open strMergeFile For Output As #1 > End If > strFile = Dir$ > Loop Until strFile = "" > > End Sub -- 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 Aug 7 01:29:03 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Thu, 07 Aug 2008 16:29:03 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files andsoon In-Reply-To: <200808070451.m774pdS3015238@databaseadvisors.com> References: <48995B51.18311.290EAA87@stuart.lexacorp.com.pg>, <200808070451.m774pdS3015238@databaseadvisors.com> Message-ID: <489A962F.30897.3001EF53@stuart.lexacorp.com.pg> Open an Immediate window in the any Access application (hit Ctrl+G) Enter "? CurDir" You will see that the default directory for an Access Application is "My Documents". (unless you change "Default database folder:" under "Tools-Options-General" You can do one of two things: 1. Initally use CHDIR to change the directory 2. Put the path in front of the relevant code. I prefer to use the second method. If you want to run in the directory that the Access application is in, make the following changes: Change: strMergeFile = "MergeFile00.txt" To: strMergeFile = CurrentProject.Path & "\MergeFile00.txt" Change: strFile = Dir$("*.xml") To: strFile = "Dir$(Currentproject.Path & "\*.xml") Change: strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") To: strMergeFile = CurrentProject.Path & "\MergeFile" & Format(lngFileCounter, "00" & ".txt") Cheers, Stuart On 7 Aug 2008 at 14:51, Darren D wrote: > Hi Stuart > > You are a legend this is way cool > > Now, I have a strange issue with this. When I drop say 20 or 30 xml files in the > My Documents folder and run the dB, from My Documents as well, it runs lovely > > Drop those same XML into another folder and the dB into that same folder it > seems to get stuck in some monstrous loop that never ends and the new > destination merge file just grows and grows and does not stop until I do a 3 > finger salute > > Any reason why it would work in the My Documents folder and not in another > folder? > > Many thanks > > Darren > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Wednesday, 6 August 2008 8:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon > > Yep, another ommission on my part ( I did warn you ) > > You need to do a > Close #1 > after > Loop Until strFile = "" > to close the last merge file. > > It's not using any objects, so there is no need to do anything else. > > > > On 5 Aug 2008 at 15:22, Darren D wrote: > > > > > Stuart - Fantastic > > > > Works an absolute treat many many thanks - you are a legend > > > > What is the standard code bits to get it to release the file whilst the dB is > > open? I also assume there are objects to be closed or set to nothing - yes? > > > > Code working nicely below > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Private Sub ps_CopyBlocks() > > > > On Error Resume Next > > > > Dim lngCounter As Long > > Dim lngFileCounter As Long > > Dim strFile As String > > Dim strMergeFile As String > > > > strMergeFile = "MergeFile00.txt" > > Open strMergeFile For Output As #1 > > strFile = Dir$("*.xml") > > Do > > Open strFile For Input As #2 > > While Not EOF(2) > > Line Input #2, strtemp > > Print #1, strtemp > > Wend > > Close #2 > > lngCounter = lngCounter + 1 > > If lngCounter = 10 Then > > lngFileCounter = lngFileCounter + 1 > > lngCounter = 0 > > Close #1 > > strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") > > Open strMergeFile For Output As #1 > > End If > > strFile = Dir$ > > Loop Until strFile = "" > > > > End Sub > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan From darren at activebilling.com.au Thu Aug 7 02:10:39 2008 From: darren at activebilling.com.au (Darren D) Date: Thu, 7 Aug 2008 17:10:39 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files andsoon In-Reply-To: <489A962F.30897.3001EF53@stuart.lexacorp.com.pg> Message-ID: <200808070710.m777AYLp014058@databaseadvisors.com> Howdy Thanks for the reply- I kinda did that by use of a UI Code below - maybe you can spot an error in it I have a number of unbound text boxes on the form Me.txtFolder - Usually populated with a path = EG N:\test\Myfolder Me.txtMergedFileName - The merged file name (Defaults to 'MergedFile') Me.cmbFileTypes - What file types to go looking for (Defaults to *.XML) Me.txtCounterLimit - At what file count to start a new merged fie Me.cmbSuffix - Asks the user what suffix to put at the end of any merges folder (options are 'XML' and 'txt') '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ' Private Sub ps_CopyBlocks() On Error Resume Next Dim lngCounter As Long Dim lngFileCounter As Long Dim strFile As String Dim strMergeFile As String Dim strTemp strMergeFile = Me.txtFolder & "\" & Me.txtMergedFileName & "_00." & Me.cmbSuffix Open strMergeFile For Output As #1 strFile = Dir$(Me.txtFolder & "\*." & Me.cmbFileTypes) Do Open strFile For Input As #2 While Not EOF(2) Line Input #2, strTemp Print #1, strTemp Wend Close #2 lngCounter = lngCounter + 1 If lngCounter = Me.txtCounterLimit Then lngFileCounter = lngFileCounter + 1 lngCounter = 0 Close #1 strMergeFile = Me.txtFolder & "\" & Me.txtMergedFileName & "_" & Format(lngFileCounter, "00" & "." & Me.cmbSuffix) Open strMergeFile For Output As #1 End If strFile = Dir$ '<--me thinks the error maybe here Loop Until strFile = "" Close #1 End Sub '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Thursday, 7 August 2008 4:29 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon Open an Immediate window in the any Access application (hit Ctrl+G) Enter "? CurDir" You will see that the default directory for an Access Application is "My Documents". (unless you change "Default database folder:" under "Tools-Options-General" You can do one of two things: 1. Initally use CHDIR to change the directory 2. Put the path in front of the relevant code. I prefer to use the second method. If you want to run in the directory that the Access application is in, make the following changes: Change: strMergeFile = "MergeFile00.txt" To: strMergeFile = CurrentProject.Path & "\MergeFile00.txt" Change: strFile = Dir$("*.xml") To: strFile = "Dir$(Currentproject.Path & "\*.xml") Change: strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") To: strMergeFile = CurrentProject.Path & "\MergeFile" & Format(lngFileCounter, "00" & ".txt") Cheers, Stuart On 7 Aug 2008 at 14:51, Darren D wrote: > Hi Stuart > > You are a legend this is way cool > > Now, I have a strange issue with this. When I drop say 20 or 30 xml files in the > My Documents folder and run the dB, from My Documents as well, it runs lovely > > Drop those same XML into another folder and the dB into that same folder it > seems to get stuck in some monstrous loop that never ends and the new > destination merge file just grows and grows and does not stop until I do a 3 > finger salute > > Any reason why it would work in the My Documents folder and not in another > folder? > > Many thanks > > Darren > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Wednesday, 6 August 2008 8:06 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon > > Yep, another ommission on my part ( I did warn you ) > > You need to do a > Close #1 > after > Loop Until strFile = "" > to close the last merge file. > > It's not using any objects, so there is no need to do anything else. > > > > On 5 Aug 2008 at 15:22, Darren D wrote: > > > > > Stuart - Fantastic > > > > Works an absolute treat many many thanks - you are a legend > > > > What is the standard code bits to get it to release the file whilst the dB is > > open? I also assume there are objects to be closed or set to nothing - yes? > > > > Code working nicely below > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > Private Sub ps_CopyBlocks() > > > > On Error Resume Next > > > > Dim lngCounter As Long > > Dim lngFileCounter As Long > > Dim strFile As String > > Dim strMergeFile As String > > > > strMergeFile = "MergeFile00.txt" > > Open strMergeFile For Output As #1 > > strFile = Dir$("*.xml") > > Do > > Open strFile For Input As #2 > > While Not EOF(2) > > Line Input #2, strtemp > > Print #1, strtemp > > Wend > > Close #2 > > lngCounter = lngCounter + 1 > > If lngCounter = 10 Then > > lngFileCounter = lngFileCounter + 1 > > lngCounter = 0 > > Close #1 > > strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") > > Open strMergeFile For Output As #1 > > End If > > strFile = Dir$ > > Loop Until strFile = "" > > > > End Sub > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan -- 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 Thu Aug 7 10:16:49 2008 From: EdTesiny at oasas.state.ny.us (Tesiny, Ed) Date: Thu, 7 Aug 2008 11:16:49 -0400 Subject: [AccessD] Test - Please Ignore Message-ID: Edward P. Tesiny Assistant Director for Evaluation New York State OASAS 1450 Western Avenue Albany, NY 12203 Phone: (518) 485-7189 Fax: (518) 485-5769 EdTesiny at oasas.state.ny.us IMPORTANT: This E-mail may contain confidential material for the sole use of the intended recipient. The use, distribution, transmittal or re-transmittal by an unintended recipient of any communication is prohibited without our express approval in writing or by e-mail. Any use, distribution, transmittal or re-transmittal by persons who are not intended recipients of this e-mail may be a violation of law and is strictly prohibited. If you are not the intended recipient please contact the sender and delete all copies. E-mail transmission cannot be guaranteed to be secure or error-free. The sender therefore does not accept liability for any errors or omissions in the contents of this transmission. All e-mails sent to or from NYS OASAS are to be used for our business purposes only. E-mails sent from or to NYS OASAS are subject to review by the Agency. From markamatte at hotmail.com Thu Aug 7 10:51:40 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 7 Aug 2008 15:51:40 +0000 Subject: [AccessD] Import/append into existing table In-Reply-To: <200808070710.m777AYLp014058@databaseadvisors.com> References: <489A962F.30897.3001EF53@stuart.lexacorp.com.pg> <200808070710.m777AYLp014058@databaseadvisors.com> Message-ID: Hello All, This is probably a simple question...but can I import a table from 1 mdb directly into an existing table in another mdb? (kinda like you import an spreadsheet) Thanks, Mark A. Matte _________________________________________________________________ Reveal your inner athlete and share it with friends on Windows Live. http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us From Lambert.Heenan at AIG.com Thu Aug 7 10:59:34 2008 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Thu, 7 Aug 2008 10:59:34 -0500 Subject: [AccessD] Import/append into existing table Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E639AA@XLIVMBX35bkup.aig.com> Sure. Just link your additional table temporarily. Then you can run an append query, adding all the records in the "other' table to the existing one. After that delete the link to the table. Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte Sent: Thursday, August 07, 2008 11:52 AM To: Access Developers discussion and problem solving Subject: [AccessD] Import/append into existing table Hello All, This is probably a simple question...but can I import a table from 1 mdb directly into an existing table in another mdb? (kinda like you import an spreadsheet) Thanks, Mark A. Matte _________________________________________________________________ Reveal your inner athlete and share it with friends on Windows Live. http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WL YIA_whichathlete_us -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Thu Aug 7 11:08:06 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 7 Aug 2008 13:08:06 -0300 Subject: [AccessD] Import/append into existing table In-Reply-To: References: <489A962F.30897.3001EF53@stuart.lexacorp.com.pg> <200808070710.m777AYLp014058@databaseadvisors.com> Message-ID: <29f585dd0808070908r4386973x1a4c240a80eca992@mail.gmail.com> File | Get External Data and follow it from there. A. On Thu, Aug 7, 2008 at 12:51 PM, Mark A Matte wrote: > > Hello All, > > This is probably a simple question...but can I import a table from 1 mdb > directly into an existing table in another mdb? (kinda like you import an > spreadsheet) > > Thanks, > > Mark A. Matte > _________________________________________________________________ > Reveal your inner athlete and share it with friends on Windows Live. > > http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From dbdoug at gmail.com Thu Aug 7 11:13:59 2008 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 7 Aug 2008 09:13:59 -0700 Subject: [AccessD] Import/append into existing table In-Reply-To: References: <489A962F.30897.3001EF53@stuart.lexacorp.com.pg> <200808070710.m777AYLp014058@databaseadvisors.com> Message-ID: <4dd71a0c0808070913q62058ca6lf0eab0fc44bf4e7f@mail.gmail.com> Copy and paste works as well On Thu, Aug 7, 2008 at 8:51 AM, Mark A Matte wrote: > > Hello All, > > This is probably a simple question...but can I import a table from 1 mdb > directly into an existing table in another mdb? (kinda like you import an > spreadsheet) > > From cfoust at infostatsystems.com Thu Aug 7 11:30:53 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 7 Aug 2008 09:30:53 -0700 Subject: [AccessD] Import/append into existing table In-Reply-To: <4dd71a0c0808070913q62058ca6lf0eab0fc44bf4e7f@mail.gmail.com> References: <489A962F.30897.3001EF53@stuart.lexacorp.com.pg><200808070710.m777AYLp014058@databaseadvisors.com> <4dd71a0c0808070913q62058ca6lf0eab0fc44bf4e7f@mail.gmail.com> Message-ID: Depends on the kind of PK you use. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Thursday, August 07, 2008 9:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Import/append into existing table Copy and paste works as well On Thu, Aug 7, 2008 at 8:51 AM, Mark A Matte wrote: > > Hello All, > > This is probably a simple question...but can I import a table from 1 > mdb directly into an existing table in another mdb? (kinda like you > import an > spreadsheet) > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Aug 7 12:09:06 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 7 Aug 2008 17:09:06 +0000 Subject: [AccessD] Import/append into existing table In-Reply-To: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E639AA@XLIVMBX35bkup.aig.com> References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C217E639AA@XLIVMBX35bkup.aig.com> Message-ID: Thanks to All that have replied... But...Import and File>Get External...both do the same thing. Typically I do import the table( or link it)...then run an append query...what I was wondering was there a way...similar to importing an excel spreadsheet...where I have the choice while importing to choose a new or existing table? Thanks, Mark A. Matte > From: Lambert.Heenan at aig.com > To: accessd at databaseadvisors.com > Date: Thu, 7 Aug 2008 10:59:34 -0500 > Subject: Re: [AccessD] Import/append into existing table > > Sure. Just link your additional table temporarily. Then you can run an > append query, adding all the records in the "other' table to the existing > one. After that delete the link to the table. > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Mark A Matte > Sent: Thursday, August 07, 2008 11:52 AM > To: Access Developers discussion and problem solving > Subject: [AccessD] Import/append into existing table > > > Hello All, > > This is probably a simple question...but can I import a table from 1 mdb > directly into an existing table in another mdb? (kinda like you import an > spreadsheet) > > Thanks, > > Mark A. Matte > _________________________________________________________________ > Reveal your inner athlete and share it with friends on Windows Live. > http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WL > YIA_whichathlete_us > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Your PC, mobile phone, and online services work together like never before. http://clk.atdmt.com/MRT/go/108587394/direct/01/ From rockysmolin at bchacc.com Thu Aug 7 17:57:59 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 7 Aug 2008 15:57:59 -0700 Subject: [AccessD] Centura? Message-ID: <003701c8f8e1$0a37ac90$0301a8c0@HAL9005> Dear List: Got an inquiry from a client for whom I'm developing a product. He writes: A big player in the docketing business sells a program that uses Centura for its front end, and SQL Server for its back end. They say Access is not robust enough for them, Centura is. From what I can tell on the Internet, Centura is free shareware and I find it hard to believe it would be better than Access. Do you know anything about it? I think the guy is blowing smoke, but I don't really know. Have you ever heard of it? Does anyone know anything of this "Centura"? MTIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From stuart at lexacorp.com.pg Thu Aug 7 18:14:57 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 Aug 2008 09:14:57 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files andsoon In-Reply-To: <200808070710.m777AYLp014058@databaseadvisors.com> References: <489A962F.30897.3001EF53@stuart.lexacorp.com.pg>, <200808070710.m777AYLp014058@databaseadvisors.com> Message-ID: <489B81F1.30844.339ADD23@stuart.lexacorp.com.pg> If me.cmbFileTypes really does contain "*.XML" and not just "XML" then you need to change strFile = Dir$(Me.txtFolder & "\*." & Me.cmbFileTypes) to strFile = Dir$(Me.txtFolder & "\" & Me.cmbFileTypes) I don't see anything wrong with the "strFile = Dir$" Cheers, Stuart On 7 Aug 2008 at 17:10, Darren D wrote: > Howdy > > Thanks for the reply- I kinda did that by use of a UI > > Code below - maybe you can spot an error in it > > I have a number of unbound text boxes on the form > > Me.txtFolder - Usually populated with a path = EG N:\test\Myfolder > Me.txtMergedFileName - The merged file name (Defaults to 'MergedFile') > Me.cmbFileTypes - What file types to go looking for (Defaults to *.XML) > Me.txtCounterLimit - At what file count to start a new merged fie > Me.cmbSuffix - Asks the user what suffix to put at the end of any merges folder > (options are 'XML' and 'txt') > > '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ' > Private Sub ps_CopyBlocks() > > On Error Resume Next > > Dim lngCounter As Long > Dim lngFileCounter As Long > Dim strFile As String > Dim strMergeFile As String > Dim strTemp > > strMergeFile = Me.txtFolder & "\" & Me.txtMergedFileName & "_00." & Me.cmbSuffix > > Open strMergeFile For Output As #1 > > strFile = Dir$(Me.txtFolder & "\*." & Me.cmbFileTypes) > > Do > Open strFile For Input As #2 > While Not EOF(2) > Line Input #2, strTemp > Print #1, strTemp > Wend > Close #2 > > lngCounter = lngCounter + 1 > If lngCounter = Me.txtCounterLimit Then > lngFileCounter = lngFileCounter + 1 > lngCounter = 0 > Close #1 > strMergeFile = Me.txtFolder & "\" & Me.txtMergedFileName & "_" & > Format(lngFileCounter, "00" & "." & Me.cmbSuffix) > Open strMergeFile For Output As #1 > End If > > strFile = Dir$ '<--me thinks the error maybe here > > Loop Until strFile = "" > > Close #1 > > End Sub > '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Thursday, 7 August 2008 4:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon > > Open an Immediate window in the any Access application (hit Ctrl+G) > Enter "? CurDir" > You will see that the default directory for an Access Application is "My > Documents". > (unless you change "Default database folder:" under "Tools-Options-General" > > You can do one of two things: > > 1. Initally use CHDIR to change the directory > 2. Put the path in front of the relevant code. > > > I prefer to use the second method. > If you want to run in the directory that the Access application is in, make the > following > changes: > > Change: strMergeFile = "MergeFile00.txt" > To: strMergeFile = CurrentProject.Path & "\MergeFile00.txt" > > Change: strFile = Dir$("*.xml") > To: strFile = "Dir$(Currentproject.Path & "\*.xml") > > Change: strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") > To: strMergeFile = CurrentProject.Path & "\MergeFile" & Format(lngFileCounter, > "00" & ".txt") > > > Cheers, > Stuart > > On 7 Aug 2008 at 14:51, Darren D wrote: > > > Hi Stuart > > > > You are a legend this is way cool > > > > Now, I have a strange issue with this. When I drop say 20 or 30 xml files in > the > > My Documents folder and run the dB, from My Documents as well, it runs lovely > > > > Drop those same XML into another folder and the dB into that same folder it > > seems to get stuck in some monstrous loop that never ends and the new > > destination merge file just grows and grows and does not stop until I do a 3 > > finger salute > > > > Any reason why it would work in the My Documents folder and not in another > > folder? > > > > Many thanks > > > > Darren > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > > Sent: Wednesday, 6 August 2008 8:06 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon > > > > Yep, another ommission on my part ( I did warn you ) > > > > You need to do a > > Close #1 > > after > > Loop Until strFile = "" > > to close the last merge file. > > > > It's not using any objects, so there is no need to do anything else. > > > > > > > > On 5 Aug 2008 at 15:22, Darren D wrote: > > > > > > > > Stuart - Fantastic > > > > > > Works an absolute treat many many thanks - you are a legend > > > > > > What is the standard code bits to get it to release the file whilst the dB > is > > > open? I also assume there are objects to be closed or set to nothing - yes? > > > > > > Code working nicely below > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Private Sub ps_CopyBlocks() > > > > > > On Error Resume Next > > > > > > Dim lngCounter As Long > > > Dim lngFileCounter As Long > > > Dim strFile As String > > > Dim strMergeFile As String > > > > > > strMergeFile = "MergeFile00.txt" > > > Open strMergeFile For Output As #1 > > > strFile = Dir$("*.xml") > > > Do > > > Open strFile For Input As #2 > > > While Not EOF(2) > > > Line Input #2, strtemp > > > Print #1, strtemp > > > Wend > > > Close #2 > > > lngCounter = lngCounter + 1 > > > If lngCounter = 10 Then > > > lngFileCounter = lngFileCounter + 1 > > > lngCounter = 0 > > > Close #1 > > > strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") > > > Open strMergeFile For Output As #1 > > > End If > > > strFile = Dir$ > > > Loop Until strFile = "" > > > > > > End Sub > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > Stuart Mclachlan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan From stuart at lexacorp.com.pg Thu Aug 7 18:24:30 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Fri, 08 Aug 2008 09:24:30 +1000 Subject: [AccessD] Centura? In-Reply-To: <003701c8f8e1$0a37ac90$0301a8c0@HAL9005> References: <003701c8f8e1$0a37ac90$0301a8c0@HAL9005> Message-ID: <489B842E.11482.33A39C17@stuart.lexacorp.com.pg> Is that the same Centura that went bust in 2001? (Gupta Technologies) On 7 Aug 2008 at 15:57, Rocky Smolin at Beach Access Software wrote: > Dear List: > > Got an inquiry from a client for whom I'm developing a product. He writes: > > A big player in the docketing business sells a program that uses Centura for > its front end, and SQL Server for its back end. They say Access is not > robust enough for them, Centura is. From what I can tell on the Internet, > Centura is free shareware and I find it hard to believe it would be better > than Access. Do you know anything about it? I think the guy is blowing > smoke, but I don't really know. Have you ever heard of it? > > > > Does anyone know anything of this "Centura"? > > > > > > MTIA > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan From darren at activebilling.com.au Thu Aug 7 23:21:19 2008 From: darren at activebilling.com.au (Darren D) Date: Fri, 8 Aug 2008 14:21:19 +1000 Subject: [AccessD] A2003: Merging top 50 files then next 50 files andsoon In-Reply-To: <489B81F1.30844.339ADD23@stuart.lexacorp.com.pg> Message-ID: <200808080421.m784LJqv018610@databaseadvisors.com> Thanks for the reply Apologies - I have taken the asterix (sic) out of the combo and have added it to the string so... strFile = Dir$(Me.txtFolder & "\*." & Me.cmbFileTypes) is correct MMM - Ok - I'll have to experiment some more - many many thanks for your help on this - And all this was air code...showoff - I'm jealous Have a great day Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Friday, 8 August 2008 9:15 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon If me.cmbFileTypes really does contain "*.XML" and not just "XML" then you need to change strFile = Dir$(Me.txtFolder & "\*." & Me.cmbFileTypes) to strFile = Dir$(Me.txtFolder & "\" & Me.cmbFileTypes) I don't see anything wrong with the "strFile = Dir$" Cheers, Stuart On 7 Aug 2008 at 17:10, Darren D wrote: > Howdy > > Thanks for the reply- I kinda did that by use of a UI > > Code below - maybe you can spot an error in it > > I have a number of unbound text boxes on the form > > Me.txtFolder - Usually populated with a path = EG N:\test\Myfolder > Me.txtMergedFileName - The merged file name (Defaults to 'MergedFile') > Me.cmbFileTypes - What file types to go looking for (Defaults to *.XML) > Me.txtCounterLimit - At what file count to start a new merged fie > Me.cmbSuffix - Asks the user what suffix to put at the end of any merges folder > (options are 'XML' and 'txt') > > '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ' > Private Sub ps_CopyBlocks() > > On Error Resume Next > > Dim lngCounter As Long > Dim lngFileCounter As Long > Dim strFile As String > Dim strMergeFile As String > Dim strTemp > > strMergeFile = Me.txtFolder & "\" & Me.txtMergedFileName & "_00." & Me.cmbSuffix > > Open strMergeFile For Output As #1 > > strFile = Dir$(Me.txtFolder & "\*." & Me.cmbFileTypes) > > Do > Open strFile For Input As #2 > While Not EOF(2) > Line Input #2, strTemp > Print #1, strTemp > Wend > Close #2 > > lngCounter = lngCounter + 1 > If lngCounter = Me.txtCounterLimit Then > lngFileCounter = lngFileCounter + 1 > lngCounter = 0 > Close #1 > strMergeFile = Me.txtFolder & "\" & Me.txtMergedFileName & "_" & > Format(lngFileCounter, "00" & "." & Me.cmbSuffix) > Open strMergeFile For Output As #1 > End If > > strFile = Dir$ '<--me thinks the error maybe here > > Loop Until strFile = "" > > Close #1 > > End Sub > '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > Sent: Thursday, 7 August 2008 4:29 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon > > Open an Immediate window in the any Access application (hit Ctrl+G) > Enter "? CurDir" > You will see that the default directory for an Access Application is "My > Documents". > (unless you change "Default database folder:" under "Tools-Options-General" > > You can do one of two things: > > 1. Initally use CHDIR to change the directory > 2. Put the path in front of the relevant code. > > > I prefer to use the second method. > If you want to run in the directory that the Access application is in, make the > following > changes: > > Change: strMergeFile = "MergeFile00.txt" > To: strMergeFile = CurrentProject.Path & "\MergeFile00.txt" > > Change: strFile = Dir$("*.xml") > To: strFile = "Dir$(Currentproject.Path & "\*.xml") > > Change: strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") > To: strMergeFile = CurrentProject.Path & "\MergeFile" & Format(lngFileCounter, > "00" & ".txt") > > > Cheers, > Stuart > > On 7 Aug 2008 at 14:51, Darren D wrote: > > > Hi Stuart > > > > You are a legend this is way cool > > > > Now, I have a strange issue with this. When I drop say 20 or 30 xml files in > the > > My Documents folder and run the dB, from My Documents as well, it runs lovely > > > > Drop those same XML into another folder and the dB into that same folder it > > seems to get stuck in some monstrous loop that never ends and the new > > destination merge file just grows and grows and does not stop until I do a 3 > > finger salute > > > > Any reason why it would work in the My Documents folder and not in another > > folder? > > > > Many thanks > > > > Darren > > -----Original Message----- > > From: accessd-bounces at databaseadvisors.com > > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan > > Sent: Wednesday, 6 August 2008 8:06 AM > > To: Access Developers discussion and problem solving > > Subject: Re: [AccessD] A2003: Merging top 50 files then next 50 files andsoon > > > > Yep, another ommission on my part ( I did warn you ) > > > > You need to do a > > Close #1 > > after > > Loop Until strFile = "" > > to close the last merge file. > > > > It's not using any objects, so there is no need to do anything else. > > > > > > > > On 5 Aug 2008 at 15:22, Darren D wrote: > > > > > > > > Stuart - Fantastic > > > > > > Works an absolute treat many many thanks - you are a legend > > > > > > What is the standard code bits to get it to release the file whilst the dB > is > > > open? I also assume there are objects to be closed or set to nothing - yes? > > > > > > Code working nicely below > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > Private Sub ps_CopyBlocks() > > > > > > On Error Resume Next > > > > > > Dim lngCounter As Long > > > Dim lngFileCounter As Long > > > Dim strFile As String > > > Dim strMergeFile As String > > > > > > strMergeFile = "MergeFile00.txt" > > > Open strMergeFile For Output As #1 > > > strFile = Dir$("*.xml") > > > Do > > > Open strFile For Input As #2 > > > While Not EOF(2) > > > Line Input #2, strtemp > > > Print #1, strtemp > > > Wend > > > Close #2 > > > lngCounter = lngCounter + 1 > > > If lngCounter = 10 Then > > > lngFileCounter = lngFileCounter + 1 > > > lngCounter = 0 > > > Close #1 > > > strMergeFile = "MergeFile" & Format(lngFileCounter, "00" & ".txt") > > > Open strMergeFile For Output As #1 > > > End If > > > strFile = Dir$ > > > Loop Until strFile = "" > > > > > > End Sub > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > Stuart Mclachlan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Darryl.Collins at coles.com.au Fri Aug 8 01:30:53 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Fri, 8 Aug 2008 16:30:53 +1000 Subject: [AccessD] Sub Report Syntax... In-Reply-To: <200808080421.m784LJqv018610@databaseadvisors.com> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076BF12EB6@WPEXCH22.retail.ad.cmltd.net.au> Hi all, A dead easy one I am sure, but got a bad case of fried brain this friday afternoon. What is up with this syntax... [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget is returning "Invalide Ref to Property Form/Report", which would suggest a spelling or naming error, but I check that about 20 times already. Or do have the syntax all buggered for the subreport. I want to write the value of the string "sBudget" into a label (named budget) on the subreport. Can be that hard surely!!?? :) cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From paul.hartland at googlemail.com Fri Aug 8 01:38:58 2008 From: paul.hartland at googlemail.com (Paul Hartland) Date: Fri, 8 Aug 2008 07:38:58 +0100 Subject: [AccessD] Sub Report Syntax... In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076BF12EB6@WPEXCH22.retail.ad.cmltd.net.au> References: <200808080421.m784LJqv018610@databaseadvisors.com> <57E6E6CA42105A48B977303A2CDC2720076BF12EB6@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <38c884770808072338o1ff93993u9b015ae85b7a5372@mail.gmail.com> Darryl, Just off top of my head, can't you put the code into the actual sub-report on format function (think it's called format, only don't have a machine with Access on at the moment) then just have [reportname].labelname.caption = sBudget Paul 2008/8/8 Darryl Collins > Hi all, > > A dead easy one I am sure, but got a bad case of fried brain this friday > afternoon. What is up with this syntax... > > [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget > > is returning "Invalide Ref to Property Form/Report", which would suggest a > spelling or naming error, but I check that about 20 times already. Or do > have the syntax all buggered for the subreport. > > I want to write the value of the string "sBudget" into a label (named > budget) on the subreport. Can be that hard surely!!?? > :) > > cheers > Darryl. > > This email and any attachments may contain privileged and confidential > information > and are intended for the named addressee only. If you have received this > e-mail in > error, please notify the sender and delete this e-mail immediately. Any > confidentiality, privilege or copyright is not waived or lost because this > e-mail > has been sent to you in error. It is your responsibility to check this > e-mail and > any attachments for viruses. No warranty is made that this material is > free from > computer virus or any other defect or error. Any loss/damage incurred by > using this > material is not the sender's responsibility. The sender's entire liability > will be > limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From Darryl.Collins at coles.com.au Fri Aug 8 01:47:18 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Fri, 8 Aug 2008 16:47:18 +1000 Subject: [AccessD] Sub Report Syntax... In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076BF12EB6@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076BF12EB8@WPEXCH22.retail.ad.cmltd.net.au> I should have mentioned that the code resides in a Module that is being called as part of the Report Open Event... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darryl Collins Sent: Friday, 8 August 2008 4:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sub Report Syntax... Hi all, A dead easy one I am sure, but got a bad case of fried brain this friday afternoon. What is up with this syntax... [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget is returning "Invalide Ref to Property Form/Report", which would suggest a spelling or naming error, but I check that about 20 times already. Or do have the syntax all buggered for the subreport. I want to write the value of the string "sBudget" into a label (named budget) on the subreport. Can be that hard surely!!?? :) cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From andy at minstersystems.co.uk Fri Aug 8 02:08:36 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 8 Aug 2008 08:08:36 +0100 Subject: [AccessD] Sub Report Syntax... In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076BF12EB8@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <73A1DA96E728454C9B11983E5B0DBA82@minster33c3r25> Hi Darryl Firstly is rpt_TL1 the name of the sub-report control, not its report name? I'm guessing yes, in which case I reckon the syntax is fine and I think it will work fine if you just move it. I've had this before where if you run code like this from the form's OnOpen it's like other controls don't yet exist. Do you have a Report Header? Move the code to the OnFormat of that. I think the code will work fine if fired later. -- Andy Lacey http://www.minstersystems.co.uk >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >Darryl Collins >Sent: 08 August 2008 07:47 >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Sub Report Syntax... > > > >I should have mentioned that the code resides in a Module that >is being called as part of the Report Open Event... > > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of >Darryl Collins >Sent: Friday, 8 August 2008 4:31 PM >To: 'Access Developers discussion and problem solving' >Subject: [AccessD] Sub Report Syntax... > > >Hi all, > >A dead easy one I am sure, but got a bad case of fried brain >this friday afternoon. What is up with this syntax... > >[Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Captio >n = sBudget > >is returning "Invalide Ref to Property Form/Report", which >would suggest a spelling or naming error, but I check that >about 20 times already. Or do have the syntax all buggered >for the subreport. > >I want to write the value of the string "sBudget" into a label >(named budget) on the subreport. Can be that hard surely!!?? >:) > >cheers >Darryl. > >This email and any attachments may contain privileged and >confidential information and are intended for the named >addressee only. If you have received this e-mail in error, >please notify the sender and delete this e-mail immediately. >Any confidentiality, privilege or copyright is not waived or >lost because this e-mail has been sent to you in error. It is >your responsibility to check this e-mail and any attachments >for viruses. No warranty is made that this material is free >from computer virus or any other defect or error. Any >loss/damage incurred by using this material is not the >sender's responsibility. The sender's entire liability will >be limited to resupplying the material. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > >This email and any attachments may contain privileged and >confidential information and are intended for the named >addressee only. If you have received this e-mail in error, >please notify the sender and delete this e-mail immediately. >Any confidentiality, privilege or copyright is not waived or >lost because this e-mail has been sent to you in error. It is >your responsibility to check this e-mail and any attachments >for viruses. No warranty is made that this material is free >from computer virus or any other defect or error. Any >loss/damage incurred by using this material is not the >sender's responsibility. The sender's entire liability will >be limited to resupplying the material. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From paul.hartland at googlemail.com Fri Aug 8 02:40:09 2008 From: paul.hartland at googlemail.com (Paul Hartland) Date: Fri, 8 Aug 2008 08:40:09 +0100 Subject: [AccessD] Sub Report Syntax... In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076BF12EB8@WPEXCH22.retail.ad.cmltd.net.au> References: <57E6E6CA42105A48B977303A2CDC2720076BF12EB6@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC2720076BF12EB8@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <38c884770808080040i72bc4eb5u3925bba17ca933af@mail.gmail.com> Could you not put a similar line of code, in the report open event of the sub report ? 2008/8/8 Darryl Collins > > I should have mentioned that the code resides in a Module that is being > called as part of the Report Open Event... > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darryl Collins > Sent: Friday, 8 August 2008 4:31 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Sub Report Syntax... > > > Hi all, > > A dead easy one I am sure, but got a bad case of fried brain this friday > afternoon. What is up with this syntax... > > [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget > > is returning "Invalide Ref to Property Form/Report", which would suggest a > spelling or naming error, but I check that about 20 times already. Or do > have the syntax all buggered for the subreport. > > I want to write the value of the string "sBudget" into a label (named > budget) on the subreport. Can be that hard surely!!?? > :) > > cheers > Darryl. > > This email and any attachments may contain privileged and confidential > information > and are intended for the named addressee only. If you have received this > e-mail in > error, please notify the sender and delete this e-mail immediately. Any > confidentiality, privilege or copyright is not waived or lost because this > e-mail > has been sent to you in error. It is your responsibility to check this > e-mail and > any attachments for viruses. No warranty is made that this material is > free from > computer virus or any other defect or error. Any loss/damage incurred by > using this > material is not the sender's responsibility. The sender's entire liability > will be > limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > This email and any attachments may contain privileged and confidential > information > and are intended for the named addressee only. If you have received this > e-mail in > error, please notify the sender and delete this e-mail immediately. Any > confidentiality, privilege or copyright is not waived or lost because this > e-mail > has been sent to you in error. It is your responsibility to check this > e-mail and > any attachments for viruses. No warranty is made that this material is > free from > computer virus or any other defect or error. Any loss/damage incurred by > using this > material is not the sender's responsibility. The sender's entire liability > will be > limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From Gustav at cactus.dk Fri Aug 8 03:21:39 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 08 Aug 2008 10:21:39 +0200 Subject: [AccessD] Centura? Message-ID: Hi Rocky By Centura he probably means Unify/Gupta (formerly Centura) Team Developer found here: http://www.unify.com/Products/TeamDeveloper/default.aspx I have no experience with this. However, maintenance of such application must be difficult due to the - I guess - limited count of qualified developers for this. /gustav PS: What is clocketing (crocheting?) business about? >>> rockysmolin at bchacc.com 08-08-2008 00:57 >>> Dear List: Got an inquiry from a client for whom I'm developing a product. He writes: A big player in the docketing business sells a program that uses Centura for its front end, and SQL Server for its back end. They say Access is not robust enough for them, Centura is. From what I can tell on the Internet, Centura is free shareware and I find it hard to believe it would be better than Access. Do you know anything about it? I think the guy is blowing smoke, but I don't really know. Have you ever heard of it? Does anyone know anything of this "Centura"? From rockysmolin at bchacc.com Fri Aug 8 07:26:30 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 8 Aug 2008 05:26:30 -0700 Subject: [AccessD] Centura? In-Reply-To: References: Message-ID: <001201c8f951$fd152df0$0301a8c0@HAL9005> Gustav: He's a lawyer specializing in patents and trademarks. Docketing means scheduling of some kind to lawyers. When certain events or actions have to take place. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 08, 2008 1:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Centura? Hi Rocky By Centura he probably means Unify/Gupta (formerly Centura) Team Developer found here: http://www.unify.com/Products/TeamDeveloper/default.aspx I have no experience with this. However, maintenance of such application must be difficult due to the - I guess - limited count of qualified developers for this. /gustav PS: What is clocketing (crocheting?) business about? >>> rockysmolin at bchacc.com 08-08-2008 00:57 >>> Dear List: Got an inquiry from a client for whom I'm developing a product. He writes: A big player in the docketing business sells a program that uses Centura for its front end, and SQL Server for its back end. They say Access is not robust enough for them, Centura is. From what I can tell on the Internet, Centura is free shareware and I find it hard to believe it would be better than Access. Do you know anything about it? I think the guy is blowing smoke, but I don't really know. Have you ever heard of it? Does anyone know anything of this "Centura"? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 8 07:45:49 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 8 Aug 2008 09:45:49 -0300 Subject: [AccessD] Centura? In-Reply-To: <001201c8f951$fd152df0$0301a8c0@HAL9005> References: <001201c8f951$fd152df0$0301a8c0@HAL9005> Message-ID: <29f585dd0808080545u51617885je521973680a7ddbc@mail.gmail.com> Obviously you folks don't watch enough of Law and Order! LOL. The docket is the list of persons who will be appearing in court today (and in future). A. On Fri, Aug 8, 2008 at 9:26 AM, Rocky Smolin at Beach Access Software < rockysmolin at bchacc.com> wrote: > Gustav: > > He's a lawyer specializing in patents and trademarks. Docketing means > scheduling of some kind to lawyers. When certain events or actions have to > take place. > > From Gustav at cactus.dk Fri Aug 8 07:52:46 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 08 Aug 2008 14:52:46 +0200 Subject: [AccessD] Centura? Message-ID: Hi Arthur Thanks, I can't read anymore, docket -> clocket. /gustav >>> fuller.artful at gmail.com 08-08-2008 14:45 >>> Obviously you folks don't watch enough of Law and Order! LOL. The docket is the list of persons who will be appearing in court today (and in future). A. On Fri, Aug 8, 2008 at 9:26 AM, Rocky Smolin at Beach Access Software < rockysmolin at bchacc.com> wrote: > Gustav: > > He's a lawyer specializing in patents and trademarks. Docketing means > scheduling of some kind to lawyers. When certain events or actions have to > take place. From JHewson at nciinc.com Fri Aug 8 08:07:42 2008 From: JHewson at nciinc.com (Hewson, Jim ) Date: Fri, 8 Aug 2008 08:07:42 -0500 Subject: [AccessD] Sub Report Syntax... In-Reply-To: <38c884770808080040i72bc4eb5u3925bba17ca933af@mail.gmail.com> References: <57E6E6CA42105A48B977303A2CDC2720076BF12EB6@WPEXCH22.retail.ad.cmltd.net.au><57E6E6CA42105A48B977303A2CDC2720076BF12EB8@WPEXCH22.retail.ad.cmltd.net.au> <38c884770808080040i72bc4eb5u3925bba17ca933af@mail.gmail.com> Message-ID: <7E02B06E41E5404589EDDDA2BAA1C5A82C9134@sanex101.nciinc.com> My first reaction was there is a dot where a bang should be. Not sure if it make a difference, though. [Reports]![rpt_ProjectSummary].[rpt_TL1]![Report].Budget.Caption = sBudget Note the bang between [rpt_TL1] and [Report]. Jim jhewson at nciinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Friday, August 08, 2008 2:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sub Report Syntax... Could you not put a similar line of code, in the report open event of the sub report ? 2008/8/8 Darryl Collins > > I should have mentioned that the code resides in a Module that is being > called as part of the Report Open Event... > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darryl Collins > Sent: Friday, 8 August 2008 4:31 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Sub Report Syntax... > > > Hi all, > > A dead easy one I am sure, but got a bad case of fried brain this friday > afternoon. What is up with this syntax... > > [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget > > is returning "Invalide Ref to Property Form/Report", which would suggest a > spelling or naming error, but I check that about 20 times already. Or do > have the syntax all buggered for the subreport. > > I want to write the value of the string "sBudget" into a label (named > budget) on the subreport. Can be that hard surely!!?? > :) > > cheers > Darryl. > > This email and any attachments may contain privileged and confidential > information > and are intended for the named addressee only. If you have received this > e-mail in > error, please notify the sender and delete this e-mail immediately. Any > confidentiality, privilege or copyright is not waived or lost because this > e-mail > has been sent to you in error. It is your responsibility to check this > e-mail and > any attachments for viruses. No warranty is made that this material is > free from > computer virus or any other defect or error. Any loss/damage incurred by > using this > material is not the sender's responsibility. The sender's entire liability > will be > limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > This email and any attachments may contain privileged and confidential > information > and are intended for the named addressee only. If you have received this > e-mail in > error, please notify the sender and delete this e-mail immediately. Any > confidentiality, privilege or copyright is not waived or lost because this > e-mail > has been sent to you in error. It is your responsibility to check this > e-mail and > any attachments for viruses. No warranty is made that this material is > free from > computer virus or any other defect or error. Any loss/damage incurred by > using this > material is not the sender's responsibility. The sender's entire liability > will be > limited to resupplying the material. > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ################################################################################ This email transmission contains information from NCI Information Systems, Inc. that may be considered privileged or confidential and is intended solely for the named recipient. If you have received this message in error, please contact the sender immediately and be aware that the use, copying or dissemination of this information is prohibited. ################################################################################ From Gustav at cactus.dk Fri Aug 8 08:29:24 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 08 Aug 2008 15:29:24 +0200 Subject: [AccessD] Sub Report Syntax... Message-ID: Hi Jim That could be it, but then it should read: [Reports]![rpt_ProjectSummary]![rpt_TL1].[Report]!Budget.Caption = sBudget /gustav >>> JHewson at nciinc.com 08-08-2008 15:07 >>> My first reaction was there is a dot where a bang should be. Not sure if it make a difference, though. [Reports]![rpt_ProjectSummary].[rpt_TL1]![Report].Budget.Caption = sBudget Note the bang between [rpt_TL1] and [Report]. Jim jhewson at nciinc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Paul Hartland Sent: Friday, August 08, 2008 2:40 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sub Report Syntax... Could you not put a similar line of code, in the report open event of the sub report ? 2008/8/8 Darryl Collins > > I should have mentioned that the code resides in a Module that is being > called as part of the Report Open Event... > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darryl Collins > Sent: Friday, 8 August 2008 4:31 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Sub Report Syntax... > > > Hi all, > > A dead easy one I am sure, but got a bad case of fried brain this friday > afternoon. What is up with this syntax... > > [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget > > is returning "Invalide Ref to Property Form/Report", which would suggest a > spelling or naming error, but I check that about 20 times already. Or do > have the syntax all buggered for the subreport. > > I want to write the value of the string "sBudget" into a label (named > budget) on the subreport. Can be that hard surely!!?? > :) > > cheers > Darryl. From dwaters at usinternet.com Fri Aug 8 08:49:09 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 8 Aug 2008 08:49:09 -0500 Subject: [AccessD] Sub Report Syntax... In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076BF12EB8@WPEXCH22.retail.ad.cmltd.net.au> References: <57E6E6CA42105A48B977303A2CDC2720076BF12EB6@WPEXCH22.retail.ad.cmltd.net.au> <57E6E6CA42105A48B977303A2CDC2720076BF12EB8@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: Hi Darryl, I think in reports you need to change label captions in the Format event. So, you need to call the module code from the Format event instead of the Open event. I think that during the main report's Open event, the subreport is inaccessible. Also, I'd recommend changing the name of your label from 'Budget' to 'lblBudget', or something else that's unique. You may have a textbox that is also called Budget, or a textbox could be bound to a field called Budget. This duplicate naming happens when you use a Report (or Form) wizard to create the Report (or Form). Good Luck, Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Darryl Collins Sent: Friday, August 08, 2008 1:47 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Sub Report Syntax... I should have mentioned that the code resides in a Module that is being called as part of the Report Open Event... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darryl Collins Sent: Friday, 8 August 2008 4:31 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Sub Report Syntax... Hi all, A dead easy one I am sure, but got a bad case of fried brain this friday afternoon. What is up with this syntax... [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget is returning "Invalide Ref to Property Form/Report", which would suggest a spelling or naming error, but I check that about 20 times already. Or do have the syntax all buggered for the subreport. I want to write the value of the string "sBudget" into a label (named budget) on the subreport. Can be that hard surely!!?? :) cheers Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From andy at minstersystems.co.uk Fri Aug 8 09:18:30 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 8 Aug 2008 15:18:30 +0100 Subject: [AccessD] Getting at OLAP data Message-ID: <200808081418.m78EIYFd001470@databaseadvisors.com> Hi folks Anyone any experience of linking from Access to OLAP tables? Specifically I've an app to write to gather data and report on it grouped and analysed by categories which already exist in OLAP. So, for example, the incoming data will identify a supplier; existing OLAP tables already categorise that supplier into one of a number of sectors and I need to get that sector. It should be a straightforward lookup but I've no idea how straightforward looking up from OLAP is? Any ideas? -- Andy Lacey http://www.minstersystems.co.uk ________________________________________________ Message sent using UebiMiau 2.7.2 From marklbreen at gmail.com Fri Aug 8 09:31:56 2008 From: marklbreen at gmail.com (Mark Breen) Date: Fri, 8 Aug 2008 15:31:56 +0100 Subject: [AccessD] Selecting a Printer, and dealing with Paper Types Message-ID: Hello All, Hope summer is treating you all well. In Ireland, we currently have rain, rain, and a little more rain. I have an Access 2000 / 2002 / 2003 app that prints to a big HP printer with four paper trays. In the application, I call multiple reports in a sequence, that eventually gives me a 27 page doc, printed on various paper trays. To facilitate this, I go into Page Setup, select specific Printer and then select the paper type. I then save the report and it remembers the preferred paper type for that printer. So far so good. I recently tried to give access to the mdb file from other machines on the lan, but I find that when I open the reports, it has reverted to using the default printer. I initially thought that what I needed was a network based printer, that would be common to all machines, so I installed the driver on a server, and shared it out and then changed the specific printer in Page Setup to point to the Network based printer. But when I went to another PC on the Lan, and opened the reports, they were switching again to the default printer. In summary, it looks like I have to programatically tell Access which printer to use. In my case, I only have 5-6 pc's to deal with, so I do not need a 1000 user solution to this problem. My choices are 1) tell the customer that they can only print from one machine 2) Split the db in to FE and BE and save the FE on each workstation and that should avoid the problem occuring. 3) build a programatic solution, but from reading emails in AccessD, it may not be so easy to get reliable. Any thoughts on this ? thanks Mark From delam at zyterra.com Fri Aug 8 09:38:47 2008 From: delam at zyterra.com (Debbie Elam) Date: Fri, 8 Aug 2008 09:38:47 -0500 Subject: [AccessD] Centura? Message-ID: <20080808143842.XVII2955.atlmtaow01.cingularme.com@Inbox> Why not use a SQL based product? I supported IP Master for years, and it has a boatload of features that it would take too much time and money to recreate and maintain than would ever be worth a custom developer's time. (ie when does a Lithuanian patent need to be renewed ) There are other good products as well. -----Original Message----- From: Rocky Smolin at Beach Access Software Sent: Friday, August 08, 2008 7:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Centura? Gustav: He's a lawyer specializing in patents and trademarks. Docketing means scheduling of some kind to lawyers. When certain events or actions have to take place. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 08, 2008 1:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Centura? Hi Rocky By Centura he probably means Unify/Gupta (formerly Centura) Team Developer found here: http://www.unify.com/Products/TeamDeveloper/default.aspx I have no experience with this. However, maintenance of such application must be difficult due to the - I guess - limited count of qualified developers for this. /gustav PS: What is clocketing (crocheting?) business about? >>> rockysmolin at bchacc.com 08-08-2008 00:57 >>> Dear List: Got an inquiry from a client for whom I'm developing a product. He writes: A big player in the docketing business sells a program that uses Centura for its front end, and SQL Server for its back end. They say Access is not robust enough for them, Centura is. From what I can tell on the Internet, Centura is free shareware and I find it hard to believe it would be better than Access. Do you know anything about it? I think the guy is blowing smoke, but I don't really know. Have you ever heard of it? Does anyone know anything of this "Centura"? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 entire original message is not included] From ssharkins at gmail.com Fri Aug 8 09:41:24 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Fri, 8 Aug 2008 10:41:24 -0400 Subject: [AccessD] For Arthur Message-ID: <034b01c8f965$21fd9860$2f8601c7@SusanOne> Arthur, I finally found this old article. I don't know whether there's anything in it that will help you resolve your Filter By problem, but thought I'd send you a link just in case. http://msdn.microsoft.com/en-us/library/aa155472(office.10).aspx Susan H. From rockysmolin at bchacc.com Fri Aug 8 09:59:28 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Fri, 8 Aug 2008 07:59:28 -0700 Subject: [AccessD] Centura? In-Reply-To: <20080808143842.XVII2955.atlmtaow01.cingularme.com@Inbox> References: <20080808143842.XVII2955.atlmtaow01.cingularme.com@Inbox> Message-ID: <002f01c8f967$5b28b000$0301a8c0@HAL9005> For the moment, given his market, Access FE/BE will be perfectly adequate - I figure 3-20 users, small law offices. If the time comes that he's getting into bigger law firms and bigger numbers of users, from what I've read on the list here he can upgrade the BE to SQL and keep the Access FE. The FE is huge so rewriting it in another platform would be a major project. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Elam Sent: Friday, August 08, 2008 7:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Centura? Why not use a SQL based product? I supported IP Master for years, and it has a boatload of features that it would take too much time and money to recreate and maintain than would ever be worth a custom developer's time. (ie when does a Lithuanian patent need to be renewed ) There are other good products as well. -----Original Message----- From: Rocky Smolin at Beach Access Software Sent: Friday, August 08, 2008 7:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Centura? Gustav: He's a lawyer specializing in patents and trademarks. Docketing means scheduling of some kind to lawyers. When certain events or actions have to take place. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 08, 2008 1:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Centura? Hi Rocky By Centura he probably means Unify/Gupta (formerly Centura) Team Developer found here: http://www.unify.com/Products/TeamDeveloper/default.aspx I have no experience with this. However, maintenance of such application must be difficult due to the - I guess - limited count of qualified developers for this. /gustav PS: What is clocketing (crocheting?) business about? >>> rockysmolin at bchacc.com 08-08-2008 00:57 >>> Dear List: Got an inquiry from a client for whom I'm developing a product. He writes: A big player in the docketing business sells a program that uses Centura for its front end, and SQL Server for its back end. They say Access is not robust enough for them, Centura is. From what I can tell on the Internet, Centura is free shareware and I find it hard to believe it would be better than Access. Do you know anything about it? I think the guy is blowing smoke, but I don't really know. Have you ever heard of it? Does anyone know anything of this "Centura"? -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 entire original message is not included] -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From robert at webedb.com Fri Aug 8 10:07:17 2008 From: robert at webedb.com (Robert L. Stewart) Date: Fri, 08 Aug 2008 10:07:17 -0500 Subject: [AccessD] Centura In-Reply-To: References: Message-ID: <200808081508.m78F8pNs030512@databaseadvisors.com> The product was reborn as Team developer by Unify. It is not an open-source free developer tool. See below... Gupta Technologies, LLC was a software development company whose principal products were the SQL relational database SQLBase, and a Rapid application development system called Team Developer (formerly SQLWindows). The company was founded in 1984 by Umang Gupta, a former manager at Oracle Corporation. Gupta's first product was SQLBase, followed by SQLWindows, which combined SQLBase with a graphical user interface and programming language for creating business applications. SQLWindows was one of the first GUI development tools for Microsoft Windows. The name of the company was changed to Centura Software in the late 1990s.[1] Centura Software filed for Chapter 11 Bankruptcy in August 2001, and the United States Securities and Exchange Commission revoked the registration of Centura's common stock in December 2004 [2]. After the bankruptcy, some assets were kept by a reborn Gupta Technologies LLC, which was acquired by Unify Corporation in September, 2006. Admin. Proc. File No. 3-11753 In the Matter of Centura Software Corp., Respondent. ORDER INSTITUTING PROCEEDINGS, MAKING FINDINGS, AND REVOKING REGISTRATION OF SECURITIES PURSUANT TO SECTION 12(j) OF THE SECURITIES EXCHANGE ACT OF 1934 I. The Securities and Exchange Commission ("Commission") deems it necessary and appropriate for the protection of investors that proceedings be, and hereby are, instituted pursuant to Section 12(j) of the Securities Exchange Act of 1934 ("Exchange Act"), against Centura Software Corp. ("Centura" or "Respondent"). II. In anticipation of the institution of these proceedings, Respondent has submitted an Offer of Settlement (the "Offer") which the Commission has determined to accept. Solely for the purpose of these proceedings and any other proceedings brought by or on behalf of the Commission, or to which the Commission is a party and without admitting or denying the findings herein, except as to the Commission's jurisdiction over it and the subject matter of these proceedings, Respondent consents to the entry of this Order Instituting Proceedings, Making Findings, and Revoking Registration of Securities Pursuant to Section 12(j) of the Securities Exchange Act of 1934 ("Order"), as set forth below. III. On the basis of this Order and Respondent's Offer, the Commission finds that: 1. Centura (CIK No. 895021), a forfeited Delaware corporation that was based in Redwood Shores, California, is a defunct computer software company. The common stock of Centura has been registered under Exchange Act Section 12(g) since February 16, 1993. The stock is quoted on the Pink Sheets (symbol "MBNEQ"). The Respondent filed a Chapter 11 proceeding on August 21, 2001. 2. Centura has failed to comply with Exchange Act Section 13(a) and Rules 13a-1 and 13a-13 thereunder, while its common stock was registered with the Commission in that it has not filed an Annual Report on Form 10-K for any fiscal year subsequent to the fiscal year ending December 31, 2000, or quarterly reports on Form 10-Q for any fiscal period subsequent to its fiscal quarter ending March 31, 2001. IV. Section 12(j) of the Exchange Act provides as follows: The Commission is authorized, by order, as it deems necessary or appropriate for the protection of investors to deny, to suspend the effective date of, to suspend for a period not exceeding twelve months, or to revoke the registration of a security, if the Commission finds, on the record after notice and opportunity for hearing, that the issuer of such security has failed to comply with any provision of this title or the rules and regulations thereunder. No member of a national securities exchange, broker, or dealer shall make use of the mails or any means or instrumentality of interstate commerce to effect any transaction in, or to induce the purchase or sale of, any security the registration of which has been and is suspended or revoked pursuant to the preceding sentence. In view of the foregoing, the Commission finds that it is necessary and appropriate for the protection of investors to impose the sanction specified in Respondent's Offer. Accordingly, it is hereby ORDERED, pursuant to Section 12(j) of the Exchange Act, that registration of each class of Respondent's securities registered pursuant to Section 12 of the Exchange Act be, and hereby is, revoked. At 09:43 AM 8/8/2008, you wrote: >Date: Thu, 7 Aug 2008 15:57:59 -0700 >From: "Rocky Smolin at Beach Access Software" >Subject: [AccessD] Centura? >To: "'Access Developers discussion and problem solving'" > >Message-ID: <003701c8f8e1$0a37ac90$0301a8c0 at HAL9005> >Content-Type: text/plain; charset="us-ascii" > >Dear List: > >Got an inquiry from a client for whom I'm developing a product. He writes: > >A big player in the docketing business sells a program that uses Centura for >its front end, and SQL Server for its back end. They say Access is not >robust enough for them, Centura is. From what I can tell on the Internet, >Centura is free shareware and I find it hard to believe it would be better >than Access. Do you know anything about it? I think the guy is blowing >smoke, but I don't really know. Have you ever heard of it? > > > >Does anyone know anything of this "Centura"? > > > > > >MTIA > >Rocky Smolin From delam at zyterra.com Fri Aug 8 10:24:14 2008 From: delam at zyterra.com (Debbie Elam) Date: Fri, 8 Aug 2008 10:24:14 -0500 Subject: [AccessD] Centura? Message-ID: <20080808152409.VPRT7681.atlmtaow03.cingularme.com@Inbox> I am talking about a product already on the market. IP docketing is a huge development project, so going with an out of the box solution and customizing it. IP Master sends out quarterly updates that take into account new laws in IP worldwide. Without a large customer base, the research and writing the changes into the program would be prohibitively expensive. Unless he wants to be research and hire you as development on a new product to bring to market, he is headed down a road that will cost more and give him less function regardless of the platform he chooses. IP Master has a lightweight version that will run on an average desktop and upgrades well to the full enterprise level version. That is just the product I am most familiar with too. Debbie -----Original Message----- From: Rocky Smolin at Beach Access Software Sent: Friday, August 08, 2008 9:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Centura? For the moment, given his market, Access FE/BE will be perfectly adequate - I figure 3-20 users, small law offices. If the time comes that he's getting into bigger law firms and bigger numbers of users, from what I've read on the list here he can upgrade the BE to SQL and keep the Access FE. The FE is huge so rewriting it in another platform would be a major project. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Debbie Elam Sent: Friday, August 08, 2008 7:39 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Centura? Why not use a SQL based product? I supported IP Master for years, and it has a boatload of features that it would take too much time and money to recreate and maintain than would ever be worth a custom developer's time. (ie when does a Lithuanian patent need to be renewed ) There are other good products as well. -----Original Message----- From: Rocky Smolin at Beach Access Software Sent: Friday, August 08, 2008 7:26 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Centura? Gustav: He's a lawyer specializing in patents and trademarks. Docketing means scheduling of some kind to lawyers. When certain events or actions have to take place. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, August 08, 2008 1:22 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Centura? Hi Rocky By Centura he probably means Unify/Gupta (formerly Centura) Team Developer found here: http://www.unify.com/Products/TeamDeveloper/default.aspx I have no experience with this. However, maintenance of such application must be difficult due to the - I guess - limited count of qualified developers for this. [The entire original message is not included] From fuller.artful at gmail.com Fri Aug 8 10:32:00 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 8 Aug 2008 12:32:00 -0300 Subject: [AccessD] For Arthur In-Reply-To: <034b01c8f965$21fd9860$2f8601c7@SusanOne> References: <034b01c8f965$21fd9860$2f8601c7@SusanOne> Message-ID: <29f585dd0808080832p352fa81ag24255bdd01d757c4@mail.gmail.com> Thanks! On Fri, Aug 8, 2008 at 11:41 AM, Susan Harkins wrote: > Arthur, I finally found this old article. I don't know whether there's > anything in it that will help you resolve your Filter By problem, but > thought I'd send you a link just in case. > > http://msdn.microsoft.com/en-us/library/aa155472(office.10).aspx > > Susan H. > From fuller.artful at gmail.com Fri Aug 8 12:49:41 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 8 Aug 2008 14:49:41 -0300 Subject: [AccessD] OT Friday Humor Message-ID: <29f585dd0808081049o4729b3e7p2c1751fcd5524e8b@mail.gmail.com> TGIF, because I can't resist sharing this. As some of you many know, I recently moved to Bermuda, where the newspaper of record is The Royal Gazette. In today's paper were the following headlines: 1. Smoking Crack Not Good for Women with HIV. Ya think? And what of women who don't have HIV, it's ok for them to smoke crack? And what of men, with or without HIV? 2. All Adults in US will be Overweight within 40 years. All? Really? Even the anorexics and bulimics? Arthur From dwaters at usinternet.com Fri Aug 8 12:59:31 2008 From: dwaters at usinternet.com (Dan Waters) Date: Fri, 8 Aug 2008 12:59:31 -0500 Subject: [AccessD] OT Friday Humor In-Reply-To: <29f585dd0808081049o4729b3e7p2c1751fcd5524e8b@mail.gmail.com> References: <29f585dd0808081049o4729b3e7p2c1751fcd5524e8b@mail.gmail.com> Message-ID: <5865432FCDFC4AFABB6CB9BD1DB68B2F@danwaters> Arthur - I heard this morning that the report on being overweight was written 40 years ago. Could be true! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Friday, August 08, 2008 12:50 PM To: Access Developers discussion and problem solving Subject: [AccessD] OT Friday Humor TGIF, because I can't resist sharing this. As some of you many know, I recently moved to Bermuda, where the newspaper of record is The Royal Gazette. In today's paper were the following headlines: 1. Smoking Crack Not Good for Women with HIV. Ya think? And what of women who don't have HIV, it's ok for them to smoke crack? And what of men, with or without HIV? 2. All Adults in US will be Overweight within 40 years. All? Really? Even the anorexics and bulimics? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From stephen at bondsoftware.co.nz Fri Aug 8 13:30:18 2008 From: stephen at bondsoftware.co.nz (Stephen) Date: Sat, 09 Aug 2008 06:30:18 +1200 Subject: [AccessD] OT Friday Humor Message-ID: <569E08FC48047F4F848850B118195FBE01A221@server.BondSoftware.local> In a similar vein -- Front page banner headline in the Otago Daily Times (Dunedin, New Zealand), Friday 8th August, regarding the local hospital ... "New Policy - Patients Come First" And the article's breakout quote is from a senior doctor "Although it seems an idealistic thing to say, we can transform the hospital with this thinking." Will wonders never cease? Stephen Bond -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, 9 August 2008 6:01 a.m. To: Stephen Subject: [AccessD] OT Friday Humor TGIF, because I can't resist sharing this. As some of you many know, I recently moved to Bermuda, where the newspaper of record is The Royal Gazette. In today's paper were the following headlines: 1. Smoking Crack Not Good for Women with HIV. Ya think? And what of women who don't have HIV, it's ok for them to smoke crack? And what of men, with or without HIV? 2. All Adults in US will be Overweight within 40 years. All? Really? Even the anorexics and bulimics? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 8 13:57:53 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 8 Aug 2008 15:57:53 -0300 Subject: [AccessD] OT Friday Humor In-Reply-To: <569E08FC48047F4F848850B118195FBE01A221@server.BondSoftware.local> References: <569E08FC48047F4F848850B118195FBE01A221@server.BondSoftware.local> Message-ID: <29f585dd0808081157v7b66a4cfl82db8e8feb121260@mail.gmail.com> That is too rich. Arthur On Fri, Aug 8, 2008 at 3:30 PM, Stephen wrote: > In a similar vein -- > > Front page banner headline in the Otago Daily Times (Dunedin, New > Zealand), Friday 8th August, regarding the local hospital ... > "New Policy - Patients Come First" > > And the article's breakout quote is from a senior doctor "Although it > seems an idealistic thing to say, we can transform the hospital with > this thinking." > > Will wonders never cease? > > Stephen Bond > From ab-mi at post3.tele.dk Fri Aug 8 14:08:46 2008 From: ab-mi at post3.tele.dk (Asger Blond) Date: Fri, 8 Aug 2008 21:08:46 +0200 Subject: [AccessD] OT Friday Humor In-Reply-To: <29f585dd0808081049o4729b3e7p2c1751fcd5524e8b@mail.gmail.com> Message-ID: <000501c8f98a$43fff4b0$2101a8c0@AB> "All Adults in US will be overweight within 40 years". This was reported on Danish radio too this morning - the really funny thing was that the reporter continued saying "but this of course is only statistically"... Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Arthur Fuller Sendt: 8. august 2008 19:50 Til: Access Developers discussion and problem solving Emne: [AccessD] OT Friday Humor TGIF, because I can't resist sharing this. As some of you many know, I recently moved to Bermuda, where the newspaper of record is The Royal Gazette. In today's paper were the following headlines: 1. Smoking Crack Not Good for Women with HIV. Ya think? And what of women who don't have HIV, it's ok for them to smoke crack? And what of men, with or without HIV? 2. All Adults in US will be Overweight within 40 years. All? Really? Even the anorexics and bulimics? Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Fri Aug 8 14:16:38 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Fri, 8 Aug 2008 16:16:38 -0300 Subject: [AccessD] OT Friday Humor In-Reply-To: <000501c8f98a$43fff4b0$2101a8c0@AB> References: <29f585dd0808081049o4729b3e7p2c1751fcd5524e8b@mail.gmail.com> <000501c8f98a$43fff4b0$2101a8c0@AB> Message-ID: <29f585dd0808081216j2e798f25oc05f7c9081b98e81@mail.gmail.com> Interesting observation, Asger. Given a room containing two people, one of whom weighs 500 pounds and the other 150, the average weight per person would definitely tilt toward the "overweight" end. Arthur On Fri, Aug 8, 2008 at 4:08 PM, Asger Blond wrote: > "All Adults in US will be overweight within 40 years". This was reported on > Danish radio too this morning - the really funny thing was that the > reporter > continued saying "but this of course is only statistically"... > > Asger > From ab-mi at post3.tele.dk Fri Aug 8 14:46:01 2008 From: ab-mi at post3.tele.dk (Asger Blond) Date: Fri, 8 Aug 2008 21:46:01 +0200 Subject: [AccessD] OT Friday Humor In-Reply-To: <29f585dd0808081216j2e798f25oc05f7c9081b98e81@mail.gmail.com> Message-ID: <000001c8f98f$78194260$2101a8c0@AB> Yeah, and that was probably what the reporter was intending to say, but he formulated it in a way like "perhaps you belong to the lucky ones outside the majority", problem being that "all" doesn?t make room for that neither statistically nor logically. Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Arthur Fuller Sendt: 8. august 2008 21:17 Til: Access Developers discussion and problem solving Emne: Re: [AccessD] OT Friday Humor Interesting observation, Asger. Given a room containing two people, one of whom weighs 500 pounds and the other 150, the average weight per person would definitely tilt toward the "overweight" end. Arthur On Fri, Aug 8, 2008 at 4:08 PM, Asger Blond wrote: > "All Adults in US will be overweight within 40 years". This was reported on > Danish radio too this morning - the really funny thing was that the > reporter > continued saying "but this of course is only statistically"... > > Asger > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From adtp at airtelmail.in Sat Aug 9 08:51:45 2008 From: adtp at airtelmail.in (A.D.Tejpal) Date: Sat, 9 Aug 2008 19:21:45 +0530 Subject: [AccessD] Sub Report Syntax... References: <57E6E6CA42105A48B977303A2CDC2720076BF12EB6@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <00c501c8fa27$6e327c10$3c5fa27a@personald6374f> Label captions in subreport - dynamic assignment ================================= Darryl, In case of reports, time flow has to be kept in view. Open event of subreport fires later than that for the parent report. Run time assignment of label captions (or values for other controls) in a report has to be carried out in events belonging to THAT report. This implies that in case of a subreport, you have to use an event of the report serving as source object for the subreport control in question. Any attempt to do so, directly in open event of the parent report itself leads to error 2455 (Invalid reference to property - Form/Report). This is because, at the open event stage of parent report, various controls (including the subreport control) are still in a state of flux, and do not yet expose the full range of their properties. Moreover, at this juncture, even the open event of subreport itself is yet to fire (the subreport is thus not yet effectively available at this stage). Following alternatives can be considered for run time assignment of label captions in a subreport. The term subreport represents the report used as source object for the subreport control. LbBudget is the name of label on subreport's report header: 1 - Use value held by a form control: ------------------------------------- This method for assigning caption for subreport's label is simplest and straightforward. Sample code in subreport's open event is given below : ' Code in subreport's module '======================================= Private Sub Report_Open(Cancel As Integer) Me.LbBudget.Caption = _ Forms("F_Report")("TxtCaption") ' Note - TxtCaption is the name of text box ' on form F_Report, holding the desired ' caption string (Form F_Report should ' be in open state). End Sub '======================================= 2 - Pass OpenArgs value to main report: ----------------------------------------- Assign the caption string for subreport's label as per value of OpenArgs passed on to the parent report. This method too is simple and straightforward, but available only in versions later than Access 2000. Sample code in command button's click event and subreport's open event is given below : ' Code in form's module ' (CmdReport is the name of command button) '======================================= Private Sub CmdReport_Click() DoCmd.OpenReport "R_Main", _ acViewPreview, , , , "<>" DoCmd.Maximize DoCmd.RunCommand acCmdZoom100 ' Note - R_Main is the name of parent report. End Sub '======================================= ' Code in subreport's module '======================================= Private Sub Report_Open(Cancel As Integer) Me.LbBudget.Caption = Me.Parent.OpenArgs End Sub '======================================= 3 - Use a caption string generated in parent report's open event: --------------------------------- Assign the caption on subreport's label as per a string explicitly declared in parent report's open event. This method uses report level public global variable in the parent report. Normally, either of alternatives 1 or 2 mentioned earlier should suffice. Use of parent report's open event for determining subreport label's caption could be considered only if the intended string is going to depend upon code in parent report's module. Sample code in parent and subreport's modules is given below : ' Code in parent report's module '======================================= ' Declarations section Public CapString As String ----------------------------------------------------------- Private Sub Report_Open(Cancel As Integer) CapString = "<>" End Sub '======================================= ' Code in subreport's module '======================================= Private Sub Report_Open(Cancel As Integer) Me.LbBudget.Caption = Me.Parent.CapString End Sub '======================================= Important: ---------- In a parallel situation, if values to subreport's text boxes were to be assigned at run time (as compared to label captions), subreport's open event would no longer be suitable. Any attempt to do so would trigger error -2147352567 (80020009) "You can't assign a value to this object." Appropriate section event subsequent to report's open event (e.g. report header's format event) can be used for this purpose. You might like to adopt the alternative considered most convenient for your situation. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Darryl Collins To: 'Access Developers discussion and problem solving' Sent: Friday, August 08, 2008 12:00 Subject: [AccessD] Sub Report Syntax... Hi all, A dead easy one I am sure, but got a bad case of fried brain this friday afternoon. What is up with this syntax... [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget is returning "Invalide Ref to Property Form/Report", which would suggest a spelling or naming error, but I check that about 20 times already. Or do have the syntax all buggered for the subreport. I want to write the value of the string "sBudget" into a label (named budget) on the subreport. Can be that hard surely!!?? :) cheers Darryl. From Darryl.Collins at coles.com.au Sat Aug 9 19:12:47 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Sun, 10 Aug 2008 10:12:47 +1000 Subject: [AccessD] Selecting a Printer, and dealing with Paper Types In-Reply-To: Message-ID: <57E6E6CA42105A48B977303A2CDC2720076BF12EBC@WPEXCH22.retail.ad.cmltd.net.au> Hi Mark, regardless of your printer issue I would implement option 2 anyway. If you are using an Access database over a LAN (or WAN) and with multiple users you really want to split the db into FE and BE. If this is also going to fix your printer issue as well than that is great, but either way seriously consider it. cheeres Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Mark Breen Sent: Saturday, 9 August 2008 12:32 AM To: Access Developers discussion and problem solving Subject: [AccessD] Selecting a Printer, and dealing with Paper Types Hello All, Hope summer is treating you all well. In Ireland, we currently have rain, rain, and a little more rain. I have an Access 2000 / 2002 / 2003 app that prints to a big HP printer with four paper trays. In the application, I call multiple reports in a sequence, that eventually gives me a 27 page doc, printed on various paper trays. To facilitate this, I go into Page Setup, select specific Printer and then select the paper type. I then save the report and it remembers the preferred paper type for that printer. So far so good. I recently tried to give access to the mdb file from other machines on the lan, but I find that when I open the reports, it has reverted to using the default printer. I initially thought that what I needed was a network based printer, that would be common to all machines, so I installed the driver on a server, and shared it out and then changed the specific printer in Page Setup to point to the Network based printer. But when I went to another PC on the Lan, and opened the reports, they were switching again to the default printer. In summary, it looks like I have to programatically tell Access which printer to use. In my case, I only have 5-6 pc's to deal with, so I do not need a 1000 user solution to this problem. My choices are 1) tell the customer that they can only print from one machine 2) Split the db in to FE and BE and save the FE on each workstation and that should avoid the problem occuring. 3) build a programatic solution, but from reading emails in AccessD, it may not be so easy to get reliable. Any thoughts on this ? thanks Mark -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From Darryl.Collins at coles.com.au Sat Aug 9 19:18:52 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Sun, 10 Aug 2008 10:18:52 +1000 Subject: [AccessD] Sub Report Syntax... In-Reply-To: <00c501c8fa27$6e327c10$3c5fa27a@personald6374f> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076BF12EBD@WPEXCH22.retail.ad.cmltd.net.au> A big thank you to all whom responded to this, esp A.D.Tejpal who provided these insightful details. It is Sunday morning here in Oz right now (and a damn cold and wet sunday morning too). Not sure if I will look at this later today or not, but once I get this fixed I will post back for the archives. many thanks to all. warm regards darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of A.D.Tejpal Sent: Saturday, 9 August 2008 11:52 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Sub Report Syntax... Label captions in subreport - dynamic assignment ================================= Darryl, In case of reports, time flow has to be kept in view. Open event of subreport fires later than that for the parent report. Run time assignment of label captions (or values for other controls) in a report has to be carried out in events belonging to THAT report. This implies that in case of a subreport, you have to use an event of the report serving as source object for the subreport control in question. Any attempt to do so, directly in open event of the parent report itself leads to error 2455 (Invalid reference to property - Form/Report). This is because, at the open event stage of parent report, various controls (including the subreport control) are still in a state of flux, and do not yet expose the full range of their properties. Moreover, at this juncture, even the open event of subreport itself is yet to fire (the subreport is thus not yet effectively available at this stage). Following alternatives can be considered for run time assignment of label captions in a subreport. The term subreport represents the report used as source object for the subreport control. LbBudget is the name of label on subreport's report header: 1 - Use value held by a form control: ------------------------------------- This method for assigning caption for subreport's label is simplest and straightforward. Sample code in subreport's open event is given below : ' Code in subreport's module '======================================= Private Sub Report_Open(Cancel As Integer) Me.LbBudget.Caption = _ Forms("F_Report")("TxtCaption") ' Note - TxtCaption is the name of text box ' on form F_Report, holding the desired ' caption string (Form F_Report should ' be in open state). End Sub '======================================= 2 - Pass OpenArgs value to main report: ----------------------------------------- Assign the caption string for subreport's label as per value of OpenArgs passed on to the parent report. This method too is simple and straightforward, but available only in versions later than Access 2000. Sample code in command button's click event and subreport's open event is given below : ' Code in form's module ' (CmdReport is the name of command button) '======================================= Private Sub CmdReport_Click() DoCmd.OpenReport "R_Main", _ acViewPreview, , , , "<>" DoCmd.Maximize DoCmd.RunCommand acCmdZoom100 ' Note - R_Main is the name of parent report. End Sub '======================================= ' Code in subreport's module '======================================= Private Sub Report_Open(Cancel As Integer) Me.LbBudget.Caption = Me.Parent.OpenArgs End Sub '======================================= 3 - Use a caption string generated in parent report's open event: --------------------------------- Assign the caption on subreport's label as per a string explicitly declared in parent report's open event. This method uses report level public global variable in the parent report. Normally, either of alternatives 1 or 2 mentioned earlier should suffice. Use of parent report's open event for determining subreport label's caption could be considered only if the intended string is going to depend upon code in parent report's module. Sample code in parent and subreport's modules is given below : ' Code in parent report's module '======================================= ' Declarations section Public CapString As String ----------------------------------------------------------- Private Sub Report_Open(Cancel As Integer) CapString = "<>" End Sub '======================================= ' Code in subreport's module '======================================= Private Sub Report_Open(Cancel As Integer) Me.LbBudget.Caption = Me.Parent.CapString End Sub '======================================= Important: ---------- In a parallel situation, if values to subreport's text boxes were to be assigned at run time (as compared to label captions), subreport's open event would no longer be suitable. Any attempt to do so would trigger error -2147352567 (80020009) "You can't assign a value to this object." Appropriate section event subsequent to report's open event (e.g. report header's format event) can be used for this purpose. You might like to adopt the alternative considered most convenient for your situation. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: Darryl Collins To: 'Access Developers discussion and problem solving' Sent: Friday, August 08, 2008 12:00 Subject: [AccessD] Sub Report Syntax... Hi all, A dead easy one I am sure, but got a bad case of fried brain this friday afternoon. What is up with this syntax... [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget is returning "Invalide Ref to Property Form/Report", which would suggest a spelling or naming error, but I check that about 20 times already. Or do have the syntax all buggered for the subreport. I want to write the value of the string "sBudget" into a label (named budget) on the subreport. Can be that hard surely!!?? :) cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From fuller.artful at gmail.com Sat Aug 9 20:10:55 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 9 Aug 2008 22:10:55 -0300 Subject: [AccessD] Selecting a Printer, and dealing with Paper Types In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076BF12EBC@WPEXCH22.retail.ad.cmltd.net.au> References: <57E6E6CA42105A48B977303A2CDC2720076BF12EBC@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <29f585dd0808091810m30a14060va0170e6d1eb56f2c@mail.gmail.com> All the actyak uers connect via the net. Two or three of connect "dreictly" which just means that our connection is quicker from the one in Berlin. On Sat, Aug 9, 2008 at 9:12 PM, Darryl Collins wrote: > Hi Mark, > > regardless of your printer issue I would implement option 2 anyway. If you > are using an Access database over a LAN (or WAN) and with multiple users you > really want to split the db into FE and BE. If this is also going to fix > your printer issue as well than that is great, but either way seriously > consider it. > > From Gustav at cactus.dk Sun Aug 10 07:05:43 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Aug 2008 14:05:43 +0200 Subject: [AccessD] TimeSerial buggy for negative date values Message-ID: Hi all I brushed this bug up and nothing has changed for Access 2007. Also, I believe I can tell why TimeSerial has been designed this way. The reason is that you with this behaviour can sum time values directly, because it for negative inputs returns a symmetrical negative value from time zero as this example demonstrates: ? TimeSerial(-18, 20, 0) + TimeSerial(18, -20, 0) 00:00:00 But don't attempt to use DateDiff on these values: ? DateDiff("n", TimeSerial(-18, 20, 0), TimeSerial(18, -20, 0)) 1 If you need to use DateDiff - which normally is the recommended method by Microsoft - use my TimeSerialFull or similar: ? DateDiff("n", TimeSerialFull(-18, 20, 0), TimeSerialFull(18, -20, 0)) 2120 but, of course, don't attempt to add the values of TimeSerialFull directly: ? TimeSerialFull(-18, 20, 0) + TimeSerialFull(18, -20, 0) 12:40:00 To conclude, this is probably a bug by intention but the documentation doesn't describe or explain this with a single word. /gustav >>> Gustav at cactus.dk 23-04-2006 16:29 >>> Hi all Did you know that for Access up to and including version 2003 return wrong date/time values when the parameters will result in a negative value? This test shows that the returned value is a simple sequential numeric value which, however, provides faulty date values when these are negative. Put in the debug window this line and press enter to obtain the output: For i = 8 To -8 Step -1 : d = TimeSerialReal(0, 360 * i, 0) : ? CDbl(d), Format(d, "yyyymmdd hhnn") : Next 2 19000101 0000 1,75 18991231 1800 1,5 18991231 1200 1,25 18991231 0600 1 18991231 0000 0,75 18991230 1800 0,5 18991230 1200 0,25 18991230 0600 0 18991230 0000 -0,25 18991230 0600 -0,5 18991230 1200 -0,75 18991230 1800 -1 18991229 0000 -1,25 18991229 0600 -1,5 18991229 1200 -1,75 18991229 1800 -2 18991228 0000 Two major traps are exposed here. First, date values between 0 and -1 (excluding) are invalid as they are already represented by their respective absolute equivalents. The positive values are the true values which can be demonstrated this way: ? CDbl(#1899-12-30 18:00#) 0,75 The consequence is serious a this results in a gap in the sequence of one day. Second, the sequence of the decimal part of the date/time value must be reversed to adhere to the falling sequence. Thus the sequence should read: 2 19000101 0000 1,75 18991231 1800 1,5 18991231 1200 1,25 18991231 0600 1 18991231 0000 0,75 18991230 1800 0,5 18991230 1200 0,25 18991230 0600 0 18991230 0000 -1,75 18991229 1800 -1,5 18991229 1200 -1,25 18991229 0600 -1 18991229 0000 -2,75 18991228 1800 -2,5 18991228 1200 -2,25 18991228 0600 -2 18991228 0000 You may argue that you never use dates beyond 1900, but you will if you do operations on time values which may move backwards passing Midnight. I don't know if this bug has survived until Access 12/2007. Perhaps a beta tester could confirm this? A similar bug is present in DateAdd until Access 97. In Access 2000 it was corrected, which leads to a simple substitute for TimeSerial for Access 2000 an upwards: Public Function TimeSerialReal( _ ByVal intHour As Integer, _ ByVal intMinute As Integer, _ ByVal intSecond As Integer) _ As Date ' Returns correct numeric negative date values, ' which TimeSerial() does not. ' This applies to Access 2007 and below. ' Requires Access 2000 or newer. ' ' 2006-04-23. Cactus Data ApS, CPH. ' 2008-08-10. Confirmed for A2007. Dim datTime As Date datTime = _ DateAdd("h", intHour, _ DateAdd("n", intMinute, _ DateAdd("s", intSecond, #12:00:00 AM#))) TimeSerialReal = datTime End Function For Access 97 and all newer versions you can manipulate the output from TimeSerial with this function: Public Function TimeSerialFull( _ ByVal intHour As Integer, _ ByVal intMinute As Integer, _ ByVal intSecond As Integer) _ As Date Dim datTime As Date Dim dblDate As Double Dim dblTime As Double ' Returns correct numeric negative date values, ' which TimeSerial() does not. ' This applies to Access 2007 and below. ' ' 2006-04-23. Cactus Data ApS, CPH. ' 2008-08-10. Confirmed for A2007. ' ' Example sequence: ' Numeric Date Time ' 2 19000101 0000 ' 1.75 18991231 1800 ' 1.5 18991231 1200 ' 1.25 18991231 0600 ' 1 18991231 0000 ' 0.75 18991230 1800 ' 0.5 18991230 1200 ' 0.25 18991230 0600 ' 0 18991230 0000 ' -1.75 18991229 1800 ' -1.5 18991229 1200 ' -1.25 18991229 0600 ' -1 18991229 0000 ' -2.75 18991228 1800 ' -2.5 18991228 1200 ' -2.25 18991228 0600 ' -2 18991228 0000 datTime = TimeSerial(intHour, intMinute, intSecond) If datTime < 0 Then ' Get date (integer) part of datTime shifted one day ' if a time part is present as Int() rounds down. dblDate = Int(datTime) ' Retrieve and reverse time (decimal) part. dblTime = dblDate - datTime ' Assemble and convert date and time part. datTime = CVDate(dblDate + dblTime) End If TimeSerialFull = datTime End Function /gustav From accessd at shaw.ca Sun Aug 10 10:43:58 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Sun, 10 Aug 2008 08:43:58 -0700 Subject: [AccessD] TimeSerial buggy for negative date values In-Reply-To: References: Message-ID: <00CED7229CB844478A20192D49867EDD@creativesystemdesigns.com> Great tip Gustav. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 10, 2008 5:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TimeSerial buggy for negative date values Hi all I brushed this bug up and nothing has changed for Access 2007. Also, I believe I can tell why TimeSerial has been designed this way. The reason is that you with this behaviour can sum time values directly, because it for negative inputs returns a symmetrical negative value from time zero as this example demonstrates: ? TimeSerial(-18, 20, 0) + TimeSerial(18, -20, 0) 00:00:00 But don't attempt to use DateDiff on these values: ? DateDiff("n", TimeSerial(-18, 20, 0), TimeSerial(18, -20, 0)) 1 If you need to use DateDiff - which normally is the recommended method by Microsoft - use my TimeSerialFull or similar: ? DateDiff("n", TimeSerialFull(-18, 20, 0), TimeSerialFull(18, -20, 0)) 2120 but, of course, don't attempt to add the values of TimeSerialFull directly: ? TimeSerialFull(-18, 20, 0) + TimeSerialFull(18, -20, 0) 12:40:00 To conclude, this is probably a bug by intention but the documentation doesn't describe or explain this with a single word. /gustav >>> Gustav at cactus.dk 23-04-2006 16:29 >>> Hi all Did you know that for Access up to and including version 2003 return wrong date/time values when the parameters will result in a negative value? This test shows that the returned value is a simple sequential numeric value which, however, provides faulty date values when these are negative. Put in the debug window this line and press enter to obtain the output: For i = 8 To -8 Step -1 : d = TimeSerialReal(0, 360 * i, 0) : ? CDbl(d), Format(d, "yyyymmdd hhnn") : Next 2 19000101 0000 1,75 18991231 1800 1,5 18991231 1200 1,25 18991231 0600 1 18991231 0000 0,75 18991230 1800 0,5 18991230 1200 0,25 18991230 0600 0 18991230 0000 -0,25 18991230 0600 -0,5 18991230 1200 -0,75 18991230 1800 -1 18991229 0000 -1,25 18991229 0600 -1,5 18991229 1200 -1,75 18991229 1800 -2 18991228 0000 Two major traps are exposed here. First, date values between 0 and -1 (excluding) are invalid as they are already represented by their respective absolute equivalents. The positive values are the true values which can be demonstrated this way: ? CDbl(#1899-12-30 18:00#) 0,75 The consequence is serious a this results in a gap in the sequence of one day. Second, the sequence of the decimal part of the date/time value must be reversed to adhere to the falling sequence. Thus the sequence should read: 2 19000101 0000 1,75 18991231 1800 1,5 18991231 1200 1,25 18991231 0600 1 18991231 0000 0,75 18991230 1800 0,5 18991230 1200 0,25 18991230 0600 0 18991230 0000 -1,75 18991229 1800 -1,5 18991229 1200 -1,25 18991229 0600 -1 18991229 0000 -2,75 18991228 1800 -2,5 18991228 1200 -2,25 18991228 0600 -2 18991228 0000 You may argue that you never use dates beyond 1900, but you will if you do operations on time values which may move backwards passing Midnight. I don't know if this bug has survived until Access 12/2007. Perhaps a beta tester could confirm this? A similar bug is present in DateAdd until Access 97. In Access 2000 it was corrected, which leads to a simple substitute for TimeSerial for Access 2000 an upwards: Public Function TimeSerialReal( _ ByVal intHour As Integer, _ ByVal intMinute As Integer, _ ByVal intSecond As Integer) _ As Date ' Returns correct numeric negative date values, ' which TimeSerial() does not. ' This applies to Access 2007 and below. ' Requires Access 2000 or newer. ' ' 2006-04-23. Cactus Data ApS, CPH. ' 2008-08-10. Confirmed for A2007. Dim datTime As Date datTime = _ DateAdd("h", intHour, _ DateAdd("n", intMinute, _ DateAdd("s", intSecond, #12:00:00 AM#))) TimeSerialReal = datTime End Function For Access 97 and all newer versions you can manipulate the output from TimeSerial with this function: Public Function TimeSerialFull( _ ByVal intHour As Integer, _ ByVal intMinute As Integer, _ ByVal intSecond As Integer) _ As Date Dim datTime As Date Dim dblDate As Double Dim dblTime As Double ' Returns correct numeric negative date values, ' which TimeSerial() does not. ' This applies to Access 2007 and below. ' ' 2006-04-23. Cactus Data ApS, CPH. ' 2008-08-10. Confirmed for A2007. ' ' Example sequence: ' Numeric Date Time ' 2 19000101 0000 ' 1.75 18991231 1800 ' 1.5 18991231 1200 ' 1.25 18991231 0600 ' 1 18991231 0000 ' 0.75 18991230 1800 ' 0.5 18991230 1200 ' 0.25 18991230 0600 ' 0 18991230 0000 ' -1.75 18991229 1800 ' -1.5 18991229 1200 ' -1.25 18991229 0600 ' -1 18991229 0000 ' -2.75 18991228 1800 ' -2.5 18991228 1200 ' -2.25 18991228 0600 ' -2 18991228 0000 datTime = TimeSerial(intHour, intMinute, intSecond) If datTime < 0 Then ' Get date (integer) part of datTime shifted one day ' if a time part is present as Int() rounds down. dblDate = Int(datTime) ' Retrieve and reverse time (decimal) part. dblTime = dblDate - datTime ' Assemble and convert date and time part. datTime = CVDate(dblDate + dblTime) End If TimeSerialFull = datTime End Function /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Aug 10 10:54:32 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 10 Aug 2008 17:54:32 +0200 Subject: [AccessD] TimeSerial buggy for negative date values Message-ID: Hi Jim Thanks. I can add that I've searched all over for some comments to this. The only writing I ever found was this (in German): http://www.vbarchiv.net/tipps/details.php?id=1308 which deals with a lot of stuff about datetime and specifically mentions this "feature" of TimeSerial. /gustav >>> accessd at shaw.ca 10-08-2008 17:43 >>> Great tip Gustav. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 10, 2008 5:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TimeSerial buggy for negative date values Hi all I brushed this bug up and nothing has changed for Access 2007. Also, I believe I can tell why TimeSerial has been designed this way. The reason is that you with this behaviour can sum time values directly, because it for negative inputs returns a symmetrical negative value from time zero as this example demonstrates: ? TimeSerial(-18, 20, 0) + TimeSerial(18, -20, 0) 00:00:00 But don't attempt to use DateDiff on these values: ? DateDiff("n", TimeSerial(-18, 20, 0), TimeSerial(18, -20, 0)) 1 If you need to use DateDiff - which normally is the recommended method by Microsoft - use my TimeSerialFull or similar: ? DateDiff("n", TimeSerialFull(-18, 20, 0), TimeSerialFull(18, -20, 0)) 2120 but, of course, don't attempt to add the values of TimeSerialFull directly: ? TimeSerialFull(-18, 20, 0) + TimeSerialFull(18, -20, 0) 12:40:00 To conclude, this is probably a bug by intention but the documentation doesn't describe or explain this with a single word. /gustav From cfoust at infostatsystems.com Mon Aug 11 10:36:31 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 11 Aug 2008 08:36:31 -0700 Subject: [AccessD] TimeSerial buggy for negative date values In-Reply-To: References: Message-ID: I must have missed a step. Why would you want to use negative date values? HOW would you want to use negative date values?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 10, 2008 8:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TimeSerial buggy for negative date values Hi Jim Thanks. I can add that I've searched all over for some comments to this. The only writing I ever found was this (in German): http://www.vbarchiv.net/tipps/details.php?id=1308 which deals with a lot of stuff about datetime and specifically mentions this "feature" of TimeSerial. /gustav >>> accessd at shaw.ca 10-08-2008 17:43 >>> Great tip Gustav. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 10, 2008 5:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TimeSerial buggy for negative date values Hi all I brushed this bug up and nothing has changed for Access 2007. Also, I believe I can tell why TimeSerial has been designed this way. The reason is that you with this behaviour can sum time values directly, because it for negative inputs returns a symmetrical negative value from time zero as this example demonstrates: ? TimeSerial(-18, 20, 0) + TimeSerial(18, -20, 0) 00:00:00 But don't attempt to use DateDiff on these values: ? DateDiff("n", TimeSerial(-18, 20, 0), TimeSerial(18, -20, 0)) 1 If you need to use DateDiff - which normally is the recommended method by Microsoft - use my TimeSerialFull or similar: ? DateDiff("n", TimeSerialFull(-18, 20, 0), TimeSerialFull(18, -20, 0)) 2120 but, of course, don't attempt to add the values of TimeSerialFull directly: ? TimeSerialFull(-18, 20, 0) + TimeSerialFull(18, -20, 0) 12:40:00 To conclude, this is probably a bug by intention but the documentation doesn't describe or explain this with a single word. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Mon Aug 11 15:14:44 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Mon, 11 Aug 2008 22:14:44 +0200 Subject: [AccessD] TimeSerial buggy for negative date values Message-ID: Hi Charlotte If you wish a time before Midnight, say 22:00 or 10:00 PM, you could expect that entering two hours before Midnight would return that: datTime22 = TimeSerial(-2, 0, 0) but no. It returns a time part that represents 02:00 or 02:00 AM. Now, you may be able to accept that behaviour for the reason mentioned below (adding positive and negative time). But then it gets really weird ... How to enter values for 05:00:00? Yes: TimeSerial(5, 0, 0) => 05:00:00 and: TimeSerial(-5, 0, 0) => 05:00:00 So TimeSerial(5, 10, 0) would return 05:10:00? Right. And TimeSerial(-5, -10, 0) => 05:10:00? Right. Further, TimeSerial(5, -10, 0) => 04:50:00? Eh .. Right. If the total time is positive, a negative parameter is read as is. So, if total time is negative, a positive parameter is read as is? No: TimeSerial(-5, 10, 0) => 04:50:00 You can only explain this as, if the total time of the parameters is negative, signs of all parameters are reversed. So how to get that time, say 2 hours and 10 minutes before Midnight? >From A2000 and up (A97 is buggy) use DateAdd: DateAdd("h", -2, DateAdd("n", -10, DateAdd("s", 0, 0))) => 21:50:00 Or the old trick which - I believe - no one really understood why worked: Add one day or 24 hours (or more until the total time gets positive) if you can ignore the resulting shift of days. Three ways to do that: 1: TimeSerial(24 - 2, -10, 0) => 21:50:00 2: DateAdd("d", 1, TimeSerial(-2, -10, 0)) => 21:50:00 3: 1 + TimeSerial(-2, -10, 0) => 21:50:00 /gustav >>> cfoust at infostatsystems.com 11-08-2008 17:36 >>> I must have missed a step. Why would you want to use negative date values? HOW would you want to use negative date values?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 10, 2008 8:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TimeSerial buggy for negative date values Hi Jim Thanks. I can add that I've searched all over for some comments to this. The only writing I ever found was this (in German): http://www.vbarchiv.net/tipps/details.php?id=1308 which deals with a lot of stuff about datetime and specifically mentions this "feature" of TimeSerial. /gustav >>> accessd at shaw.ca 10-08-2008 17:43 >>> Great tip Gustav. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 10, 2008 5:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TimeSerial buggy for negative date values Hi all I brushed this bug up and nothing has changed for Access 2007. Also, I believe I can tell why TimeSerial has been designed this way. The reason is that you with this behaviour can sum time values directly, because it for negative inputs returns a symmetrical negative value from time zero as this example demonstrates: ? TimeSerial(-18, 20, 0) + TimeSerial(18, -20, 0) 00:00:00 But don't attempt to use DateDiff on these values: ? DateDiff("n", TimeSerial(-18, 20, 0), TimeSerial(18, -20, 0)) 1 If you need to use DateDiff - which normally is the recommended method by Microsoft - use my TimeSerialFull or similar: ? DateDiff("n", TimeSerialFull(-18, 20, 0), TimeSerialFull(18, -20, 0)) 2120 but, of course, don't attempt to add the values of TimeSerialFull directly: ? TimeSerialFull(-18, 20, 0) + TimeSerialFull(18, -20, 0) 12:40:00 To conclude, this is probably a bug by intention but the documentation doesn't describe or explain this with a single word. /gustav From cfoust at infostatsystems.com Mon Aug 11 15:26:44 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Mon, 11 Aug 2008 13:26:44 -0700 Subject: [AccessD] TimeSerial buggy for negative date values In-Reply-To: References: Message-ID: OK, I understand what you're doing now. I rarely used TimeSerial in VBA and there are better methods in .Net. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Monday, August 11, 2008 1:15 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TimeSerial buggy for negative date values Hi Charlotte If you wish a time before Midnight, say 22:00 or 10:00 PM, you could expect that entering two hours before Midnight would return that: datTime22 = TimeSerial(-2, 0, 0) but no. It returns a time part that represents 02:00 or 02:00 AM. Now, you may be able to accept that behaviour for the reason mentioned below (adding positive and negative time). But then it gets really weird ... How to enter values for 05:00:00? Yes: TimeSerial(5, 0, 0) => 05:00:00 and: TimeSerial(-5, 0, 0) => 05:00:00 So TimeSerial(5, 10, 0) would return 05:10:00? Right. And TimeSerial(-5, -10, 0) => 05:10:00? Right. Further, TimeSerial(5, -10, 0) => 04:50:00? Eh .. Right. If the total time is positive, a negative parameter is read as is. So, if total time is negative, a positive parameter is read as is? No: TimeSerial(-5, 10, 0) => 04:50:00 You can only explain this as, if the total time of the parameters is negative, signs of all parameters are reversed. So how to get that time, say 2 hours and 10 minutes before Midnight? >From A2000 and up (A97 is buggy) use DateAdd: DateAdd("h", -2, DateAdd("n", -10, DateAdd("s", 0, 0))) => 21:50:00 Or the old trick which - I believe - no one really understood why worked: Add one day or 24 hours (or more until the total time gets positive) if you can ignore the resulting shift of days. Three ways to do that: 1: TimeSerial(24 - 2, -10, 0) => 21:50:00 2: DateAdd("d", 1, TimeSerial(-2, -10, 0)) => 21:50:00 3: 1 + TimeSerial(-2, -10, 0) => 21:50:00 /gustav >>> cfoust at infostatsystems.com 11-08-2008 17:36 >>> I must have missed a step. Why would you want to use negative date values? HOW would you want to use negative date values?? Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 10, 2008 8:55 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TimeSerial buggy for negative date values Hi Jim Thanks. I can add that I've searched all over for some comments to this. The only writing I ever found was this (in German): http://www.vbarchiv.net/tipps/details.php?id=1308 which deals with a lot of stuff about datetime and specifically mentions this "feature" of TimeSerial. /gustav >>> accessd at shaw.ca 10-08-2008 17:43 >>> Great tip Gustav. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Sunday, August 10, 2008 5:06 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] TimeSerial buggy for negative date values Hi all I brushed this bug up and nothing has changed for Access 2007. Also, I believe I can tell why TimeSerial has been designed this way. The reason is that you with this behaviour can sum time values directly, because it for negative inputs returns a symmetrical negative value from time zero as this example demonstrates: ? TimeSerial(-18, 20, 0) + TimeSerial(18, -20, 0) 00:00:00 But don't attempt to use DateDiff on these values: ? DateDiff("n", TimeSerial(-18, 20, 0), TimeSerial(18, -20, 0)) 1 If you need to use DateDiff - which normally is the recommended method by Microsoft - use my TimeSerialFull or similar: ? DateDiff("n", TimeSerialFull(-18, 20, 0), TimeSerialFull(18, -20, 0)) 2120 but, of course, don't attempt to add the values of TimeSerialFull directly: ? TimeSerialFull(-18, 20, 0) + TimeSerialFull(18, -20, 0) 12:40:00 To conclude, this is probably a bug by intention but the documentation doesn't describe or explain this with a single word. /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From newsgrps at dalyn.co.nz Mon Aug 11 22:04:01 2008 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 12 Aug 2008 15:04:01 +1200 Subject: [AccessD] Export Text Without Quotes Message-ID: <20080812030400.JOBA11725.mta04.xtra.co.nz@Dalyn.dalyn.co.nz> I have an AccessXP adp which exports the records from a table into a txt file. I use the following VB command: DoCmd.TransferText acExportDelim, , "dbo.ttmpAgedDebtorDDebitExp", strFullName (strFullName is the full path of the file). The text file has quotes around the strings. Is there an easy way to create the file without the quote marks (apart from looking through the records and writing them to the file)? I don't seem to be able to create a specification as when I run the export wizard the save spec button is disabled. Regards David Emerson Dalyn Software Ltd Wellington, New Zealand From Darryl.Collins at coles.com.au Tue Aug 12 00:42:54 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Tue, 12 Aug 2008 15:42:54 +1000 Subject: [AccessD] Sub Report Syntax... In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076BF12EBD@WPEXCH22.retail.ad. cmltd.net.au> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076BF12EDA@WPEXCH22.retail.ad.cmltd.net.au> Well... Turns out that I had to use the SubReports Open event to get this to work. By doing that everything seems to work fine. '-------------------------------------- Option Compare Database Option Explicit Private Sub Report_Open(Cancel As Integer) Call WriteTLM_1 End Sub '---------------------------------------- and then run the process - which is a bit of a pain as I have 6 of these to do and I wanted to loop / case thru them in a single module, rather than having 6 code modules which are pretty much identical, but hey, go with what works... I am having to do this due to that "Cannot open any more databases" error when this report is run. This report is rather complex and was causing problems, but by writing the values into labels I get around all those pesky connection limits - and it is faster too. What I find odd is how I still refer to the Report/SubReport even though the code is being called by the Subreport open event - I would have thought a ThisReport.Something syntax would have worked in that case. ' -------------------------------------- Option Compare Database Option Explicit Sub WriteTLM_1() Dim sSQL As String Dim lFYPID As Long Dim lAPLID As Long Dim db As DAO.Database Dim rsTL As DAO.Recordset Dim rsTLClone As DAO.Recordset Dim n As Long ' Traffic Lights as Key IDs Dim iBudget As Integer Dim iSched As Integer Dim iScope As Integer Dim iGov As Integer Dim iStake As Integer Dim iTeam As Integer Dim iRisk As Integer ' Traffic Lights As Strings Dim sBudget As String Dim sSched As String Dim sScope As String Dim sGov As String Dim sStake As String Dim sTeam As String Dim sRisk As String Set db = CurrentDb ' ProgramID lAPLID = [Forms]![frm_FYP_APLID_Admin].APLID.Value ' FY and Period ID (-1 from current period) lFYPID = [Forms]![frm_FYP_APLID_Admin].txt1.Value ' Basic Counter n = 0 sSQL = "" sSQL = sSQL & "SELECT tbl_FYP_APLID.APLID, tbl_FYP_APLID.FYPID, tbl_FY_Period.FY_P, tbl_TrafficLightMatix.Budget, tbl_TrafficLightMatix.Schedule, tbl_TrafficLightMatix.Scope, tbl_TrafficLightMatix.Governance, tbl_TrafficLightMatix.Stakeholder, tbl_TrafficLightMatix.Team, tbl_TrafficLightMatix.Risk" sSQL = sSQL & " FROM (tbl_FY_Period INNER JOIN tbl_FYP_APLID ON tbl_FY_Period.FY_P_ID = tbl_FYP_APLID.FYPID) INNER JOIN tbl_TrafficLightMatix ON tbl_FYP_APLID.FYP_APLID = tbl_TrafficLightMatix.FYP_ProgID" sSQL = sSQL & " WHERE (((tbl_FYP_APLID.APLID)=" & lAPLID & ") AND ((tbl_FYP_APLID.FYPID)=" & lFYPID & "));" Set rsTL = db.OpenRecordset(sSQL) Set rsTLClone = rsTL.OpenRecordset If (rsTLClone.RecordCount) = 0 Then GoTo LastLine Else With rsTLClone .MoveLast .MoveFirst End With If (rsTLClone.RecordCount) > 0 Then Do While Not rsTLClone.EOF n = n + 1 If n > rsTLClone.RecordCount Then Exit Do End If ' Get the Traffic Light KeyID's iBudget = rsTLClone!Budget.Value iSched = rsTLClone!Schedule.Value iScope = rsTLClone!Scope.Value iGov = rsTLClone!Governance.Value iStake = rsTLClone!Stakeholder.Value iTeam = rsTLClone!Team.Value iRisk = rsTLClone!Risk.Value ' Write the String Value of the Traffic Light and Colour the Label as appropriate ' Budget If iBudget = 1 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblBudget.BackColor = 8454016 sBudget = "G" ElseIf iBudget = 2 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblBudget.BackColor = 8454143 sBudget = "Y" ElseIf iBudget = 3 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblBudget.BackColor = 8421631 sBudget = "R" Else [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblBudget.BackColor = 16777215 sBudget = "" End If ' Schedule If iSched = 1 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblSchedule.BackColor = 8454016 sSched = "G" ElseIf iSched = 2 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblSchedule.BackColor = 8454143 sSched = "Y" ElseIf iSched = 3 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblSchedule.BackColor = 8421631 sSched = "R" Else [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblSchedule.BackColor = 16777215 sSched = "" End If DoEvents ' Scope If iScope = 1 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblScope.BackColor = 8454016 sScope = "G" ElseIf iScope = 2 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblScope.BackColor = 8454143 sScope = "Y" ElseIf iScope = 3 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblScope.BackColor = 8421631 sScope = "R" Else [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblScope.BackColor = 16777215 sScope = "" End If DoEvents ' Governance If iGov = 1 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblGovernance.BackColor = 8454016 sGov = "G" ElseIf iGov = 2 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblGovernance.BackColor = 8454143 sGov = "Y" ElseIf iGov = 3 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblGovernance.BackColor = 8421631 sGov = "R" Else [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblGovernance.BackColor = 16777215 sGov = "" End If DoEvents ' Stake If iStake = 1 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblStakeholder.BackColor = 8454016 sStake = "G" ElseIf iStake = 2 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblStakeholder.BackColor = 8454143 sStake = "Y" ElseIf iStake = 3 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblStakeholder.BackColor = 8421631 sStake = "R" Else [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblStakeholder.BackColor = 16777215 sStake = "" End If DoEvents ' Team If iTeam = 1 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblTeam.BackColor = 8454016 sTeam = "G" ElseIf iTeam = 2 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblTeam.BackColor = 8454143 sTeam = "Y" ElseIf iTeam = 3 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblTeam.BackColor = 8421631 sTeam = "R" Else [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblTeam.BackColor = 16777215 sTeam = "" End If DoEvents ' Risk If iRisk = 1 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblRisk.BackColor = 8454016 sRisk = "G" ElseIf iRisk = 2 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblRisk.BackColor = 8454143 sRisk = "Y" ElseIf iRisk = 3 Then [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblRisk.BackColor = 8421631 sRisk = "R" Else [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].lblRisk.BackColor = 16777215 sRisk = "" End If DoEvents ' Write the Traffic Light Values into the Labels With [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report] .lblBudget.Caption = sBudget .lblSchedule.Caption = sSched .lblScope.Caption = sScope .lblGovernance.Caption = sGov .lblStakeholder.Caption = sStake .lblTeam.Caption = sTeam .lblRisk.Caption = sRisk End With Loop End If End If Set rsTLClone = Nothing LastLine: Set rsTL = Nothing Set rsTLClone = Nothing Set db = Nothing End Sub '---------------------------------------------------- ----- Original Message ----- From: Darryl Collins To: 'Access Developers discussion and problem solving' Sent: Friday, August 08, 2008 12:00 Subject: [AccessD] Sub Report Syntax... Hi all, A dead easy one I am sure, but got a bad case of fried brain this friday afternoon. What is up with this syntax... [Reports]![rpt_ProjectSummary].[rpt_TL1].[Report].Budget.Caption = sBudget is returning "Invalide Ref to Property Form/Report", which would suggest a spelling or naming error, but I check that about 20 times already. Or do have the syntax all buggered for the subreport. I want to write the value of the string "sBudget" into a label (named budget) on the subreport. Can be that hard surely!!?? :) cheers Darryl. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From paul.hartland at googlemail.com Tue Aug 12 01:24:43 2008 From: paul.hartland at googlemail.com (Paul Hartland) Date: Tue, 12 Aug 2008 07:24:43 +0100 Subject: [AccessD] Export Text Without Quotes In-Reply-To: <20080812030400.JOBA11725.mta04.xtra.co.nz@Dalyn.dalyn.co.nz> References: <20080812030400.JOBA11725.mta04.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <38c884770808112324y63c83f98p447370e1cac3c2c5@mail.gmail.com> David, No idea what is happening there, we are currently using Access XP. If I click on a table, the file export, select Text Files (*.txt;*.csv;*.tab;*.asc) then click Export. I can click the advanced button allows me to create & save my export specification. So not quite sure whats happening at your end, sorry that I can't be more help. Paul Hartland 2008/8/12 David Emerson > I have an AccessXP adp which exports the records from a table into a > txt file. I use the following VB command: > > DoCmd.TransferText acExportDelim, , "dbo.ttmpAgedDebtorDDebitExp", > strFullName > > (strFullName is the full path of the file). > > The text file has quotes around the strings. Is there an easy way to > create the file without the quote marks (apart from looking through > the records and writing them to the file)? I don't seem to be able > to create a specification as when I run the export wizard the save > spec button is disabled. > > Regards > > David Emerson > Dalyn Software Ltd > Wellington, New Zealand > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Paul Hartland paul.hartland at googlemail.com From newsgrps at dalyn.co.nz Tue Aug 12 01:59:18 2008 From: newsgrps at dalyn.co.nz (David Emerson) Date: Tue, 12 Aug 2008 18:59:18 +1200 Subject: [AccessD] Export Text Without Quotes In-Reply-To: <38c884770808112324y63c83f98p447370e1cac3c2c5@mail.gmail.co m> References: <20080812030400.JOBA11725.mta04.xtra.co.nz@Dalyn.dalyn.co.nz> <38c884770808112324y63c83f98p447370e1cac3c2c5@mail.gmail.com> Message-ID: <20080812065904.GUDA11725.mta04.xtra.co.nz@Dalyn.dalyn.co.nz> Hi Paul, It is because I am using an ADP and not an MDB. David At 12/08/2008, you wrote: >David, > >No idea what is happening there, we are currently using Access XP. If I >click on a table, the file export, select Text Files >(*.txt;*.csv;*.tab;*.asc) then click Export. I can click the advanced >button allows me to create & save my export specification. > >So not quite sure whats happening at your end, sorry that I can't be more >help. > >Paul Hartland > >2008/8/12 David Emerson > > > I have an AccessXP adp which exports the records from a table into a > > txt file. I use the following VB command: > > > > DoCmd.TransferText acExportDelim, , "dbo.ttmpAgedDebtorDDebitExp", > > strFullName > > > > (strFullName is the full path of the file). > > > > The text file has quotes around the strings. Is there an easy way to > > create the file without the quote marks (apart from looking through > > the records and writing them to the file)? I don't seem to be able > > to create a specification as when I run the export wizard the save > > spec button is disabled. > > > > Regards > > > > David Emerson > > Dalyn Software Ltd > > Wellington, New Zealand From mwp.reid at qub.ac.uk Tue Aug 12 03:32:57 2008 From: mwp.reid at qub.ac.uk (Martin Reid) Date: Tue, 12 Aug 2008 09:32:57 +0100 Subject: [AccessD] Merge to Word Template Message-ID: I am working mostly in SharePoint now but as a favour I created a DB for one of the offices here. I made a large error when moving files from old PC to new PC and deleted the database I was working on. I actually copied the shortcut to the DB to a USB stick instead of the actual DB! Of course I have meeting tomorrow to let the user see the database. No way to get it done again before then. Has anyone an example db which will Display a list of word templates Allow the user to select one template Export the current record to the template Allow the user to select multiple records for the template Worst comes to worst I can put them of for a bit. Martin Martin WP Reid Information Services Queen's University Riddel Hall 185 Stranmillis Road Belfast BT9 5EE Tel : 02890974465 Email : mwp.reid at qub.ac.uk From pcs.accessd at gmail.com Tue Aug 12 22:05:40 2008 From: pcs.accessd at gmail.com (Borge Hansen) Date: Wed, 13 Aug 2008 13:05:40 +1000 Subject: [AccessD] Excecuting SP in SQL db using ADO Message-ID: Hi, I haven't been following the conversations / activity here lately ... and now opening up the gmail account I've created just for the Accessd discussion group I see all the familiar names ... I have been hanging out on this discussion group for a number of years - contributed bery little - but learned a lot .... so let me just take this random moment to thank each and everyone on this list ... No on to today's puzzle: I want to return back into my VBA code the return value that I can somehow control is coming out of a SQL 2005 Stored Procedure .... The SP is non row returning: it checks if a record exists and inserts one if the record does not exist. The return value of the SP is normally 0 - I've set my own return values based on the outcome of the record checking.... Now, how can I pick up the return value in vba ?? More specific is there a built in ADO 'something' that will return the return code?? Something I can call on the line (see below for full function) cn.Execute strSP, lngRecsAffected, adExecuteNoRecords In the code below you see I am using the lngRecsAffected to signal success in executing the SP as it will always return -1 . If there is a timeout or other exception, the SP will not commit and I return to the calling code that the SP did not commit and what the SP / SQL string was ... Rather than picking up the lngRecsAffected I want to pick up the returncode from the SP. Can I do that using ADO in an immediate sense?? I've been looking at the CADOConnSQLServer class module from Total Visual SourceBook 2002 - is that the direction to go? If so does any one have a example to start from? ... sigh .... I really should be jumping to .net - don't even mention it! Regards borge Public Function fncExecuteSP(ByVal strSP As String) As String On Error GoTo EH: '!-------------------------------------------------------------------------- '!Purpose : Generic code for executing an SP or sql string in the SQL Db backend 'use for non row returning SPs and sql strings '!-------------------------------------------------------------------------- 'NOTE: The calling code is responsible for providing a fully parameterized 'pass through query or the name of an SP with all parameters set ' Set connection string ' Assuming use of static functions for setting connection parameter values ' for use throughout the application Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Dim lngRecsAffected As Long lngRecsAffected = 0 Set cn = New ADODB.Connection With cn .Provider = "Microsoft.Access.OLEDB.10.0" .Properties("Data Provider").Value = "SQLOLEDB" .Properties("Data Source").Value = CurrentSQLOLEDB_DataSource 'Current... etc are static functions .Properties("User ID").Value = CurrentODBC_UID .Properties("Password").Value = CurrentODBC_PWD .Properties("Initial Catalog").Value = CurrentSQLOLEDB_InitialCatalog .Open End With On Error GoTo ETransaction cn.BeginTrans cn.Execute strSP, lngRecsAffected, adExecuteNoRecords cn.CommitTrans fncExecuteSP = lngRecsAffected EDone: On Error Resume Next rs.Close cn.Close Set rs = Nothing Set cn = Nothing EX: DoCmd.SetWarnings True Exit Function ETransaction: cn.RollbackTrans fncExecuteSP = "RMDS: Stored Procedure transaction was rolled back! Attempted to execute:[" & strSP & "]" & vbCrLf Resume EDone EH: fncExecuteSP = "RMDS: " & fncExecuteSP & " Error in fncExecuteSP " & ": " & Err.Number & " " & Err.Description & vbCrLf & "Error occurred while trying to execute: [" & strSP & "]." & vbCrLf Resume EDone End Function From wdhindman at dejpolsystems.com Wed Aug 13 01:10:57 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 13 Aug 2008 02:10:57 -0400 Subject: [AccessD] Access Front-End via Web Enabled References: <045AEF0244B8420E943E27EC6A23D218@creativesystemdesigns.com> Message-ID: ...Asp was MS' first attempt at a web development language ...basically vb.script with a web interface ...I did my first web site in years using it because its a subset of vba, but it had(has) many limitations ...Asp.Net is the next generation MS web development platform but it has absolutely nothing in common with Asp except for the three letters ...its built on the MS dot.net platform and has an exhaustive suite of resources already built in ...using Visual Studio Web Developer 8 with Asp.net 3.5, it is a developer's dream ...the learning curve was not nearly as steep as I had feared and you can do far more with far less code because the underlying dot.net framework has so much built into it that you can just reference and go ...and with the free and very capable Express versions of VS8 and SqlServer, you can afford to invest the time and effort to learn the tools before actually ever having to buy anything. ...as I've said here before, all my new development work is being done in Visual Studio 8 because there is so much more you can do than in Access and, once past the learning curve, I think its at least as rad as Access ...Visual Studio is one of those rarest of software products that MS actually got right ...imnsho of course. William -------------------------------------------------- From: "Jim Lawrence" Sent: Sunday, August 19, 2007 12:00 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Access Front-End via Web Enabled > Hi Rocky: > > Undoubtedly, late for this thread but they are both languages for building > web based applications. > > ASP was created by Microsoft and has much of the syntax of VBA so it is > very > easy to learn for all us access users... ASP.Net is ASP's next generation > and is much more powerful application with an extensive. > > PHP is an open-source web application development tool. It is extensive in > its features (it reminds me of old FoxPro with 5 to 10 ways to do > anything) > and is now the most used web application development tool out there. It > runs > happily on both Windows and Linux servers/stations > > PHP is also not difficult to learn but to really master can take a long > time. There is a huge supply of template applications for PHP out there. > Microsoft has provided an excellent development interface and there are a > host of sample applications which can be used as templates for your own > designs. > > To develop in either of these applications you have to have IIS or Apache > (I > do not know whether Apache and ASP.net play together) running on your > development station/server. It is then easy to install ASP.Net on that > station/server but if you have not installed PHP before you are really > going > to have to read that installation guide. I have both running off my > development server and have applications that use pages created with both. > > I like working with ASP.Net as it is accompanied with an excellent Visual > Application Development tool and is almost as user friendly as Access. But > like Access to really use it you have to be willing to get down and dirty. > > I could prattle on for a while but I believe the covers the high-lights. > > HTH > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, August 16, 2007 8:52 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Front-End via Web Enabled > > At the risk of running afoul of a moderator: what's the difference > between > ASP and PHP in terms of when you would use each? (I'm thinking I should > learn one of these.) > > TIA > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, August 16, 2007 7:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access Front-End via Web Enabled > > You won't like the answer: ASP.Net > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie > Reardon-Taylor > Sent: Thursday, August 16, 2007 7:20 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Front-End via Web Enabled > > Looking for some opinions on what people are using for a web-enabled > access > database. I have used replication for some applications, but would now > like > to move the front-end to a browser so that the input can be done via a web > page over a wireless connection. > > Have toyed with data access pages, but not sure if that is a good > solution. > > This application has three subform levels and the scripting may be an > issue > in DAP. > > Did I read a posting on AccessD at some point that DAP are going to be out > in the next version of Access? > > What are other people using as forms via the www? > > > > Julie Reardon > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > www.pro-soft.net > NYS IT Services Contract CMT026A > NYS Certified Woman-Owned Business > > _________________________________________________________________ > Learn.Laugh.Share. Reallivemoms is right place! > http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 > 4:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Aug 13 03:17:08 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 13 Aug 2008 01:17:08 -0700 Subject: [AccessD] Excecuting SP in SQL db using ADO In-Reply-To: References: Message-ID: <507C8CEE62F04A7E9A9030F8F01710BE@creativesystemdesigns.com> Hi Borge: Here is a simple piece of code I use to return a single value through ADO. In the case below I have executed a Stored Procedure named 'RECompanyExists', passed an integer variable 'lngCompanyCode' to the SP variable "@intCompanyCode" and identified a SP integer variable "@intRecords" from which to retrieve the results, through the ADO command object, 'objCmd' array and passed them back to the function's 'CheckDelete' caller. If you were passing a number of variables back you would need one parameter for each command object array position. Example: .Parameters.Append .CreateParameter("@intRecord1", adInteger, adParamOutput) .Parameters.Append .CreateParameter("@intRecord2", adInteger, adParamOutput) .Parameters.Append .CreateParameter("@intRecord3", adInteger, adParamOutput) ...and retreive like: intValue1 = objCmd(1) intValue2 = objCmd(2) intValue3 = objCmd(3) '----------------------------------------------------------- Public Function CheckDelete(lngCompanyCode As Long) As Integer On Error GoTo Err_CheckDelete CheckDelete = 0 Dim objCmd As New ADODB.Command With objCmd .ActiveConnection = gstrConnection .CommandText = "RECompanyExists" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter("@intCompanyCode", adInteger, adParamInput, , lngCompanyCode) .Parameters.Append .CreateParameter("@intRecords", adInteger, adParamOutput) .Execute End With ' Retreive the value here through the command object array. CheckDelete = objCmd(1) Exit_CheckDelete: On Error Resume Next Set objCmd = Nothing Exit Function Err_CheckDelete: ShowErrMsg ("DataConnection Module: CheckDelete Function") Resume Exit_CheckDelete End Function '---------------------------------------------------------- Here is what the SP looks like: //---------------------------------------------------------- CREATE PROC dbo.RECompanyExists @intCompanyCode INT, @intRecords INT OUTPUT AS select @intRecords = 0 select @intRecords = (select count(*) from EmployeeWorkInformation where EmployeeWorkInformation.MgmtComp_ID = @intCompanyCode) select @intRecords = @intRecords + (select count(*) from Cards where Cards.MgmtComp_ID = @intCompanyCode) GO //------------------------------------------------------------ HTH Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Tuesday, August 12, 2008 8:06 PM To: Access Developers discussion and problem solving Subject: [AccessD] Excecuting SP in SQL db using ADO Hi, I haven't been following the conversations / activity here lately ... and now opening up the gmail account I've created just for the Accessd discussion group I see all the familiar names ... I have been hanging out on this discussion group for a number of years - contributed bery little - but learned a lot .... so let me just take this random moment to thank each and everyone on this list ... No on to today's puzzle: I want to return back into my VBA code the return value that I can somehow control is coming out of a SQL 2005 Stored Procedure .... The SP is non row returning: it checks if a record exists and inserts one if the record does not exist. The return value of the SP is normally 0 - I've set my own return values based on the outcome of the record checking.... Now, how can I pick up the return value in vba ?? More specific is there a built in ADO 'something' that will return the return code?? Something I can call on the line (see below for full function) cn.Execute strSP, lngRecsAffected, adExecuteNoRecords In the code below you see I am using the lngRecsAffected to signal success in executing the SP as it will always return -1 . If there is a timeout or other exception, the SP will not commit and I return to the calling code that the SP did not commit and what the SP / SQL string was ... Rather than picking up the lngRecsAffected I want to pick up the returncode from the SP. Can I do that using ADO in an immediate sense?? I've been looking at the CADOConnSQLServer class module from Total Visual SourceBook 2002 - is that the direction to go? If so does any one have a example to start from? ... sigh .... I really should be jumping to .net - don't even mention it! Regards borge Public Function fncExecuteSP(ByVal strSP As String) As String On Error GoTo EH: '!-------------------------------------------------------------------------- '!Purpose : Generic code for executing an SP or sql string in the SQL Db backend 'use for non row returning SPs and sql strings '!-------------------------------------------------------------------------- 'NOTE: The calling code is responsible for providing a fully parameterized 'pass through query or the name of an SP with all parameters set ' Set connection string ' Assuming use of static functions for setting connection parameter values ' for use throughout the application Dim cn As ADODB.Connection Dim rs As ADODB.Recordset Dim lngRecsAffected As Long lngRecsAffected = 0 Set cn = New ADODB.Connection With cn .Provider = "Microsoft.Access.OLEDB.10.0" .Properties("Data Provider").Value = "SQLOLEDB" .Properties("Data Source").Value = CurrentSQLOLEDB_DataSource 'Current... etc are static functions .Properties("User ID").Value = CurrentODBC_UID .Properties("Password").Value = CurrentODBC_PWD .Properties("Initial Catalog").Value = CurrentSQLOLEDB_InitialCatalog .Open End With On Error GoTo ETransaction cn.BeginTrans cn.Execute strSP, lngRecsAffected, adExecuteNoRecords cn.CommitTrans fncExecuteSP = lngRecsAffected EDone: On Error Resume Next rs.Close cn.Close Set rs = Nothing Set cn = Nothing EX: DoCmd.SetWarnings True Exit Function ETransaction: cn.RollbackTrans fncExecuteSP = "RMDS: Stored Procedure transaction was rolled back! Attempted to execute:[" & strSP & "]" & vbCrLf Resume EDone EH: fncExecuteSP = "RMDS: " & fncExecuteSP & " Error in fncExecuteSP " & ": " & Err.Number & " " & Err.Description & vbCrLf & "Error occurred while trying to execute: [" & strSP & "]." & vbCrLf Resume EDone End Function -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From accessd at shaw.ca Wed Aug 13 03:50:11 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Wed, 13 Aug 2008 01:50:11 -0700 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: <045AEF0244B8420E943E27EC6A23D218@creativesystemdesigns.com> Message-ID: Hi William: One curious question comes to mind. How come the answer/question is showing up almost a year after it was originally sent???? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, August 12, 2008 11:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled ...Asp was MS' first attempt at a web development language ...basically vb.script with a web interface ...I did my first web site in years using it because its a subset of vba, but it had(has) many limitations ...Asp.Net is the next generation MS web development platform but it has absolutely nothing in common with Asp except for the three letters ...its built on the MS dot.net platform and has an exhaustive suite of resources already built in ...using Visual Studio Web Developer 8 with Asp.net 3.5, it is a developer's dream ...the learning curve was not nearly as steep as I had feared and you can do far more with far less code because the underlying dot.net framework has so much built into it that you can just reference and go ...and with the free and very capable Express versions of VS8 and SqlServer, you can afford to invest the time and effort to learn the tools before actually ever having to buy anything. ...as I've said here before, all my new development work is being done in Visual Studio 8 because there is so much more you can do than in Access and, once past the learning curve, I think its at least as rad as Access ...Visual Studio is one of those rarest of software products that MS actually got right ...imnsho of course. William -------------------------------------------------- From: "Jim Lawrence" Sent: Sunday, August 19, 2007 12:00 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Access Front-End via Web Enabled > Hi Rocky: > > Undoubtedly, late for this thread but they are both languages for building > web based applications. > > ASP was created by Microsoft and has much of the syntax of VBA so it is > very > easy to learn for all us access users... ASP.Net is ASP's next generation > and is much more powerful application with an extensive. > > PHP is an open-source web application development tool. It is extensive in > its features (it reminds me of old FoxPro with 5 to 10 ways to do > anything) > and is now the most used web application development tool out there. It > runs > happily on both Windows and Linux servers/stations > > PHP is also not difficult to learn but to really master can take a long > time. There is a huge supply of template applications for PHP out there. > Microsoft has provided an excellent development interface and there are a > host of sample applications which can be used as templates for your own > designs. > > To develop in either of these applications you have to have IIS or Apache > (I > do not know whether Apache and ASP.net play together) running on your > development station/server. It is then easy to install ASP.Net on that > station/server but if you have not installed PHP before you are really > going > to have to read that installation guide. I have both running off my > development server and have applications that use pages created with both. > > I like working with ASP.Net as it is accompanied with an excellent Visual > Application Development tool and is almost as user friendly as Access. But > like Access to really use it you have to be willing to get down and dirty. > > I could prattle on for a while but I believe the covers the high-lights. > > HTH > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, August 16, 2007 8:52 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Front-End via Web Enabled > > At the risk of running afoul of a moderator: what's the difference > between > ASP and PHP in terms of when you would use each? (I'm thinking I should > learn one of these.) > > TIA > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, August 16, 2007 7:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access Front-End via Web Enabled > > You won't like the answer: ASP.Net > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie > Reardon-Taylor > Sent: Thursday, August 16, 2007 7:20 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Front-End via Web Enabled > > Looking for some opinions on what people are using for a web-enabled > access > database. I have used replication for some applications, but would now > like > to move the front-end to a browser so that the input can be done via a web > page over a wireless connection. > > Have toyed with data access pages, but not sure if that is a good > solution. > > This application has three subform levels and the scripting may be an > issue > in DAP. > > Did I read a posting on AccessD at some point that DAP are going to be out > in the next version of Access? > > What are other people using as forms via the www? > > > > Julie Reardon > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > www.pro-soft.net > NYS IT Services Contract CMT026A > NYS Certified Woman-Owned Business > > _________________________________________________________________ > Learn.Laugh.Share. Reallivemoms is right place! > http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 > 4:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From garykjos at gmail.com Wed Aug 13 08:39:55 2008 From: garykjos at gmail.com (Gary Kjos) Date: Wed, 13 Aug 2008 08:39:55 -0500 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: <045AEF0244B8420E943E27EC6A23D218@creativesystemdesigns.com> Message-ID: He's just catching up with the e-mail backlog? All tht OT mail gets in the way. GK On 8/13/08, Jim Lawrence wrote: > Hi William: > > One curious question comes to mind. How come the answer/question is showing > up almost a year after it was originally sent???? > > Jim -- Gary Kjos garykjos at gmail.com From Chester_Kaup at kindermorgan.com Wed Aug 13 10:58:16 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Aug 2008 10:58:16 -0500 Subject: [AccessD] Wildcard Query Problem Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C05AA220E@houex1.kindermorgan.com> I have a query that should not return some records based on the wildcard part of the query for the field COMMENT. Wildcard part of the query is as follows ((SACROC_HeaderDetails.Comment) Not Like "WAS*" Or (SACROC_HeaderDetails.Comment) Not Like "*WAS")) The query however return records with a comments such as "WAS REQUIREMENT" or " WAS REQUIREMENT" Below is the SQL of the whole query. SELECT DISTINCT SACROC_HeaderDetails.METER, Max(SACROC_HeaderDetails.Sample_Date) AS MaxOfSample_Date, dbo_DSS_LastStatus.Status, SACROC_HeaderDetails.Comment FROM SACROC_HeaderDetails INNER JOIN dbo_DSS_LastStatus ON SACROC_HeaderDetails.METER = dbo_DSS_LastStatus.Completion_name GROUP BY SACROC_HeaderDetails.METER, dbo_DSS_LastStatus.Status, SACROC_HeaderDetails.Comment HAVING (((SACROC_HeaderDetails.METER) Like "*-*") AND ((Max(SACROC_HeaderDetails.Sample_Date)) References: <0B2BF8524B73A248A2F1B81BA751ED3C05AA220E@houex1.kindermorgan.com> Message-ID: NOT and OR dont really work well together. You need to use AND instead of OR there. GK On 8/13/08, Kaup, Chester wrote: > I have a query that should not return some records based on the wildcard part of the query for the field COMMENT. Wildcard part of the query is as follows > ((SACROC_HeaderDetails.Comment) Not Like "WAS*" Or (SACROC_HeaderDetails.Comment) Not Like "*WAS")) > > The query however return records with a comments such as "WAS REQUIREMENT" or " WAS REQUIREMENT" > > Below is the SQL of the whole query. > > SELECT DISTINCT SACROC_HeaderDetails.METER, Max(SACROC_HeaderDetails.Sample_Date) AS MaxOfSample_Date, dbo_DSS_LastStatus.Status, SACROC_HeaderDetails.Comment > FROM SACROC_HeaderDetails INNER JOIN dbo_DSS_LastStatus ON SACROC_HeaderDetails.METER = dbo_DSS_LastStatus.Completion_name > GROUP BY SACROC_HeaderDetails.METER, dbo_DSS_LastStatus.Status, SACROC_HeaderDetails.Comment > HAVING (((SACROC_HeaderDetails.METER) Like "*-*") AND ((Max(SACROC_HeaderDetails.Sample_Date)) ORDER BY SACROC_HeaderDetails.METER; > > Thanks. > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com From Chester_Kaup at kindermorgan.com Wed Aug 13 11:31:01 2008 From: Chester_Kaup at kindermorgan.com (Kaup, Chester) Date: Wed, 13 Aug 2008 11:31:01 -0500 Subject: [AccessD] Wildcard Query Problem In-Reply-To: References: <0B2BF8524B73A248A2F1B81BA751ED3C05AA220E@houex1.kindermorgan.com> Message-ID: <0B2BF8524B73A248A2F1B81BA751ED3C05AA222F@houex1.kindermorgan.com> Thanks. That got it. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gary Kjos Sent: Wednesday, August 13, 2008 11:16 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Wildcard Query Problem NOT and OR dont really work well together. You need to use AND instead of OR there. GK On 8/13/08, Kaup, Chester wrote: > I have a query that should not return some records based on the wildcard part of the query for the field COMMENT. Wildcard part of the query is as follows > ((SACROC_HeaderDetails.Comment) Not Like "WAS*" Or (SACROC_HeaderDetails.Comment) Not Like "*WAS")) > > The query however return records with a comments such as "WAS REQUIREMENT" or " WAS REQUIREMENT" > > Below is the SQL of the whole query. > > SELECT DISTINCT SACROC_HeaderDetails.METER, Max(SACROC_HeaderDetails.Sample_Date) AS MaxOfSample_Date, dbo_DSS_LastStatus.Status, SACROC_HeaderDetails.Comment > FROM SACROC_HeaderDetails INNER JOIN dbo_DSS_LastStatus ON SACROC_HeaderDetails.METER = dbo_DSS_LastStatus.Completion_name > GROUP BY SACROC_HeaderDetails.METER, dbo_DSS_LastStatus.Status, SACROC_HeaderDetails.Comment > HAVING (((SACROC_HeaderDetails.METER) Like "*-*") AND ((Max(SACROC_HeaderDetails.Sample_Date)) ORDER BY SACROC_HeaderDetails.METER; > > Thanks. > > > Chester Kaup > > Engineering Technician > > Kinder Morgan CO2 Company, LLP > > Office (432) 688-3797 > > FAX (432) 688-3799 > > > > > > No trees were killed in the sending of this message. However a large number of electrons were terribly inconvenienced. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- Gary Kjos garykjos at gmail.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Mark.Porter at nana.com Wed Aug 13 15:35:58 2008 From: Mark.Porter at nana.com (Mark Porter) Date: Wed, 13 Aug 2008 12:35:58 -0800 Subject: [AccessD] Access Front-End via Web Enabled In-Reply-To: References: <045AEF0244B8420E943E27EC6A23D218@creativesystemdesigns.com> Message-ID: If this is still an active question in some minds; I've recently been investigating Oracle Application Express and find it to be an extremely easy yet useful RAD tool for web based application development. It's included in Oracle's free desktop database and definitely worth checking out, even if you are just tinkering around. It's an easy pick for me because I'm in an Oracle environment and have zero .NET experience. Maybe not for everyone else. Mark Porter Sr. Technologist Nana Development Corp. Desk: 907-265-4156 Fax: 907-343-5656 -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jim Lawrence Sent: Wednesday, August 13, 2008 12:50 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Access Front-End via Web Enabled Hi William: One curious question comes to mind. How come the answer/question is showing up almost a year after it was originally sent???? Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman Sent: Tuesday, August 12, 2008 11:11 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access Front-End via Web Enabled ...Asp was MS' first attempt at a web development language ...basically vb.script with a web interface ...I did my first web site in years using it because its a subset of vba, but it had(has) many limitations ...Asp.Net is the next generation MS web development platform but it has absolutely nothing in common with Asp except for the three letters ...its built on the MS dot.net platform and has an exhaustive suite of resources already built in ...using Visual Studio Web Developer 8 with Asp.net 3.5, it is a developer's dream ...the learning curve was not nearly as steep as I had feared and you can do far more with far less code because the underlying dot.net framework has so much built into it that you can just reference and go ...and with the free and very capable Express versions of VS8 and SqlServer, you can afford to invest the time and effort to learn the tools before actually ever having to buy anything. ...as I've said here before, all my new development work is being done in Visual Studio 8 because there is so much more you can do than in Access and, once past the learning curve, I think its at least as rad as Access ...Visual Studio is one of those rarest of software products that MS actually got right ...imnsho of course. William -------------------------------------------------- From: "Jim Lawrence" Sent: Sunday, August 19, 2007 12:00 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Access Front-End via Web Enabled > Hi Rocky: > > Undoubtedly, late for this thread but they are both languages for building > web based applications. > > ASP was created by Microsoft and has much of the syntax of VBA so it is > very > easy to learn for all us access users... ASP.Net is ASP's next generation > and is much more powerful application with an extensive. > > PHP is an open-source web application development tool. It is extensive in > its features (it reminds me of old FoxPro with 5 to 10 ways to do > anything) > and is now the most used web application development tool out there. It > runs > happily on both Windows and Linux servers/stations > > PHP is also not difficult to learn but to really master can take a long > time. There is a huge supply of template applications for PHP out there. > Microsoft has provided an excellent development interface and there are a > host of sample applications which can be used as templates for your own > designs. > > To develop in either of these applications you have to have IIS or Apache > (I > do not know whether Apache and ASP.net play together) running on your > development station/server. It is then easy to install ASP.Net on that > station/server but if you have not installed PHP before you are really > going > to have to read that installation guide. I have both running off my > development server and have applications that use pages created with both. > > I like working with ASP.Net as it is accompanied with an excellent Visual > Application Development tool and is almost as user friendly as Access. But > like Access to really use it you have to be willing to get down and dirty. > > I could prattle on for a while but I believe the covers the high-lights. > > HTH > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Thursday, August 16, 2007 8:52 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Access Front-End via Web Enabled > > At the risk of running afoul of a moderator: what's the difference > between > ASP and PHP in terms of when you would use each? (I'm thinking I should > learn one of these.) > > TIA > > Rocky > > > > > > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte Foust > Sent: Thursday, August 16, 2007 7:57 AM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access Front-End via Web Enabled > > You won't like the answer: ASP.Net > > Charlotte Foust > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie > Reardon-Taylor > Sent: Thursday, August 16, 2007 7:20 AM > To: accessd at databaseadvisors.com > Subject: [AccessD] Access Front-End via Web Enabled > > Looking for some opinions on what people are using for a web-enabled > access > database. I have used replication for some applications, but would now > like > to move the front-end to a browser so that the input can be done via a web > page over a wireless connection. > > Have toyed with data access pages, but not sure if that is a good > solution. > > This application has three subform levels and the scripting may be an > issue > in DAP. > > Did I read a posting on AccessD at some point that DAP are going to be out > in the next version of Access? > > What are other people using as forms via the www? > > > > Julie Reardon > PRO-SOFT OF NY, INC. > 44 Public Square Suite #5 > Watertown, NY 13601 > Phone: 315.785.0319 > Fax: 315.785.0323 > www.pro-soft.net > NYS IT Services Contract CMT026A > NYS Certified Woman-Owned Business > > _________________________________________________________________ > Learn.Laugh.Share. Reallivemoms is right place! > http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/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.5.476 / Virus Database: 269.11.19/955 - Release Date: 8/15/2007 > 4:55 PM > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Wed Aug 13 22:10:34 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Wed, 13 Aug 2008 23:10:34 -0400 Subject: [AccessD] Access Front-End via Web Enabled References: <045AEF0244B8420E943E27EC6A23D218@creativesystemdesigns.com> Message-ID: <2CCA48A76C5B4005B937EA2A3D3BDED0@jislaptopdev> ...lol ...good question ...Live Mail is giving me fits and I wound up sorting incorrectly :) William "This war is lost, and this surge is not accomplishing anything." Senate Majority Leader Harry Reid, April 19, 2007 -------------------------------------------------- From: "Jim Lawrence" Sent: Wednesday, August 13, 2008 4:50 AM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Access Front-End via Web Enabled > Hi William: > > One curious question comes to mind. How come the answer/question is > showing > up almost a year after it was originally sent???? > > Jim > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman > Sent: Tuesday, August 12, 2008 11:11 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] Access Front-End via Web Enabled > > ...Asp was MS' first attempt at a web development language ...basically > vb.script with a web interface ...I did my first web site in years using > it > because its a subset of vba, but it had(has) many limitations ...Asp.Net > is > the next generation MS web development platform but it has absolutely > nothing in common with Asp except for the three letters ...its built on > the > MS dot.net platform and has an exhaustive suite of resources already built > in ...using Visual Studio Web Developer 8 with Asp.net 3.5, it is a > developer's dream ...the learning curve was not nearly as steep as I had > feared and you can do far more with far less code because the underlying > dot.net framework has so much built into it that you can just reference > and > go ...and with the free and very capable Express versions of VS8 and > SqlServer, you can afford to invest the time and effort to learn the tools > before actually ever having to buy anything. > > ...as I've said here before, all my new development work is being done in > Visual Studio 8 because there is so much more you can do than in Access > and, > > once past the learning curve, I think its at least as rad as Access > ...Visual Studio is one of those rarest of software products that MS > actually got right ...imnsho of course. > > William > > -------------------------------------------------- > From: "Jim Lawrence" > Sent: Sunday, August 19, 2007 12:00 PM > To: "'Access Developers discussion and problem solving'" > > Subject: Re: [AccessD] Access Front-End via Web Enabled > >> Hi Rocky: >> >> Undoubtedly, late for this thread but they are both languages for >> building >> web based applications. >> >> ASP was created by Microsoft and has much of the syntax of VBA so it is >> very >> easy to learn for all us access users... ASP.Net is ASP's next generation >> and is much more powerful application with an extensive. >> >> PHP is an open-source web application development tool. It is extensive >> in >> its features (it reminds me of old FoxPro with 5 to 10 ways to do >> anything) >> and is now the most used web application development tool out there. It >> runs >> happily on both Windows and Linux servers/stations >> >> PHP is also not difficult to learn but to really master can take a long >> time. There is a huge supply of template applications for PHP out there. >> Microsoft has provided an excellent development interface and there are a >> host of sample applications which can be used as templates for your own >> designs. >> >> To develop in either of these applications you have to have IIS or Apache >> (I >> do not know whether Apache and ASP.net play together) running on your >> development station/server. It is then easy to install ASP.Net on that >> station/server but if you have not installed PHP before you are really >> going >> to have to read that installation guide. I have both running off my >> development server and have applications that use pages created with >> both. >> >> I like working with ASP.Net as it is accompanied with an excellent Visual >> Application Development tool and is almost as user friendly as Access. >> But >> like Access to really use it you have to be willing to get down and >> dirty. >> >> I could prattle on for a while but I believe the covers the high-lights. >> >> HTH >> Jim >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin >> at >> Beach Access Software >> Sent: Thursday, August 16, 2007 8:52 AM >> To: 'Access Developers discussion and problem solving' >> Subject: Re: [AccessD] Access Front-End via Web Enabled >> >> At the risk of running afoul of a moderator: what's the difference >> between >> ASP and PHP in terms of when you would use each? (I'm thinking I should >> learn one of these.) >> >> TIA >> >> Rocky >> >> >> >> >> >> >> >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Charlotte >> Foust >> Sent: Thursday, August 16, 2007 7:57 AM >> To: Access Developers discussion and problem solving >> Subject: Re: [AccessD] Access Front-End via Web Enabled >> >> You won't like the answer: ASP.Net >> >> Charlotte Foust >> >> -----Original Message----- >> From: accessd-bounces at databaseadvisors.com >> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Julie >> Reardon-Taylor >> Sent: Thursday, August 16, 2007 7:20 AM >> To: accessd at databaseadvisors.com >> Subject: [AccessD] Access Front-End via Web Enabled >> >> Looking for some opinions on what people are using for a web-enabled >> access >> database. I have used replication for some applications, but would now >> like >> to move the front-end to a browser so that the input can be done via a >> web >> page over a wireless connection. >> >> Have toyed with data access pages, but not sure if that is a good >> solution. >> >> This application has three subform levels and the scripting may be an >> issue >> in DAP. >> >> Did I read a posting on AccessD at some point that DAP are going to be >> out >> in the next version of Access? >> >> What are other people using as forms via the www? >> >> >> >> Julie Reardon >> PRO-SOFT OF NY, INC. >> 44 Public Square Suite #5 >> Watertown, NY 13601 >> Phone: 315.785.0319 >> Fax: 315.785.0323 >> www.pro-soft.net >> NYS IT Services Contract CMT026A >> NYS Certified Woman-Owned Business >> >> _________________________________________________________________ >> Learn.Laugh.Share. Reallivemoms is right place! >> http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/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.5.476 / Virus Database: 269.11.19/955 - Release Date: >> 8/15/2007 >> 4:55 PM >> >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com >> >> -- >> AccessD mailing list >> AccessD at databaseadvisors.com >> http://databaseadvisors.com/mailman/listinfo/accessd >> Website: http://www.databaseadvisors.com > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From pcs.accessd at gmail.com Wed Aug 13 23:33:55 2008 From: pcs.accessd at gmail.com (Borge Hansen) Date: Thu, 14 Aug 2008 14:33:55 +1000 Subject: [AccessD] Excecuting SP in SQL db using ADO In-Reply-To: <507C8CEE62F04A7E9A9030F8F01710BE@creativesystemdesigns.com> References: <507C8CEE62F04A7E9A9030F8F01710BE@creativesystemdesigns.com> Message-ID: Hi Jim, Thanks for that - I will try out this approach ... regards, borge On Wed, Aug 13, 2008 at 6:17 PM, Jim Lawrence wrote: > Hi Borge: > > Here is a simple piece of code I use to return a single value through ADO. > From pedro at plex.nl Thu Aug 14 13:09:34 2008 From: pedro at plex.nl (pedro at plex.nl) Date: Thu, 14 Aug 2008 13:09:34 (MET DST) Subject: [AccessD] weekdays and numbers Message-ID: <200808141109.m7EB9Y5I014973@mailhostC.plex.net> Hello Group, i have a list of dates and i need to now how many dates are on friday or monday. The dates kan be present more then ones (notation is: dd-mm-yyyy). How can i calculate this? Thanks Pedro Janssen From Gustav at cactus.dk Thu Aug 14 06:18:40 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 14 Aug 2008 13:18:40 +0200 Subject: [AccessD] weekdays and numbers Message-ID: Hi Pedro You could filter on: Where Weekday([YourDateField], 2) In (1, 5) and count records. If you only wish to count distinct dates, you can create a Select Distinct query first and feed that to the query where you count. /gustav >>> pedro at plex.nl 14-08-2008 13:09 >>> Hello Group, i have a list of dates and i need to now how many dates are on friday or monday. The dates kan be present more then ones (notation is: dd-mm-yyyy). How can i calculate this? Thanks Pedro Janssen From Darryl.Collins at coles.com.au Thu Aug 14 20:20:00 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Fri, 15 Aug 2008 11:20:00 +1000 Subject: [AccessD] OT: Friday Humour / Humor In-Reply-To: Message-ID: <57E6E6CA42105A48B977303A2CDC2720076BF12EFF@WPEXCH22.retail.ad.cmltd.net.au> As a new parent I found this rather amusing... '---------------------------------------------------------------- The Mum Test I was out walking with my 4 year old daughter. She picked up something off the ground and started to put it in her mouth. I took the item away from her and I asked her not to do that. 'Why?' My daughter asked. 'Because it's been on the ground, you don't know where it's been, it's dirty, and probably has germs,' I replied. At this point, my daughter looked at me with total admiration and asked, "Mum, how do you know all this stuff? You are so smart." I was thinking quickly. 'All mums know this stuff. It's on the Mum Test. You have to know it, or they don't let you be a Mum...' We walked along in silence for 2 or 3 minutes, but she was evidently pondering this new information. 'OH...I get it!' she beamed, 'So if you don't pass the test you have to be the dad!' '---------------------------------------------------------------- hehehe, I make a good Dad ;) enjoy! Darryl This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From pedro at plex.nl Fri Aug 15 11:10:44 2008 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 15 Aug 2008 11:10:44 (MET DST) Subject: [AccessD] weekdays and numbers Message-ID: <200808150910.m7F9Ai73015067@mailhostC.plex.net> Hello Gustav, i used Weekday in the expression (before i asked at accessd), without the ", 2" after my fielddate, but became no result. With the ", 2" i worked fine. Why? Can i also get the month in an extra field with one expression? The result then must be: Date Month 04-05-2008 05 04-05-2008 05 11-07-2008 07 Thanks Pedro Hi Pedro You could filter on: Where Weekday([YourDateField], 2) In (1, 5) and count records. If you only wish to count distinct dates, you can create a Select Distinct query first and feed that to the query where you count. /gustav >>> pedro at plex.nl 14-08-2008 13:09 >>> Hello Group, i have a list of dates and i need to now how many dates are on friday or monday. The dates kan be present more then ones (notation is: dd-mm-yyyy). How can i calculate this? Thanks Pedro Janssen From mikedorism at verizon.net Fri Aug 15 04:18:42 2008 From: mikedorism at verizon.net (Doris Manning) Date: Fri, 15 Aug 2008 05:18:42 -0400 Subject: [AccessD] weekdays and numbers In-Reply-To: <200808150910.m7F9Ai73015067@mailhostC.plex.net> References: <200808150910.m7F9Ai73015067@mailhostC.plex.net> Message-ID: <000c01c8feb7$e96f12a0$2d01a8c0@Kermit> Month(YourDateField) Doris Manning Database Administrator Hargrove Inc. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of pedro at plex.nl Sent: Friday, August 15, 2008 7:11 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] weekdays and numbers Hello Gustav, i used Weekday in the expression (before i asked at accessd), without the ", 2" after my fielddate, but became no result. With the ", 2" i worked fine. Why? Can i also get the month in an extra field with one expression? The result then must be: Date Month 04-05-2008 05 04-05-2008 05 11-07-2008 07 Thanks Pedro Hi Pedro You could filter on: Where Weekday([YourDateField], 2) In (1, 5) and count records. If you only wish to count distinct dates, you can create a Select Distinct query first and feed that to the query where you count. /gustav >>> pedro at plex.nl 14-08-2008 13:09 >>> Hello Group, i have a list of dates and i need to now how many dates are on friday or monday. The dates kan be present more then ones (notation is: dd-mm-yyyy). How can i calculate this? Thanks Pedro Janssen -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Fri Aug 15 04:50:29 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 Aug 2008 11:50:29 +0200 Subject: [AccessD] weekdays and numbers Message-ID: Hi Pedro The "2" determines which day is read as the first day of the week. Look up the on-line help for full explanation. 2 stands for Monday which is used in most (if not all) of Europe. As Doris writes, Month is first choice to extract the month of a date. However, it returns an Integer and as you request a leading zero, you need a string, and Format would then be the choice: Format([YourDateField], "mm") /gustav >>> pedro at plex.nl 15-08-2008 11:10 >>> Hello Gustav, i used Weekday in the expression (before i asked at accessd), without the ", 2" after my fielddate, but became no result. With the ", 2" i worked fine. Why? Can i also get the month in an extra field with one expression? The result then must be: Date Month 04-05-2008 05 04-05-2008 05 11-07-2008 07 Thanks Pedro Hi Pedro You could filter on: Where Weekday([YourDateField], 2) In (1, 5) and count records. If you only wish to count distinct dates, you can create a Select Distinct query first and feed that to the query where you count. /gustav >>> pedro at plex.nl 14-08-2008 13:09 >>> Hello Group, i have a list of dates and i need to now how many dates are on friday or monday. The dates kan be present more then ones (notation is: dd-mm-yyyy). How can i calculate this? Thanks Pedro Janssen From markamatte at hotmail.com Fri Aug 15 08:41:06 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 15 Aug 2008 13:41:06 +0000 Subject: [AccessD] weekdays and numbers In-Reply-To: References: Message-ID: I'm using Access XP...and I could not find 'weekday' in help...it gave me 4 items it could be in...but I could not find it in any of them. Then I tried accessing help from a vba module...and there it was, easily accessible. Thanks, Mark A. Matte > Date: Fri, 15 Aug 2008 11:50:29 +0200 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] weekdays and numbers > > Hi Pedro > > The "2" determines which day is read as the first day of the week. Look up the on-line help for full explanation. > 2 stands for Monday which is used in most (if not all) of Europe. > > As Doris writes, Month is first choice to extract the month of a date. However, it returns an Integer and as you request a leading zero, you need a string, and Format would then be the choice: > > Format([YourDateField], "mm") > > /gustav > >>>> pedro at plex.nl 15-08-2008 11:10>>> > Hello Gustav, > > i used Weekday in the expression (before i asked at accessd), without the ", 2" after my fielddate, but became no result. With the ", 2" i worked fine. Why? > > Can i also get the month in an extra field with one expression? > The result then must be: > > Date Month > 04-05-2008 05 > 04-05-2008 05 > 11-07-2008 07 > > > Thanks > > Pedro > > > > > > > Hi Pedro > > You could filter on: > > Where Weekday([YourDateField], 2) In (1, 5) > > and count records. > > If you only wish to count distinct dates, you can create a Select Distinct query first and feed that to the query where you count. > > /gustav > > > >>>> pedro at plex.nl 14-08-2008 13:09>>> > Hello Group, > > i have a list of dates and i need to now how many dates are on friday or monday. > The dates kan be present more then ones (notation is: dd-mm-yyyy). > > How can i calculate this? > > Thanks > > Pedro Janssen > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Talk to your Yahoo! Friends via Windows Live Messenger. Find out how. http://www.windowslive.com/explore/messenger?ocid=TXT_TAGLM_WL_messenger_yahoo_082008 From Susan.Klos at fldoe.org Fri Aug 15 11:57:19 2008 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 15 Aug 2008 12:57:19 -0400 Subject: [AccessD] Populate an unbound form using a record from a table Message-ID: I am trying to populate some of the text boxes on an unbound form from a table using the value of another text box on the form which I have filled in. Here is my code: Private Sub AutoFill_Click() If COSCH = Null Then MsgBox "You must fill in the 'F' school 6 digit district and school number.", vbInformation, "NOTE" Exit Sub End If Me.READGN = DLookup("READGN", "mch", "COSCH =" & Me.COSCH) READGN is a numeric field and COSCH is the ID field on the table. When I run the code, I can see that Me.COSCH = the correct value for the record I want. This should be pretty straight forward but I keep getting the error "Data type mismatch in criteria expression". Any help you can give me will be greatly appreciated. Susan Klos Senior Database Analyst Florida Department of Education Evaluation and Reporting Office Phone: 850.245.0708 email: susan.klos at fldoe.org Please take a few minutes to provide feedback on the quality of service you received from our staff. The Department of Education values your feedback as a customer. Commissioner of Education Dr. Eric J. Smith is committed to continuously assessing and improving the level and quality of services provided to you.Simply use the link below. Thank you in advance for completing the survey. http://data.fldoe.org/cs/default.cfm?staff=Susan.Klos at fldoe.org|12:57:19%20Fri%2015%20Aug%202008 From pedro at plex.nl Fri Aug 15 12:00:15 2008 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 15 Aug 2008 19:00:15 +0200 Subject: [AccessD] weekdays and numbers Message-ID: <000901c8fef8$64bea7a0$400aa8c0@qmotionfaa3ad9> Hello Gustav, Doris, Mark and others, i also thought that in previous expressions i used weekday before. So i looked it up but couldn't find it in the normal help. That's why i asked at accessd. So i will take Marks tip for the vba help in mind. Also i thought that first day of the week was optional, but without it: Weekday([YourDateField]) In (1, 5) i get no result. With the ",2" it works perfect. Thanks Pedro Hi Pedro The "2" determines which day is read as the first day of the week. Look up the on-line help for full explanation. 2 stands for Monday which is used in most (if not all) of Europe. As Doris writes, Month is first choice to extract the month of a date. However, it returns an Integer and as you request a leading zero, you need a string, and Format would then be the choice: Format([YourDateField], "mm") /gustav >>> pedro at plex.nl 15-08-2008 11:10 >>> Hello Gustav, i used Weekday in the expression (before i asked at accessd), without the ", 2" after my fielddate, but became no result. With the ", 2" i worked fine. Why? Can i also get the month in an extra field with one expression? The result then must be: Date Month 04-05-2008 05 04-05-2008 05 11-07-2008 07 Thanks Pedro Hi Pedro You could filter on: Where Weekday([YourDateField], 2) In (1, 5) and count records. If you only wish to count distinct dates, you can create a Select Distinct query first and feed that to the query where you count. /gustav >>> pedro at plex.nl 14-08-2008 13:09 >>> Hello Group, i have a list of dates and i need to now how many dates are on friday or monday. The dates kan be present more then ones (notation is: dd-mm-yyyy). How can i calculate this? Thanks Pedro Janssen From accessd at shaw.ca Fri Aug 15 12:35:43 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 15 Aug 2008 10:35:43 -0700 Subject: [AccessD] Populate an unbound form using a record from a table In-Reply-To: References: Message-ID: <9F68B1111FF743FC8099243D8DCF8B30@creativesystemdesigns.com> Hi Susan: Could it be as simple as: Me.READGN.value = DLookup("READGN", "mch", "COSCH =" & trim(str(Me.COSCH.value))) Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Klos, Susan Sent: Friday, August 15, 2008 9:57 AM To: accessd at databaseadvisors.com Subject: [AccessD] Populate an unbound form using a record from a table I am trying to populate some of the text boxes on an unbound form from a table using the value of another text box on the form which I have filled in. Here is my code: Private Sub AutoFill_Click() If COSCH = Null Then MsgBox "You must fill in the 'F' school 6 digit district and school number.", vbInformation, "NOTE" Exit Sub End If Me.READGN = DLookup("READGN", "mch", "COSCH =" & Me.COSCH) READGN is a numeric field and COSCH is the ID field on the table. When I run the code, I can see that Me.COSCH = the correct value for the record I want. This should be pretty straight forward but I keep getting the error "Data type mismatch in criteria expression". Any help you can give me will be greatly appreciated. Susan Klos Senior Database Analyst Florida Department of Education Evaluation and Reporting Office Phone: 850.245.0708 email: susan.klos at fldoe.org Please take a few minutes to provide feedback on the quality of service you received from our staff. The Department of Education values your feedback as a customer. Commissioner of Education Dr. Eric J. Smith is committed to continuously assessing and improving the level and quality of services provided to you.Simply use the link below. Thank you in advance for completing the survey. http://data.fldoe.org/cs/default.cfm?staff=Susan.Klos at fldoe.org|12:57:19%20F ri%2015%20Aug%202008 -- 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 Aug 15 13:07:08 2008 From: Susan.Klos at fldoe.org (Klos, Susan) Date: Fri, 15 Aug 2008 14:07:08 -0400 Subject: [AccessD] FW: Populate an unbound form using a record from a table Message-ID: Never mind. I figured it out. Believe it or not I found the answer in Help. Susan Klos Senior Database Analyst Florida Department of Education Evaluation and Reporting Office Phone: 850.245.0708 email: susan.klos at fldoe.org Please take a few minutes to provide feedback on the quality of service you received from our staff. The Department of Education values your feedback as a customer. Commissioner of Education Dr. Eric J. Smith is committed to continuously assessing and improving the level and quality of services provided to you. Simply click on the link to the "DOE Customer Survey." Thank you in advance for completing the survey. DOE Customer Survey From Gustav at cactus.dk Fri Aug 15 14:34:09 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 15 Aug 2008 21:34:09 +0200 Subject: [AccessD] Populate an unbound form using a record from a table Message-ID: Hi Susan You can do this. Use IsNull: If IsNull(COSCH) Then /gustav >>> Susan.Klos at fldoe.org 15-08-2008 18:57 >>> I am trying to populate some of the text boxes on an unbound form from a table using the value of another text box on the form which I have filled in. Here is my code: Private Sub AutoFill_Click() If COSCH = Null Then MsgBox "You must fill in the 'F' school 6 digit district and school number.", vbInformation, "NOTE" Exit Sub End If Me.READGN = DLookup("READGN", "mch", "COSCH =" & Me.COSCH) READGN is a numeric field and COSCH is the ID field on the table. When I run the code, I can see that Me.COSCH = the correct value for the record I want. This should be pretty straight forward but I keep getting the error "Data type mismatch in criteria expression". Any help you can give me will be greatly appreciated. Susan Klos From jengross at gte.net Fri Aug 15 16:36:51 2008 From: jengross at gte.net (Jennifer Gross) Date: Fri, 15 Aug 2008 13:36:51 -0800 Subject: [AccessD] Open form Message-ID: <0K5N00C9YTGW2L36@vms173001.mailsrvcs.net> Happy Friday! I want to open form1, wait until the user finishes with form1 and closes it, then open form2. Because form1 gets opened from other places in the program I don't want to put the trigger in the form1 close event. If possible, I want to keep the logic tidy where it is pertinent in the original calling code. I seem to remember doing this before, but can't find how it is done. Any help is greatly appreciated. Jennifer From rusty.hammond at cpiqpc.com Fri Aug 15 16:10:50 2008 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Fri, 15 Aug 2008 16:10:50 -0500 Subject: [AccessD] Open form Message-ID: <49A286ABF515E94A8505CD14DEB721700187560D@CPIEMAIL-EVS1.CPIQPC.NET> DoCmd.OpenForm "form1", acNormal, , , , acDialog The acDialog tells form1 to open as a dialog box and stops the current code until form1 is closed. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Jennifer Gross Sent: Friday, August 15, 2008 4:37 PM To: AccessD List Subject: [AccessD] Open form Happy Friday! I want to open form1, wait until the user finishes with form1 and closes it, then open form2. Because form1 gets opened from other places in the program I don't want to put the trigger in the form1 close event. If possible, I want to keep the logic tidy where it is pertinent in the original calling code. I seem to remember doing this before, but can't find how it is done. Any help is greatly appreciated. Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From bheid at sc.rr.com Fri Aug 15 18:13:29 2008 From: bheid at sc.rr.com (Bobby Heid) Date: Fri, 15 Aug 2008 19:13:29 -0400 Subject: [AccessD] Open form In-Reply-To: <0K5N00C9YTGW2L36@vms173001.mailsrvcs.net> References: <0K5N00C9YTGW2L36@vms173001.mailsrvcs.net> Message-ID: <000b01c8ff2c$88620bf0$992623d0$@rr.com> Jennifer, Open it as dialog or modally from the calling code. I don't have an access system handy, but it is one of the arguments in the open command. This way, the code in the calling program will not continue until; form 1 is closed and then you can open form 2. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, August 15, 2008 5:37 PM To: AccessD List Subject: [AccessD] Open form Happy Friday! I want to open form1, wait until the user finishes with form1 and closes it, then open form2. Because form1 gets opened from other places in the program I don't want to put the trigger in the form1 close event. If possible, I want to keep the logic tidy where it is pertinent in the original calling code. I seem to remember doing this before, but can't find how it is done. Any help is greatly appreciated. Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From jengross at gte.net Fri Aug 15 20:13:47 2008 From: jengross at gte.net (Jennifer Gross) Date: Fri, 15 Aug 2008 17:13:47 -0800 Subject: [AccessD] Open form In-Reply-To: <000b01c8ff2c$88620bf0$992623d0$@rr.com> Message-ID: <0K5O00MOI3IATWN3@vms042.mailsrvcs.net> Perfect Bobby. Thank you. I knew it was a simple solution, just couldn't remember what it was. Jennifer -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bobby Heid Sent: Friday, August 15, 2008 3:13 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Open form Jennifer, Open it as dialog or modally from the calling code. I don't have an access system handy, but it is one of the arguments in the open command. This way, the code in the calling program will not continue until; form 1 is closed and then you can open form 2. Bobby -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, August 15, 2008 5:37 PM To: AccessD List Subject: [AccessD] Open form Happy Friday! I want to open form1, wait until the user finishes with form1 and closes it, then open form2. Because form1 gets opened from other places in the program I don't want to put the trigger in the form1 close event. If possible, I want to keep the logic tidy where it is pertinent in the original calling code. I seem to remember doing this before, but can't find how it is done. Any help is greatly appreciated. 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 stuart at lexacorp.com.pg Fri Aug 15 19:24:21 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Sat, 16 Aug 2008 10:24:21 +1000 Subject: [AccessD] Populate an unbound form using a record from a table In-Reply-To: References: Message-ID: <48A61E35.8199.14C34818@stuart.lexacorp.com.pg> Null means indeterminate. - nothing can "equal" Null. Use: If IsNull(COSCH) Then On 15 Aug 2008 at 12:57, Klos, Susan wrote: > I am trying to populate some of the text boxes on an unbound form from a > table using the value of another text box on the form which I have > filled in. Here is my code: > > Private Sub AutoFill_Click() > > > > If COSCH = Null Then > > MsgBox "You must fill in the 'F' school 6 digit district and school > number.", vbInformation, "NOTE" > > Exit Sub > > End If > > Me.READGN = DLookup("READGN", "mch", "COSCH =" & Me.COSCH) > > > > READGN is a numeric field and COSCH is the ID field on the table. When > I run the code, I can see that Me.COSCH = the correct value for the > record I want. > > > > This should be pretty straight forward but I keep getting the error > "Data type mismatch in criteria expression". Any help you can give me > will be greatly appreciated. > > > > > > Susan Klos > > Senior Database Analyst > > Florida Department of Education > > Evaluation and Reporting Office > > Phone: 850.245.0708 > > email: susan.klos at fldoe.org > > > Please take a few minutes to provide feedback on the quality of service you received from our staff. The Department of Education values your feedback as a customer. Commissioner of Education Dr. Eric J. Smith is committed to continuously assessing and improving the level and quality of services provided to you.Simply use the link below. Thank you in advance for completing the survey. > > > http://data.fldoe.org/cs/default.cfm?staff=Susan.Klos at fldoe.org|12:57:19%20Fri%2015%20Aug%202008 > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan From accessd at shaw.ca Fri Aug 15 21:37:11 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Fri, 15 Aug 2008 19:37:11 -0700 Subject: [AccessD] Open form In-Reply-To: <0K5N00C9YTGW2L36@vms173001.mailsrvcs.net> References: <0K5N00C9YTGW2L36@vms173001.mailsrvcs.net> Message-ID: As chance may be I have been working on a similar issue with a late night project. When the form is select the program first checks if it is loaded, if it is not loaded, loads it or sets focus to the form and turn it visible. 'Code from the caller form... If IsLoaded("frmEnterDate") = True Then [Forms]![frmEnterDate].Visible = True [Forms]![frmEnterDate].SetFocus Else DoCmd.OpenForm "frmEnterDate" End If '............................ Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Jennifer Gross Sent: Friday, August 15, 2008 2:37 PM To: AccessD List Subject: [AccessD] Open form Happy Friday! I want to open form1, wait until the user finishes with form1 and closes it, then open form2. Because form1 gets opened from other places in the program I don't want to put the trigger in the form1 close event. If possible, I want to keep the logic tidy where it is pertinent in the original calling code. I seem to remember doing this before, but can't find how it is done. Any help is greatly appreciated. Jennifer -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pcs.accessd at gmail.com Sat Aug 16 03:05:33 2008 From: pcs.accessd at gmail.com (Borge Hansen) Date: Sat, 16 Aug 2008 18:05:33 +1000 Subject: [AccessD] SQL 2005 - disambiguous DateTime format Message-ID: Hi all, I SQL 2005 I have adopted to routine of always passing a DateTime format for whatever purpose in the format of a string: YYYY-MM-DD in order to be sure that the date is interpreted correctly irrespective of locale setting of the computer Now some colleagues are telling me to use format DD-MMM-YYYY is the -only- safe way. I would think that both methods of passing a date would be -safe- (To avoid misinterpretation of 4/8/2008 - is it 4 August 2008 or 8 April 2008?) Any pointers to KB article or other than explains this in more detail? Regards Borge From Gustav at cactus.dk Sat Aug 16 03:45:27 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 16 Aug 2008 10:45:27 +0200 Subject: [AccessD] SQL 2005 - disambiguous DateTime format Message-ID: Hi Borge The ISO format, YYYY-MM-DD is the preferred format (just browse the documentation) for SQL Server 2008. It is certainly safe for 2005 as well and required(!) for ADO when filtering on dates. /gustav >>> pcs.accessd at gmail.com 16-08-2008 10:05 >>> Hi all, I SQL 2005 I have adopted to routine of always passing a DateTime format for whatever purpose in the format of a string: YYYY-MM-DD in order to be sure that the date is interpreted correctly irrespective of locale setting of the computer Now some colleagues are telling me to use format DD-MMM-YYYY is the -only- safe way. I would think that both methods of passing a date would be -safe- (To avoid misinterpretation of 4/8/2008 - is it 4 August 2008 or 8 April 2008?) Any pointers to KB article or other than explains this in more detail? Regards Borge From pcs.accessd at gmail.com Sat Aug 16 05:16:55 2008 From: pcs.accessd at gmail.com (Borge Hansen) Date: Sat, 16 Aug 2008 20:16:55 +1000 Subject: [AccessD] SQL 2005 - disambiguous DateTime format In-Reply-To: References: Message-ID: Thanks Gustav, I sort of expected you would be the one chiming in.... Are you saying that DD-MMM-YYYY would get you into trouble using ADO when filtering on dates? If so, do you have any documentation for this? borge On Sat, Aug 16, 2008 at 6:45 PM, Gustav Brock wrote: > Hi Borge > > The ISO format, YYYY-MM-DD is the preferred format (just browse the > documentation) for SQL Server 2008. > It is certainly safe for 2005 as well and required(!) for ADO when > filtering on dates. > > /gustav > > >>> pcs.accessd at gmail.com 16-08-2008 10:05 >>> > Hi all, > > I SQL 2005 I have adopted to routine of always passing a DateTime format > for > whatever purpose in the format of a string: > > YYYY-MM-DD > > in order to be sure that the date is interpreted correctly irrespective of > locale setting of the computer > > > Now some colleagues are telling me to use format DD-MMM-YYYY is the -only- > safe way. > > I would think that both methods of passing a date would be -safe- > > (To avoid misinterpretation of 4/8/2008 - is it 4 August 2008 or 8 April > 2008?) > > Any pointers to KB article or other than explains this in more detail? > > Regards > Borge > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Sat Aug 16 06:44:31 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 16 Aug 2008 13:44:31 +0200 Subject: [AccessD] SQL 2005 - disambiguous DateTime format Message-ID: Hi Borge I would put it this way, that DD-MMM-YYYY is a dangerous format to use as you to create the string often use a helper function like - in Access and VBA - Format which localizes the mmm part. Pass that to SQL Server or another engine that expects a US format and it will fail. As for the ADO Find, look up the thread "ADO Find, serious issue with international dates" in Jan. 2007: http://databaseadvisors.com/pipermail/accessd/2007-January/subject.html It does not deal with the dd-mmm-yyyy format, but I wouldn't waste any time checking it out. The ISO 8601 format is really the way to go. It is unambiguous in any modern environment, MS prefers it now, MySQL has always had it as the preferred format, Access has never had any trouble with it though - for JET SQL - the US format was the preferred format, and - if the engine allows - you can easily expand it to specify milliseconds too. /gustav >>> pcs.accessd at gmail.com 16-08-2008 12:16 >>> Thanks Gustav, I sort of expected you would be the one chiming in.... Are you saying that DD-MMM-YYYY would get you into trouble using ADO when filtering on dates? If so, do you have any documentation for this? borge On Sat, Aug 16, 2008 at 6:45 PM, Gustav Brock wrote: > Hi Borge > > The ISO format, YYYY-MM-DD is the preferred format (just browse the > documentation) for SQL Server 2008. > It is certainly safe for 2005 as well and required(!) for ADO when > filtering on dates. > > /gustav > > >>> pcs.accessd at gmail.com 16-08-2008 10:05 >>> > Hi all, > > I SQL 2005 I have adopted to routine of always passing a DateTime format for > whatever purpose in the format of a string: > > YYYY-MM-DD > > in order to be sure that the date is interpreted correctly irrespective of > locale setting of the computer > > > Now some colleagues are telling me to use format DD-MMM-YYYY is the -only- > safe way. > > I would think that both methods of passing a date would be -safe- > > (To avoid misinterpretation of 4/8/2008 - is it 4 August 2008 or 8 April 2008?) > > Any pointers to KB article or other than explains this in more detail? > > Regards > Borge From accessd at shaw.ca Sat Aug 16 10:49:09 2008 From: accessd at shaw.ca (Jim Lawrence) Date: Sat, 16 Aug 2008 08:49:09 -0700 Subject: [AccessD] SQL 2005 - disambiguous DateTime format In-Reply-To: References: Message-ID: <6703C1024A2146B5B2C8E06EF51039E3@creativesystemdesigns.com> Hi Borge: Having done contracts for both the federal and provincial governments for years there are only two acceptable date display methods. There has been just too much confusion in the past. 1. yyyy mm dd ie. 20080821 or 2008/08/21 (SI standard) 2. dd Mmm yyyy ie. 21 Aug 2008 Both above methods will never cause errors like methods of 5/8/2008 will. Jim -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Borge Hansen Sent: Saturday, August 16, 2008 1:06 AM To: Access Developers discussion and problem solving Subject: [AccessD] SQL 2005 - disambiguous DateTime format Hi all, I SQL 2005 I have adopted to routine of always passing a DateTime format for whatever purpose in the format of a string: YYYY-MM-DD in order to be sure that the date is interpreted correctly irrespective of locale setting of the computer Now some colleagues are telling me to use format DD-MMM-YYYY is the -only- safe way. I would think that both methods of passing a date would be -safe- (To avoid misinterpretation of 4/8/2008 - is it 4 August 2008 or 8 April 2008?) Any pointers to KB article or other than explains this in more detail? Regards Borge -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sat Aug 16 12:22:30 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 16 Aug 2008 14:22:30 -0300 Subject: [AccessD] SQL 2005 - disambiguous DateTime format In-Reply-To: <6703C1024A2146B5B2C8E06EF51039E3@creativesystemdesigns.com> References: <6703C1024A2146B5B2C8E06EF51039E3@creativesystemdesigns.com> Message-ID: <29f585dd0808161022t714adcc6w7d8c79f0286e44d@mail.gmail.com> Been there, done that many times, and agree 100%. Not only that, but I deem this the only sensible format, first because it's unambiguous and second because it respects scale. Year-month-day|-hour|. Nobody can mistake a value. It is obvious and the particular nationality does not get in the way, unless perhaps you are using the Chinese calendar. Arthur From fuller.artful at gmail.com Sun Aug 17 11:25:17 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 17 Aug 2008 13:25:17 -0300 Subject: [AccessD] Toolbar problem Message-ID: <29f585dd0808170925q460faeb0p3935c5a76fb8f99@mail.gmail.com> I made a custom toolbar for an app I wrote a while back, and that toolbar seems to have disappeared (moving among machines, etc.) The disappearance itself is not a problem because I actually want to remove the toolbar and its associated code, but I can't remember where one associates a toolbar with a form. I need to remove that reference because Access complains that it cannot find toolbar X and then crashes. This is not good. TIA, Arthur From ssharkins at gmail.com Sun Aug 17 11:46:41 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 17 Aug 2008 12:46:41 -0400 Subject: [AccessD] Toolbar problem References: <29f585dd0808170925q460faeb0p3935c5a76fb8f99@mail.gmail.com> Message-ID: <092a01c90088$d5035f10$2f8601c7@SusanOne> Did you use the form's Toolbar property? If so, just open the form in Design view and remove the toolbar reference in that property. Susan H. >I made a custom toolbar for an app I wrote a while back, and that toolbar > seems to have disappeared (moving among machines, etc.) The disappearance > itself is not a problem because I actually want to remove the toolbar and > its associated code, but I can't remember where one associates a toolbar > with a form. I need to remove that reference because Access complains that > it cannot find toolbar X and then crashes. This is not good. From fuller.artful at gmail.com Sun Aug 17 11:58:53 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 17 Aug 2008 13:58:53 -0300 Subject: [AccessD] Toolbar problem In-Reply-To: <092a01c90088$d5035f10$2f8601c7@SusanOne> References: <29f585dd0808170925q460faeb0p3935c5a76fb8f99@mail.gmail.com> <092a01c90088$d5035f10$2f8601c7@SusanOne> Message-ID: <29f585dd0808170958n6ad08b0ci943f083a0a3329c0@mail.gmail.com> Thanks Susan. Which tab is it on? I can't remember and this morning couldn't find it. A. On Sun, Aug 17, 2008 at 1:46 PM, Susan Harkins wrote: > Did you use the form's Toolbar property? If so, just open the form in > Design view and remove the toolbar reference in that property. > > Susan H. > > From ssharkins at gmail.com Sun Aug 17 12:12:42 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 17 Aug 2008 13:12:42 -0400 Subject: [AccessD] Toolbar problem References: <29f585dd0808170925q460faeb0p3935c5a76fb8f99@mail.gmail.com><092a01c90088$d5035f10$2f8601c7@SusanOne> <29f585dd0808170958n6ad08b0ci943f083a0a3329c0@mail.gmail.com> Message-ID: <093901c9008c$782fcdb0$2f8601c7@SusanOne> It's on the Other tab. When using the All tab, it's close to the bottom. Susan H. > Thanks Susan. Which tab is it on? I can't remember and this morning > couldn't > find it. From Gustav at cactus.dk Sun Aug 17 12:22:18 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 17 Aug 2008 19:22:18 +0200 Subject: [AccessD] Toolbar problem Message-ID: Hi Arthur Generic method to solve this kind of trouble: while not seeked_property_present_on_current_tab tab = tab.next() seeked_property_present_on_current_tab = tab.contains(seeked_property) next <\sarcastic_sunday_mode> It works! Mostly. Sometimes it can cause an endless loop. Press Ctrl+CoffeeBreak. /gustav >>> fuller.artful at gmail.com 17-08-2008 18:58 >>> Thanks Susan. Which tab is it on? I can't remember and this morning couldn't find it. A. On Sun, Aug 17, 2008 at 1:46 PM, Susan Harkins wrote: > Did you use the form's Toolbar property? If so, just open the form in > Design view and remove the toolbar reference in that property. From fuller.artful at gmail.com Sun Aug 17 13:01:36 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 17 Aug 2008 15:01:36 -0300 Subject: [AccessD] Toolbar problem In-Reply-To: <093901c9008c$782fcdb0$2f8601c7@SusanOne> References: <29f585dd0808170925q460faeb0p3935c5a76fb8f99@mail.gmail.com> <092a01c90088$d5035f10$2f8601c7@SusanOne> <29f585dd0808170958n6ad08b0ci943f083a0a3329c0@mail.gmail.com> <093901c9008c$782fcdb0$2f8601c7@SusanOne> Message-ID: <29f585dd0808171101y626952f9v6713ee910ca13070@mail.gmail.com> Got it. Thanks! A. On Sun, Aug 17, 2008 at 2:12 PM, Susan Harkins wrote: > It's on the Other tab. When using the All tab, it's close to the bottom. > > Susan H. > From fuller.artful at gmail.com Sun Aug 17 13:03:18 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sun, 17 Aug 2008 15:03:18 -0300 Subject: [AccessD] Toolbar problem In-Reply-To: References: Message-ID: <29f585dd0808171103l3b02ba5fid74fe7519088f698@mail.gmail.com> Ctrl+CoffeeBreak is a good idea. Arthur From ssharkins at gmail.com Sun Aug 17 15:29:37 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sun, 17 Aug 2008 16:29:37 -0400 Subject: [AccessD] checking on form module lilfetime Message-ID: <09a201c900a7$f988f290$2f8601c7@SusanOne> Isn't it true that you can't create an application-life variable in a form or report module? You need a standard module, right? Susan H. From dwaters at usinternet.com Sun Aug 17 16:11:20 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sun, 17 Aug 2008 16:11:20 -0500 Subject: [AccessD] checking on form module lilfetime In-Reply-To: <09a201c900a7$f988f290$2f8601c7@SusanOne> References: <09a201c900a7$f988f290$2f8601c7@SusanOne> Message-ID: <9A1967F5240949E09F3F0AD784CF5F1F@danwaters> Hi Susan, You do need to define global variables in a standard module, but once defined they can be used anywhere. For example in a standard module: Public GstgReportOpenArgs as String I use this in Access 2000 apps because the reports don't have an OpenArgs function. In a form: GstgReportOpenArgs = "something" DoCmd.OpenReport "rptReport" In the report's Open event: "something" = GstgReportOpenArgs There is a drawback to using global procedures - if you app has an error the value of all global variables is lost. However, this may only be true with untrapped errors, but I don't know for sure. Anyone know this? I use a single standard module where all my Global Variables are defined. Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Sunday, August 17, 2008 3:30 PM To: AccessD at databaseadvisors.com Subject: [AccessD] checking on form module lilfetime Isn't it true that you can't create an application-life variable in a form or report module? You need a standard module, right? Susan H. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sun Aug 17 16:21:31 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Sun, 17 Aug 2008 23:21:31 +0200 Subject: [AccessD] checking on form module lifetime Message-ID: Hi Dan True. So this is not an issue. If your user encounters an untrapped error, your app is hosed anyway and should be relaunched; in fact, if it runs in a runtime environment, your user is given no other choice. /gustav >>> dwaters at usinternet.com 17-08-2008 23:11 >>> There is a drawback to using global procedures - if you app has an error the value of all global variables is lost. However, this may only be true with untrapped errors, but I don't know for sure. Anyone know this? From stuart at lexacorp.com.pg Sun Aug 17 19:07:23 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Mon, 18 Aug 2008 10:07:23 +1000 Subject: [AccessD] SQL 2005 - disambiguous DateTime format In-Reply-To: <29f585dd0808161022t714adcc6w7d8c79f0286e44d@mail.gmail.com> References: , <6703C1024A2146B5B2C8E06EF51039E3@creativesystemdesigns.com>, <29f585dd0808161022t714adcc6w7d8c79f0286e44d@mail.gmail.com> Message-ID: <48A8BD3B.6619.1F0078B1@stuart.lexacorp.com.pg> The other big advantage is that YYYY MM DD sorts correctly even if it ends up being treated by some application as a simple text string. On 16 Aug 2008 at 14:22, Arthur Fuller wrote: > Been there, done that many times, and agree 100%. Not only that, but I deem > this the only sensible format, first because it's unambiguous and second > because it respects scale. Year-month-day|-hour|. Nobody can mistake a > value. It is obvious and the particular nationality does not get in the way, > unless perhaps you are using the Chinese calendar. > > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan From Darryl.Collins at coles.com.au Mon Aug 18 19:34:59 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Tue, 19 Aug 2008 10:34:59 +1000 Subject: [AccessD] Populate Unbound Listbox from SQL Server Recordset Help. In-Reply-To: <48A8BD3B.6619.1F0078B1@stuart.lexacorp.com.pg> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076DA26DC5@WPEXCH22.retail.ad.cmltd.net.au> Hi all, I think I am getting my brain bogged down in all this and fouling something simple up. In short I want to use an ADO connection to return a RecordSet to populate an unbound listbox on an Access Form. And I cannot seem to get it to work. I do this all the time in Excel - that is copy a recordset to a worksheet. Can you populate an unbound listbox using the same concept? Everything seems to work except the 'populate RowSource in listbox with recordset data' bit. hmmmm. '''========== IN EXCEL I USE THIS ======================= Option Explicit Option Private Module Sub DL_MECTable() Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim strSQL As String Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset Set gobjXL = Application.ThisWorkbook strSQL = "" strSQL = strSQL & "SELECT BaselineSource, BaselineSourceID FROM ITFCT_tblBaselineSource" strSQL = strSQL & " ORDER BY SortSequence;" With rst .Source = strSQL .ActiveConnection = DbADOConStr .CursorType = adOpenForwardOnly .LockType = adLockReadOnly .CursorLocation = adUseClient .Open Options:=adCmdText '.Open Options:=adCmdStoredProc End With Sheet2.Range("D13").CopyFromRecordset rst End Sub '===================================================== in Access I was using the same ADO connection code (which works fine) and then: [Forms]![ITFCT_frmStartHere].lstbxAPLIDxUser.RowSource = rst but this goes into error. I think I am fouling something up there. Anyone got any pointers here? Regards Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From pedro at plex.nl Tue Aug 19 10:01:06 2008 From: pedro at plex.nl (pedro at plex.nl) Date: Tue, 19 Aug 2008 10:01:06 (MET DST) Subject: [AccessD] text changes into date Message-ID: <200808190801.m7J8160g025223@mailhostC.plex.net> From pedro at plex.nl Tue Aug 19 10:10:44 2008 From: pedro at plex.nl (pedro at plex.nl) Date: Tue, 19 Aug 2008 10:10:44 (MET DST) Subject: [AccessD] text changes into date Message-ID: <200808190810.m7J8Aiiq025883@mailhostC.plex.net> Hello Group, i use the query below to fill in data in the expression: Diag Diag (in hist2) is a field with datatype is text. However because Histologie1.datumontvangst is a date-field (rapportnummer and diag1 are text-fields), the tabel-field diag in hist2 changes itselfs to datatype date/time and stays empty. How can i adjust this so that "diag" stays a text-field. Thanks Pedro Janssen SELECT Histologie1.Pnr, Histologie1.datumontvangst, Histologie1.rapportnummer+" "+Histologie1.datumontvangst+" "+Histologie1.diag1 AS diag, Histologie1.rapportnummer INTO hist2 FROM Histologie1 WHERE (((Histologie1.rapportnummer) Like "T*")) ORDER BY Histologie1.Pnr, Histologie1.datumontvangst; From Gustav at cactus.dk Tue Aug 19 03:23:59 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 19 Aug 2008 10:23:59 +0200 Subject: [AccessD] text changes into date Message-ID: Hi Pedro How about formatting that date field: SELECT Histologie1.Pnr, Histologie1.datumontvangst, Histologie1.rapportnummer+" "+Format(Histologie1.datumontvangst, 'dd-mm-yyyy')+" "+Histologie1.diag1 AS diag, Histologie1.rapportnummer INTO hist2 >>> pedro at plex.nl 19-08-2008 10:10 >>> Hello Group, i use the query below to fill in data in the expression: Diag Diag (in hist2) is a field with datatype is text. However because Histologie1.datumontvangst is a date-field (rapportnummer and diag1 are text-fields), the tabel-field diag in hist2 changes itselfs to datatype date/time and stays empty. How can i adjust this so that "diag" stays a text-field. Thanks Pedro Janssen SELECT Histologie1.Pnr, Histologie1.datumontvangst, Histologie1.rapportnummer+" "+Histologie1.datumontvangst+" "+Histologie1.diag1 AS diag, Histologie1.rapportnummer INTO hist2 FROM Histologie1 WHERE (((Histologie1.rapportnummer) Like "T*")) ORDER BY Histologie1.Pnr, Histologie1.datumontvangst; From ab-mi at post3.tele.dk Tue Aug 19 05:26:07 2008 From: ab-mi at post3.tele.dk (Asger Blond) Date: Tue, 19 Aug 2008 12:26:07 +0200 Subject: [AccessD] Populate Unbound Listbox from SQL Server Recordset Help. In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076DA26DC5@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <000001c901e5$fe621870$2101a8c0@AB> Hi Darryl, Why use a recordset here? Why not just set the RowSource for your listbox to strSQL, like this: strSQL = "" strSQL = strSQL & "SELECT BaselineSource, BaselineSourceID FROM TFCT_tblBaselineSource" strSQL = strSQL & " ORDER BY SortSequence;" [Forms]![ITFCT_frmStartHere].lstbxAPLIDxUser.RowSource = strSQL Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Darryl Collins Sendt: 19. august 2008 02:35 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Populate Unbound Listbox from SQL Server Recordset Help. Hi all, I think I am getting my brain bogged down in all this and fouling something simple up. In short I want to use an ADO connection to return a RecordSet to populate an unbound listbox on an Access Form. And I cannot seem to get it to work. I do this all the time in Excel - that is copy a recordset to a worksheet. Can you populate an unbound listbox using the same concept? Everything seems to work except the 'populate RowSource in listbox with recordset data' bit. hmmmm. '''========== IN EXCEL I USE THIS ======================= Option Explicit Option Private Module Sub DL_MECTable() Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim strSQL As String Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset Set gobjXL = Application.ThisWorkbook strSQL = "" strSQL = strSQL & "SELECT BaselineSource, BaselineSourceID FROM ITFCT_tblBaselineSource" strSQL = strSQL & " ORDER BY SortSequence;" With rst .Source = strSQL .ActiveConnection = DbADOConStr .CursorType = adOpenForwardOnly .LockType = adLockReadOnly .CursorLocation = adUseClient .Open Options:=adCmdText '.Open Options:=adCmdStoredProc End With Sheet2.Range("D13").CopyFromRecordset rst End Sub '===================================================== in Access I was using the same ADO connection code (which works fine) and then: [Forms]![ITFCT_frmStartHere].lstbxAPLIDxUser.RowSource = rst but this goes into error. I think I am fouling something up there. Anyone got any pointers here? Regards Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Tue Aug 19 20:21:48 2008 From: darren at activebilling.com.au (Darren D) Date: Wed, 20 Aug 2008 11:21:48 +1000 Subject: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC that returns records Message-ID: <012901c90263$20120700$0d1b910a@denzilnote> Hi team I need to call some Stored procedures (SPROCS) in SQL Server from my Access dB The SPROCS will be both simple update ones and some of them will return results Does anyone have examples how to interact with both types? IE Just run one. And with the other get the results back and display them in my Access dB? I think I have asked this question before but can't find the answer I think I was using an ADP when I asked though - This is a plain ole' MDB request Many thanks in advance Darren From Darryl.Collins at coles.com.au Tue Aug 19 21:09:56 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Wed, 20 Aug 2008 12:09:56 +1000 Subject: [AccessD] Populate Unbound Listbox from SQL Server RecordsetHelp. In-Reply-To: <000001c901e5$fe621870$2101a8c0@AB> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076DA26DCE@WPEXCH22.retail.ad.cmltd.net.au> Asger, This is exactly what I ended up doing, I had a bit of bother with it a first, but that was on account of user stupidity (I am the user by the way! ). I hadn't set up the listbox properties correctly WRT bound column and number of columns visible etc, Once i did that all is good. Thanks for getting back to me and clarifying that. cheers Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Asger Blond Sent: Tuesday, 19 August 2008 8:26 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Populate Unbound Listbox from SQL Server RecordsetHelp. Hi Darryl, Why use a recordset here? Why not just set the RowSource for your listbox to strSQL, like this: strSQL = "" strSQL = strSQL & "SELECT BaselineSource, BaselineSourceID FROM TFCT_tblBaselineSource" strSQL = strSQL & " ORDER BY SortSequence;" [Forms]![ITFCT_frmStartHere].lstbxAPLIDxUser.RowSource = strSQL Asger -----Oprindelig meddelelse----- Fra: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] P? vegne af Darryl Collins Sendt: 19. august 2008 02:35 Til: 'Access Developers discussion and problem solving' Emne: [AccessD] Populate Unbound Listbox from SQL Server Recordset Help. Hi all, I think I am getting my brain bogged down in all this and fouling something simple up. In short I want to use an ADO connection to return a RecordSet to populate an unbound listbox on an Access Form. And I cannot seem to get it to work. I do this all the time in Excel - that is copy a recordset to a worksheet. Can you populate an unbound listbox using the same concept? Everything seems to work except the 'populate RowSource in listbox with recordset data' bit. hmmmm. '''========== IN EXCEL I USE THIS ======================= Option Explicit Option Private Module Sub DL_MECTable() Dim cnn As ADODB.Connection Dim rst As ADODB.Recordset Dim strSQL As String Set cnn = New ADODB.Connection Set rst = New ADODB.Recordset Set gobjXL = Application.ThisWorkbook strSQL = "" strSQL = strSQL & "SELECT BaselineSource, BaselineSourceID FROM ITFCT_tblBaselineSource" strSQL = strSQL & " ORDER BY SortSequence;" With rst .Source = strSQL .ActiveConnection = DbADOConStr .CursorType = adOpenForwardOnly .LockType = adLockReadOnly .CursorLocation = adUseClient .Open Options:=adCmdText '.Open Options:=adCmdStoredProc End With Sheet2.Range("D13").CopyFromRecordset rst End Sub '===================================================== in Access I was using the same ADO connection code (which works fine) and then: [Forms]![ITFCT_frmStartHere].lstbxAPLIDxUser.RowSource = rst but this goes into error. I think I am fouling something up there. Anyone got any pointers here? Regards Darryl. This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From dbdoug at gmail.com Tue Aug 19 21:56:50 2008 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 19 Aug 2008 19:56:50 -0700 Subject: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC that returns records In-Reply-To: <012901c90263$20120700$0d1b910a@denzilnote> References: <012901c90263$20120700$0d1b910a@denzilnote> Message-ID: <4dd71a0c0808191956l45d96e5fla1487edee8c09244@mail.gmail.com> Try here: http://rodeworks.com/wp-content/uploads/2008/08/msaccess_and_sqlserver.pdf It looks like a great article - it was mentioned in the Access Team Blog today Doug Steele On Tue, Aug 19, 2008 at 6:21 PM, Darren D wrote: > Hi team > > > > I need to call some Stored procedures (SPROCS) in SQL Server from my Access > dB > > The SPROCS will be both simple update ones and some of them will return > results > > Does anyone have examples how to interact with both types? > > IE Just run one. And with the other get the results back and display them > in my > Access dB? > > > From stuart at lexacorp.com.pg Tue Aug 19 22:03:32 2008 From: stuart at lexacorp.com.pg (Stuart McLachlan) Date: Wed, 20 Aug 2008 13:03:32 +1000 Subject: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC that returns records In-Reply-To: <012901c90263$20120700$0d1b910a@denzilnote> References: <012901c90263$20120700$0d1b910a@denzilnote> Message-ID: <48AB8984.6278.29EEE359@stuart.lexacorp.com.pg> Simplest way is to create a "PassThrough". Query IN 2003 (other version should be similar)" 1. Create a New query but don't select any tables. 2. Select Query - SQL Specific - Passthrough from the main menu bar. 3. Select View - Properties (Or hit Alt+Enter) 4. Click in OBDC Connect Str, thenclick on the builder button (...) and select your ODBC source (or enter a connection string if you have one written) 5. for an update query ,set the ReturnsRecords property to No. 6. Enter the sp name in the build window 7. Save the Query Then just open the query when required. Note that you can't pass parameters through a PassThrough query, if your sp requires parameters, you'll have to do it in code with something like this: Dim db As DAO.Database Dim qdPTQuery As QueryDef Dim strSQL As String Dim strParam as String strParam = "123" Set db = CurrentDb strSQL = "myUpdateSP " & strParam Set qdPTQuery = db.CreateQueryDef("myPassThroughQuery") qdPTQuery.Connect = "ODBC;DSN=................." qdPTQuery.SQL = strSQL qdPTQuery.returnsrecords = False 'if an update query qdPTQuery.Close db.Close Set db = Nothing On 20 Aug 2008 at 11:21, Darren D wrote: > Hi team > > > > I need to call some Stored procedures (SPROCS) in SQL Server from my Access dB > > The SPROCS will be both simple update ones and some of them will return results > > Does anyone have examples how to interact with both types? > > IE Just run one. And with the other get the results back and display them in my > Access dB? > > > > I think I have asked this question before but can't find the answer > > I think I was using an ADP when I asked though - This is a plain ole' MDB > request > > > > Many thanks in advance > > > > Darren > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan From darren at activebilling.com.au Tue Aug 19 22:19:33 2008 From: darren at activebilling.com.au (Darren D) Date: Wed, 20 Aug 2008 13:19:33 +1000 Subject: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC thatreturns records In-Reply-To: <48AB8984.6278.29EEE359@stuart.lexacorp.com.pg> References: <012901c90263$20120700$0d1b910a@denzilnote> <48AB8984.6278.29EEE359@stuart.lexacorp.com.pg> Message-ID: <014001c90273$922df5f0$0d1b910a@denzilnote> Hi Stuart Thanks I'll give this a go - Sorry I should have mentioned that all the SPROS require parameters Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 20 August 2008 1:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC thatreturns records Simplest way is to create a "PassThrough". Query IN 2003 (other version should be similar)" 1. Create a New query but don't select any tables. 2. Select Query - SQL Specific - Passthrough from the main menu bar. 3. Select View - Properties (Or hit Alt+Enter) 4. Click in OBDC Connect Str, thenclick on the builder button (...) and select your ODBC source (or enter a connection string if you have one written) 5. for an update query ,set the ReturnsRecords property to No. 6. Enter the sp name in the build window 7. Save the Query Then just open the query when required. Note that you can't pass parameters through a PassThrough query, if your sp requires parameters, you'll have to do it in code with something like this: Dim db As DAO.Database Dim qdPTQuery As QueryDef Dim strSQL As String Dim strParam as String strParam = "123" Set db = CurrentDb strSQL = "myUpdateSP " & strParam Set qdPTQuery = db.CreateQueryDef("myPassThroughQuery") qdPTQuery.Connect = "ODBC;DSN=................." qdPTQuery.SQL = strSQL qdPTQuery.returnsrecords = False 'if an update query qdPTQuery.Close db.Close Set db = Nothing On 20 Aug 2008 at 11:21, Darren D wrote: > Hi team > > > > I need to call some Stored procedures (SPROCS) in SQL Server from my Access dB > > The SPROCS will be both simple update ones and some of them will return results > > Does anyone have examples how to interact with both types? > > IE Just run one. And with the other get the results back and display them in my > Access dB? > > > > I think I have asked this question before but can't find the answer > > I think I was using an ADP when I asked though - This is a plain ole' MDB > request > > > > Many thanks in advance > > > > Darren > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From darren at activebilling.com.au Wed Aug 20 07:08:14 2008 From: darren at activebilling.com.au (Darren D) Date: Wed, 20 Aug 2008 22:08:14 +1000 Subject: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC thatreturns records In-Reply-To: <4dd71a0c0808191956l45d96e5fla1487edee8c09244@mail.gmail.com> References: <012901c90263$20120700$0d1b910a@denzilnote> <4dd71a0c0808191956l45d96e5fla1487edee8c09244@mail.gmail.com> Message-ID: <000001c902bd$6df224f0$0d1b910a@denzilnote> Hi team Thanks for the link Doug. Both this suggestion and Stuarts suggestion are quite close though Stuart's has a bit more on the fly flexibility Sadly neither of them worked - though everything is in place. I was also wondering if it could be done DNSless - this has to go across 4 machines none of which have DSN connections setup Many thanks in advance Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Wednesday, 20 August 2008 12:57 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC thatreturns records Try here: http://rodeworks.com/wp-content/uploads/2008/08/msaccess_and_sqlserver.pdf It looks like a great article - it was mentioned in the Access Team Blog today Doug Steele On Tue, Aug 19, 2008 at 6:21 PM, Darren D wrote: > Hi team > > > > I need to call some Stored procedures (SPROCS) in SQL Server from my Access > dB > > The SPROCS will be both simple update ones and some of them will return > results > > Does anyone have examples how to interact with both types? > > IE Just run one. And with the other get the results back and display them > in my > Access dB? > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rusty.hammond at cpiqpc.com Wed Aug 20 10:12:43 2008 From: rusty.hammond at cpiqpc.com (rusty.hammond at cpiqpc.com) Date: Wed, 20 Aug 2008 10:12:43 -0500 Subject: [AccessD] A2003: Calling an Update SPROC-Calling a SPROCthatr eturns records Message-ID: <49A286ABF515E94A8505CD14DEB7217001875617@CPIEMAIL-EVS1.CPIQPC.NET> I've done the pass through query as described below, but when parameters are required, I just change the sql of the query via code. Sample below Function ChangePassThroughQuery() Dim db as Database Dim qdf as QueryDef Dim strParam as String strParam = "ParameterValueHere" Set db = CurrentDb Set qdf = db.QueryDefs("qryRunSPROC") qdf.SQL = "StoredProcedureName " & strParam qdf.Close DoCmd.OpenQuery "qryRunSPROC") db.Close Set db = Nothing End Function HTH Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren D Sent: Tuesday, August 19, 2008 10:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a SPROCthatreturns records Hi Stuart Thanks I'll give this a go - Sorry I should have mentioned that all the SPROS require parameters Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 20 August 2008 1:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC thatreturns records Simplest way is to create a "PassThrough". Query IN 2003 (other version should be similar)" 1. Create a New query but don't select any tables. 2. Select Query - SQL Specific - Passthrough from the main menu bar. 3. Select View - Properties (Or hit Alt+Enter) 4. Click in OBDC Connect Str, thenclick on the builder button (...) and select your ODBC source (or enter a connection string if you have one written) 5. for an update query ,set the ReturnsRecords property to No. 6. Enter the sp name in the build window 7. Save the Query Then just open the query when required. Note that you can't pass parameters through a PassThrough query, if your sp requires parameters, you'll have to do it in code with something like this: Dim db As DAO.Database Dim qdPTQuery As QueryDef Dim strSQL As String Dim strParam as String strParam = "123" Set db = CurrentDb strSQL = "myUpdateSP " & strParam Set qdPTQuery = db.CreateQueryDef("myPassThroughQuery") qdPTQuery.Connect = "ODBC;DSN=................." qdPTQuery.SQL = strSQL qdPTQuery.returnsrecords = False 'if an update query qdPTQuery.Close db.Close Set db = Nothing On 20 Aug 2008 at 11:21, Darren D wrote: > Hi team > > > > I need to call some Stored procedures (SPROCS) in SQL Server from my Access dB > > The SPROCS will be both simple update ones and some of them will return results > > Does anyone have examples how to interact with both types? > > IE Just run one. And with the other get the results back and display them in my > Access dB? > > > > I think I have asked this question before but can't find the answer > > I think I was using an ADP when I asked though - This is a plain ole' MDB > request > > > > Many thanks in advance > > > > Darren > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** From andy at minstersystems.co.uk Wed Aug 20 10:20:03 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Wed, 20 Aug 2008 16:20:03 +0100 Subject: [AccessD] Import from Excel Message-ID: <200808201520.m7KFK6qW023174@databaseadvisors.com> I found the post below from Jim Hale in the archives. Hope you see this Jim, but maybe others have done something similar. I have a project which involves reading a variety of data into Access that will be sent from different sites as Excel workbooks in differing layouts. If I create links from Access to all of those workbooks I give myself a maintenance issue because there will be many workbooks in many different formats all of which would require different queries to read the data. Not to mention the refreshing of so many links when I send the app out. I'm sure it could all be done but messy. So then I looked at reading the data from the Excel workbooks with code. As far as I can see that will involve looping through a range handling cells one at a time. I could parameterise this and make it quite elegant with just one or two concise bits of code but won't it be slow? Is there another way in code without doing it a cell at a time? Jim, if you see this how do you do it? You said "I never link directly to a user provided table- I write code to read the "records" and validate them as necessary", which sounds just what I want to do but am I missing a trick, or does it all run pretty fast anyway. -- Andy Lacey http://www.minstersystems.co.uk I have run into cases where applications that create Excel files that in turn are imported into Access treat numbers as text fields for some reason. Since Excel shows it as text, Access also imports it as text. One solution is to highlight an empty Excel cell and onto the text column. This has the effect of adding a zero (Excel treats an empty cell as zero) and forcing Excel to change the text to a number. This also cures the problem where some entries are numbers and some text (a user puts an apostrophe in front of a "number" for ex). Since Excel "data tables" are free form, i.e. the user can (and often does insert rows, stick text comments in a number field, etc., etc., I never link directly to a user provided table- I write code to read the "records" and validate them as necessary. I write the raw data to an Access table then do all my processing from there. I have found that links to Excel sheets are relatively fragile. Excel sheets are easily corrupted, so I prefer to transfer everything into Access ASAP. Jim Hale ________________________________________________ Message sent using UebiMiau 2.7.2 From ssharkins at gmail.com Wed Aug 20 12:28:32 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 Aug 2008 13:28:32 -0400 Subject: [AccessD] From a reader -- totally stumped Message-ID: <13e001c902ea$2c7f1aa0$2f8601c7@SusanOne> Received the following from a reader -- no clue how to help him -- interested in your thoughts. Susan H. >From the reader: I have a form in Access which has two list boxes 1) For Selecting the Principal Investigator(from PI table) 2) For selecting the Bioinformatics Personnel(Employee table) I split the database into Front and Back end to share it with other users in the group.They can use the rest of the program except this form where list boxes have no values to select from. But when i log in i can see the values in he list box using the same FE and BE. I have tried changing the permissions for the users but have failed. Any help and suggestion is highly appreciated. From Lambert.Heenan at AIG.com Wed Aug 20 12:48:34 2008 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 20 Aug 2008 13:48:34 -0400 Subject: [AccessD] From a reader -- totally stumped Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C21867E85D@XLIVMBX35bkup.aig.com> This just happened to a colleague of mine. The solution was to remove the reference to "Microsoft XP Web Components" (OWC10.DLL) and then restore the reference and recompile. Go figure! Lambert -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 20, 2008 1:29 PM To: AccessD at databaseadvisors.com Subject: [AccessD] From a reader -- totally stumped Received the following from a reader -- no clue how to help him -- interested in your thoughts. Susan H. >From the reader: I have a form in Access which has two list boxes 1) For Selecting the Principal Investigator(from PI table) 2) For selecting the Bioinformatics Personnel(Employee table) I split the database into Front and Back end to share it with other users in the group.They can use the rest of the program except this form where list boxes have no values to select from. But when i log in i can see the values in he list box using the same FE and BE. I have tried changing the permissions for the users but have failed. Any help and suggestion is highly appreciated. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Wed Aug 20 13:08:35 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Wed, 20 Aug 2008 14:08:35 -0400 Subject: [AccessD] From a reader -- totally stumped References: <34C8A2AB1EF3564CB0D64DB6AFFDD5C21867E85D@XLIVMBX35bkup.aig.com> Message-ID: <003901c902ef$c4595d40$2f8601c7@SusanOne> Didn't have to close Access and then reset the reference? Susan H. > This just happened to a colleague of mine. The solution was to remove the > reference to "Microsoft XP Web Components" (OWC10.DLL) and then restore > the > reference and recompile. > > Go figure! > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins > Sent: Wednesday, August 20, 2008 1:29 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] From a reader -- totally stumped > > Received the following from a reader -- no clue how to help him -- > interested in your thoughts. > > Susan H. > >>From the reader: > > I have a form in Access which has two list boxes > 1) For Selecting the Principal Investigator(from PI table) > 2) For selecting the Bioinformatics Personnel(Employee table) > > I split the database into Front and Back end to share it with other users > in > the group.They can use the rest of the program except this form where list > boxes have no values to select from. But when i log in i can see the > values > in he list box using the same FE and BE. I have tried changing the > permissions for the users but have failed. > > Any help and suggestion is highly appreciated. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From Lambert.Heenan at AIG.com Wed Aug 20 13:35:49 2008 From: Lambert.Heenan at AIG.com (Heenan, Lambert) Date: Wed, 20 Aug 2008 13:35:49 -0500 Subject: [AccessD] From a reader -- totally stumped Message-ID: <34C8A2AB1EF3564CB0D64DB6AFFDD5C21867E8B3@XLIVMBX35bkup.aig.com> Not certain about that. But I would think close Access then rest the ref. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Wednesday, August 20, 2008 2:09 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] From a reader -- totally stumped Didn't have to close Access and then reset the reference? Susan H. > This just happened to a colleague of mine. The solution was to remove > the reference to "Microsoft XP Web Components" (OWC10.DLL) and then > restore the reference and recompile. > > Go figure! > > Lambert > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan > Harkins > Sent: Wednesday, August 20, 2008 1:29 PM > To: AccessD at databaseadvisors.com > Subject: [AccessD] From a reader -- totally stumped > > Received the following from a reader -- no clue how to help him -- > interested in your thoughts. > > Susan H. > >>From the reader: > > I have a form in Access which has two list boxes > 1) For Selecting the Principal Investigator(from PI table) > 2) For selecting the Bioinformatics Personnel(Employee table) > > I split the database into Front and Back end to share it with other > users in the group.They can use the rest of the program except this > form where list boxes have no values to select from. But when i log in > i can see the values in he list box using the same FE and BE. I have > tried changing the permissions for the users but have failed. > > Any help and suggestion is highly appreciated. > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From pedro at plex.nl Wed Aug 20 14:17:13 2008 From: pedro at plex.nl (Pedro Janssen) Date: Wed, 20 Aug 2008 21:17:13 +0200 Subject: [AccessD] text changes into date References: Message-ID: <005b01c902f9$5a4f52b0$400aa8c0@qmotionfaa3ad9> Hello Gustav, thanks it works perfect. I always thought that, when formatting a date field, you display it as you like. It has been some years ago that i was a regular access user. I believe that i am a little bit rusty now. Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, August 19, 2008 10:23 AM Subject: Re: [AccessD] text changes into date > Hi Pedro > > How about formatting that date field: > > SELECT > Histologie1.Pnr, > Histologie1.datumontvangst, > Histologie1.rapportnummer+" "+Format(Histologie1.datumontvangst, > 'dd-mm-yyyy')+" "+Histologie1.diag1 AS diag, > Histologie1.rapportnummer > INTO > hist2 > > >>>> pedro at plex.nl 19-08-2008 10:10 >>> > > Hello Group, > > i use the query below to fill in data in the expression: Diag > > Diag (in hist2) is a field with datatype is text. However because > Histologie1.datumontvangst is a date-field (rapportnummer and diag1 are > text-fields), the tabel-field diag in hist2 changes itselfs to datatype > date/time and stays empty. > > How can i adjust this so that "diag" stays a text-field. > > Thanks > > Pedro Janssen > > SELECT Histologie1.Pnr, Histologie1.datumontvangst, > Histologie1.rapportnummer+" "+Histologie1.datumontvangst+" > "+Histologie1.diag1 AS diag, Histologie1.rapportnummer INTO hist2 > FROM Histologie1 > WHERE (((Histologie1.rapportnummer) Like "T*")) > ORDER BY Histologie1.Pnr, Histologie1.datumontvangst; > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Wed Aug 20 15:31:11 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Wed, 20 Aug 2008 22:31:11 +0200 Subject: [AccessD] text changes into date Message-ID: Hi Pedro You can have it displayed as you like (nearly), but that doesn't change the data type. /gustav >>> pedro at plex.nl 20-08-2008 21:17 >>> Hello Gustav, thanks it works perfect. I always thought that, when formatting a date field, you display it as you like. It has been some years ago that i was a regular access user. I believe that i am a little bit rusty now. Pedro ----- Original Message ----- From: "Gustav Brock" To: Sent: Tuesday, August 19, 2008 10:23 AM Subject: Re: [AccessD] text changes into date > Hi Pedro > > How about formatting that date field: > > SELECT > Histologie1.Pnr, > Histologie1.datumontvangst, > Histologie1.rapportnummer+" "+Format(Histologie1.datumontvangst, > 'dd-mm-yyyy')+" "+Histologie1.diag1 AS diag, > Histologie1.rapportnummer > INTO > hist2 > > >>>> pedro at plex.nl 19-08-2008 10:10 >>> > > Hello Group, > > i use the query below to fill in data in the expression: Diag > > Diag (in hist2) is a field with datatype is text. However because > Histologie1.datumontvangst is a date-field (rapportnummer and diag1 are > text-fields), the tabel-field diag in hist2 changes itselfs to datatype > date/time and stays empty. > > How can i adjust this so that "diag" stays a text-field. > > Thanks > > Pedro Janssen > > SELECT Histologie1.Pnr, Histologie1.datumontvangst, > Histologie1.rapportnummer+" "+Histologie1.datumontvangst+" > "+Histologie1.diag1 AS diag, Histologie1.rapportnummer INTO hist2 > FROM Histologie1 > WHERE (((Histologie1.rapportnummer) Like "T*")) > ORDER BY Histologie1.Pnr, Histologie1.datumontvangst; From Darryl.Collins at coles.com.au Wed Aug 20 21:14:01 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Thu, 21 Aug 2008 12:14:01 +1000 Subject: [AccessD] Import from Excel In-Reply-To: <200808201520.m7KFK6qW023174@databaseadvisors.com> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076DA26DF2@WPEXCH22.retail.ad.cmltd.net.au> Andy, This maybe of some use to you? http://www.excelyourbusiness.com.au/ms_access_page.htm#AccessImportFromExcel regards Darryl -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey Sent: Thursday, 21 August 2008 1:20 AM To: Dba Subject: [AccessD] Import from Excel I found the post below from Jim Hale in the archives. Hope you see this Jim, but maybe others have done something similar. I have a project which involves reading a variety of data into Access that will be sent from different sites as Excel workbooks in differing layouts. If I create links from Access to all of those workbooks I give myself a maintenance issue because there will be many workbooks in many different formats all of which would require different queries to read the data. Not to mention the refreshing of so many links when I send the app out. I'm sure it could all be done but messy. So then I looked at reading the data from the Excel workbooks with code. As far as I can see that will involve looping through a range handling cells one at a time. I could parameterise this and make it quite elegant with just one or two concise bits of code but won't it be slow? Is there another way in code without doing it a cell at a time? Jim, if you see this how do you do it? You said "I never link directly to a user provided table- I write code to read the "records" and validate them as necessary", which sounds just what I want to do but am I missing a trick, or does it all run pretty fast anyway. -- Andy Lacey http://www.minstersystems.co.uk I have run into cases where applications that create Excel files that in turn are imported into Access treat numbers as text fields for some reason. Since Excel shows it as text, Access also imports it as text. One solution is to highlight an empty Excel cell and onto the text column. This has the effect of adding a zero (Excel treats an empty cell as zero) and forcing Excel to change the text to a number. This also cures the problem where some entries are numbers and some text (a user puts an apostrophe in front of a "number" for ex). Since Excel "data tables" are free form, i.e. the user can (and often does insert rows, stick text comments in a number field, etc., etc., I never link directly to a user provided table- I write code to read the "records" and validate them as necessary. I write the raw data to an Access table then do all my processing from there. I have found that links to Excel sheets are relatively fragile. Excel sheets are easily corrupted, so I prefer to transfer everything into Access ASAP. Jim Hale ________________________________________________ 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 This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From andy at minstersystems.co.uk Thu Aug 21 09:44:06 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Thu, 21 Aug 2008 15:44:06 +0100 Subject: [AccessD] Import from Excel In-Reply-To: <57E6E6CA42105A48B977303A2CDC2720076DA26DF2@WPEXCH22.retail.ad.cmltd.net.au> Message-ID: <4B311B9EBA7D4E46B3E273E408B7FF63@minster33c3r25> Great, thanks a million Darryl -- Andy Lacey http://www.minstersystems.co.uk >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >Darryl Collins >Sent: 21 August 2008 03:14 >To: 'Access Developers discussion and problem solving' >Subject: Re: [AccessD] Import from Excel > > > >Andy, > >This maybe of some use to you? > >http://www.excelyourbusiness.com.au/ms_access_page.htm#AccessIm >portFromExcel > >regards >Darryl > > >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Andy Lacey >Sent: Thursday, 21 August 2008 1:20 AM >To: Dba >Subject: [AccessD] Import from Excel > > >I found the post below from Jim Hale in the archives. Hope you >see this Jim, but maybe others have done something similar. > >I have a project which involves reading a variety of data into >Access that will be sent from different sites as Excel >workbooks in differing layouts. If I create links from Access >to all of those workbooks I give myself a maintenance issue >because there will be many workbooks in many different formats >all of which would require different queries to read the data. >Not to mention the refreshing of so many links when I send the >app out. I'm sure it could all be done but messy. So then I >looked at reading the data from the Excel workbooks with code. >As far as I can see that will involve looping through a range >handling cells one at a time. I could parameterise this and >make it quite elegant with just one or two concise bits of >code but won't it be slow? Is there another way in code >without doing it a cell at a time? Jim, if you see this how do >you do it? You said "I never link directly to a user provided >table- I write code to read the "records" and validate them as >necessary", which sounds just what I want to do but am I >missing a trick, or does it all run pretty fast anyway. > > >-- >Andy Lacey >http://www.minstersystems.co.uk > >I have run into cases where applications that create Excel >files that in turn are imported into Access treat numbers as >text fields for some reason. Since Excel shows it as text, >Access also imports it as text. One solution is to highlight >an empty Excel cell and onto the >text column. This has the effect of adding a zero (Excel >treats an empty cell as zero) and forcing Excel to change the >text to a number. This also cures the problem where some >entries are numbers and some text (a user puts an apostrophe >in front of a "number" for ex). > >Since Excel "data tables" are free form, i.e. the user can >(and often does insert rows, stick text comments in a number >field, etc., etc., I never link directly to a user provided >table- I write code to read the "records" and validate them as >necessary. I write the raw data to an Access table then do all >my processing from there. I have found that links to Excel >sheets are relatively fragile. Excel sheets are easily >corrupted, so I prefer to transfer everything into Access ASAP. > >Jim Hale > > >________________________________________________ >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 > >This email and any attachments may contain privileged and >confidential information and are intended for the named >addressee only. If you have received this e-mail in error, >please notify the sender and delete this e-mail immediately. >Any confidentiality, privilege or copyright is not waived or >lost because this e-mail has been sent to you in error. It is >your responsibility to check this e-mail and any attachments >for viruses. No warranty is made that this material is free >from computer virus or any other defect or error. Any >loss/damage incurred by using this material is not the >sender's responsibility. The sender's entire liability will >be limited to resupplying the material. > > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From edzedz at comcast.net Thu Aug 21 11:33:46 2008 From: edzedz at comcast.net (Edward S Zuris) Date: Thu, 21 Aug 2008 09:33:46 -0700 Subject: [AccessD] Drawing on Ms Access Forms Message-ID: <004501c903ab$af8ffd30$65dea8c0@dudley1> Hello Everyone I would like to create a timeline gage where a line shows up on a form to shown that the hours of 10:00 thru 12:00 and 17:00 thru 19:00 are scheduled. I tried a text box, with a string where I could mid$ in various characters an display them in real time, but I am hopeing for a more elegant solution that doesn't look so hoky. Back in the Radio Shack Color computer days you could draw lines on the screen. Using the createcontrol method requires that the forms switch back and forth of design mode. Any ideas on how to get around that ? Any examples I can look at at ? Thanks. Sincerely, Edz. . . . From rockysmolin at bchacc.com Thu Aug 21 10:45:22 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 21 Aug 2008 08:45:22 -0700 Subject: [AccessD] Drawing on Ms Access Forms In-Reply-To: <004501c903ab$af8ffd30$65dea8c0@dudley1> References: <004501c903ab$af8ffd30$65dea8c0@dudley1> Message-ID: <00e301c903a4$ec75c1f0$0301a8c0@HAL9005> I had to make rather complex line and bar graphs once in Access at report time based on data in a table. I used zero length lines positioned where I wanted them and then, in the format event, changed the length based on the bound value from the table. I was also able to position letters like x where I wanted the same way using a known value for the top and left and adding enough twips to put it where I wanted it. HTH Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 9:34 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drawing on Ms Access Forms Hello Everyone I would like to create a timeline gage where a line shows up on a form to shown that the hours of 10:00 thru 12:00 and 17:00 thru 19:00 are scheduled. I tried a text box, with a string where I could mid$ in various characters an display them in real time, but I am hopeing for a more elegant solution that doesn't look so hoky. Back in the Radio Shack Color computer days you could draw lines on the screen. Using the createcontrol method requires that the forms switch back and forth of design mode. Any ideas on how to get around that ? Any examples I can look at at ? Thanks. Sincerely, Edz. . . . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From cfoust at infostatsystems.com Thu Aug 21 10:49:02 2008 From: cfoust at infostatsystems.com (Charlotte Foust) Date: Thu, 21 Aug 2008 08:49:02 -0700 Subject: [AccessD] Drawing on Ms Access Forms In-Reply-To: <004501c903ab$af8ffd30$65dea8c0@dudley1> References: <004501c903ab$af8ffd30$65dea8c0@dudley1> Message-ID: Have you thought about putting line controls on the form, as many as you might need, setting their lengths to zero and then resetting the lengths in code to draw the line. Have to admit that I can't remember trying this, but since you aren't creating the controls at runtime, I don't see why it should not work. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 9:34 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drawing on Ms Access Forms Hello Everyone I would like to create a timeline gage where a line shows up on a form to shown that the hours of 10:00 thru 12:00 and 17:00 thru 19:00 are scheduled. I tried a text box, with a string where I could mid$ in various characters an display them in real time, but I am hopeing for a more elegant solution that doesn't look so hoky. Back in the Radio Shack Color computer days you could draw lines on the screen. Using the createcontrol method requires that the forms switch back and forth of design mode. Any ideas on how to get around that ? Any examples I can look at at ? Thanks. Sincerely, Edz. . . . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Thu Aug 21 11:59:13 2008 From: edzedz at comcast.net (Edward S Zuris) Date: Thu, 21 Aug 2008 09:59:13 -0700 Subject: [AccessD] Drawing on Ms Access Forms In-Reply-To: <00e301c903a4$ec75c1f0$0301a8c0@HAL9005> Message-ID: <004c01c903af$3de24950$65dea8c0@dudley1> Anything like that for interactive forms displayed to the user ? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 21, 2008 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Drawing on Ms Access Forms I had to make rather complex line and bar graphs once in Access at report time based on data in a table. I used zero length lines positioned where I wanted them and then, in the format event, changed the length based on the bound value from the table. I was also able to position letters like x where I wanted the same way using a known value for the top and left and adding enough twips to put it where I wanted it. HTH Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 9:34 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drawing on Ms Access Forms Hello Everyone I would like to create a timeline gage where a line shows up on a form to shown that the hours of 10:00 thru 12:00 and 17:00 thru 19:00 are scheduled. I tried a text box, with a string where I could mid$ in various characters an display them in real time, but I am hopeing for a more elegant solution that doesn't look so hoky. Back in the Radio Shack Color computer days you could draw lines on the screen. Using the createcontrol method requires that the forms switch back and forth of design mode. Any ideas on how to get around that ? Any examples I can look at at ? Thanks. Sincerely, Edz. . . . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From edzedz at comcast.net Thu Aug 21 12:04:40 2008 From: edzedz at comcast.net (Edward S Zuris) Date: Thu, 21 Aug 2008 10:04:40 -0700 Subject: [AccessD] Drawing on Ms Access Forms In-Reply-To: Message-ID: <004d01c903b0$00c90030$65dea8c0@dudley1> I'll give it a try. It might work. Only 120 rectangles. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, August 21, 2008 8:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Drawing on Ms Access Forms Have you thought about putting line controls on the form, as many as you might need, setting their lengths to zero and then resetting the lengths in code to draw the line. Have to admit that I can't remember trying this, but since you aren't creating the controls at runtime, I don't see why it should not work. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 9:34 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drawing on Ms Access Forms Hello Everyone I would like to create a timeline gage where a line shows up on a form to shown that the hours of 10:00 thru 12:00 and 17:00 thru 19:00 are scheduled. I tried a text box, with a string where I could mid$ in various characters an display them in real time, but I am hopeing for a more elegant solution that doesn't look so hoky. Back in the Radio Shack Color computer days you could draw lines on the screen. Using the createcontrol method requires that the forms switch back and forth of design mode. Any ideas on how to get around that ? Any examples I can look at at ? Thanks. Sincerely, Edz. . . . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Thu Aug 21 11:31:04 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Thu, 21 Aug 2008 09:31:04 -0700 Subject: [AccessD] Drawing on Ms Access Forms In-Reply-To: <004c01c903af$3de24950$65dea8c0@dudley1> References: <00e301c903a4$ec75c1f0$0301a8c0@HAL9005> <004c01c903af$3de24950$65dea8c0@dudley1> Message-ID: <00e901c903ab$4f4431d0$0301a8c0@HAL9005> I don't know how much resizing and repositioning of controls you can do in a form without going to design view. But IIRC, it will work. I know there are lots of properties that can be set at run time like forecolor and backcolor. I'd try it with a simple form with one or two controls. Regards, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 9:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Drawing on Ms Access Forms Anything like that for interactive forms displayed to the user ? -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Rocky Smolin at Beach Access Software Sent: Thursday, August 21, 2008 8:45 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Drawing on Ms Access Forms I had to make rather complex line and bar graphs once in Access at report time based on data in a table. I used zero length lines positioned where I wanted them and then, in the format event, changed the length based on the bound value from the table. I was also able to position letters like x where I wanted the same way using a known value for the top and left and adding enough twips to put it where I wanted it. HTH Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 9:34 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drawing on Ms Access Forms Hello Everyone I would like to create a timeline gage where a line shows up on a form to shown that the hours of 10:00 thru 12:00 and 17:00 thru 19:00 are scheduled. I tried a text box, with a string where I could mid$ in various characters an display them in real time, but I am hopeing for a more elegant solution that doesn't look so hoky. Back in the Radio Shack Color computer days you could draw lines on the screen. Using the createcontrol method requires that the forms switch back and forth of design mode. Any ideas on how to get around that ? Any examples I can look at at ? Thanks. Sincerely, Edz. . . . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd 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 Thu Aug 21 11:52:16 2008 From: john at winhaven.net (John Bartow) Date: Thu, 21 Aug 2008 11:52:16 -0500 Subject: [AccessD] Drawing on Ms Access Forms In-Reply-To: <004d01c903b0$00c90030$65dea8c0@dudley1> References: <004d01c903b0$00c90030$65dea8c0@dudley1> Message-ID: <010301c903ae$49890880$dc9b1980$@net> Hi Ed, You can change some of the properties without going into design mode, background color would be one of these. You could use the after update event to iterate through the 120 rectangles and change the background color of each as required. Giving each a numerical name may aid in this. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 12:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Drawing on Ms Access Forms I'll give it a try. It might work. Only 120 rectangles. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, August 21, 2008 8:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Drawing on Ms Access Forms Have you thought about putting line controls on the form, as many as you might need, setting their lengths to zero and then resetting the lengths in code to draw the line. Have to admit that I can't remember trying this, but since you aren't creating the controls at runtime, I don't see why it should not work. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 9:34 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drawing on Ms Access Forms Hello Everyone I would like to create a timeline gage where a line shows up on a form to shown that the hours of 10:00 thru 12:00 and 17:00 thru 19:00 are scheduled. I tried a text box, with a string where I could mid$ in various characters an display them in real time, but I am hopeing for a more elegant solution that doesn't look so hoky. Back in the Radio Shack Color computer days you could draw lines on the screen. Using the createcontrol method requires that the forms switch back and forth of design mode. Any ideas on how to get around that ? Any examples I can look at at ? Thanks. Sincerely, Edz. . . . -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From markamatte at hotmail.com Thu Aug 21 14:20:35 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Thu, 21 Aug 2008 19:20:35 +0000 Subject: [AccessD] Rank in a query In-Reply-To: <4B311B9EBA7D4E46B3E273E408B7FF63@minster33c3r25> References: <57E6E6CA42105A48B977303A2CDC2720076DA26DF2@WPEXCH22.retail.ad.cmltd.net.au> <4B311B9EBA7D4E46B3E273E408B7FF63@minster33c3r25> Message-ID: Hello All, I need to add a 'ranking' in a query. I can do a subquery to count records greater than the value in question...this works fine againts a table...but I want to run it againts a query...but for some reason I get an error that it can't find my field/query? Does a subquery referencing a table behave differently than a subquery referencing a query? Thanks, Mark A. Matte **********THIS WORKS ************** SELECT a.Au_Score, (SELECT count(*) FROM tblCase_Audit WHERE Au_Score>[a].[au_score];) AS Expr1 FROM tblCase_Audit AS a; **********THIS DOES NOT WORK ************** SELECT q.Quality, (Select Count(*) FROM qryQ_Mo_Score WHERE Quality>[q].[Quality];) AS Ranking FROM qryQ_Mo_Score AS q; ERROR= "Does not recognize '[q].[Quality]'" _________________________________________________________________ See what people are saying about Windows Live. Check out featured posts. http://www.windowslive.com/connect?ocid=TXT_TAGLM_WL_connect2_082008 From Gustav at cactus.dk Thu Aug 21 16:58:00 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Thu, 21 Aug 2008 23:58:00 +0200 Subject: [AccessD] Rank in a query Message-ID: Hi Mark Try to reverse the aliasing: SELECT Quality, (Select Count(*) FROM qryQ_Mo_Score As q WHERE q.Quality>qryQ_Mo_Score.[Quality];) AS Ranking FROM qryQ_Mo_Score; /gustav >>> markamatte at hotmail.com 21-08-2008 21:20 >>> Hello All, I need to add a 'ranking' in a query. I can do a subquery to count records greater than the value in question...this works fine againts a table...but I want to run it againts a query...but for some reason I get an error that it can't find my field/query? Does a subquery referencing a table behave differently than a subquery referencing a query? Thanks, Mark A. Matte **********THIS WORKS ************** SELECT a.Au_Score, (SELECT count(*) FROM tblCase_Audit WHERE Au_Score>[a].[au_score];) AS Expr1 FROM tblCase_Audit AS a; **********THIS DOES NOT WORK ************** SELECT q.Quality, (Select Count(*) FROM qryQ_Mo_Score WHERE Quality>[q].[Quality];) AS Ranking FROM qryQ_Mo_Score AS q; ERROR= "Does not recognize '[q].[Quality]'" From fuller.artful at gmail.com Thu Aug 21 18:41:19 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Thu, 21 Aug 2008 20:41:19 -0300 Subject: [AccessD] I need paid help immediately Message-ID: <29f585dd0808211641r45dd4cedr85c534e5182ed478@mail.gmail.com> Dear list, I have a serious problem on my hands. I have a fairly simple app that is almost entirely done but something bizarre has happened: the client is able to run the app but I am not. It crashes Access immediately after the login screen. I have two computers available, my box at work running Office 2003 on XP, and my box at home running Vista. Both crash immediately after the login. Now for the bizarre part: the user does not experience this problem. In all my programming experience it's been the other way around; I can run the code but something is amiss on the client's box. Not this time. I don't know what happened to my notebook, and the box at work is completely new to this app, but both crash Access immediately after you press Enter on the login screen. But not on the client's computer! After login, I open two forms, one of which is like a switchboard and the other is a navigable screen that presents the table of principal interest. All of this used to work on my laptop until about 2 weeks ago. The client pointed a few things that didn't work as expected, which is to be expected, and I started out trying to fix them, when suddenly I could not open the app. I tried creating a new app and importing all the stuff from the old app, to no avail. Something serious is wrong, and not only on my home computer but also on my home computer. I am too busy in my new job to figure this out and take it to the goalposts. I would estimate that there is one day remaining to fix the problems, and I'm willing to pay $50 US an hour (that's all I'm allegedly making, although this part comes out of my pocket not the client's). I can supply reasonably precise documentation of the remaining problems from the client (she is good at gathering and consolidating this stuff from her five or so testers). Not only am I too busy with the current project to take this to a touchdown, but for some unexplained reasons I am unable even to open the app -- but the client can! She sends me a zip of the previous version, which runs on her computer, and used to run on mine, but now it won't. I have been working my way backwards through all the previous versions (which are pretty much but not always daily) trying to find the last stable one. I am having serious problems and I don't know what is wrong. So. Bottom line is: I need somebody to take this the remaining 10% of the way. This is going to be on my nickel, and all I can afford to pay is $50 US an hour. I think that the fixes required would take 1 day of a skilled VBA programmer's time. Is anyone immediately available? (You gotta be skilled.) It's up to me to pay for this service, and I will pay immediately upon success. I would finish this myself if only I could get past the load/run problems, but I immediately cannot and I have other fish to fry. So if any of you are interested, please private me asap. I need to wrap this up. I can supply a description of the app and code and even the halfway-completed user guide, and an email trail from the various testers. But I just don't have the time to complete it. I need it to be completed, but due to the demise of one of our small crew here in Bermuda, I'm suddenly saddled with 12-hour days 7 days a week, and I cannot complete this project myself. I need help and I am willing to pay for it (maybe $50/hr. is less than you make, and I don't mean to insult you with this offer, but I accepted the gig for slightly less than that, and we've already spent the budget so completion is going to come out of my pocket, and that rate is the best I can offer.) Anyone willing to bite this fish-hook? I need help and I need it yesterday. The app is not particularly complex but I'm too busy on my current stuff to attend to this. TIA, Arthur From Darryl.Collins at coles.com.au Thu Aug 21 18:54:12 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Fri, 22 Aug 2008 09:54:12 +1000 Subject: [AccessD] I need paid help immediately In-Reply-To: <29f585dd0808211641r45dd4cedr85c534e5182ed478@mail.gmail.com> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076DA26E03@WPEXCH22.retail.ad.cmltd.net.au> Hi Arthur, I am definately not the person for this gig, but it might be worth mentioning what version of Access this was built in can see if they can help. If you want to send me a zipped copy, I can see if it opens here ok or not (naturally, this offer is for no charge!). I only have Access 2000 at work so I don't know if that will help you out for not? Good luck - This kind of stress you don't need at the best of times... Darryl. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Arthur Fuller Sent: Friday, 22 August 2008 9:41 AM To: Access Developers discussion and problem solving Subject: [AccessD] I need paid help immediately Dear list, I have a serious problem on my hands. I have a fairly simple app that is almost entirely done but something bizarre has happened: the client is able to run the app but I am not. It crashes Access immediately after the login screen. I have two computers available, my box at work running Office 2003 on XP, and my box at home running Vista. Both crash immediately after the login. Now for the bizarre part: the user does not experience this problem. In all my programming experience it's been the other way around; I can run the code but something is amiss on the client's box. Not this time. I don't know what happened to my notebook, and the box at work is completely new to this app, but both crash Access immediately after you press Enter on the login screen. But not on the client's computer! After login, I open two forms, one of which is like a switchboard and the other is a navigable screen that presents the table of principal interest. All of this used to work on my laptop until about 2 weeks ago. The client pointed a few things that didn't work as expected, which is to be expected, and I started out trying to fix them, when suddenly I could not open the app. I tried creating a new app and importing all the stuff from the old app, to no avail. Something serious is wrong, and not only on my home computer but also on my home computer. I am too busy in my new job to figure this out and take it to the goalposts. I would estimate that there is one day remaining to fix the problems, and I'm willing to pay $50 US an hour (that's all I'm allegedly making, although this part comes out of my pocket not the client's). I can supply reasonably precise documentation of the remaining problems from the client (she is good at gathering and consolidating this stuff from her five or so testers). Not only am I too busy with the current project to take this to a touchdown, but for some unexplained reasons I am unable even to open the app -- but the client can! She sends me a zip of the previous version, which runs on her computer, and used to run on mine, but now it won't. I have been working my way backwards through all the previous versions (which are pretty much but not always daily) trying to find the last stable one. I am having serious problems and I don't know what is wrong. So. Bottom line is: I need somebody to take this the remaining 10% of the way. This is going to be on my nickel, and all I can afford to pay is $50 US an hour. I think that the fixes required would take 1 day of a skilled VBA programmer's time. Is anyone immediately available? (You gotta be skilled.) It's up to me to pay for this service, and I will pay immediately upon success. I would finish this myself if only I could get past the load/run problems, but I immediately cannot and I have other fish to fry. So if any of you are interested, please private me asap. I need to wrap this up. I can supply a description of the app and code and even the halfway-completed user guide, and an email trail from the various testers. But I just don't have the time to complete it. I need it to be completed, but due to the demise of one of our small crew here in Bermuda, I'm suddenly saddled with 12-hour days 7 days a week, and I cannot complete this project myself. I need help and I am willing to pay for it (maybe $50/hr. is less than you make, and I don't mean to insult you with this offer, but I accepted the gig for slightly less than that, and we've already spent the budget so completion is going to come out of my pocket, and that rate is the best I can offer.) Anyone willing to bite this fish-hook? I need help and I need it yesterday. The app is not particularly complex but I'm too busy on my current stuff to attend to this. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material. From mmattys at rochester.rr.com Thu Aug 21 20:21:21 2008 From: mmattys at rochester.rr.com (mmattys at rochester.rr.com) Date: Thu, 21 Aug 2008 21:21:21 -0400 Subject: [AccessD] I need paid help immediately Message-ID: <11849419.560661219368082079.JavaMail.root@hrndva-web28-z02> Hi Arthur, I'm on vacation in Jupiter and able to help if you still need code. Mike Mattys ---- Arthur Fuller wrote: > Dear list, > > I have a serious problem on my hands. I have a fairly simple app that is > almost entirely done but something bizarre has happened: the client is able > to run the app but I am not. It crashes Access immediately after the login > screen. I have two computers available, my box at work running Office 2003 > on XP, and my box at home running Vista. Both crash immediately after the > login. > > Now for the bizarre part: the user does not experience this problem. In all > my programming experience it's been the other way around; I can run the code > but something is amiss on the client's box. Not this time. I don't know what > happened to my notebook, and the box at work is completely new to this app, > but both crash Access immediately after you press Enter on the login screen. > But not on the client's computer! After login, I open two forms, one of > which is like a switchboard and the other is a navigable screen that > presents the table of principal interest. All of this used to work on my > laptop until about 2 weeks ago. The client pointed a few things that didn't > work as expected, which is to be expected, and I started out trying to fix > them, when suddenly I could not open the app. I tried creating a new app and > importing all the stuff from the old app, to no avail. Something serious is > wrong, and not only on my home computer but also on my home computer. > > I am too busy in my new job to figure this out and take it to the goalposts. > I would estimate that there is one day remaining to fix the problems, and > I'm willing to pay $50 US an hour (that's all I'm allegedly making, although > this part comes out of my pocket not the client's). I can supply reasonably > precise documentation of the remaining problems from the client (she is good > at gathering and consolidating this stuff from her five or so testers). > > Not only am I too busy with the current project to take this to a touchdown, > but for some unexplained reasons I am unable even to open the app -- but the > client can! She sends me a zip of the previous version, which runs on her > computer, and used to run on mine, but now it won't. > > I have been working my way backwards through all the previous versions > (which are pretty much but not always daily) trying to find the last stable > one. I am having serious problems and I don't know what is wrong. > > So. Bottom line is: I need somebody to take this the remaining 10% of the > way. This is going to be on my nickel, and all I can afford to pay is $50 US > an hour. I think that the fixes required would take 1 day of a skilled VBA > programmer's time. Is anyone immediately available? (You gotta be skilled.) > It's up to me to pay for this service, and I will pay immediately upon > success. I would finish this myself if only I could get past the load/run > problems, but I immediately cannot and I have other fish to fry. > > So if any of you are interested, please private me asap. I need to wrap this > up. I can supply a description of the app and code and even the > halfway-completed user guide, and an email trail from the various testers. > But I just don't have the time to complete it. I need it to be completed, > but due to the demise of one of our small crew here in Bermuda, I'm suddenly > saddled with 12-hour days 7 days a week, and I cannot complete this project > myself. I need help and I am willing to pay for it (maybe $50/hr. is less > than you make, and I don't mean to insult you with this offer, but I > accepted the gig for slightly less than that, and we've already spent the > budget so completion is going to come out of my pocket, and that rate is the > best I can offer.) > > Anyone willing to bite this fish-hook? I need help and I need it yesterday. > The app is not particularly complex but I'm too busy on my current stuff to > attend to this. > > TIA, > Arthur > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From darren at activebilling.com.au Thu Aug 21 20:28:13 2008 From: darren at activebilling.com.au (Darren D) Date: Fri, 22 Aug 2008 11:28:13 +1000 Subject: [AccessD] A2003: Calling an Update SPROC-Calling aSPROCthatr eturns records In-Reply-To: <49A286ABF515E94A8505CD14DEB7217001875617@CPIEMAIL-EVS1.CPIQPC.NET> References: <49A286ABF515E94A8505CD14DEB7217001875617@CPIEMAIL-EVS1.CPIQPC.NET> Message-ID: <010501c903f6$59947730$0d1b910a@denzilnote> Hi team Thanks to all who responded. I did manage to cobble something together and it works nicely - Many thanks Now I need to start playing with the SPROCS that return records and displaying the results Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of rusty.hammond at cpiqpc.com Sent: Thursday, 21 August 2008 1:13 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling aSPROCthatr eturns records I've done the pass through query as described below, but when parameters are required, I just change the sql of the query via code. Sample below Function ChangePassThroughQuery() Dim db as Database Dim qdf as QueryDef Dim strParam as String strParam = "ParameterValueHere" Set db = CurrentDb Set qdf = db.QueryDefs("qryRunSPROC") qdf.SQL = "StoredProcedureName " & strParam qdf.Close DoCmd.OpenQuery "qryRunSPROC") db.Close Set db = Nothing End Function HTH Rusty -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren D Sent: Tuesday, August 19, 2008 10:20 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a SPROCthatreturns records Hi Stuart Thanks I'll give this a go - Sorry I should have mentioned that all the SPROS require parameters Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart McLachlan Sent: Wednesday, 20 August 2008 1:04 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC thatreturns records Simplest way is to create a "PassThrough". Query IN 2003 (other version should be similar)" 1. Create a New query but don't select any tables. 2. Select Query - SQL Specific - Passthrough from the main menu bar. 3. Select View - Properties (Or hit Alt+Enter) 4. Click in OBDC Connect Str, thenclick on the builder button (...) and select your ODBC source (or enter a connection string if you have one written) 5. for an update query ,set the ReturnsRecords property to No. 6. Enter the sp name in the build window 7. Save the Query Then just open the query when required. Note that you can't pass parameters through a PassThrough query, if your sp requires parameters, you'll have to do it in code with something like this: Dim db As DAO.Database Dim qdPTQuery As QueryDef Dim strSQL As String Dim strParam as String strParam = "123" Set db = CurrentDb strSQL = "myUpdateSP " & strParam Set qdPTQuery = db.CreateQueryDef("myPassThroughQuery") qdPTQuery.Connect = "ODBC;DSN=................." qdPTQuery.SQL = strSQL qdPTQuery.returnsrecords = False 'if an update query qdPTQuery.Close db.Close Set db = Nothing On 20 Aug 2008 at 11:21, Darren D wrote: > Hi team > > > > I need to call some Stored procedures (SPROCS) in SQL Server from my Access dB > > The SPROCS will be both simple update ones and some of them will return results > > Does anyone have examples how to interact with both types? > > IE Just run one. And with the other get the results back and display them in my > Access dB? > > > > I think I have asked this question before but can't find the answer > > I think I was using an ADP when I asked though - This is a plain ole' MDB > request > > > > Many thanks in advance > > > > Darren > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- Stuart Mclachlan -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com ********************************************************************** WARNING: All e-mail sent to and from this address will be received, scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. corporate e-mail system and is subject to archival, monitoring or review by, and/or disclosure to, someone other than the recipient. ********************************************************************** -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dbdoug at gmail.com Thu Aug 21 23:37:32 2008 From: dbdoug at gmail.com (Doug Steele) Date: Thu, 21 Aug 2008 21:37:32 -0700 Subject: [AccessD] A2003: Calling an Update SPROC-Calling aSPROCthatr eturns records In-Reply-To: <010501c903f6$59947730$0d1b910a@denzilnote> References: <49A286ABF515E94A8505CD14DEB7217001875617@CPIEMAIL-EVS1.CPIQPC.NET> <010501c903f6$59947730$0d1b910a@denzilnote> Message-ID: <4dd71a0c0808212137k24f5ea20q7806fa6d817ce525@mail.gmail.com> If you have any particular hints, I'd be interested in hearing them - I expect to be trying this in the near future. Thanks, Doug Steele On Thu, Aug 21, 2008 at 6:28 PM, Darren D wrote: > Hi team > > Thanks to all who responded. I did manage to cobble something together and > it > works nicely - Many thanks > Now I need to start playing with the SPROCS that return records and > displaying > the results > > Darren > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > rusty.hammond at cpiqpc.com > Sent: Thursday, 21 August 2008 1:13 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling aSPROCthatr > eturns > records > > I've done the pass through query as described below, but when parameters > are > required, I just change the sql of the query via code. Sample below > > Function ChangePassThroughQuery() > > Dim db as Database > Dim qdf as QueryDef > Dim strParam as String > > strParam = "ParameterValueHere" > > Set db = CurrentDb > Set qdf = db.QueryDefs("qryRunSPROC") > qdf.SQL = "StoredProcedureName " & strParam > qdf.Close > > DoCmd.OpenQuery "qryRunSPROC") > > db.Close > Set db = Nothing > > End Function > > HTH > > Rusty > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren D > Sent: Tuesday, August 19, 2008 10:20 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a > SPROCthatreturns records > > > Hi Stuart > > Thanks I'll give this a go - Sorry I should have mentioned that all the > SPROS > require parameters > > Darren > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Wednesday, 20 August 2008 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC > thatreturns records > > Simplest way is to create a "PassThrough". Query > > IN 2003 (other version should be similar)" > > 1. Create a New query but don't select any tables. > 2. Select Query - SQL Specific - Passthrough from the main menu bar. > 3. Select View - Properties (Or hit Alt+Enter) > 4. Click in OBDC Connect Str, thenclick on the builder button (...) and > select > your ODBC > source (or enter a connection string if you have one written) > 5. for an update query ,set the ReturnsRecords property to No. > 6. Enter the sp name in the build window > 7. Save the Query > > Then just open the query when required. > > Note that you can't pass parameters through a PassThrough query, if your sp > requires > parameters, you'll have to do it in code with something like this: > > Dim db As DAO.Database > Dim qdPTQuery As QueryDef > Dim strSQL As String > Dim strParam as String > > strParam = "123" > > Set db = CurrentDb > strSQL = "myUpdateSP " & strParam > Set qdPTQuery = db.CreateQueryDef("myPassThroughQuery") > qdPTQuery.Connect = "ODBC;DSN=................." > qdPTQuery.SQL = strSQL > qdPTQuery.returnsrecords = False 'if an update query > qdPTQuery.Close > db.Close > Set db = Nothing > > > > On 20 Aug 2008 at 11:21, Darren D wrote: > > > Hi team > > > > > > > > I need to call some Stored procedures (SPROCS) in SQL Server from my > Access dB > > > > The SPROCS will be both simple update ones and some of them will return > results > > > > Does anyone have examples how to interact with both types? > > > > IE Just run one. And with the other get the results back and display them > in > my > > Access dB? > > > > > > > > I think I have asked this question before but can't find the answer > > > > I think I was using an ADP when I asked though - This is a plain ole' MDB > > request > > > > > > > > Many thanks in advance > > > > > > > > Darren > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > Stuart Mclachlan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > WARNING: All e-mail sent to and from this address will be received, > scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. > corporate e-mail system and is subject to archival, monitoring or review > by, and/or disclosure to, someone other than the recipient. > ********************************************************************** > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > 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 Fri Aug 22 10:06:37 2008 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 22 Aug 2008 10:06:37 (MET DST) Subject: [AccessD] how do i do this? Message-ID: <200808220806.m7M86bpT017701@mailhostC.plex.net> Hello Group, I have a table with 5 fields, see below. (Diag3 isn't seen in the table) I would like to have the records back where in "Diag1" or "Diag2", The value of Rapnaam is (part) present and Where "Diag3" is empty Thanks Pedro RapNaam Pap Diag1 Diag2 B07-08041 1 B07-08041_13-11-07_uitsl.plav*pap1 B07-06205 1 B07-06205_07-09-07_uitsl.plav*pap1 B07-07544_07-10-07_geen B07-07901 1 B07-08990_07-11-07_g.a*g.ec*pap1 B07-05286 1 T07-06666_11-07-07_Cervix*geen afw From pedro at plex.nl Fri Aug 22 11:02:30 2008 From: pedro at plex.nl (pedro at plex.nl) Date: Fri, 22 Aug 2008 11:02:30 (MET DST) Subject: [AccessD] how can i do this? - addition Message-ID: <200808220902.m7M92U8g021435@mailhostC.plex.net> I have the query, but i just need to now what i can use as operator in the WHERE statement to search on part of a value of a field?? Pedro From andy at minstersystems.co.uk Fri Aug 22 04:10:05 2008 From: andy at minstersystems.co.uk (Andy Lacey) Date: Fri, 22 Aug 2008 10:10:05 +0100 Subject: [AccessD] how can i do this? - addition In-Reply-To: <200808220902.m7M92U8g021435@mailhostC.plex.net> Message-ID: Pedro That'd be WHERE Instr(1,[Diag1],[RapNaam])<>0 Or if Diag1 may be null you'd need WHERE Nz(Instr(1,[Diag1],[RapNaam]),0)<>0 -- Andy Lacey http://www.minstersystems.co.uk >-----Original Message----- >From: accessd-bounces at databaseadvisors.com >[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >pedro at plex.nl >Sent: 22 August 2008 11:03 >To: accessd at databaseadvisors.com >Subject: [AccessD] how can i do this? - addition > > >I have the query, but i just need to now what i can use as >operator in the WHERE statement to search on part of a value >of a field?? > >Pedro >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com > From markamatte at hotmail.com Fri Aug 22 08:39:43 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 22 Aug 2008 13:39:43 +0000 Subject: [AccessD] Rank in a query In-Reply-To: References: Message-ID: Thanks Gustav, But this did not work...I get the same error but reverse of the fields... I think I forgot to mention 1 piece...qryQ_Mo_Score is a crosstab query([Quality] is a row heading not the value). Are crosstabs treated differently as record sources? Thanks, Mark > Date: Thu, 21 Aug 2008 23:58:00 +0200 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Rank in a query > > Hi Mark > > Try to reverse the aliasing: > > SELECT > Quality, > (Select Count(*) > FROM qryQ_Mo_Score As q > WHERE q.Quality>qryQ_Mo_Score.[Quality];) AS > Ranking > FROM > qryQ_Mo_Score; > > /gustav > >>>> markamatte at hotmail.com 21-08-2008 21:20>>> > > Hello All, > > I need to add a 'ranking' in a query. I can do a subquery to count records greater than the value in question...this works fine againts a table...but I want to run it againts a query...but for some reason I get an error that it can't find my field/query? > > Does a subquery referencing a table behave differently than a subquery referencing a query? > > Thanks, > > Mark A. Matte > > > **********THIS WORKS ************** > SELECT a.Au_Score, (SELECT count(*) > FROM tblCase_Audit > WHERE Au_Score>[a].[au_score];) AS Expr1 > FROM tblCase_Audit AS a; > > > **********THIS DOES NOT WORK ************** > SELECT q.Quality, (Select Count(*) > FROM qryQ_Mo_Score > WHERE Quality>[q].[Quality];) AS Ranking > FROM qryQ_Mo_Score AS q; > > ERROR= "Does not recognize '[q].[Quality]'" > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ Be the filmmaker you always wanted to be?learn how to burn a DVD with Windows?. http://clk.atdmt.com/MRT/go/108588797/direct/01/ From Gustav at cactus.dk Fri Aug 22 08:52:14 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 22 Aug 2008 15:52:14 +0200 Subject: [AccessD] Rank in a query Message-ID: Hi Mark They certainly are. Try to specify Fixed Column Headings in the crosstab query. >>> markamatte at hotmail.com 22-08-2008 15:39 >>> Thanks Gustav, But this did not work...I get the same error but reverse of the fields... I think I forgot to mention 1 piece...qryQ_Mo_Score is a crosstab query([Quality] is a row heading not the value). Are crosstabs treated differently as record sources? Thanks, Mark > Date: Thu, 21 Aug 2008 23:58:00 +0200 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Rank in a query > > Hi Mark > > Try to reverse the aliasing: > > SELECT > Quality, > (Select Count(*) > FROM qryQ_Mo_Score As q > WHERE q.Quality>qryQ_Mo_Score.[Quality];) AS > Ranking > FROM > qryQ_Mo_Score; > > /gustav > >>>> markamatte at hotmail.com 21-08-2008 21:20>>> > > Hello All, > > I need to add a 'ranking' in a query. I can do a subquery to count records greater than the value in question...this works fine againts a table...but I want to run it againts a query...but for some reason I get an error that it can't find my field/query? > > Does a subquery referencing a table behave differently than a subquery referencing a query? > > Thanks, > > Mark A. Matte > > > **********THIS WORKS ************** > SELECT a.Au_Score, (SELECT count(*) > FROM tblCase_Audit > WHERE Au_Score>[a].[au_score];) AS Expr1 > FROM tblCase_Audit AS a; > > > **********THIS DOES NOT WORK ************** > SELECT q.Quality, (Select Count(*) > FROM qryQ_Mo_Score > WHERE Quality>[q].[Quality];) AS Ranking > FROM qryQ_Mo_Score AS q; > > ERROR= "Does not recognize '[q].[Quality]'" From adtp at airtelmail.in Fri Aug 22 09:04:38 2008 From: adtp at airtelmail.in (A.D.Tejpal) Date: Fri, 22 Aug 2008 19:34:38 +0530 Subject: [AccessD] Drawing on Ms Access Forms References: <004d01c903b0$00c90030$65dea8c0@dudley1> <010301c903ae$49890880$dc9b1980$@net> Message-ID: <008001c90460$45f622e0$8384a37a@personald6374f> Edz, For a given item on a given date, you wish to display a series of strips representing scheduled time slots. It should be feasible to meet the desired objective via conditional formatting of bound controls. Coding requirement would be minimal. I shall try to put together a sample db in next few days. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: John Bartow To: 'Access Developers discussion and problem solving' Sent: Thursday, August 21, 2008 22:22 Subject: Re: [AccessD] Drawing on Ms Access Forms Hi Ed, You can change some of the properties without going into design mode, background color would be one of these. You could use the after update event to iterate through the 120 rectangles and change the background color of each as required. Giving each a numerical name may aid in this. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 12:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Drawing on Ms Access Forms I'll give it a try. It might work. Only 120 rectangles. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, August 21, 2008 8:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Drawing on Ms Access Forms Have you thought about putting line controls on the form, as many as you might need, setting their lengths to zero and then resetting the lengths in code to draw the line. Have to admit that I can't remember trying this, but since you aren't creating the controls at runtime, I don't see why it should not work. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 9:34 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drawing on Ms Access Forms Hello Everyone I would like to create a timeline gage where a line shows up on a form to shown that the hours of 10:00 thru 12:00 and 17:00 thru 19:00 are scheduled. I tried a text box, with a string where I could mid$ in various characters an display them in real time, but I am hopeing for a more elegant solution that doesn't look so hoky. Back in the Radio Shack Color computer days you could draw lines on the screen. Using the createcontrol method requires that the forms switch back and forth of design mode. Any ideas on how to get around that ? Any examples I can look at at ? Thanks. Sincerely, Edz. . . . From markamatte at hotmail.com Fri Aug 22 09:26:19 2008 From: markamatte at hotmail.com (Mark A Matte) Date: Fri, 22 Aug 2008 14:26:19 +0000 Subject: [AccessD] Rank in a query In-Reply-To: References: Message-ID: Gustav, Thank You...This worked...but now I am confused in a different way...lol.... Here is the crosstab: ************SQL************** TRANSFORM Avg(tblQuality_Score.Q_Score) AS AvgOfQ_Score SELECT tblQuality_Score.Agent_ID, Avg(tblQuality_Score.Q_Score) AS Quality FROM tblQuality_Score INNER JOIN tblcalendar ON tblQuality_Score.Doc_Date = tblcalendar.sears_date GROUP BY tblQuality_Score.Agent_ID PIVOT tblcalendar.month_abbr In ("Apr","May","Jun"); ************SQL*************** The field I am trying to reference is Quality...which is NOT used in defining fixed column headings. So by defining ("Apr","May","Jun") I can now reference "Quality"? I know it works, glad it works, just curious why... Thanks, Mark > Date: Fri, 22 Aug 2008 15:52:14 +0200 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Rank in a query > > Hi Mark > > They certainly are. > Try to specify Fixed Column Headings in the crosstab query. > >>>> markamatte at hotmail.com 22-08-2008 15:39>>> > > Thanks Gustav, > > But this did not work...I get the same error but reverse of the fields... > > I think I forgot to mention 1 piece...qryQ_Mo_Score is a crosstab query([Quality] is a row heading not the value). > > Are crosstabs treated differently as record sources? > > Thanks, > > Mark > > >> Date: Thu, 21 Aug 2008 23:58:00 +0200 >> From: Gustav at cactus.dk >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Rank in a query >> >> Hi Mark >> >> Try to reverse the aliasing: >> >> SELECT >> Quality, >> (Select Count(*) >> FROM qryQ_Mo_Score As q >> WHERE q.Quality>qryQ_Mo_Score.[Quality];) AS >> Ranking >> FROM >> qryQ_Mo_Score; >> >> /gustav >> >>>>> markamatte at hotmail.com 21-08-2008 21:20>>> >> >> Hello All, >> >> I need to add a 'ranking' in a query. I can do a subquery to count records greater than the value in question...this works fine againts a table...but I want to run it againts a query...but for some reason I get an error that it can't find my field/query? >> >> Does a subquery referencing a table behave differently than a subquery referencing a query? >> >> Thanks, >> >> Mark A. Matte >> >> >> **********THIS WORKS ************** >> SELECT a.Au_Score, (SELECT count(*) >> FROM tblCase_Audit >> WHERE Au_Score>[a].[au_score];) AS Expr1 >> FROM tblCase_Audit AS a; >> >> >> **********THIS DOES NOT WORK ************** >> SELECT q.Quality, (Select Count(*) >> FROM qryQ_Mo_Score >> WHERE Quality>[q].[Quality];) AS Ranking >> FROM qryQ_Mo_Score AS q; >> >> ERROR= "Does not recognize '[q].[Quality]'" > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com _________________________________________________________________ See what people are saying about Windows Live. Check out featured posts. http://www.windowslive.com/connect?ocid=TXT_TAGLM_WL_connect2_082008 From Gustav at cactus.dk Fri Aug 22 09:34:58 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 22 Aug 2008 16:34:58 +0200 Subject: [AccessD] Rank in a query Message-ID: Hi Mark I see. Never thought of that. I would guess that Access barks if it cannot identify _all_ columns. /gustav >>> markamatte at hotmail.com 22-08-2008 16:26 >>> Gustav, Thank You...This worked...but now I am confused in a different way...lol.... Here is the crosstab: ************SQL************** TRANSFORM Avg(tblQuality_Score.Q_Score) AS AvgOfQ_Score SELECT tblQuality_Score.Agent_ID, Avg(tblQuality_Score.Q_Score) AS Quality FROM tblQuality_Score INNER JOIN tblcalendar ON tblQuality_Score.Doc_Date = tblcalendar.sears_date GROUP BY tblQuality_Score.Agent_ID PIVOT tblcalendar.month_abbr In ("Apr","May","Jun"); ************SQL*************** The field I am trying to reference is Quality...which is NOT used in defining fixed column headings. So by defining ("Apr","May","Jun") I can now reference "Quality"? I know it works, glad it works, just curious why... Thanks, Mark > Date: Fri, 22 Aug 2008 15:52:14 +0200 > From: Gustav at cactus.dk > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] Rank in a query > > Hi Mark > > They certainly are. > Try to specify Fixed Column Headings in the crosstab query. > >>>> markamatte at hotmail.com 22-08-2008 15:39>>> > > Thanks Gustav, > > But this did not work...I get the same error but reverse of the fields... > > I think I forgot to mention 1 piece...qryQ_Mo_Score is a crosstab query([Quality] is a row heading not the value). > > Are crosstabs treated differently as record sources? > > Thanks, > > Mark > > >> Date: Thu, 21 Aug 2008 23:58:00 +0200 >> From: Gustav at cactus.dk >> To: accessd at databaseadvisors.com >> Subject: Re: [AccessD] Rank in a query >> >> Hi Mark >> >> Try to reverse the aliasing: >> >> SELECT >> Quality, >> (Select Count(*) >> FROM qryQ_Mo_Score As q >> WHERE q.Quality>qryQ_Mo_Score.[Quality];) AS >> Ranking >> FROM >> qryQ_Mo_Score; >> >> /gustav >> >>>>> markamatte at hotmail.com 21-08-2008 21:20>>> >> >> Hello All, >> >> I need to add a 'ranking' in a query. I can do a subquery to count records greater than the value in question...this works fine againts a table...but I want to run it againts a query...but for some reason I get an error that it can't find my field/query? >> >> Does a subquery referencing a table behave differently than a subquery referencing a query? >> >> Thanks, >> >> Mark A. Matte >> >> >> **********THIS WORKS ************** >> SELECT a.Au_Score, (SELECT count(*) >> FROM tblCase_Audit >> WHERE Au_Score>[a].[au_score];) AS Expr1 >> FROM tblCase_Audit AS a; >> >> >> **********THIS DOES NOT WORK ************** >> SELECT q.Quality, (Select Count(*) >> FROM qryQ_Mo_Score >> WHERE Quality>[q].[Quality];) AS Ranking >> FROM qryQ_Mo_Score AS q; >> >> ERROR= "Does not recognize '[q].[Quality]'" From pedro at plex.nl Fri Aug 22 15:17:24 2008 From: pedro at plex.nl (Pedro Janssen) Date: Fri, 22 Aug 2008 22:17:24 +0200 Subject: [AccessD] how can i do this? - addition References: Message-ID: <001001c90494$173a08c0$400aa8c0@qmotionfaa3ad9> Hello Andy, thanks, i am just back at home and will try it out monday at work. Best Wishes Pedro ----- Original Message ----- From: "Andy Lacey" To: "'Access Developers discussion and problem solving'" Sent: Friday, August 22, 2008 11:10 AM Subject: Re: [AccessD] how can i do this? - addition > Pedro > > That'd be > > WHERE Instr(1,[Diag1],[RapNaam])<>0 > > > Or if Diag1 may be null you'd need > > WHERE Nz(Instr(1,[Diag1],[RapNaam]),0)<>0 > > > > -- Andy Lacey > http://www.minstersystems.co.uk > > > >>-----Original Message----- >>From: accessd-bounces at databaseadvisors.com >>[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of >>pedro at plex.nl >>Sent: 22 August 2008 11:03 >>To: accessd at databaseadvisors.com >>Subject: [AccessD] how can i do this? - addition >> >> >>I have the query, but i just need to now what i can use as >>operator in the WHERE statement to search on part of a value >>of a field?? >> >>Pedro >>-- >>AccessD mailing list >>AccessD at databaseadvisors.com >>http://databaseadvisors.com/mailman/listinfo/accessd >>Website: http://www.databaseadvisors.com >> > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From nilslenz at 3oaks.com Fri Aug 22 17:42:36 2008 From: nilslenz at 3oaks.com (Nils R. Lenz) Date: Fri, 22 Aug 2008 18:42:36 -0400 Subject: [AccessD] I need paid help immediately In-Reply-To: <29f585dd0808211641r45dd4cedr85c534e5182ed478@mail.gmail.com> References: <29f585dd0808211641r45dd4cedr85c534e5182ed478@mail.gmail.com> Message-ID: <004301c904a8$60a82960$21f87c20$@com> Arthur, Do you find someone yet? FYI, I have worked with Access since about 1994, version 1.1, and currently using Access 2007. I will like to give it a try. Thanks, Nils Lenz -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Thursday, August 21, 2008 7:41 PM To: Access Developers discussion and problem solving Subject: [AccessD] I need paid help immediately Dear list, I have a serious problem on my hands. I have a fairly simple app that is almost entirely done but something bizarre has happened: the client is able to run the app but I am not. It crashes Access immediately after the login screen. I have two computers available, my box at work running Office 2003 on XP, and my box at home running Vista. Both crash immediately after the login. Now for the bizarre part: the user does not experience this problem. In all my programming experience it's been the other way around; I can run the code but something is amiss on the client's box. Not this time. I don't know what happened to my notebook, and the box at work is completely new to this app, but both crash Access immediately after you press Enter on the login screen. But not on the client's computer! After login, I open two forms, one of which is like a switchboard and the other is a navigable screen that presents the table of principal interest. All of this used to work on my laptop until about 2 weeks ago. The client pointed a few things that didn't work as expected, which is to be expected, and I started out trying to fix them, when suddenly I could not open the app. I tried creating a new app and importing all the stuff from the old app, to no avail. Something serious is wrong, and not only on my home computer but also on my home computer. I am too busy in my new job to figure this out and take it to the goalposts. I would estimate that there is one day remaining to fix the problems, and I'm willing to pay $50 US an hour (that's all I'm allegedly making, although this part comes out of my pocket not the client's). I can supply reasonably precise documentation of the remaining problems from the client (she is good at gathering and consolidating this stuff from her five or so testers). Not only am I too busy with the current project to take this to a touchdown, but for some unexplained reasons I am unable even to open the app -- but the client can! She sends me a zip of the previous version, which runs on her computer, and used to run on mine, but now it won't. I have been working my way backwards through all the previous versions (which are pretty much but not always daily) trying to find the last stable one. I am having serious problems and I don't know what is wrong. So. Bottom line is: I need somebody to take this the remaining 10% of the way. This is going to be on my nickel, and all I can afford to pay is $50 US an hour. I think that the fixes required would take 1 day of a skilled VBA programmer's time. Is anyone immediately available? (You gotta be skilled.) It's up to me to pay for this service, and I will pay immediately upon success. I would finish this myself if only I could get past the load/run problems, but I immediately cannot and I have other fish to fry. So if any of you are interested, please private me asap. I need to wrap this up. I can supply a description of the app and code and even the halfway-completed user guide, and an email trail from the various testers. But I just don't have the time to complete it. I need it to be completed, but due to the demise of one of our small crew here in Bermuda, I'm suddenly saddled with 12-hour days 7 days a week, and I cannot complete this project myself. I need help and I am willing to pay for it (maybe $50/hr. is less than you make, and I don't mean to insult you with this offer, but I accepted the gig for slightly less than that, and we've already spent the budget so completion is going to come out of my pocket, and that rate is the best I can offer.) Anyone willing to bite this fish-hook? I need help and I need it yesterday. The app is not particularly complex but I'm too busy on my current stuff to attend to this. TIA, Arthur -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 23 09:14:51 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 07:14:51 -0700 Subject: [AccessD] Forcing Save from on one form from another form Message-ID: <00bd01c9052a$9bf65ff0$0301a8c0@HAL9005> Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com From dwaters at usinternet.com Sat Aug 23 09:32:05 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 23 Aug 2008 09:32:05 -0500 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <00bd01c9052a$9bf65ff0$0301a8c0@HAL9005> References: <00bd01c9052a$9bf65ff0$0301a8c0@HAL9005> Message-ID: <35CFE7F95EFB4117AB21075595C64DA5@danwaters> Hi Rocky, How about: Forms.frmThirdForm.Dirty = False Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 9:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Aug 23 09:38:03 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 23 Aug 2008 18:38:03 +0400 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <00bd01c9052a$9bf65ff0$0301a8c0@HAL9005> Message-ID: <000001c9052d$dafdc0a0$6401a8c0@nant> Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 23 09:38:44 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 07:38:44 -0700 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <35CFE7F95EFB4117AB21075595C64DA5@danwaters> References: <00bd01c9052a$9bf65ff0$0301a8c0@HAL9005> <35CFE7F95EFB4117AB21075595C64DA5@danwaters> Message-ID: <00be01c9052d$f2141780$0301a8c0@HAL9005> Well, I'm trying to use that trick but that doesn't update the record, does it? Or does it? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, August 23, 2008 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, How about: Forms.frmThirdForm.Dirty = False Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 9:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Sat Aug 23 10:12:56 2008 From: dwaters at usinternet.com (Dan Waters) Date: Sat, 23 Aug 2008 10:12:56 -0500 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <00be01c9052d$f2141780$0301a8c0@HAL9005> References: <00bd01c9052a$9bf65ff0$0301a8c0@HAL9005><35CFE7F95EFB4117AB21075595C64DA5@danwaters> <00be01c9052d$f2141780$0301a8c0@HAL9005> Message-ID: <327BE1BE43D6407394A99EF0B1BE767F@danwaters> If you check the table data before and after the code is run you'll see if it actually worked. In my first example, I assumed that you're trying to save a modified record on your third form and that the third form is not a subform. If it is a subform, then I would use: Forms.frmThirdFormParent.subformControlName.frmThirdForm.Dirty = False Which is what Shamil also described! Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 9:39 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Well, I'm trying to use that trick but that doesn't update the record, does it? Or does it? Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Saturday, August 23, 2008 7:32 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, How about: Forms.frmThirdForm.Dirty = False Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 9:15 AM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 23 10:27:57 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 08:27:57 -0700 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <000001c9052d$dafdc0a0$6401a8c0@nant> References: <00bd01c9052a$9bf65ff0$0301a8c0@HAL9005> <000001c9052d$dafdc0a0$6401a8c0@nant> Message-ID: <00bf01c90534$d244c3d0$0301a8c0@HAL9005> Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sat Aug 23 11:22:33 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 23 Aug 2008 13:22:33 -0300 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <00bf01c90534$d244c3d0$0301a8c0@HAL9005> References: <00bd01c9052a$9bf65ff0$0301a8c0@HAL9005> <000001c9052d$dafdc0a0$6401a8c0@nant> <00bf01c90534$d244c3d0$0301a8c0@HAL9005> Message-ID: <29f585dd0808230922r26088569uadb43401fb440dec@mail.gmail.com> I don't think so. I've faced exactly this problem and as I understand it, dirty just tells you whether or not the record values have been changed. I think that you still have to save the data. In a bound form you can just DoCmd.acSaveRecord or something, I'm not sure if that's exactly it, but it's close. Intellisense should get you to the parameter you want. A. On Sat, Aug 23, 2008 at 12:27 PM, Rocky Smolin at Beach Access Software < rockysmolin at bchacc.com> wrote: > Shamil: > > So setting .Dirty = False saves the record? > > TIA > > > From shamil at smsconsulting.spb.ru Sat Aug 23 11:49:05 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 23 Aug 2008 20:49:05 +0400 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <00bf01c90534$d244c3d0$0301a8c0@HAL9005> Message-ID: <000001c90540$28ca9260$6401a8c0@nant> Yes, Rocky, that's a trick, which I used a lot in the past since MS Access 97 AFAIKR... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Aug 23 11:59:24 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 23 Aug 2008 20:59:24 +0400 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <00bf01c90534$d244c3d0$0301a8c0@HAL9005> Message-ID: <000001c90541$99b74df0$6401a8c0@nant> Yes, and additionally another trick (used starting MS Access 2.0 as the latter didn't have .Dirty property), which could be useful if your subform has just one record - your can .Requery it to save current edits. If your subform has several records this trick will also work but then you will have to set the proper subform's record position - here .RecordsetClone and .Bookmark were usually used... == Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From fuller.artful at gmail.com Sat Aug 23 12:02:20 2008 From: fuller.artful at gmail.com (Arthur Fuller) Date: Sat, 23 Aug 2008 14:02:20 -0300 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <000001c90540$28ca9260$6401a8c0@nant> References: <00bf01c90534$d244c3d0$0301a8c0@HAL9005> <000001c90540$28ca9260$6401a8c0@nant> Message-ID: <29f585dd0808231002w125dd778j87a6a37dd32ac25d@mail.gmail.com> Interesting, Shamil. I didn't know this. On Sat, Aug 23, 2008 at 1:49 PM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Yes, Rocky, that's a trick, which I used a lot in the past since MS Access > 97 AFAIKR... > > -- > Shamil > From rockysmolin at bchacc.com Sat Aug 23 12:39:49 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 10:39:49 -0700 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <29f585dd0808230922r26088569uadb43401fb440dec@mail.gmail.com> References: <00bd01c9052a$9bf65ff0$0301a8c0@HAL9005><000001c9052d$dafdc0a0$6401a8c0@nant><00bf01c90534$d244c3d0$0301a8c0@HAL9005> <29f585dd0808230922r26088569uadb43401fb440dec@mail.gmail.com> Message-ID: <00cd01c90547$3dd7f5b0$0301a8c0@HAL9005> Arthur: Problem is I'm trying to force a save on another form from the first form. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 23, 2008 9:23 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Forcing Save from on one form from another form I don't think so. I've faced exactly this problem and as I understand it, dirty just tells you whether or not the record values have been changed. I think that you still have to save the data. In a bound form you can just DoCmd.acSaveRecord or something, I'm not sure if that's exactly it, but it's close. Intellisense should get you to the parameter you want. A. On Sat, Aug 23, 2008 at 12:27 PM, Rocky Smolin at Beach Access Software < rockysmolin at bchacc.com> wrote: > Shamil: > > So setting .Dirty = False saves the record? > > TIA > > > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 23 12:45:55 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 10:45:55 -0700 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <000001c90541$99b74df0$6401a8c0@nant> References: <00bf01c90534$d244c3d0$0301a8c0@HAL9005> <000001c90541$99b74df0$6401a8c0@nant> Message-ID: <00cf01c90548$18492200$0301a8c0@HAL9005> Saving the subform record is no problem. It's reaching over from the sub-form into another unrelated form and saving the record there which has had one of its bound fields changed by the sub-form. I tried requrying the form but I get that 'Write Conflict' message. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 9:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Yes, and additionally another trick (used starting MS Access 2.0 as the latter didn't have .Dirty property), which could be useful if your subform has just one record - your can .Requery it to save current edits. If your subform has several records this trick will also work but then you will have to set the proper subform's record position - here .RecordsetClone and .Bookmark were usually used... == Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Aug 23 13:03:40 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 23 Aug 2008 22:03:40 +0400 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <29f585dd0808231002w125dd778j87a6a37dd32ac25d@mail.gmail.com> Message-ID: <000001c9054a$94282ef0$6401a8c0@nant> Yes, Arthur, there are quite some tricks one has to "dig out" from MS Access when they develop application frameworks and/or advanced add-ins for it - I used to do that kind of programming since MS Access 2.0 till MS Access 2003... I'm happy now I almost do not need to do that kind of work as I'm working mainly with .NET... Still, I didn't forget MS Access, and hopefully MS Access will get "re-incarnated" as a true modern development tool in its 14th or more probably 15th version when they (MS) should(?) make it finally .NET and Web (2.0) enabled... These days I do use MS Access mainly as .NET applications development prototyping, support and testing tool as well as MS Excel... Even using MS SQL 2005 as the main back-end I still often prefer to use MS Access QBE to prototype MS SQL expressions used then in views, SPs and UDFs... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Arthur Fuller Sent: Saturday, August 23, 2008 9:02 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Forcing Save from on one form from another form Interesting, Shamil. I didn't know this. On Sat, Aug 23, 2008 at 1:49 PM, Shamil Salakhetdinov < shamil at smsconsulting.spb.ru> wrote: > Yes, Rocky, that's a trick, which I used a lot in the past since MS Access > 97 AFAIKR... > > -- > Shamil > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Sat Aug 23 13:06:30 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Sat, 23 Aug 2008 20:06:30 +0200 Subject: [AccessD] Forcing Save from on one form from another form Message-ID: Hi Rocky Why are you making this so convoluted? It sounds as if an easier method could be found. /gustav >>> rockysmolin at bchacc.com 23-08-2008 19:45:55 >>> Saving the subform record is no problem. It's reaching over from the sub-form into another unrelated form and saving the record there which has had one of its bound fields changed by the sub-form. I tried requrying the form but I get that 'Write Conflict' message. From rockysmolin at bchacc.com Sat Aug 23 13:12:23 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 11:12:23 -0700 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <000001c90540$28ca9260$6401a8c0@nant> References: <00bf01c90534$d244c3d0$0301a8c0@HAL9005> <000001c90540$28ca9260$6401a8c0@nant> Message-ID: <00d001c9054b$cae8cbb0$0301a8c0@HAL9005> Cool. Thank you. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 9:49 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Yes, Rocky, that's a trick, which I used a lot in the past since MS Access 97 AFAIKR... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Sat Aug 23 13:14:03 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Sat, 23 Aug 2008 14:14:03 -0400 Subject: [AccessD] Forcing Save from on one form from another form References: Message-ID: <043801c9054c$08737ed0$2f8601c7@SusanOne> Yeah, sounds like the form needs to be an additional subform to me. Susan H. > Hi Rocky > > Why are you making this so convoluted? It sounds as if an easier method > could be found. > > /gustav > >>>> rockysmolin at bchacc.com 23-08-2008 19:45:55 >>> > Saving the subform record is no problem. It's reaching over from the > sub-form into another unrelated form and saving the record there which has > had one of its bound fields changed by the sub-form. I tried requrying the > form but I get that 'Write Conflict' message. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 23 13:15:57 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 11:15:57 -0700 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: References: Message-ID: <00d101c9054c$4a507510$0301a8c0@HAL9005> It certainly could had I been there at the beginning. But it's legacy software, 1/2 developed when I got there, plus the client is fond of making basic changes to the architecture of the DB. So instead of laying the carpet, I get to tack down all the corners that pop up as I move the furniture around. Regards, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Saturday, August 23, 2008 11:07 AM To: accessd at databaseadvisors.com Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky Why are you making this so convoluted? It sounds as if an easier method could be found. /gustav >>> rockysmolin at bchacc.com 23-08-2008 19:45:55 >>> Saving the subform record is no problem. It's reaching over from the sub-form into another unrelated form and saving the record there which has had one of its bound fields changed by the sub-form. I tried requrying the form but I get that 'Write Conflict' message. -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 23 13:20:06 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 11:20:06 -0700 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <043801c9054c$08737ed0$2f8601c7@SusanOne> References: <043801c9054c$08737ed0$2f8601c7@SusanOne> Message-ID: <00d701c9054c$ded9f850$0301a8c0@HAL9005> So the original developer put all this stuff on a pop up modal form which has its own sub-form which is triggered by double-clicking on any filed on the main form's sub-form. Which is already on a tab form (oh, how much cleaner to have put all this stuff on more tabs). :( Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Saturday, August 23, 2008 11:14 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Forcing Save from on one form from another form Yeah, sounds like the form needs to be an additional subform to me. Susan H. > Hi Rocky > > Why are you making this so convoluted? It sounds as if an easier > method could be found. > > /gustav > >>>> rockysmolin at bchacc.com 23-08-2008 19:45:55 >>> > Saving the subform record is no problem. It's reaching over from the > sub-form into another unrelated form and saving the record there which > has had one of its bound fields changed by the sub-form. I tried > requrying the form but I get that 'Write Conflict' message. > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Aug 23 13:21:50 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sat, 23 Aug 2008 22:21:50 +0400 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <00cf01c90548$18492200$0301a8c0@HAL9005> Message-ID: <000401c9054d$1dc85a20$6401a8c0@nant> Rocky, So, .Dirty = True worked or not? I re-tested to make sure - it works when used from outer form etc. You might have some tricky coding (that's usual for VBA), when an event is (indirectly) chaining a set of other events, which in turn (indirectly) chaining other events... Access developers are always told that MS Access VBA is single-threaded but when events "chain-reaction" is getting activated with maybe Timer event(s) processed somewhere in the same time then MS Access VBA interpreter goes really "crazy", and side effects could be many and unexpected including GPF-ing... Check what happens in your case by using tracing debug.print or writing to a log file, and use (static) flags to prevent unexpected/undesired code execution sequence... Maybe I'm exaggerating - could you describe what code flow you have?: - what control makes subform's field's value changed and subform Dirty, and how and in what part of you code you're trying to save subform's edits by using .Dirty = False or calling subform's .requery method?... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 9:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Saving the subform record is no problem. It's reaching over from the sub-form into another unrelated form and saving the record there which has had one of its bound fields changed by the sub-form. I tried requrying the form but I get that 'Write Conflict' message. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 9:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Yes, and additionally another trick (used starting MS Access 2.0 as the latter didn't have .Dirty property), which could be useful if your subform has just one record - your can .Requery it to save current edits. If your subform has several records this trick will also work but then you will have to set the proper subform's record position - here .RecordsetClone and .Bookmark were usually used... == Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From john at winhaven.net Sat Aug 23 13:54:08 2008 From: john at winhaven.net (John Bartow) Date: Sat, 23 Aug 2008 13:54:08 -0500 Subject: [AccessD] Python In-Reply-To: <8CACF73BD1C4018-1508-1062@WEBMAIL-MA18.sysops.aol.com> References: <8CACD2732430E7A-1368-26CA@WEBMAIL-MA18.sysops.aol.com><6B871E8A3CEB487AA96ECBADC1E19EC0@jislaptopdev><8B79B67EA2E74CAA827088830013B9B5@creativesystemdesigns.com><8CACDECBB96F874-13C0-3903@WEBMAIL-MA19.sysops.aol.com><6742102954D64973BD0E3693608334B0@creativesystemdesigns.com><59DB5A5FE2F4419EB98250C9020F3055@jislaptopdev><8EC06922701845B5B1B52B473FBBFD2C@creativesystemdesigns.com><694902AC13064BEAAA14E338360601E9@jislaptopdev><08b301c90074$7614f0e0$2f8601c7@SusanOne><8CACEE1021EBA3F-704-5771@FWM-D02.sysops.aol.com> <92A896AE29C249A6A6F7C9F2B1541741@creativesystemdesigns.com><0a9001c90133$1b52f070$2f8601c7@SusanOne> <8CACF6AFC456AD1-7D0-1327@FWM-M26.sysops.aol.com><0b8901c90154$c831fe50$2f8601c7@SusanOne> <8CACF73BD1C4018-1508-1062@WEBMAIL-MA18.sysops.aol.com> Message-ID: <011201c90551$9fcf69b0$df6e3d10$@net> I'm looking for a Python programmer to do some work for a client of mine (a large company working in the medical testing field). Anyone here program with Python? Location is not an issue. From rockysmolin at bchacc.com Sat Aug 23 16:20:16 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 14:20:16 -0700 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <000401c9054d$1dc85a20$6401a8c0@nant> References: <00cf01c90548$18492200$0301a8c0@HAL9005> <000401c9054d$1dc85a20$6401a8c0@nant> Message-ID: <00de01c90566$0a28f830$0301a8c0@HAL9005> Shamil: I got it to work by taking a page from raising kids - I just tried one thing and another until I got the behavior I wanted. But your .Dirty = False definitely worked and it's in the code now. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Rocky, So, .Dirty = True worked or not? I re-tested to make sure - it works when used from outer form etc. You might have some tricky coding (that's usual for VBA), when an event is (indirectly) chaining a set of other events, which in turn (indirectly) chaining other events... Access developers are always told that MS Access VBA is single-threaded but when events "chain-reaction" is getting activated with maybe Timer event(s) processed somewhere in the same time then MS Access VBA interpreter goes really "crazy", and side effects could be many and unexpected including GPF-ing... Check what happens in your case by using tracing debug.print or writing to a log file, and use (static) flags to prevent unexpected/undesired code execution sequence... Maybe I'm exaggerating - could you describe what code flow you have?: - what control makes subform's field's value changed and subform Dirty, and how and in what part of you code you're trying to save subform's edits by using .Dirty = False or calling subform's .requery method?... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 9:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Saving the subform record is no problem. It's reaching over from the sub-form into another unrelated form and saving the record there which has had one of its bound fields changed by the sub-form. I tried requrying the form but I get that 'Write Conflict' message. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 9:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Yes, and additionally another trick (used starting MS Access 2.0 as the latter didn't have .Dirty property), which could be useful if your subform has just one record - your can .Requery it to save current edits. If your subform has several records this trick will also work but then you will have to set the proper subform's record position - here .RecordsetClone and .Bookmark were usually used... == Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Sat Aug 23 16:23:07 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Sat, 23 Aug 2008 14:23:07 -0700 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <000401c9054d$1dc85a20$6401a8c0@nant> References: <00cf01c90548$18492200$0301a8c0@HAL9005> <000401c9054d$1dc85a20$6401a8c0@nant> Message-ID: <00df01c90566$6fc93470$0301a8c0@HAL9005> Shamil: For debugging I'm in the habit of setting a break point and then using the F8 key to follow the execution. As you know, in break mode, hovering the cursor over any variable pops up the current value of the variable. I find that to be the most effective way to trace what's happening in a program. As far as describing the code flow - I'll be 60 in December and well...time is getting shorter for me. If you catch my meaning here... :o) (IOW, it's a bit of a mess). Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Rocky, So, .Dirty = True worked or not? I re-tested to make sure - it works when used from outer form etc. You might have some tricky coding (that's usual for VBA), when an event is (indirectly) chaining a set of other events, which in turn (indirectly) chaining other events... Access developers are always told that MS Access VBA is single-threaded but when events "chain-reaction" is getting activated with maybe Timer event(s) processed somewhere in the same time then MS Access VBA interpreter goes really "crazy", and side effects could be many and unexpected including GPF-ing... Check what happens in your case by using tracing debug.print or writing to a log file, and use (static) flags to prevent unexpected/undesired code execution sequence... Maybe I'm exaggerating - could you describe what code flow you have?: - what control makes subform's field's value changed and subform Dirty, and how and in what part of you code you're trying to save subform's edits by using .Dirty = False or calling subform's .requery method?... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 9:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Saving the subform record is no problem. It's reaching over from the sub-form into another unrelated form and saving the record there which has had one of its bound fields changed by the sub-form. I tried requrying the form but I get that 'Write Conflict' message. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 9:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Yes, and additionally another trick (used starting MS Access 2.0 as the latter didn't have .Dirty property), which could be useful if your subform has just one record - your can .Requery it to save current edits. If your subform has several records this trick will also work but then you will have to set the proper subform's record position - here .RecordsetClone and .Bookmark were usually used... == Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Aug 23 17:34:25 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 24 Aug 2008 02:34:25 +0400 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <00df01c90566$6fc93470$0301a8c0@HAL9005> Message-ID: <000001c90570$67064530$6401a8c0@nant> <<< If you catch my meaning here... :o) >>> Yes, I think I do catch your meaning here - I clearly remember the watches on the wall in an hotel in Hamburg I used to stay in 1998-1997 - they had a plastic fly behind the arrows and a multi-meaning title "Time flies..." - I feel that was like yesterday, and it's already 12 years have flied away as speedy as lighting... -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 24, 2008 1:23 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: For debugging I'm in the habit of setting a break point and then using the F8 key to follow the execution. As you know, in break mode, hovering the cursor over any variable pops up the current value of the variable. I find that to be the most effective way to trace what's happening in a program. As far as describing the code flow - I'll be 60 in December and well...time is getting shorter for me. If you catch my meaning here... :o) (IOW, it's a bit of a mess). Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Rocky, So, .Dirty = True worked or not? I re-tested to make sure - it works when used from outer form etc. You might have some tricky coding (that's usual for VBA), when an event is (indirectly) chaining a set of other events, which in turn (indirectly) chaining other events... Access developers are always told that MS Access VBA is single-threaded but when events "chain-reaction" is getting activated with maybe Timer event(s) processed somewhere in the same time then MS Access VBA interpreter goes really "crazy", and side effects could be many and unexpected including GPF-ing... Check what happens in your case by using tracing debug.print or writing to a log file, and use (static) flags to prevent unexpected/undesired code execution sequence... Maybe I'm exaggerating - could you describe what code flow you have?: - what control makes subform's field's value changed and subform Dirty, and how and in what part of you code you're trying to save subform's edits by using .Dirty = False or calling subform's .requery method?... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 9:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Saving the subform record is no problem. It's reaching over from the sub-form into another unrelated form and saving the record there which has had one of its bound fields changed by the sub-form. I tried requrying the form but I get that 'Write Conflict' message. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 9:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Yes, and additionally another trick (used starting MS Access 2.0 as the latter didn't have .Dirty property), which could be useful if your subform has just one record - your can .Requery it to save current edits. If your subform has several records this trick will also work but then you will have to set the proper subform's record position - here .RecordsetClone and .Bookmark were usually used... == Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From shamil at smsconsulting.spb.ru Sat Aug 23 17:34:25 2008 From: shamil at smsconsulting.spb.ru (Shamil Salakhetdinov) Date: Sun, 24 Aug 2008 02:34:25 +0400 Subject: [AccessD] Forcing Save from on one form from another form In-Reply-To: <00de01c90566$0a28f830$0301a8c0@HAL9005> Message-ID: <000101c90570$68483b10$6401a8c0@nant> OK. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Sunday, August 24, 2008 1:20 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: I got it to work by taking a page from raising kids - I just tried one thing and another until I got the behavior I wanted. But your .Dirty = False definitely worked and it's in the code now. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 11:22 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Rocky, So, .Dirty = True worked or not? I re-tested to make sure - it works when used from outer form etc. You might have some tricky coding (that's usual for VBA), when an event is (indirectly) chaining a set of other events, which in turn (indirectly) chaining other events... Access developers are always told that MS Access VBA is single-threaded but when events "chain-reaction" is getting activated with maybe Timer event(s) processed somewhere in the same time then MS Access VBA interpreter goes really "crazy", and side effects could be many and unexpected including GPF-ing... Check what happens in your case by using tracing debug.print or writing to a log file, and use (static) flags to prevent unexpected/undesired code execution sequence... Maybe I'm exaggerating - could you describe what code flow you have?: - what control makes subform's field's value changed and subform Dirty, and how and in what part of you code you're trying to save subform's edits by using .Dirty = False or calling subform's .requery method?... Thank you. -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 9:46 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Saving the subform record is no problem. It's reaching over from the sub-form into another unrelated form and saving the record there which has had one of its bound fields changed by the sub-form. I tried requrying the form but I get that 'Write Conflict' message. Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 9:59 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Yes, and additionally another trick (used starting MS Access 2.0 as the latter didn't have .Dirty property), which could be useful if your subform has just one record - your can .Requery it to save current edits. If your subform has several records this trick will also work but then you will have to set the proper subform's record position - here .RecordsetClone and .Bookmark were usually used... == Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 7:28 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Shamil: So setting .Dirty = False saves the record? TIA Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil Salakhetdinov Sent: Saturday, August 23, 2008 7:38 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Forcing Save from on one form from another form Hi Rocky, AFAIKR you can just use: Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty = False or if you have an object reference (let's call it subFormControlObjectRef) of the second form's subform control then you can use: subFormControlObjectRef.Form.Dirty = False -- Shamil -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at Beach Access Software Sent: Saturday, August 23, 2008 6:15 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] Forcing Save from on one form from another form Dear List: In a sub-form of a second form I am changing the value of a record on a third form which is loaded and open. That form is now dirty and I'd like to save the record on that third form from the sub-form. How can I force a save on one form from another form? MTIA, Rocky Smolin Beach Access Software 858-259-4334 www.e-z-mrp.com www.bchacc.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From wdhindman at dejpolsystems.com Sat Aug 23 20:58:01 2008 From: wdhindman at dejpolsystems.com (William Hindman) Date: Sat, 23 Aug 2008 21:58:01 -0400 Subject: [AccessD] Forcing Save from on one form from another form References: <00cf01c90548$18492200$0301a8c0@HAL9005><000401c9054d$1dc85a20$6401a8c0@nant> <00de01c90566$0a28f830$0301a8c0@HAL9005> Message-ID: <5EEFF98E2A01412DAD3F4ACD4AED1A28@jislaptopdev> " just tried one thing and another until I got the behavior I wanted." Rocky ...and here I was thinking I was the only one who worked that way? William -------------------------------------------------- From: "Rocky Smolin at Beach Access Software" Sent: Saturday, August 23, 2008 5:20 PM To: "'Access Developers discussion and problem solving'" Subject: Re: [AccessD] Forcing Save from on one form from another form > Shamil: > > I got it to work by taking a page from raising kids - I just tried one > thing > and another until I got the behavior I wanted. But your .Dirty = False > definitely worked and it's in the code now. > > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > www.bchacc.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, August 23, 2008 11:22 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Forcing Save from on one form from another form > > Rocky, > > So, .Dirty = True worked or not? > > I re-tested to make sure - it works when used from outer form etc. > > You might have some tricky coding (that's usual for VBA), when an event is > (indirectly) chaining a set of other events, which in turn (indirectly) > chaining other events... > > Access developers are always told that MS Access VBA is single-threaded > but > when events "chain-reaction" is getting activated with maybe Timer > event(s) > processed somewhere in the same time then MS Access VBA interpreter goes > really "crazy", and side effects could be many and unexpected including > GPF-ing... > > Check what happens in your case by using tracing debug.print or writing to > a > log file, and use (static) flags to prevent unexpected/undesired code > execution sequence... > > Maybe I'm exaggerating - could you describe what code flow you have?: > > - what control makes subform's field's value changed and subform Dirty, > and > how and in what part of you code you're trying to save subform's edits by > using .Dirty = False or calling subform's .requery method?... > > Thank you. > > -- > Shamil > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Saturday, August 23, 2008 9:46 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Forcing Save from on one form from another form > > Saving the subform record is no problem. It's reaching over from the > sub-form into another unrelated form and saving the record there which has > had one of its bound fields changed by the sub-form. I tried requrying the > form but I get that 'Write Conflict' message. > > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > www.bchacc.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, August 23, 2008 9:59 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Forcing Save from on one form from another form > > Yes, and additionally another trick (used starting MS Access 2.0 as the > latter didn't have .Dirty property), which could be useful if your subform > has just one record - your can .Requery it to save current edits. If your > subform has several records this trick will also work but then you will > have > to set the proper subform's record position - here .RecordsetClone and > .Bookmark were usually used... > > == > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Saturday, August 23, 2008 7:28 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Forcing Save from on one form from another form > > Shamil: > > So setting .Dirty = False saves the record? > > TIA > > > Rocky Smolin > Beach Access Software > 858-259-4334 > www.e-z-mrp.com > www.bchacc.com > > > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Shamil > Salakhetdinov > Sent: Saturday, August 23, 2008 7:38 AM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] Forcing Save from on one form from another form > > Hi Rocky, > > AFAIKR you can just use: > > Access.Application.Forms.mySecondFormName.mySubFormControlName.Form.Dirty > = > False > > or if you have an object reference (let's call it subFormControlObjectRef) > of the second form's subform control then you can use: > > subFormControlObjectRef.Form.Dirty = False > > -- > Shamil > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin at > Beach Access Software > Sent: Saturday, August 23, 2008 6:15 PM > To: 'Access Developers discussion and problem solving' > Subject: [AccessD] Forcing Save from on one form from another form > > Dear List: > > In a sub-form of a second form I am changing the value of a record on a > third form which is loaded and open. That form is now dirty and I'd like > to > save the record on that third form from the sub-form. How can I force a > save on one form from another form? > > MTIA, > > > > Rocky Smolin > > Beach Access Software > > 858-259-4334 > > www.e-z-mrp.com > > www.bchacc.com > > > > > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com From darren at activebilling.com.au Sun Aug 24 18:17:51 2008 From: darren at activebilling.com.au (Darren D) Date: Mon, 25 Aug 2008 09:17:51 +1000 Subject: [AccessD] A2003: Calling an Update SPROC-Calling aSPROCthatreturns records In-Reply-To: <4dd71a0c0808212137k24f5ea20q7806fa6d817ce525@mail.gmail.com> References: <49A286ABF515E94A8505CD14DEB7217001875617@CPIEMAIL-EVS1.CPIQPC.NET><010501c903f6$59947730$0d1b910a@denzilnote> <4dd71a0c0808212137k24f5ea20q7806fa6d817ce525@mail.gmail.com> Message-ID: <019f01c9063f$a2e12460$0d1b910a@denzilnote> Hi Doug I will put together a sample dB for anyone interested in a 'me too' I will advertise once it is done. This first foray returns no records from the SPROC - My second foray will return records - So once I have that nutted out (with exceptional assistance from the list) I will 'me too' a sample for both SPROC types in one dB Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Doug Steele Sent: Friday, 22 August 2008 2:38 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling aSPROCthatreturns records If you have any particular hints, I'd be interested in hearing them - I expect to be trying this in the near future. Thanks, Doug Steele On Thu, Aug 21, 2008 at 6:28 PM, Darren D wrote: > Hi team > > Thanks to all who responded. I did manage to cobble something together and > it > works nicely - Many thanks > Now I need to start playing with the SPROCS that return records and > displaying > the results > > Darren > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of > rusty.hammond at cpiqpc.com > Sent: Thursday, 21 August 2008 1:13 AM > To: accessd at databaseadvisors.com > Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling aSPROCthatr > eturns > records > > I've done the pass through query as described below, but when parameters > are > required, I just change the sql of the query via code. Sample below > > Function ChangePassThroughQuery() > > Dim db as Database > Dim qdf as QueryDef > Dim strParam as String > > strParam = "ParameterValueHere" > > Set db = CurrentDb > Set qdf = db.QueryDefs("qryRunSPROC") > qdf.SQL = "StoredProcedureName " & strParam > qdf.Close > > DoCmd.OpenQuery "qryRunSPROC") > > db.Close > Set db = Nothing > > End Function > > HTH > > Rusty > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren D > Sent: Tuesday, August 19, 2008 10:20 PM > To: 'Access Developers discussion and problem solving' > Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a > SPROCthatreturns records > > > Hi Stuart > > Thanks I'll give this a go - Sorry I should have mentioned that all the > SPROS > require parameters > > Darren > > -----Original Message----- > From: accessd-bounces at databaseadvisors.com > [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Stuart > McLachlan > Sent: Wednesday, 20 August 2008 1:04 PM > To: Access Developers discussion and problem solving > Subject: Re: [AccessD] A2003: Calling an Update SPROC-Calling a SPROC > thatreturns records > > Simplest way is to create a "PassThrough". Query > > IN 2003 (other version should be similar)" > > 1. Create a New query but don't select any tables. > 2. Select Query - SQL Specific - Passthrough from the main menu bar. > 3. Select View - Properties (Or hit Alt+Enter) > 4. Click in OBDC Connect Str, thenclick on the builder button (...) and > select > your ODBC > source (or enter a connection string if you have one written) > 5. for an update query ,set the ReturnsRecords property to No. > 6. Enter the sp name in the build window > 7. Save the Query > > Then just open the query when required. > > Note that you can't pass parameters through a PassThrough query, if your sp > requires > parameters, you'll have to do it in code with something like this: > > Dim db As DAO.Database > Dim qdPTQuery As QueryDef > Dim strSQL As String > Dim strParam as String > > strParam = "123" > > Set db = CurrentDb > strSQL = "myUpdateSP " & strParam > Set qdPTQuery = db.CreateQueryDef("myPassThroughQuery") > qdPTQuery.Connect = "ODBC;DSN=................." > qdPTQuery.SQL = strSQL > qdPTQuery.returnsrecords = False 'if an update query > qdPTQuery.Close > db.Close > Set db = Nothing > > > > On 20 Aug 2008 at 11:21, Darren D wrote: > > > Hi team > > > > > > > > I need to call some Stored procedures (SPROCS) in SQL Server from my > Access dB > > > > The SPROCS will be both simple update ones and some of them will return > results > > > > Does anyone have examples how to interact with both types? > > > > IE Just run one. And with the other get the results back and display them > in > my > > Access dB? > > > > > > > > I think I have asked this question before but can't find the answer > > > > I think I was using an ADP when I asked though - This is a plain ole' MDB > > request > > > > > > > > Many thanks in advance > > > > > > > > Darren > > > > > > > > -- > > AccessD mailing list > > AccessD at databaseadvisors.com > > http://databaseadvisors.com/mailman/listinfo/accessd > > Website: http://www.databaseadvisors.com > > -- > Stuart Mclachlan > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > ********************************************************************** > WARNING: All e-mail sent to and from this address will be received, > scanned or otherwise recorded by the CPI Qualified Plan Consultants, Inc. > corporate e-mail system and is subject to archival, monitoring or review > by, and/or disclosure to, someone other than the recipient. > ********************************************************************** > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From rockysmolin at bchacc.com Mon Aug 25 10:41:34 2008 From: rockysmolin at bchacc.com (Rocky Smolin at Beach Access Software) Date: Mon, 25 Aug 2008 08:41:34 -0700 Subject: [AccessD] Just Curious Message-ID: <006e01c906c9$0e130350$0301a8c0@HAL9005> I have a sub-form on a form. Most of the time when I make a change to any form in this app and say Save, it asks to save this sub-form as well as if it had been modified. Now this form (and sub-form) are opened but invisible since it takes a long time to load. Don't know if that has anything to do with it. It's not a problem, I just click Save All. But I'm curious as to why this particular sub-form comes up as needing to be saved when I modify any other form in the app. MTIA Rocky From adtp at airtelmail.in Mon Aug 25 11:48:07 2008 From: adtp at airtelmail.in (A.D.Tejpal) Date: Mon, 25 Aug 2008 22:18:07 +0530 Subject: [AccessD] Drawing on Ms Access Forms References: <004d01c903b0$00c90030$65dea8c0@dudley1> <010301c903ae$49890880$dc9b1980$@net> Message-ID: <003d01c906d2$90756000$fd5fa27a@personald6374f> Edz, My sample db named Form_TimeLineDisplay, now available at Rogers Access Library, demonstrates display of time schedules as time line graphs. Link - http://www.rogersaccesslibrary.com/forum/forum_topics.asp?FID=45 Various spells of time schedules (StartTime & EndTime) for a given task on given date get transformed into horizontal strips (each representing 15 minutes segment) via crosstab query. For example, a record having start & end times of 08:00 and 10:00 hrs respectively gets projected as 8 horizontal strips between 08 and 10 on the time line. Booked time strips falling between 06 to 22 hrs get highlighted in light blue, while those outside this span are colored pink. As the user carries out data entry, the time strip display gets updated simultaneously. Conditional formatting is used for implementing the color highlights. The effect is akin to a series of LED lights getting on or off as needed. For providing an overall view at a glance, two reports, showing the time lines for various dates and tasks have also been included. One report is sorted as per date / task while the other is sorted as per task / date. For ready reference, gist of time scheduling for given task on given date is also shown above the time line graph. The sample is in Access 2000 file format. Reference reqd: DAO 3.6 You could adapt the underlying approach suitably, for your specific needs. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: A.D.Tejpal To: Access Developers discussion and problem solving Sent: Friday, August 22, 2008 19:34 Subject: Re: [AccessD] Drawing on Ms Access Forms Edz, For a given item on a given date, you wish to display a series of strips representing scheduled time slots. It should be feasible to meet the desired objective via conditional formatting of bound controls. Coding requirement would be minimal. I shall try to put together a sample db in next few days. Best wishes, A.D.Tejpal ------------ ----- Original Message ----- From: John Bartow To: 'Access Developers discussion and problem solving' Sent: Thursday, August 21, 2008 22:22 Subject: Re: [AccessD] Drawing on Ms Access Forms Hi Ed, You can change some of the properties without going into design mode, background color would be one of these. You could use the after update event to iterate through the 120 rectangles and change the background color of each as required. Giving each a numerical name may aid in this. HTH John B. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 12:05 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] Drawing on Ms Access Forms I'll give it a try. It might work. Only 120 rectangles. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Charlotte Foust Sent: Thursday, August 21, 2008 8:49 AM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Drawing on Ms Access Forms Have you thought about putting line controls on the form, as many as you might need, setting their lengths to zero and then resetting the lengths in code to draw the line. Have to admit that I can't remember trying this, but since you aren't creating the controls at runtime, I don't see why it should not work. Charlotte Foust -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Edward S Zuris Sent: Thursday, August 21, 2008 9:34 AM To: accessd at databaseadvisors.com Subject: [AccessD] Drawing on Ms Access Forms Hello Everyone I would like to create a timeline gage where a line shows up on a form to shown that the hours of 10:00 thru 12:00 and 17:00 thru 19:00 are scheduled. I tried a text box, with a string where I could mid$ in various characters an display them in real time, but I am hopeing for a more elegant solution that doesn't look so hoky. Back in the Radio Shack Color computer days you could draw lines on the screen. Using the createcontrol method requires that the forms switch back and forth of design mode. Any ideas on how to get around that ? Any examples I can look at at ? Thanks. Sincerely, Edz. . . . From lmrazek at lcm-res.com Mon Aug 25 14:16:13 2008 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Mon, 25 Aug 2008 14:16:13 -0500 Subject: [AccessD] Access XP/2002 on Vista? In-Reply-To: <003d01c906d2$90756000$fd5fa27a@personald6374f> References: <004d01c903b0$00c90030$65dea8c0@dudley1> <010301c903ae$49890880$dc9b1980$@net> <003d01c906d2$90756000$fd5fa27a@personald6374f> Message-ID: <000901c906e7$0a3e8010$1ebb8030$@com> Hi Folks: Does anyone have any hints/preferences (other than downgrading to XP Pro) on how to run Access 2002 on a 32 bit version of Vista? I've been having issues (crashing) when I try to edit VB codes ... basically the app just stops, closes Access. Should I install a virtual machine? Thanks in advance. Larry Mrazek ph. 314-432-5886 lmrazek at lcm-res.com http://www.lcm-res.com From bill_patten at embarqmail.com Mon Aug 25 19:43:08 2008 From: bill_patten at embarqmail.com (Bill Patten) Date: Mon, 25 Aug 2008 17:43:08 -0700 Subject: [AccessD] Access XP/2002 on Vista? In-Reply-To: <000901c906e7$0a3e8010$1ebb8030$@com> References: <004d01c903b0$00c90030$65dea8c0@dudley1> <010301c903ae$49890880$dc9b1980$@net><003d01c906d2$90756000$fd5fa27a@personald6374f> <000901c906e7$0a3e8010$1ebb8030$@com> Message-ID: <25A537756B6F4A459FB47981415F51E3@BPCS> Larry, I'm not sure we are having the same problem, but I have consistently had a problem with an ADP doing the same thing. I am using Vista 64 and have been blaming it. I have not had the problem with MDB's. Today I realized that I was always working on the same form in the ADP. I may have just fixed the problem. I used the saveastext from a backup and exported the form, then deleted the 'bad form' and used the loadfromtext to import it. I have just made about 10 changes to the code (never more that 2 or so before ) and so far it is working normal.. HTH Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 25, 2008 12:16 PM Subject: [AccessD] Access XP/2002 on Vista? Hi Folks: Does anyone have any hints/preferences (other than downgrading to XP Pro) on how to run Access 2002 on a 32 bit version of Vista? I've been having issues (crashing) when I try to edit VB codes ... basically the app just stops, closes Access. Should I install a virtual machine? Thanks in advance. Larry Mrazek ph. 314-432-5886 lmrazek at lcm-res.com http://www.lcm-res.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From lmrazek at lcm-res.com Mon Aug 25 20:54:40 2008 From: lmrazek at lcm-res.com (Lawrence Mrazek) Date: Mon, 25 Aug 2008 20:54:40 -0500 Subject: [AccessD] Access XP/2002 on Vista? In-Reply-To: <25A537756B6F4A459FB47981415F51E3@BPCS> References: <004d01c903b0$00c90030$65dea8c0@dudley1> <010301c903ae$49890880$dc9b1980$@net><003d01c906d2$90756000$fd5fa27a@personald6374f> <000901c906e7$0a3e8010$1ebb8030$@com> <25A537756B6F4A459FB47981415F51E3@BPCS> Message-ID: <005101c9071e$b3ef0850$1bcd18f0$@com> Thanks Bill: I'm going to try using MS Virtual PC 2007 ... hopefully I'll be able to find my old MSDN keys. I've been able to edit this app OK in Access 2007, but since the client only has 2002 runtime, I need to be able to recreate their environment. Larry Mrazek ph. 314-432-5886 lmrazek at lcm-res.com http://www.lcm-res.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Monday, August 25, 2008 7:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access XP/2002 on Vista? Larry, I'm not sure we are having the same problem, but I have consistently had a problem with an ADP doing the same thing. I am using Vista 64 and have been blaming it. I have not had the problem with MDB's. Today I realized that I was always working on the same form in the ADP. I may have just fixed the problem. I used the saveastext from a backup and exported the form, then deleted the 'bad form' and used the loadfromtext to import it. I have just made about 10 changes to the code (never more that 2 or so before ) and so far it is working normal.. HTH Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 25, 2008 12:16 PM Subject: [AccessD] Access XP/2002 on Vista? Hi Folks: Does anyone have any hints/preferences (other than downgrading to XP Pro) on how to run Access 2002 on a 32 bit version of Vista? I've been having issues (crashing) when I try to edit VB codes ... basically the app just stops, closes Access. Should I install a virtual machine? Thanks in advance. Larry Mrazek ph. 314-432-5886 lmrazek at lcm-res.com http://www.lcm-res.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.7/1632 - Release Date: 8/25/2008 7:05 AM From bill_patten at embarqmail.com Mon Aug 25 21:34:29 2008 From: bill_patten at embarqmail.com (Bill Patten) Date: Mon, 25 Aug 2008 19:34:29 -0700 Subject: [AccessD] Access XP/2002 on Vista? In-Reply-To: <005101c9071e$b3ef0850$1bcd18f0$@com> References: <004d01c903b0$00c90030$65dea8c0@dudley1> <010301c903ae$49890880$dc9b1980$@net><003d01c906d2$90756000$fd5fa27a@personald6374f> <000901c906e7$0a3e8010$1ebb8030$@com><25A537756B6F4A459FB47981415F51E3@BPCS> <005101c9071e$b3ef0850$1bcd18f0$@com> Message-ID: <41FADD0801F84F1BAFE7BAB2FA3A26D8@BPCS> Larry, I hope that fixes it, you don't need a key for MS Virtual PC 2007 so I am thinking you need the key for Access 2002. You can download SIW and run it to find the key. There are other ways but that one is easy and SIW can show you all kinds of stuff on your PC. It is free and located at www.gtopala.com. Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 25, 2008 6:54 PM Subject: Re: [AccessD] Access XP/2002 on Vista? Thanks Bill: I'm going to try using MS Virtual PC 2007 ... hopefully I'll be able to find my old MSDN keys. I've been able to edit this app OK in Access 2007, but since the client only has 2002 runtime, I need to be able to recreate their environment. Larry Mrazek ph. 314-432-5886 lmrazek at lcm-res.com http://www.lcm-res.com -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Bill Patten Sent: Monday, August 25, 2008 7:43 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] Access XP/2002 on Vista? Larry, I'm not sure we are having the same problem, but I have consistently had a problem with an ADP doing the same thing. I am using Vista 64 and have been blaming it. I have not had the problem with MDB's. Today I realized that I was always working on the same form in the ADP. I may have just fixed the problem. I used the saveastext from a backup and exported the form, then deleted the 'bad form' and used the loadfromtext to import it. I have just made about 10 changes to the code (never more that 2 or so before ) and so far it is working normal.. HTH Bill ----- Original Message ----- From: "Lawrence Mrazek" To: "'Access Developers discussion and problem solving'" Sent: Monday, August 25, 2008 12:16 PM Subject: [AccessD] Access XP/2002 on Vista? Hi Folks: Does anyone have any hints/preferences (other than downgrading to XP Pro) on how to run Access 2002 on a 32 bit version of Vista? I've been having issues (crashing) when I try to edit VB codes ... basically the app just stops, closes Access. Should I install a virtual machine? Thanks in advance. Larry Mrazek ph. 314-432-5886 lmrazek at lcm-res.com http://www.lcm-res.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/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 - http://www.avg.com Version: 8.0.138 / Virus Database: 270.6.7/1632 - Release Date: 8/25/2008 7:05 AM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Gustav at cactus.dk Tue Aug 26 04:48:44 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 26 Aug 2008 11:48:44 +0200 Subject: [AccessD] Optimizing Microsoft Office Access Applications Linked to SQL Server Message-ID: Hi all Lots of advice and tips and code here from Andy Byron: Optimizing Microsoft Office Access Applications Linked to SQL Server http://msdn.microsoft.com/en-us/library/bb188204(SQL.90).aspx He even (gosh) discusses some of the unbound and locking issues: http://msdn.microsoft.com/en-us/library/bb188204(SQL.90).aspx#optaccsql_topic5 /gustav From phpons at gmail.com Tue Aug 26 06:55:32 2008 From: phpons at gmail.com (philippe pons) Date: Tue, 26 Aug 2008 13:55:32 +0200 Subject: [AccessD] Optimizing Microsoft Office Access Applications Linked to SQL Server In-Reply-To: References: Message-ID: <57144ced0808260455o289c0643gbdc56cbb5017504c@mail.gmail.com> Is he Lord Byron? 2008/8/26 Gustav Brock > Hi all > > Lots of advice and tips and code here from Andy Byron: > > Optimizing Microsoft Office Access Applications Linked to SQL Server > > http://msdn.microsoft.com/en-us/library/bb188204(SQL.90).aspx > > He even (gosh) discusses some of the unbound and locking issues: > > > http://msdn.microsoft.com/en-us/library/bb188204(SQL.90).aspx#optaccsql_topic5 > > /gustav > > > -- > AccessD mailing list > AccessD at databaseadvisors.com > http://databaseadvisors.com/mailman/listinfo/accessd > Website: http://www.databaseadvisors.com > From Gustav at cactus.dk Tue Aug 26 06:59:50 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Tue, 26 Aug 2008 13:59:50 +0200 Subject: [AccessD] Optimizing Microsoft Office Access Applications Linked to SQL Server Message-ID: Hi Philippe I have no idea. A multitalent perhaps? /gustav >>> phpons at gmail.com 26-08-2008 13:55 >>> Is he Lord Byron? 2008/8/26 Gustav Brock > Hi all > > Lots of advice and tips and code here from Andy Byron: > > Optimizing Microsoft Office Access Applications Linked to SQL Server From jimdettman at verizon.net Tue Aug 26 07:23:16 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Tue, 26 Aug 2008 08:23:16 -0400 Subject: [AccessD] Optimizing Microsoft Office Access Applications Linked toSQL Server In-Reply-To: References: Message-ID: <006501c90776$84784660$8abea8c0@XPS> Gustav, Some really nice nuggets of info in there. Thanks for posting that. Jim. -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Tuesday, August 26, 2008 5:49 AM To: accessd at databaseadvisors.com Subject: [AccessD] Optimizing Microsoft Office Access Applications Linked toSQL Server Hi all Lots of advice and tips and code here from Andy Byron: Optimizing Microsoft Office Access Applications Linked to SQL Server http://msdn.microsoft.com/en-us/library/bb188204(SQL.90).aspx He even (gosh) discusses some of the unbound and locking issues: http://msdn.microsoft.com/en-us/library/bb188204(SQL.90).aspx#optaccsql_topi c5 /gustav -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From ssharkins at gmail.com Tue Aug 26 16:45:45 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Tue, 26 Aug 2008 17:45:45 -0400 Subject: [AccessD] From a reader Message-ID: <01dd01c907c5$193ab780$2f8601c7@SusanOne> RE: Know a DDE expert?Okay, this is from a reader -- on DDE and I haven't a clue... my first suggestion is to check the actual data, but you know how helpful that is... Hi Susan, The server at issue is a broker www.thinkorswim.com. The following, placed in an Excel cell, works 100% of the time: =TOS|BID!'.DIAHI' (TOS=server name, BID = datafield, .DIAHI=option symbol aka OPRA symbol) Trying to obtain the same data in Access VBA (below) works about 95% of the time. I've tried adding extra loops, putting a time delay in and it didn't fix it. The broker (barely) supports the spreadsheet interface and won't help with this code problem - I asked. I'm using 3 DDE functions: DDEInitiate, DDERequest and DDETerminate. I *think* doing it the Excel way is equivilent to doing it in VB with the DDE function in a ControlSource property. But that has to be done at design time only. The ControlSource property becomes read only. I need to retrieve this data for dozens of symbols that are always changing. The way the server works, if data is not available it returns a "N/A", otherwise it returns a number. I've been trying to solve this for several days and doing a lot of testing. I might have data on 20 symbols I'm trying to retrieve and Access will return data on 17. Excel will do all 20. On the 3 that don't work in Access, Excel will sometimes return a "N/A", but then a split second later change it to a valid number. The DDE communication in Excel is continuous. When Access fails, I tried making the loop try 100 or 200 times, but once it fails, Access just can't retrieve the value. Another interesting observation. If Access fails on a symbol, then I do it in Excel and it succeeds, Access will then also succeed. It seems the data is being cached(?) and then becomes available to Access. I might be able to create a workaround if I understood better what is happening. I don't really understand why Access fails for only certain symbols but Excel works for all. Brooks -----Original Message----- From: Susan Harkins [mailto:ssharkins at gmail.com] Sent: Tuesday, August 26, 2008 3:07 PM To: brooks at rimesrv.net Subject: Re: Know a DDE expert? Dear Brooks; I don't know whether I can help you or not, but you can certainly ask. Regards, Susan Harkins ---------------------------------------------------------------------------- From: Brooks Rimes [mailto:brooks at rimesrv.net] Sent: Tuesday, August 26, 2008 9:55 AM To: Jody Gilbert Subject: RE: Know a DDE expert? Hi Jody, DDE is the only data interface that my broker supports (www.thinkorswim.com). http://www.thinkorswim.com/notices/Release_083006.html The problem is that it work great in Excel but less reliably in Access with VBA code. I have code and examples. Could I try writing to Susan? Thanks, Brooks -----Original Message----- From: Jody Gilbert [mailto:jody.gilbert at cnet.com] Sent: Tuesday, August 26, 2008 9:03 AM To: Brooks Rimes Subject: RE: Know a DDE expert? Brooks, I checked with Susan Harkins, my Office/VBA expert, and she replied: Wow... that's a really old technology (Windows 3). You might want to ask if they're looking for information on the following -- or something else. Dynamic Data Exchange - (DDE, originally Dynamic Data Linking, DDL) A Microsoft Windows 3 hotlink protocol that allows application programs to communicate using a client-server model. Whenever the server (or "publisher") modifies part of a document which is being shared via DDE, one or more clients ("subscribers") are informed and include the modification in the copy of the data on which they are working. If it's the above, they can ask me, but I doubt I'll remember and I'm not running any Windows 3 systems to check. If they don't need DDE, but are just using an older term, anybody with some Office development experience can probably help. Are you working on an older system? I guess we need to know what you're working on before figuring out what or who to suggest! Best, j -----Original Message----- From: Brooks Rimes [mailto:brooks at rimesrv.net] Sent: Monday, August 25, 2008 6:21 PM To: Jody Gilbert Subject: RE: Know a DDE expert? Thank you, it's appreciated. Brooks -----Original Message----- From: Jody Gilbert [mailto:jody.gilbert at cnet.com] Sent: Monday, August 25, 2008 2:46 PM To: brooks at rimesrv.net Subject: RE: Know a DDE expert? Not off the top of my head... Let me check around. j -----Original Message----- From: brooks at rimesrv.net [mailto:brooks at rimesrv.net] Sent: Saturday, August 23, 2008 3:03 PM To: Jody Gilbert Subject: Know a DDE expert? Hi Jody, Do you know anyone who might be able to answer an advanced DDE question? Thank you. Brooks Rimes Access MCP Internal Virus Database is out of date. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.5.5/1569 - Release Date: 7/23/2008 1:31 PM From dbdoug at gmail.com Tue Aug 26 17:33:35 2008 From: dbdoug at gmail.com (Doug Steele) Date: Tue, 26 Aug 2008 15:33:35 -0700 Subject: [AccessD] OT -sorry, I couldn't resist Message-ID: <4dd71a0c0808261533x10d92f0dudce04cc2739caaf0@mail.gmail.com> >From the BBC news website: Python kills Venezuelan zookeeper Guess he should have stayed with .Net Doug Steele From jimdettman at verizon.net Wed Aug 27 15:03:48 2008 From: jimdettman at verizon.net (Jim Dettman) Date: Wed, 27 Aug 2008 16:03:48 -0400 Subject: [AccessD] From a reader In-Reply-To: <01dd01c907c5$193ab780$2f8601c7@SusanOne> References: <01dd01c907c5$193ab780$2f8601c7@SusanOne> Message-ID: <001401c90880$0612c7e0$1fcb220a@LaptopII> DDE? Yikes. DDE was never very reliable. It was a serial command/response setup and any number of things can go wrong giving you a timeout. I certainly would not call myself an Expert on it, but I do have some suggestions they can try: 1. Place a DoEvents in a loop after each command or use something like the wait function shown below. IF I remember correctly, DDE messages are passed through a queue. If there a lot of commands quickly and the OS starts to fall behind, timeouts will occur. 2. If they have not already done so, increase the DDE timeout (tools/options/advanced). 3. Leave the retry loops in and try decreasing the DDE refresh interval. I would think this would be the least desirable choice though as it may compound any timeout problem that is occurring. HTH, Jim. Function Wait(intSeconds As Integer) As Integer Dim datCurDateTime As Date datCurDateTime = Now Do Until DateDiff("s", datCurDateTime, Now) > intSeconds DoEvents Loop End Function -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins Sent: Tuesday, August 26, 2008 5:46 PM To: AccessD at databaseadvisors.com Subject: [AccessD] From a reader RE: Know a DDE expert?Okay, this is from a reader -- on DDE and I haven't a clue... my first suggestion is to check the actual data, but you know how helpful that is... Hi Susan, The server at issue is a broker www.thinkorswim.com. The following, placed in an Excel cell, works 100% of the time: =TOS|BID!'.DIAHI' (TOS=server name, BID = datafield, .DIAHI=option symbol aka OPRA symbol) Trying to obtain the same data in Access VBA (below) works about 95% of the time. I've tried adding extra loops, putting a time delay in and it didn't fix it. The broker (barely) supports the spreadsheet interface and won't help with this code problem - I asked. I'm using 3 DDE functions: DDEInitiate, DDERequest and DDETerminate. I *think* doing it the Excel way is equivilent to doing it in VB with the DDE function in a ControlSource property. But that has to be done at design time only. The ControlSource property becomes read only. I need to retrieve this data for dozens of symbols that are always changing. The way the server works, if data is not available it returns a "N/A", otherwise it returns a number. I've been trying to solve this for several days and doing a lot of testing. I might have data on 20 symbols I'm trying to retrieve and Access will return data on 17. Excel will do all 20. On the 3 that don't work in Access, Excel will sometimes return a "N/A", but then a split second later change it to a valid number. The DDE communication in Excel is continuous. When Access fails, I tried making the loop try 100 or 200 times, but once it fails, Access just can't retrieve the value. Another interesting observation. If Access fails on a symbol, then I do it in Excel and it succeeds, Access will then also succeed. It seems the data is being cached(?) and then becomes available to Access. I might be able to create a workaround if I understood better what is happening. I don't really understand why Access fails for only certain symbols but Excel works for all. Brooks -----Original Message----- From: Susan Harkins [mailto:ssharkins at gmail.com] Sent: Tuesday, August 26, 2008 3:07 PM To: brooks at rimesrv.net Subject: Re: Know a DDE expert? Dear Brooks; I don't know whether I can help you or not, but you can certainly ask. Regards, Susan Harkins ---------------------------------------------------------------------------- From: Brooks Rimes [mailto:brooks at rimesrv.net] Sent: Tuesday, August 26, 2008 9:55 AM To: Jody Gilbert Subject: RE: Know a DDE expert? Hi Jody, DDE is the only data interface that my broker supports (www.thinkorswim.com). http://www.thinkorswim.com/notices/Release_083006.html The problem is that it work great in Excel but less reliably in Access with VBA code. I have code and examples. Could I try writing to Susan? Thanks, Brooks -----Original Message----- From: Jody Gilbert [mailto:jody.gilbert at cnet.com] Sent: Tuesday, August 26, 2008 9:03 AM To: Brooks Rimes Subject: RE: Know a DDE expert? Brooks, I checked with Susan Harkins, my Office/VBA expert, and she replied: Wow... that's a really old technology (Windows 3). You might want to ask if they're looking for information on the following -- or something else. Dynamic Data Exchange - (DDE, originally Dynamic Data Linking, DDL) A Microsoft Windows 3 hotlink protocol that allows application programs to communicate using a client-server model. Whenever the server (or "publisher") modifies part of a document which is being shared via DDE, one or more clients ("subscribers") are informed and include the modification in the copy of the data on which they are working. If it's the above, they can ask me, but I doubt I'll remember and I'm not running any Windows 3 systems to check. If they don't need DDE, but are just using an older term, anybody with some Office development experience can probably help. Are you working on an older system? I guess we need to know what you're working on before figuring out what or who to suggest! Best, j -----Original Message----- From: Brooks Rimes [mailto:brooks at rimesrv.net] Sent: Monday, August 25, 2008 6:21 PM To: Jody Gilbert Subject: RE: Know a DDE expert? Thank you, it's appreciated. Brooks -----Original Message----- From: Jody Gilbert [mailto:jody.gilbert at cnet.com] Sent: Monday, August 25, 2008 2:46 PM To: brooks at rimesrv.net Subject: RE: Know a DDE expert? Not off the top of my head... Let me check around. j -----Original Message----- From: brooks at rimesrv.net [mailto:brooks at rimesrv.net] Sent: Saturday, August 23, 2008 3:03 PM To: Jody Gilbert Subject: Know a DDE expert? Hi Jody, Do you know anyone who might be able to answer an advanced DDE question? Thank you. Brooks Rimes Access MCP Internal Virus Database is out of date. Checked by AVG - http://www.avg.com Version: 8.0.138 / Virus Database: 270.5.5/1569 - Release Date: 7/23/2008 1:31 PM -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From dwaters at usinternet.com Wed Aug 27 16:22:07 2008 From: dwaters at usinternet.com (Dan Waters) Date: Wed, 27 Aug 2008 16:22:07 -0500 Subject: [AccessD] Multi-Line ControlTips Message-ID: <6E75B3A913BE45A68C8CC43FA43A2EB3@danwaters> A while back (pre Access 2000?) if you wrote out a tool tip, it would automatically roll down to a 2nd and 3rd line if needed. That seemed to have gone away with Access 2000+. (I'm using Access 2003 so I'm not completely sure.) I discovered a while back that you can have multi-line control tips in Access 2000+, and you can control where the line break is. When you are in the ControlTip Text property field, just push Ctrl+Enter where you want the line break to occur. The 2nd line seems to disappear, but if you first click the cursor at the end of the text in the ControlTip Text field, and then use your down arrow key, the 2nd (or next) line will appear in the ControlTip Text field. How's that for non-obvious! I had a chance today to use this again, so perhaps someone here can make use of it. Dan From adtp at airtelmail.in Wed Aug 27 23:46:17 2008 From: adtp at airtelmail.in (A.D.Tejpal) Date: Thu, 28 Aug 2008 10:16:17 +0530 Subject: [AccessD] Multi-Line ControlTips References: <6E75B3A913BE45A68C8CC43FA43A2EB3@danwaters> Message-ID: <008001c908c9$2881be50$3f5fa27a@personald6374f> Dan, Thanks for kindly sharing your findings. So nice of you. Gustav too, has been doing so from time to time and deserves our thanks. Best wishes, A.D. Tejpal ------------ ----- Original Message ----- From: Dan Waters To: 'Access Developers discussion and problem solving' Sent: Thursday, August 28, 2008 02:52 Subject: [AccessD] Multi-Line ControlTips A while back (pre Access 2000?) if you wrote out a tool tip, it would automatically roll down to a 2nd and 3rd line if needed. That seemed to have gone away with Access 2000+. (I'm using Access 2003 so I'm not completely sure.) I discovered a while back that you can have multi-line control tips in Access 2000+, and you can control where the line break is. When you are in the ControlTip Text property field, just push Ctrl+Enter where you want the line break to occur. The 2nd line seems to disappear, but if you first click the cursor at the end of the text in the ControlTip Text field, and then use your down arrow key, the 2nd (or next) line will appear in the ControlTip Text field. How's that for non-obvious! I had a chance today to use this again, so perhaps someone here can make use of it. Dan From ssharkins at gmail.com Thu Aug 28 06:35:58 2008 From: ssharkins at gmail.com (Susan Harkins) Date: Thu, 28 Aug 2008 07:35:58 -0400 Subject: [AccessD] From a reader References: <01dd01c907c5$193ab780$2f8601c7@SusanOne> <001401c90880$0612c7e0$1fcb220a@LaptopII> Message-ID: <028c01c90902$3eee02a0$2f8601c7@SusanOne> Thanks Jim -- I've passed along the information and asked him to let me know if anything works -- will be interesting. Susan H. > > DDE? Yikes. DDE was never very reliable. It was a serial > command/response setup and any number of things can go wrong giving you a > timeout. From darren at activebilling.com.au Thu Aug 28 21:07:56 2008 From: darren at activebilling.com.au (Darren D) Date: Fri, 29 Aug 2008 12:07:56 +1000 Subject: [AccessD] A2003: Calculating tax amounts Message-ID: <000c01c9097c$0ecc1420$0d1b910a@denzilnote> Hi team I have asked this years ago and can't find the answer nor the dB I performed it on :-( I need to know the inclusive and exclusive tax components of a given amount Here in OZ the tax rate on goods and services is 10 percent So if I have a $150 tax Exclusive amount then the Tax inclusive amount is $165 - Simple And whilst ever the tax rate is 10 percent I can divide by one 11th to get the Tax Exclusive amount - no prob But I had a formula from some lovely person on this list that allowed this to be dynamically calculated regardless of the tax rate Any clues? Many thanks in advance Darren From newsgrps at dalyn.co.nz Thu Aug 28 21:17:20 2008 From: newsgrps at dalyn.co.nz (David Emerson) Date: Fri, 29 Aug 2008 14:17:20 +1200 Subject: [AccessD] A2003: Calculating tax amounts In-Reply-To: <000c01c9097c$0ecc1420$0d1b910a@denzilnote> References: <000c01c9097c$0ecc1420$0d1b910a@denzilnote> Message-ID: <20080829021650.JPXI18979.mta06.xtra.co.nz@Dalyn.dalyn.co.nz> Darren, Try Amt / (1 + Tax Rate). Eg $112.5 / (1 + 0.125) = $100 (12.5% is the NZ GST Rate) Regards David At 29/08/2008, you wrote: >Hi team > >I have asked this years ago and can't find the answer nor the dB I >performed it >on :-( > >I need to know the inclusive and exclusive tax components of a given amount > >Here in OZ the tax rate on goods and services is 10 percent > >So if I have a $150 tax Exclusive amount then the Tax inclusive >amount is $165 - >Simple > >And whilst ever the tax rate is 10 percent I can divide by one 11th to get the >Tax Exclusive amount - no prob > >But I had a formula from some lovely person on this list that >allowed this to be >dynamically calculated regardless of the tax rate > >Any clues? > >Many thanks in advance > >Darren > >-- >AccessD mailing list >AccessD at databaseadvisors.com >http://databaseadvisors.com/mailman/listinfo/accessd >Website: http://www.databaseadvisors.com From darren at activebilling.com.au Thu Aug 28 21:42:10 2008 From: darren at activebilling.com.au (Darren D) Date: Fri, 29 Aug 2008 12:42:10 +1000 Subject: [AccessD] A2003: Calculating tax amounts In-Reply-To: <20080829021650.JPXI18979.mta06.xtra.co.nz@Dalyn.dalyn.co.nz> References: <000c01c9097c$0ecc1420$0d1b910a@denzilnote> <20080829021650.JPXI18979.mta06.xtra.co.nz@Dalyn.dalyn.co.nz> Message-ID: <001101c90980$d71f8200$0d1b910a@denzilnote> David - perfect - that was it Many many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of David Emerson Sent: Friday, 29 August 2008 12:17 PM To: Access Developers discussion and problem solving Subject: Re: [AccessD] A2003: Calculating tax amounts Darren, Try Amt / (1 + Tax Rate). Eg $112.5 / (1 + 0.125) = $100 (12.5% is the NZ GST Rate) Regards David At 29/08/2008, you wrote: >Hi team > >I have asked this years ago and can't find the answer nor the dB I >performed it >on :-( > >I need to know the inclusive and exclusive tax components of a given amount > >Here in OZ the tax rate on goods and services is 10 percent > >So if I have a $150 tax Exclusive amount then the Tax inclusive >amount is $165 - >Simple > >And whilst ever the tax rate is 10 percent I can divide by one 11th to get the >Tax Exclusive amount - no prob > >But I had a formula from some lovely person on this list that >allowed this to be >dynamically calculated regardless of the tax rate > >Any clues? > >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 Gustav at cactus.dk Fri Aug 29 04:26:29 2008 From: Gustav at cactus.dk (Gustav Brock) Date: Fri, 29 Aug 2008 11:26:29 +0200 Subject: [AccessD] A2003: Calculating tax amounts Message-ID: Hi Darren Still at 10%? http://databaseadvisors.com/pipermail/accessd/2005-January/030788.html /gustav >>> darren at activebilling.com.au 29-08-2008 04:07 >>> Hi team I have asked this years ago and can't find the answer nor the dB I performed it on :-( I need to know the inclusive and exclusive tax components of a given amount Here in OZ the tax rate on goods and services is 10 percent So if I have a $150 tax Exclusive amount then the Tax inclusive amount is $165 - Simple And whilst ever the tax rate is 10 percent I can divide by one 11th to get the Tax Exclusive amount - no prob But I had a formula from some lovely person on this list that allowed this to be dynamically calculated regardless of the tax rate Any clues? Many thanks in advance Darren From darren at activebilling.com.au Sun Aug 31 20:40:07 2008 From: darren at activebilling.com.au (Darren D) Date: Mon, 1 Sep 2008 11:40:07 +1000 Subject: [AccessD] A2003: Calculating tax amounts In-Reply-To: References: Message-ID: <000001c90bd3$ab6be630$0d1b910a@denzilnote> Hi Gustav Yes the tax rate in Oz it is still 10 percent - We have been very lucky. We had a conservative government introduce it here a bit under 10 years ago. We have just voted in a socialist government. They have kept the issue of raising the tax rate off the radar - but who knows. 10 percent (despite me whinging about it) seems kinda lean when looking at other GST and VAT nations I had a feeling it was you who provided the solution in the first place Didn't want to mention names - In case I forgot the correct person. I never remember to use the archives - I really need to get into the habit Many thanks for pursuing this - Gustav - Legend be thy name :-) Many many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 29 August 2008 7:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2003: Calculating tax amounts Hi Darren Still at 10%? http://databaseadvisors.com/pipermail/accessd/2005-January/030788.html /gustav >>> darren at activebilling.com.au 29-08-2008 04:07 >>> Hi team I have asked this years ago and can't find the answer nor the dB I performed it on :-( I need to know the inclusive and exclusive tax components of a given amount Here in OZ the tax rate on goods and services is 10 percent So if I have a $150 tax Exclusive amount then the Tax inclusive amount is $165 - Simple And whilst ever the tax rate is 10 percent I can divide by one 11th to get the Tax Exclusive amount - no prob But I had a formula from some lovely person on this list that allowed this to be dynamically calculated regardless of the tax rate Any clues? Many thanks in advance Darren -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com From Darryl.Collins at coles.com.au Sun Aug 31 21:15:51 2008 From: Darryl.Collins at coles.com.au (Darryl Collins) Date: Mon, 1 Sep 2008 12:15:51 +1000 Subject: [AccessD] A2003: Calculating tax amounts (OT) In-Reply-To: <000001c90bd3$ab6be630$0d1b910a@denzilnote> Message-ID: <57E6E6CA42105A48B977303A2CDC2720076DA26E6C@WPEXCH22.retail.ad.cmltd.net.au> Yeah, but our personal tax rates are pretty fierce compared to the US. On the other hand, if you get hit by a Bus here and taken to hospital, you will get fixed up pretty much for free and won't have to sell your house to be the medical bills. The current personal tax rates if you "Pay as your earn". $0 - $6,000 Nil $6,001 - $34,000 15c for each $1 over $6,000 $34,001 - $80,000 $4,200 plus 30c for each $1 over $34,000 $80,001 - $180,000 $18,000 plus 40c for each $1 over $80,000 $180,001 and over $58,000 plus 45c for each $1 over $180,000 plus a 1.5% medicare levy (Plus and additional 1% if you don't have private health ins and the Government think you should). plus 10% GST (consumption tax) on purchases. Mind you, the GST is a bit rubbery as some items deemed as essential (such as fresh food) as GST free. There was a classic "Yes Minister" ho-hah about this when the idea was mooted (it took several attempts before the GST was finally introducted here). Specifically defining what is considered an 'essential' food and what is not, some of the more funny monents were the Cold/Hot Pie debate, and the infamous Birthday cake interview (which is commonly thought of these days as the cause of the opposition losing an unloseable election). In short, If it is just a cake it was meant to be GST free, but a birthday cake that was decorated had to have GST on it - so did that mean icing? a candle? or? You can see how the media had a field day with this. Another great debate was Hot Pie/ Cold Pie - Cold pies were GST free, but a hot pie was to have GST. Crazy stuff. http://en.wikipedia.org/wiki/Birthday_Cake_Interview Taxation - fun fun fun.... -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com]On Behalf Of Darren D Sent: Monday, 1 September 2008 11:40 AM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] A2003: Calculating tax amounts Hi Gustav Yes the tax rate in Oz it is still 10 percent - We have been very lucky. We had a conservative government introduce it here a bit under 10 years ago. We have just voted in a socialist government. They have kept the issue of raising the tax rate off the radar - but who knows. 10 percent (despite me whinging about it) seems kinda lean when looking at other GST and VAT nations I had a feeling it was you who provided the solution in the first place Didn't want to mention names - In case I forgot the correct person. I never remember to use the archives - I really need to get into the habit Many thanks for pursuing this - Gustav - Legend be thy name :-) Many many thanks Darren -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Gustav Brock Sent: Friday, 29 August 2008 7:26 PM To: accessd at databaseadvisors.com Subject: Re: [AccessD] A2003: Calculating tax amounts Hi Darren Still at 10%? http://databaseadvisors.com/pipermail/accessd/2005-January/030788.html /gustav >>> darren at activebilling.com.au 29-08-2008 04:07 >>> Hi team I have asked this years ago and can't find the answer nor the dB I performed it on :-( I need to know the inclusive and exclusive tax components of a given amount Here in OZ the tax rate on goods and services is 10 percent So if I have a $150 tax Exclusive amount then the Tax inclusive amount is $165 - Simple And whilst ever the tax rate is 10 percent I can divide by one 11th to get the Tax Exclusive amount - no prob But I had a formula from some lovely person on this list that allowed this to be dynamically calculated regardless of the tax rate Any clues? 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 This email and any attachments may contain privileged and confidential information and are intended for the named addressee only. If you have received this e-mail in error, please notify the sender and delete this e-mail immediately. Any confidentiality, privilege or copyright is not waived or lost because this e-mail has been sent to you in error. It is your responsibility to check this e-mail and any attachments for viruses. No warranty is made that this material is free from computer virus or any other defect or error. Any loss/damage incurred by using this material is not the sender's responsibility. The sender's entire liability will be limited to resupplying the material.